chore: update npm dependencies #6
Open
+4,723
−5,588
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.8.1
->4.0.7
^1.3.3
->^4.1.1
11.11.0
->11.13.0
1.5.4
->1.6.0
8.0.8
->8.6.14
8.0.8
->8.6.14
8.0.8
->9.1.10
8.0.8
->9.1.10
8.0.8
->8.6.14
8.0.8
->9.1.10
8.0.8
->9.1.10
8.0.8
->8.6.14
6.1.4
->6.9.1
14.0.0
->16.3.0
6.5.0
->7.2.0
6.5.0
->7.2.0
7946.0.14
->7946.0.16
0.7.2
->0.8.0
20.12.7
->22.18.10
2.5.5
->2.19.0
18.2.6
->19.2.2
18.2.6
->19.2.1
9.0.8
->11.0.0
7.2.0
->8.46.0
7.2.0
->8.46.0
4.2.1
->5.0.4
3.2.1
->6.0.0
5.5.2
->6.1.0
8.57.0
->9.37.0
0.3.0
->0.3.8
4.6.0
->7.0.0
0.4.6
->0.4.23
0.8.0
->9.1.10
4.3.2
->5.3.0
11.0.27
->12.23.24
2.1.1
->4.1.1
1.12.1
->2.15.0
0.7.3
->0.8.3
22.1.0
->27.0.0
1.3.8
->1.4.0
7.2.0
->10.3.0
8.0.4
->11.2.2
>=20
->>=22.20.0
3.2.1
->4.0.1
3.2.5
->3.6.2
2.11.0
->2.19.10
1.23.1
->2.0.1
^18.2.0
->^19.2.0
18.2.0
->19.2.0
^18.2.0
->^19.2.0
18.2.0
->19.2.0
4.0.11
->6.0.0
17.5.0
->17.6.0
1.17.4
->1.18.3
8.0.8
->9.1.10
5.2.2
->5.9.3
1.3.2
->1.3.3
1.4.0
->1.5.0
9.0.1
->13.0.0
5.0.8
->7.1.9
3.8.1
->4.5.4
4.2.0
->4.5.0
^4.3.2
->^5.1.4
1.0.4
->3.2.4
3.2.1
->4.2.0
4.38.2
->5.23.0
Release Notes
apollographql/apollo-client (@apollo/client)
v4.0.7
Compare Source
Patch Changes
5b4f36a
Thanks @jerelmiller! - Don't sendoperationType
in the payload sent byGraphQLWsLink
.v4.0.6
Compare Source
Patch Changes
3b0d89b
Thanks @phryneas! - Fix a problem withfetchMore
where the loading state wouldn't reset if the result wouldn't result in a data update.v4.0.5
Compare Source
Patch Changes
e2fc385
Thanks @phryneas! - Fix an invariance type error in theMockedResponse
type.v4.0.4
Compare Source
Patch Changes
#12892
db8a04b
Thanks @jerelmiller! - Prevent unhandled rejections from the promise returned by calling themutate
function from theuseMutation
hook.#12899
5352c12
Thanks @phryneas! - Fix an issue wheninvariant
is called by external libraries when no dev error message handler is loaded.#12895
71f2517
Thanks @jerelmiller! - SupportskipToken
withuseQuery
to provide a more type-safe way to skip query execution.Note: this change is provided as a patch within the 4.0 minor version because the changes to TypeScript validation with required variables in version 4.0 made using the
skip
option more difficult.#12900
c0d5be7
Thanks @phryneas! - Use named exportequal
instead of default from"@​wry/equality"
v4.0.3
Compare Source
Patch Changes
#12887
6f6ca47
Thanks @phryneas! - Fix accidental deep re-export from/react
out of/react/internals
#12890
019b422
Thanks @jerelmiller! - Ensure thevariables
option foruseMutation
provides proper IntelliSense suggestions.v4.0.2
Compare Source
Patch Changes
56fac52
Thanks @phryneas! - restoregetMemoryInternals
access in dev buildsv4.0.1
Compare Source
Patch Changes
#12876
b00f231
Thanks @phryneas! - Fix CJS build output forinvariantErrorCodes
#12866
0d1614a
Thanks @jerelmiller! - ExportisNetworkStatusInFlight
from@apollo/client/utilities
. AddisNetworkStatusSettled
to@apollo/client/utilities
and re-export it from@apollo/client
with a deprecation.v4.0.0
Compare Source
v3.14.0
Compare Source
Minor Changes
#12752
8b779b4
Thanks @jerelmiller! - Add deprecations and warnings to remaining APIs changed in Apollo Client 4.0.#12746
0bcd2f4
Thanks @jerelmiller! - Add warnings and deprecations for options and methods for all React APIs.#12751
567cad8
Thanks @jerelmiller! - Add@deprecated
tags to all properties returned from any query API (e.g.client.query
,observableQuery.refetch
, etc.),client.mutate
, andclient.subscribe
that are no longer available in Apollo Client 4.0.#12746
0bcd2f4
Thanks @jerelmiller! - AddpreloadQuery.toPromise(queryRef)
as a replacement forqueryRef.toPromise()
.queryRef.toPromise()
has been removed in Apollo Client 4.0 in favor ofpreloadQuery.toPromise
and is now considered deprecated.#12736
ea89440
Thanks @jerelmiller! - Add deprecations and deprecation warnings forApolloClient
options and methods.#12763
5de6a3d
Thanks @jerelmiller! - Version bump only to release latest asrc
.#12459
1c5a031
Thanks @jerelmiller! - ResetaddTypenameTransform
andfragments
caches when callingcache.gc()
only whenresetResultCache
istrue
.#12743
92ad409
Thanks @jerelmiller! - Add deprecations and warnings foraddTypename
inInMemoryCache
andMockedProvider
.#12743
92ad409
Thanks @jerelmiller! - Add deprecations and warnings forcanonizeResults
.#12751
567cad8
Thanks @jerelmiller! - Warn when using astandby
fetch policy withclient.query
.Patch Changes
ecf3de1
Thanks @phryneas! - Prevent field policies from overwriting/merging into supertype field policies.v3.13.9
Compare Source
Patch Changes
32c9aa9
Thanks @phryneas! - Fix a possible race condition on queries that were reobserved before they were subscribed to the first time.v3.13.8
Compare Source
Patch Changes
c19d415
Thanks @thearchitector! - Fix in-flight multipart urql subscription cancellationv3.13.7
Compare Source
Patch Changes
#12540
0098932
Thanks @phryneas! - Refactor: Move notification scheduling logic fromQueryInfo
toObservableQuery
#12540
0098932
Thanks @phryneas! - Refactored cache emit logic for ObservableQuery. This should be an invisible change.v3.13.6
Compare Source
Patch Changes
cdc55ff
Thanks @phryneas! - keep ObservableQuery created by useQuery non-active before it is first subscribedv3.13.5
Compare Source
Patch Changes
12c8d06
Thanks @jerelmiller! - Fix an issue where acache-first
query would return the result for previous variables when a cache update is issued after simultaneously changing variables and skipping the query.v3.13.4
Compare Source
Patch Changes
fee9368
Thanks @jorenbroekema! - Use import star fromrehackt
to prevent issues with importing named exports from external CJS modules.v3.13.3
Compare Source
Patch Changes
#12362
f6d387c
Thanks @jerelmiller! - Fixes an issue where callingobservableQuery.getCurrentResult()
when theerrorPolicy
was set toall
would return thenetworkStatus
asNetworkStatus.ready
when there were errors returned in the result. This has been corrected to reportNetworkStatus.error
.This bug also affected the
useQuery
anduseLazyQuery
hooks and may affect you if you check fornetworkStatus
in your component.v3.13.2
Compare Source
Patch Changes
#12409
6aa2f3e
Thanks @phryneas! - To mitigate problems when Apollo Client ends up more than once in the bundle, some unique symbols were converted intoSymbol.for
calls.#12392
644bb26
Thanks @Joja81! - Fixes an issue where the DeepOmit type would turn optional properties into required properties. This should only affect you if you were using the omitDeep or stripTypename utilities exported by Apollo Client.#12404
4332b88
Thanks @jerelmiller! - ShowNaN
rather than converting tonull
in debug messages fromMockLink
for unmatchedvariables
values.v3.13.1
Compare Source
Patch Changes
#12369
bdfc5b2
Thanks @phryneas! -ObervableQuery.refetch
: don't refetch withcache-and-network
, swich tonetwork-only
instead#12375
d3f8f13
Thanks @jerelmiller! - Export theUseSuspenseFragmentOptions
type.v3.13.0
Compare Source
Minor Changes
#12066
c01da5d
Thanks @jerelmiller! - Adds a newuseSuspenseFragment
hook.useSuspenseFragment
suspends untildata
is complete. It is a drop-in replacement foruseFragment
when you prefer to use Suspense to control the loading state of a fragment. See the documentation for more details.#12174
ba5cc33
Thanks @jerelmiller! - Ensure errors thrown in theonCompleted
callback fromuseMutation
don't callonError
.#12340
716d02e
Thanks @phryneas! - Deprecate theonCompleted
andonError
callbacks ofuseQuery
anduseLazyQuery
.For more context, please see the related issue on GitHub.
#12276
670f112
Thanks @Cellule! - Provide a more type-safe option for the previous data value passed toobservableQuery.updateQuery
. Using it could result in crashes at runtime as this callback could be called with partial data even though its type reported the value as a complete result.The
updateQuery
callback function is now called with a new type-safepreviousData
property and a newcomplete
property in the 2nd argument that determines whetherpreviousData
is a complete or partial result.As a result of this change, it is recommended to use the
previousData
property passed to the 2nd argument of the callback rather than using the previous data value from the first argument since that value is not type-safe. The first argument is now deprecated and will be removed in a future version of Apollo Client.[#12174](https://redirect.github.com/apollographql/apollo-client/pull/12174
Configuration
📅 Schedule: Branch creation - "before 3:00 am on the 4th day of the month" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.