A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
67ba1e8
Thanks @PowerKiKi! - ApolloClient does not delay the application becoming stable#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.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.fbd86daf
Thanks @PowerKiKi! - - Add Angular 17 Support
ng add
schematics for standalone apps or module appse0bec09a
Thanks @PowerKiKi! - dependencies updates:
@angular/core@^17.0.0
↗︎ (from
^14.0.0 || ^15.0.0 || ^16.0.0
, in peerDependencies
)78947ba5
Thanks @PowerKiKi! - dependencies updates:
tslib@^2.6.2
↗︎ (from
^2.0.0
, in dependencies
)#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.
ff0b0d72
Thanks @phryneas! - TVariable
generics now extend OperationVariables
to accommodate an upstream type change in @apollo/[email protected]. #1910, #1907APOLLO_NAMED_OPTIONS
)@apollo/client
v3.7.XMutationResult
type #1818Add missing apollo-angular/persisted-queries and apollo-angular/testing