Releases: kamilkisiela/apollo-angular
Releases · kamilkisiela/apollo-angular
[email protected]
Patch Changes
-
#2312
8bbdc6b
Thanks @PowerKiKi! - Smaller bundle forgql
-
#2314
e98e06a
Thanks @PowerKiKi! - Deprecategraphql
alias forgql
tag functionBecause 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 useas
syntax, such as:import { gql as graphql } from 'apollo-angular';
[email protected]
Minor Changes
- #2296
6a45784
Thanks @PowerKiKi! - NewprovideApollo()
and
provideNamedApollo()
Patch Changes
-
#2294
d56c5cb
Thanks @PowerKiKi! - Update documentation to standalone usage -
#2292
04fdd28
Thanks @PowerKiKi! - Relax type to be able to useextract-files
properly
[email protected]
Patch Changes
- #2289
d78cc8d
Thanks @richard-elastique! - Don't require a dependency on
React
[email protected]
Minor changes
- #2226 Thanks @alessbell! - Exposes
watchFragment
method on theApolloBase
class.
Patch Changes
- #2286
dbd4f68
Thanks @PowerKiKi! - Permissions for release provenance
[email protected]
Patch Changes
-
#2259
78f319a
Thanks @PowerKiKi! - dependencies updates:- Updated dependency
@angular/core@^17.0.0 || ^18.0.0
↗︎
(from^17.0.0
, inpeerDependencies
)
- Updated dependency
-
#2259
97fba6a
Thanks @PowerKiKi! - dependencies updates:- Updated dependency
@angular/core@^17.0.0 || ^18.0.0
↗︎
(from^17.0.0
, inpeerDependencies
)
- Updated dependency
-
#2259
29b9fdc
Thanks @PowerKiKi! - Allow Angular 18
[email protected]
Patch Changes
- #2252
67ba1e8
Thanks @PowerKiKi! - ApolloClient does not delay the application becoming stable
[email protected]
Major Changes
-
#2225
712205f
Thanks @PowerKiKi! - BREAKING use Typescript strict modeThis 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
orapolloNamedOptions
toApollo.constructor
to create the client immediately
upon construction.ApolloBase.query()
,ApolloBase.mutate()
andApolloBase.subscribe()
all have a new constraint
onV
. If you inherit from this class, you might need to adjust your typing.- Classes that inherit
Query
,Mutation
andSubscription
must declare thedocument
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()
andQueryRef.getLastError()
might returnundefined
. 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]
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
- #2093
e0bec09a
Thanks @PowerKiKi! - dependencies updates:- Updated dependency
@angular/core@^17.0.0
↗︎ (from
^14.0.0 || ^15.0.0 || ^16.0.0
, inpeerDependencies
)
- Updated dependency
[email protected]
[email protected]
Patch Changes
- #2065
78947ba5
Thanks @PowerKiKi! - dependencies updates:- Updated dependency
tslib@^2.6.2
↗︎ (from
^2.0.0
, independencies
)
- Updated dependency