chore(deps): update dependency apollo-angular to v13 #1215
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.0.1->13.0.0Warning
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.0Compare Source
Major Changes
#2389
b43359cThanks @matictrebusak! - Drop support for Angular 18
#2389
b43359cThanks @matictrebusak! - Support for Angular 21
Minor Changes
7ae276cThanks @vz-tl! - Support HttpContext in HttpLink option and operation
context
v12.1.0Compare Source
Minor Changes
#2382
d21e7f9Thanks @PowerKiKi! - New
onlyCompleteFragment()Same as
onlyCompleteData()but forApollo.watchFragment().Patch Changes
#2381
679dba2Thanks @PowerKiKi! - Rename
onlyComplete()intoonlyCompleteData()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.0Compare Source
Major Changes
#2372
44ed9a5Thanks @jerelmiller! - Namespaced types
Before:
After:
#2372
bdc93dfThanks @jerelmiller! -
httpHeadersis a classMigrate your code like so:
#2372
8c0b7f0Thanks @jerelmiller! - Move
useZoneoption into subscriptionoptions
#2372
b9c62a5Thanks @jerelmiller! - Combined parameters of
Query,MutationandSubscriptionclasses generated via codegenMigrate 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
7e4a609Thanks @PowerKiKi! - New
onlyComplete()helper to filter onlycomplete results
If you use this, you should probably combine it with
notifyOnNetworkStatusChange.This tells
@apollo/clientto not emit the firstpartialresult, soapollo-angulardoes notneed to filter it out. The overall behavior is identical, but it saves some CPU cycles.
So something like this:
Patch Changes
#2355
226a963Thanks @PowerKiKi! - dependencies updates:
@apollo/client@^4.0.1↗︎ (from^3.13.1, inpeerDependencies)rxjs@^7.3.0↗︎ (from^6.0.0 || ^7.0.0, inpeerDependencies)#2373
e65bcceThanks @PowerKiKi! - Drop support for node 18
#2366
bdff9d9Thanks @PowerKiKi! - Drop ESM2022 in favor of FESM2022
#2368
0f10355Thanks @PowerKiKi! - New repository owners
@kamilkisiela, the creator of this library, has found new
interests and is not able to contribute like in the past. He gracefully transferred ownership of
the repository to me. I have been maintaining this library since 2022, and will continue doing so
in the foreseeable future.
For the package consumers, pretty much nothing will change. The package name, the code, the
relation with The Guild, and the maintenance style will all
remain the same. The only difference is the new repository URL:
https://github.com/the-guild-org/apollo-angular.
v11.0.0Compare Source
Major Changes
#2360
20a418eThanks @mark7-bell! - Drop support for Angular 17
#2364
bdb302aThanks @PowerKiKi! - Drop support for GraphQL 15
#2360
f311133Thanks @mark7-bell! - Support Angular 20
Patch Changes
bdb302aThanks @PowerKiKi! - dependencies updates:
graphql@^16.0.0↗︎ (from^15.0.0 || ^16.0.0, inpeerDependencies)v10.0.3Compare Source
Patch Changes
61ff0b8Thanks @PowerKiKi! -
fetchMoretyping is duplicated from@apollo/clientv10.0.2Compare Source
Patch Changes
67b8b8cThanks @PowerKiKi! -
fetchMoretyping was too loosev10.0.1Compare Source
Patch Changes
3ef5483Thanks @PowerKiKi! -
FormattedExecutionResultinstead ofExecutionResultv10.0.0Compare Source
Major Changes
#2342
baf538aThanks @PowerKiKi! - Drop deprecated things:
ApolloModule, use eitherprovideApollo()orprovideNamedApollo().import {graphql} from 'apollo-angular';useimport {gql as graphql} from 'apollo-angular';v9.0.0Compare Source
Major Changes
6d3d5baThanks @PowerKiKi! - - Requires
@apollo/client3.13.1SubscriptionResult, because it added extra maintenance work to keep native types insync, and it brought no value over using native type.
diff - import type { SubscriptionResult } from 'apollo-angular'; + import type { FetchResult } from '@​apollo/client/core';QueryRefforward types from@apollo/client. That should allow always usingcorrect types from whichever
@apollo/clientversion is installed without needing to touchapollo-angular.QueryRef.valueChangesandQueryRef.queryIdare readonly, because there is no reason forthose to be re-affected.
Patch Changes
88656f0Thanks @PowerKiKi! - dependencies updates:
@apollo/client@^3.13.1↗︎ (from^3.10.0, inpeerDependencies)v8.0.2Compare Source
Patch Changes
78b0ba1Thanks @PowerKiKi! - Export MutationOptionsAlone,
QueryOptionsAlone, SubscriptionOptionsAlone, WatchQueryOptionsAlone from 'apollo-angular'
v8.0.1Compare Source
Patch Changes
#2333
9866ec6Thanks @PowerKiKi! - dependencies updates:
@apollo/client@^3.10.0↗︎ (from^3.0.0, inpeerDependencies)#2333
eeec0a9Thanks @PowerKiKi! - Requires @apollo/client ^3.10.0 for
watchFragment
v8.0.0Compare Source
Major Changes
#2316
8c75368Thanks @Frozen-byte! - added a
complete()method forTestOperationobject to cancel subscriptions afterflush()BREAKING CHANGE: subscription observables must be manually completed by the
complete()method.Patch Changes
#2323
095457dThanks @PowerKiKi! - dependencies updates:
@angular/core@^17.0.0 || ^18.0.0 || ^19.0.0↗︎(from
^17.0.0 || ^18.0.0, inpeerDependencies)#2319
cafb23aThanks @PowerKiKi! - Move away from deprecated things
#2317
a564953Thanks @PowerKiKi! - Let typing flow better
v7.2.1Compare Source
Patch Changes
#2312
8bbdc6bThanks @PowerKiKi! - Smaller bundle for
gql#2314
e98e06aThanks @PowerKiKi! - Deprecate
graphqlalias forgqltagfunction
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
assyntax, such as:v7.2.0Compare Source
Minor Changes
6a45784Thanks @PowerKiKi! - New
provideApollo()andprovideNamedApollo()Patch Changes
#2294
d56c5cbThanks @PowerKiKi! - Update documentation to standalone usage
#2292
04fdd28Thanks @PowerKiKi! - Relax type to be able to use
extract-filesproperly
v7.1.2Compare Source
Patch Changes
d78cc8dThanks @richard-elastique! - Don't require a dependency on
React
v7.1.1Compare Source
Patch Changes
dbd4f68Thanks @PowerKiKi! - Permissions for release provenance
v7.0.2Compare Source
Patch Changes
#2259
78f319aThanks @PowerKiKi! - dependencies updates:
@angular/core@^17.0.0 || ^18.0.0↗︎(from
^17.0.0, inpeerDependencies)#2259
97fba6aThanks @PowerKiKi! - dependencies updates:
@angular/core@^17.0.0 || ^18.0.0↗︎(from
^17.0.0, inpeerDependencies)#2259
29b9fdcThanks @PowerKiKi! - Allow Angular 18
v7.0.1Compare Source
Patch Changes
67ba1e8Thanks @PowerKiKi! - ApolloClient does not delay the application
becoming stable
v7.0.0Compare Source
Major Changes
#2225
712205fThanks @PowerKiKi! - BREAKING use Typescript strict mode
This is breaking because:
ApolloBase.clientthrows an error if no client has been created beforehand. The behavior nowmatches the typing that always declared a client existed. In most cases, you should pass either
apolloOptionsorapolloNamedOptionstoApollo.constructorto create the client immediatelyupon construction.
ApolloBase.query(),ApolloBase.mutate()andApolloBase.subscribe()all have a newconstraint on
V. If you inherit from this class, you might need to adjust your typing.Query,MutationandSubscriptionmust declare thedocumentmember.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 wasalways the case, but was typed incorrectly until now.
pickFlag()was dropped without any replacement.createPersistedQueryLink()requires options. This was always the case but was typedincorrectly until now.
v6.0.0Compare Source
Major Changes
fbd86dafThanks @PowerKiKi! - - Add Angular 17 Support
ng addschematics for standalone apps or module appsPatch Changes
e0bec09aThanks @PowerKiKi! - dependencies updates:
@angular/core@^17.0.0↗︎ (from^14.0.0 || ^15.0.0 || ^16.0.0, inpeerDependencies)v5.0.2Compare Source
Patch Changes
f014edcbThanks @vz-tl! - Disable dev-tool check when using ApolloTestingModule
v5.0.1Compare Source
Patch Changes
78947ba5Thanks @PowerKiKi! - dependencies updates:
tslib@^2.6.2↗︎ (from^2.0.0, independencies)v5.0.0Compare Source
Major Changes
#2010
ea8b7034Thanks @HendrikJanssen! - Support Angular 16
This is a breaking change because support for node v14 must be dropped to follow Angular 16
requirements.
v4.2.1Compare Source
Patch Changes
ff0b0d72Thanks @phryneas! -
TVariablegenerics nowextend OperationVariablesto accommodate an upstream type change in @apollo/client@3.7.6. #1910,#1907
v4.2.0Compare Source
v4.1.1Compare Source
APOLLO_NAMED_OPTIONS)v4.1.0Compare Source
@apollo/clientv3.7.XMutationResulttype #1818v4.0.1Compare Source
apollo-angular/persisted-queriesandapollo-angular/testingv4.0.0Compare Source
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.
This PR was generated by Mend Renovate. View the repository job log.