Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jul 8, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

[email protected]

Major Changes

  • #2372
    44ed9a5
    Thanks @jerelmiller! - Namespaced types

    Before:

    import type {
      MutationOptionsAlone,
      QueryOptionsAlone,
      SubscriptionOptionsAlone,
      WatchQueryOptions,
      WatchQueryOptionsAlone,
    } from 'apollo-angular';
    import type { BatchOptions, Options } from 'apollo-angular/http';
    
    type AllTypes =
      | Options
      | BatchOptions
      | MutationOptionsAlone
      | QueryOptionsAlone
      | SubscriptionOptionsAlone
      | WatchQueryOptions
      | WatchQueryOptionsAlone;

    After:

    import type { Apollo, Mutation, Query, Subscription } from 'apollo-angular';
    import type { HttpBatchLink, HttpLink } from 'apollo-angular/http';
    
    type AllTypes =
      | HttpLink.Options
      | HttpBatchLink.Options
      | Mutation.MutateOptions
      | Query.FetchOptions
      | Subscription.SubscribeOptions
      | Apollo.WatchQueryOptions
      | Query.WatchOptions;
  • #2372
    bdc93df
    Thanks @jerelmiller! - httpHeaders is a class

    Migrate your code like so:

    - const link = httpHeaders();
    + const link = new HttpHeadersLink();
  • #2372
    8c0b7f0
    Thanks @jerelmiller! - Move useZone option into subscription
    options

    - const obs = apollo.subscribe(options, { useZone: false });
    + const obs = apollo.subscribe({ ...options, useZone: false });
  • #2372
    b9c62a5
    Thanks @jerelmiller! - Combined parameters of Query,
    Mutation and Subscription classes generated via codegen

    Migrate your code like so:

    class MyComponent {
      myQuery = inject(MyQuery);
      myMutation = inject(MyMutation);
      mySubscription = inject(MySubscription);
    
      constructor() {
    -    myQuery.watch({ myVariable: 'foo' }, { fetchPolicy: 'cache-and-network' });
    +    myQuery.watch({ variables: { myVariable: 'foo' }, fetchPolicy: 'cache-and-network' })
    
    -    myMutation.mutate({ myVariable: 'foo' }, { errorPolicy: 'ignore' });
    +    myMutation.mutate({ variables: { myVariable: 'foo' }, errorPolicy: 'ignore' });
    
    -    mySubscription.subscribe({ myVariable: 'foo' }, { fetchPolicy: 'network-only' });
    +    mySubscription.subscribe({ variables: { myVariable: 'foo' }, fetchPolicy: 'network-only' });
      }
    }

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/master branch from 0a432f2 to 7541052 Compare July 8, 2025 14:24
Copy link

sourcery-ai bot commented Jul 8, 2025

Reviewer's Guide

This PR preps the 11.0.1 patch release by updating the changelog, bumping the package version, and removing the consumed changeset file to trigger the automated publish.

File-Level Changes

Change Details Files
Add 11.0.1 release notes to CHANGELOG packages/apollo-angular/CHANGELOG.md
Bump package version to 11.0.1
  • Increment version field from 11.0.0 to 11.0.1
packages/apollo-angular/package.json
Remove consumed changeset file
  • Delete the .changeset/odd-badgers-fetch.md file
.changeset/odd-badgers-fetch.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

giga-agent bot commented Jul 8, 2025

Giga Summary

• Automated PR for upcoming release changes in apollo-angular
• Impact: Automates the release process for new changesets added to the master branch.
• Changes:

  • Drop ESM2022 in favor of FESM2022 in [email protected]
  • Updated package.json version to 11.0.1
    • Focus:
  • Ensure the automated release process aligns with the project's release strategy

Quality Assessment

• Strong documentation and version tracking.
• Minor improvement needed in changeset clarity.
• Recommend approval with minor tweaks.

Quality Score: 9/10 (Threshold: 7/10)

✅ No significant issues found in the code review.

@github-actions github-actions bot force-pushed the changeset-release/master branch from 7541052 to 05c9b26 Compare July 9, 2025 08:24
@github-actions github-actions bot force-pushed the changeset-release/master branch 2 times, most recently from 2e6f837 to 634d04e Compare August 27, 2025 13:55
@github-actions github-actions bot force-pushed the changeset-release/master branch from 634d04e to b910ee2 Compare September 25, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants