-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update all non-major dependencies #124
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
5d64360
to
b0f92f6
Compare
b0f92f6
to
5b1a0f5
Compare
5b1a0f5
to
2638a82
Compare
2638a82
to
e4ec901
Compare
e4ec901
to
da4bee4
Compare
da4bee4
to
48eb0f6
Compare
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
48eb0f6
to
d22372c
Compare
d22372c
to
a5fd7c6
Compare
a5fd7c6
to
ae6403e
Compare
ae6403e
to
5f6a65f
Compare
5f6a65f
to
2489187
Compare
2489187
to
7b894d6
Compare
f604d5e
to
c60a576
Compare
c60a576
to
82a69fa
Compare
82a69fa
to
12be829
Compare
12be829
to
d660a50
Compare
d660a50
to
96529fd
Compare
96529fd
to
014e6d8
Compare
e1b209e
to
11e43d9
Compare
11e43d9
to
9cfc6eb
Compare
9cfc6eb
to
0663f5e
Compare
Hey @renovate[bot], here is an example of how you can ask me to improve this pull request: @Sweep Add unit tests for the updated Apollo Client hooks, specifically testing the new behavior of `fetchMore` with a `no-cache` fetch policy to ensure it throws an error when no `updateQuery` function is provided. 📖 For more information on how to use Sweep, please read our documentation. |
0663f5e
to
fdcb04a
Compare
fdcb04a
to
c86de41
Compare
c86de41
to
37aa35f
Compare
37aa35f
to
0403104
Compare
Report too large to display inline |
This PR contains the following updates:
3.7.15
->3.11.10
7.22.5
->7.26.0
7.22.5
->7.25.9
1.7.15
->1.7.19
2.0.18
->2.1.5
3.1.1
->3.9.1
0.12.14
->0.12.18
0.2.0
->0.5.0
7.0.20
->7.6.20
7.0.20
->7.6.20
7.0.20
->7.6.20
7.0.20
->7.6.20
7.0.20
->7.6.20
0.1.0
->0.2.2
0.5.3
->0.5.9
5.16.5
->5.17.0
14.0.0
->14.3.1
4.1.1
->4.3.0
18.2.12
->18.3.12
5.59.11
->5.62.0
5.59.11
->5.62.0
0.32.0
->0.34.7
10.4.14
->10.4.20
29.5.0
->29.7.0
9.1.2
->9.2.1
0.6.0
->0.7.0
8.2.0
->8.2.2
8.42.0
->8.57.1
13.4.5
->13.5.7
8.8.0
->8.10.0
0.6.12
->0.11.0
16.6.0
->16.9.0
13.2.2
->13.3.0
1.8.1
->1.9.2
1.2.2
->1.3.5
13.4.5
->13.5.7
4.22.1
->4.24.10
0.3.2
->0.4.2
18.16.0
->18.20.4
8.4.24
->8.4.49
8.4.24
->8.4.49
18.2.0
->18.3.1
18.2.0
->18.3.1
7.44.3
->7.53.2
0.16.0
->0.23.1
2.1.4
->2.3.2
2.4.1
->2.10.1
7.0.20
->7.6.20
3.3.2
->3.4.14
5.1.3
->5.6.3
4.3.9
->4.5.5
0.32.0
->0.34.6
0.12.15
->0.12.19
1.2.0
->1.4.0
Release Notes
apollographql/apollo-client (@apollo/client)
v3.11.10
Compare Source
Patch Changes
1765668
Thanks @mgmolisani! - Fixed a bug when evaluating the devtools flag with the new syntaxdevtools.enabled
that could result totrue
when explicitly set tofalse
.v3.11.9
Compare Source
Patch Changes
a3f95c6
Thanks @jerelmiller! - Fix an issue where errors returned from afetchMore
call from a Suspense hook would cause a Suspense boundary to be shown indefinitely.v3.11.8
Compare Source
Patch Changes
35cf186
Thanks @phryneas! - Fixed a bug where incorrect object access in some Safari extensions could cause a crash.v3.11.7
Compare Source
Patch Changes
e471cef
Thanks @jerelmiller! - Fixes a regression from where passing an invalid identifier tofrom
inuseFragment
would result in the warningTypeError: Cannot read properties of undefined (reading '__typename')
.v3.11.6
Compare Source
Patch Changes
#12049
9c26892
Thanks @phryneas and @maciesielka! - Fix a bug whereuseFragment
did not re-render as expected#12044
04462a2
Thanks @DoctorJohn! - Cache theuseSubscription
hook'srestart
function definition between re-renders.v3.11.5
Compare Source
Patch Changes
#12027
eb3e21b
Thanks @JavaScriptBach! - TypeMutationResult.reset
as an arrow function#12020
82d8cb4
Thanks @jerelmiller! - Better conform to Rules of React by avoiding write of ref in render foruseFragment
.v3.11.4
Compare Source
Patch Changes
#11994
41b17e5
Thanks @jerelmiller! - Update theModifier
function type to allowcache.modify
to return deeply partial data.#11989
e609156
Thanks @phryneas! - Fix a potential crash when callingclearStore
while a query was running.Previously, calling
client.clearStore()
while a query was running had one of these results:useQuery
would stay in aloading: true
state.useLazyQuery
would stay in aloading: true
state, but also crash with a"Cannot read property 'data' of undefined"
error.Now, in both cases, the hook will enter an error state with a
networkError
, and the promise returned by theuseLazyQuery
execute
function will return a result in an error state.#11994
41b17e5
Thanks @jerelmiller! - Prevent accidental distribution oncache.modify
field modifiers when a field is a union type array.v3.11.3
Compare Source
Patch Changes
#11984
5db1659
Thanks @jerelmiller! - Fix an issue where multiple fetches with results that returned errors would sometimes set thedata
property with anerrorPolicy
ofnone
.#11974
c95848e
Thanks @jerelmiller! - Fix an issue wherefetchMore
would write its result data to the cache when using it with ano-cache
fetch policy.#11974
c95848e
Thanks @jerelmiller! - Fix an issue where executingfetchMore
with ano-cache
fetch policy could sometimes result in multiple network requests.#11974
c95848e
Thanks @jerelmiller! -Potentially disruptive change
When calling
fetchMore
with a query that has ano-cache
fetch policy,fetchMore
will now throw if anupdateQuery
function is not provided. This provides a mechanism to merge the results from thefetchMore
call with the query's previous result.v3.11.2
Compare Source
Patch Changes
38c0a2c
Thanks @jerelmiller! - Fix missinggetServerSnapshot
error when usinguseSubscription
on the server.v3.11.1
Compare Source
Patch Changes
#11969
061cab6
Thanks @jerelmiller! - Remove check forwindow.__APOLLO_CLIENT__
when determining whether to connect to Apollo Client Devtools whenconnectToDevtools
ordevtools.enabled
is not specified. This now simply checks to see if the application is in development mode.#11971
ecf77f6
Thanks @jerelmiller! - Prevent thesetTimeout
for suggesting devtools from running in non-browser environments.v3.11.0
Compare Source
Potentially Breaking Fixes
#11789
5793301
Thanks @phryneas! - Changes usages of theGraphQLError
type toGraphQLFormattedError
.This was a type bug - these errors were never
GraphQLError
instancesto begin with, and the
GraphQLError
class has additional properties that cannever be correctly rehydrated from a GraphQL result.
The correct type to use here is
GraphQLFormattedError
.Similarly, please ensure to use the type
FormattedExecutionResult
instead of
ExecutionResult
- the non-"Formatted" versions of these typesare for use on the server only, but don't get transported over the network.
#11626
228429a
Thanks @phryneas! - CallnextFetchPolicy
with "variables-changed" even if there is afetchPolicy
specified.Previously this would only be called when the current
fetchPolicy
was equal to thefetchPolicy
option or the option was not specified. If you usenextFetchPolicy
as a function, expect to see this function called more often.Due to this bug, this also meant that the
fetchPolicy
might be reset to the initialfetchPolicy
, even when you specified anextFetchPolicy
function. If you previously relied on this behavior, you will need to update yournextFetchPolicy
callback function to implement this resetting behavior.As an example, if your code looked like the following:
Update your function to the following to reimplement the resetting behavior:
Minor Changes
#11923
d88c7f8
Thanks @jerelmiller! - Add support forsubscribeToMore
function touseQueryRefHandlers
.#11854
3812800
Thanks @jcostello-atlassian! - Support extensions in useSubscription#11923
d88c7f8
Thanks @jerelmiller! - Add support forsubscribeToMore
function touseLoadableQuery
.#11863 [
98e44f7
](https://redirect.github.com/apollographql/apollo-client/commit/98e44f74cb7c7e93a81bdc7492c9218bf4a2dc