Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Dec 3, 2025

This PR contains the following updates:

Package Change Age Confidence
apollo-angular (source) 3.0.1 -> 13.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

the-guild-org/apollo-angular (apollo-angular)

v13.0.0

Compare Source

Major Changes
Minor Changes

v12.1.0

Compare Source

Minor Changes
Patch Changes
  • #​2381
    679dba2
    Thanks @​PowerKiKi! - Rename onlyComplete() into
    onlyCompleteData()

    Because it communicates better that it is about the data, and not the stream being completed.

    onlyComplete() will be dropped in the next major version.

v12.0.0

Compare Source

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' });
      }
    }
Minor Changes
  • #​2379
    7e4a609
    Thanks @​PowerKiKi! - New onlyComplete() helper to filter only
    complete results

    If you use this, you should probably combine it with
    notifyOnNetworkStatusChange.
    This tells @apollo/client to not emit the first partial result, so apollo-angular does not
    need to filter it out. The overall behavior is identical, but it saves some CPU cycles.

    So something like this:

    apollo
      .watchQuery({
        query: myQuery,
        notifyOnNetworkStatusChange: false, // Adding this will save CPU cycles
      })
      .valueChanges.pipe(onlyComplete())
      .subscribe(result => {
        // Do something with complete result
      });
Patch Changes

v11.0.0

Compare Source

Major Changes
Patch Changes

v10.0.3

Compare Source

Patch Changes

v10.0.2

Compare Source

Patch Changes

v10.0.1

Compare Source

Patch Changes

v10.0.0

Compare Source

Major Changes
  • #​2342
    baf538a
    Thanks @​PowerKiKi! - Drop deprecated things:

    • Instead of ApolloModule, use either provideApollo() or provideNamedApollo().
    • Instead of import {graphql} from 'apollo-angular'; use
      import {gql as graphql} from 'apollo-angular';

v9.0.0

Compare Source

Major Changes
  • #​2340
    6d3d5ba
    Thanks @​PowerKiKi! - - Requires @apollo/client 3.13.1
    • Dropped SubscriptionResult, because it added extra maintenance work to keep native types in
      sync, and it brought no value over using native type.
      diff - import type { SubscriptionResult } from 'apollo-angular'; + import type { FetchResult } from '@​apollo/client/core';
    • Most methods of QueryRef forward types from @apollo/client. That should allow always using
      correct types from whichever @apollo/client version is installed without needing to touch
      apollo-angular.
    • QueryRef.valueChanges and QueryRef.queryId are readonly, because there is no reason for
      those to be re-affected.
Patch Changes

v8.0.2

Compare Source

Patch Changes
  • #​2336
    78b0ba1
    Thanks @​PowerKiKi! - Export MutationOptionsAlone,
    QueryOptionsAlone, SubscriptionOptionsAlone, WatchQueryOptionsAlone from 'apollo-angular'

v8.0.1

Compare Source

Patch Changes

v8.0.0

Compare Source

Major Changes
  • #​2316
    8c75368
    Thanks @​Frozen-byte! - added a complete() method for
    TestOperation object to cancel subscriptions after flush()

    BREAKING CHANGE: subscription observables must be manually completed by the complete() method.

Patch Changes

v7.2.1

Compare Source

Patch Changes
  • #​2312
    8bbdc6b
    Thanks @​PowerKiKi! - Smaller bundle for gql

  • #​2314
    e98e06a
    Thanks @​PowerKiKi! - Deprecate graphql alias for gql tag
    function

    Because importing the same thing from two different import points will increase the final bundle
    size. If you want a different name for the tag function, then use as syntax, such as:

    import { gql as graphql } from 'apollo-angular';

v7.2.0

Compare Source

Minor Changes
Patch Changes

v7.1.2

Compare Source

Patch Changes

v7.1.1

Compare Source

Patch Changes

v7.0.2

Compare Source

Patch Changes

v7.0.1

Compare Source

Patch Changes

v7.0.0

Compare Source

Major Changes
  • #​2225
    712205f
    Thanks @​PowerKiKi! - BREAKING use Typescript strict mode

    This is breaking because:

    • ApolloBase.client throws an error if no client has been created beforehand. The behavior now
      matches the typing that always declared a client existed. In most cases, you should pass either
      apolloOptions or apolloNamedOptions to Apollo.constructor to create the client immediately
      upon construction.
    • ApolloBase.query(), ApolloBase.mutate() and ApolloBase.subscribe() all have a new
      constraint on V. If you inherit from this class, you might need to adjust your typing.
    • Classes that inherit Query, Mutation and Subscription must declare the document member.
      This requirement always existed at runtime but was not enforced at compile time until now. If
      you generated code, you have nothing to do.
    • QueryRef.getLastResult() and QueryRef.getLastError() might return undefined. This was
      always the case, but was typed incorrectly until now.
    • pickFlag() was dropped without any replacement.
    • createPersistedQueryLink() requires options. This was always the case but was typed
      incorrectly until now.

v6.0.0

Compare Source

Major Changes
  • #​2093
    fbd86daf
    Thanks @​PowerKiKi! - - Add Angular 17 Support
    • Drop support for Angular 14, 15 and 16
    • Support for ng add schematics for standalone apps or module apps
Patch Changes

v5.0.2

Compare Source

Patch Changes

v5.0.1

Compare Source

Patch Changes

v5.0.0

Compare Source

Major Changes
  • #​2010
    ea8b7034
    Thanks @​HendrikJanssen! - Support Angular 16

    This is a breaking change because support for node v14 must be dropped to follow Angular 16
    requirements.

v4.2.1

Compare Source

Patch Changes

v4.2.0

Compare Source

  • Support Angular 15
  • Support Node 18
  • Fix broken published package

v4.1.1

Compare Source

  • Fix creating default client when using named options (APOLLO_NAMED_OPTIONS)
  • Support newest zone.js #​1841

v4.1.0

Compare Source

  • Support @apollo/client v3.7.X
  • Fix typescript issue with MutationResult type #​1818

v4.0.1

Compare Source

  • Add missing apollo-angular/persisted-queries and apollo-angular/testing

v4.0.0

Compare Source

  • Support Angular v14

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Author

renovate bot commented Dec 3, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: nx-nestjs-angular-graphql@0.0.0
npm ERR! Found: @angular/core@13.3.5
npm ERR! node_modules/@angular/core
npm ERR!   @angular/core@"13.3.5" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/core@"^19.0.0 || ^20.0.0 || ^21.0.0" from apollo-angular@13.0.0
npm ERR! node_modules/apollo-angular
npm ERR!   apollo-angular@"13.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /runner/cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /runner/cache/others/npm/_logs/2025-12-07T16_29_30_454Z-debug-0.log

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.

1 participant