Apollo Angular Versions Save

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁

[email protected]

1 week ago

Patch Changes

[email protected]

3 weeks ago

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.

[email protected]

5 months ago

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

[email protected]

7 months ago

Patch Changes

[email protected]

8 months ago

Patch Changes

[email protected]

1 year ago

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.

release-1676283598244

1 year ago

[email protected]

Patch Changes

v4.1.1

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

v4.1.0

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

v4.0.1

1 year ago

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