Releases: kamilkisiela/apollo-angular
[email protected]
Patch Changes
- #2351
61ff0b8
Thanks @PowerKiKi! -fetchMore
typing is duplicated from
@apollo/client
[email protected]
Patch Changes
- #2347
67b8b8c
Thanks @PowerKiKi! -fetchMore
typing was too loose
[email protected]
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.- 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
andQueryRef.queryId
are readonly, because there is no reason for
those to be re-affected.
- Most methods of
Patch Changes
- #2340
88656f0
Thanks @PowerKiKi! - dependencies updates:- Updated dependency
@apollo/client@^3.13.1
↗︎ (from
^3.10.0
, inpeerDependencies
)
- Updated dependency
[email protected]
Patch Changes
- #2344
3ef5483
Thanks @PowerKiKi! -FormattedExecutionResult
instead of
ExecutionResult
[email protected]
Major Changes
-
#2342
baf538a
Thanks @PowerKiKi! - Drop deprecated things:- Instead of
ApolloModule
, use eitherprovideApollo()
orprovideNamedApollo()
. - Instead of
import {graphql} from 'apollo-angular';
use
import {gql as graphql} from 'apollo-angular';
- Instead of
[email protected]
Patch Changes
- #2336
78b0ba1
Thanks @PowerKiKi! - Export MutationOptionsAlone,
QueryOptionsAlone, SubscriptionOptionsAlone, WatchQueryOptionsAlone from 'apollo-angular'
[email protected]
Patch Changes
-
#2333
9866ec6
Thanks @PowerKiKi! - dependencies updates:- Updated dependency
@apollo/client@^3.10.0
↗︎ (from
^3.0.0
, inpeerDependencies
)
- Updated dependency
-
#2333
eeec0a9
Thanks @PowerKiKi! - Requires @apollo/client ^3.10.0 for
watchFragment
[email protected]
Major Changes
-
#2316
8c75368
Thanks @Frozen-byte! - added acomplete()
method for
TestOperation
object to cancel subscriptions afterflush()
BREAKING CHANGE: subscription observables must be manually completed by the
complete()
method.
Patch Changes
-
#2323
095457d
Thanks @PowerKiKi! - dependencies updates:- Updated dependency
@angular/core@^17.0.0 || ^18.0.0 || ^19.0.0
↗︎
(from^17.0.0 || ^18.0.0
, inpeerDependencies
)
- Updated dependency
-
#2319
cafb23a
Thanks @PowerKiKi! - Move away from deprecated things -
#2317
a564953
Thanks @PowerKiKi! - Let typing flow better
[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