#11900f745558 Thanks @phryneas! - useMutation: use useIsomorphicLayoutEffect instead of useLayoutEffect
v3.10.5
Patch Changes
#118887fb7939 Thanks @phryneas! - switch useRenderGuard to an approach not accessing React's internals
#115116536369 Thanks @phryneas! - useLoadableQuery: ensure that loadQuery is updated if the ApolloClient instance changes
#118608740f19 Thanks @alessbell! - Fixes #11849 by reevaluating window.fetch each time BatchHttpLink uses it, if not configured via options.fetch. Takes the same approach as PR #8603 which fixed the same issue in HttpLink.
#11852d502a69 Thanks @phryneas! - Fix a bug where calling the useMutationreset function would point the hook to an outdated client reference.
#113293d164ea Thanks @PaLy! - Fix graphQLErrors in Error Link if networkError.result is an empty string
#11852d502a69 Thanks @phryneas! - Prevent writing to a ref in render in useMutation.
As a result, you might encounter problems in the future if you call the mutation's execute function during render. Please note that this was never supported behavior, and we strongly recommend against it.
#11848ad63924 Thanks @phryneas! - Ensure covariant behavior: MockedResponse<X,Y> should be assignable to MockedResponse
#1185145c47be Thanks @phryneas! - Avoid usage of useRef in useInternalState to prevent ref access in render.
#11900f745558 Thanks @phryneas! - useMutation: use useIsomorphicLayoutEffect instead of useLayoutEffect
3.10.5
Patch Changes
#118887fb7939 Thanks @phryneas! - switch useRenderGuard to an approach not accessing React's internals
#115116536369 Thanks @phryneas! - useLoadableQuery: ensure that loadQuery is updated if the ApolloClient instance changes
#118608740f19 Thanks @alessbell! - Fixes #11849 by reevaluating window.fetch each time BatchHttpLink uses it, if not configured via options.fetch. Takes the same approach as PR #8603 which fixed the same issue in HttpLink.
#11852d502a69 Thanks @phryneas! - Fix a bug where calling the useMutationreset function would point the hook to an outdated client reference.
#113293d164ea Thanks @PaLy! - Fix graphQLErrors in Error Link if networkError.result is an empty string
#11852d502a69 Thanks @phryneas! - Prevent writing to a ref in render in useMutation.
As a result, you might encounter problems in the future if you call the mutation's execute function during render. Please note that this was never supported behavior, and we strongly recommend against it.
#11848ad63924 Thanks @phryneas! - Ensure covariant behavior: MockedResponse<X,Y> should be assignable to MockedResponse
#1185145c47be Thanks @phryneas! - Avoid usage of useRef in useInternalState to prevent ref access in render.
Bumps the js group with 23 updates in the /frontend directory:
3.8.6
3.10.8
7.22.9
7.24.7
7.21.3
7.24.7
7.24.1
7.24.7
17.4.4
19.3.0
17.4.4
19.2.2
1.13.1
1.16.5
1.12.0
1.13.1
4.5.11
5.0.8
0.4.3
2.0.0
6.5.1
6.5.2
6.4.0
6.5.2
6.4.2
6.5.2
7.98.0
8.13.0
4.1.0
6.6.6
3.3.0
3.5.0
16.8.1
16.9.0
2.19.4
2.21.0
3.0.0
3.2.0
1.58.3
1.77.6
11.2.0
13.0.1
6.2.5
6.2.7
3.1.1
3.3.0
Updates
@apollo/client
from 3.8.6 to 3.10.8Release notes
Sourced from
@apollo/client
's releases.... (truncated)
Changelog
Sourced from
@apollo/client
's changelog.... (truncated)
Commits
d914d68
Version Packages (#11912)1f0460a
Allowundefined
as return value fromcache.modify
modifier function (#11911)7111de2
Version Packages (#11907)1aed0e8
Defend against non-serializable params ininvariantWrappers
(#11861)29755da
Add.d.cts
files for cjs bundles (#11905)a07c516
renovate: ignore eslint-plugin-react-compiler (#11908)a043763
chore(deps): update cimg/node docker tag to v22.3.0 (#11904)573fab4
chore(deps): bump ws from 6.2.2 to 6.2.3 in /integration-tests (#11898)10a8c0a
updatecanUseLayoutEffect
check to also allow for layout effects in React N...d104759
chore: update TypeScript to 5.5 (#11906)Updates
@babel/core
from 7.22.9 to 7.24.7Release notes
Sourced from
@babel/core
's releases.... (truncated)
Changelog
Sourced from
@babel/core
's changelog.... (truncated)
Commits
bf1e9a3
v7.24.790fdd7e
Only import types from declared dependencies (#16494)7934963
Usetype: module
in allpackage.json
s (#16535)9630250
v7.24.6553e433
Generate helper metadata at build time (#16501)fbfe16c
Fix source maps for template literals (#16515)6e3539b
[babel 8] Publish.d.ts
files for every package (#16416)e37e64d
Use eslint v9 (#16479)71c247a
[babel 8] Require Node.js^18.20.0 || ^20.10.0 || >=21.0.0
(#16457)ddbea7d
v7.24.5Updates
@babel/eslint-parser
from 7.21.3 to 7.24.7Release notes
Sourced from
@babel/eslint-parser
's releases.... (truncated)
Changelog
Sourced from
@babel/eslint-parser
's changelog.... (truncated)
Commits
bf1e9a3
v7.24.77934963
Usetype: module
in allpackage.json
s (#16535)9630250
v7.24.6e37e64d
Use eslint v9 (#16479)97c3eb1
RemovesyntaxType
option for record-and-tuple (parser&plugin) (#16458)71c247a
[babel 8] Require Node.js^18.20.0 || ^20.10.0 || >=21.0.0
(#16457)ddbea7d
v7.24.50128984
Relax ESLint peerDependency constraint to allow v9 (#16414)ee48754
Use multiple TypeScript projects (#16430)822b025
v7.24.1Updates
@babel/plugin-proposal-decorators
from 7.24.1 to 7.24.7Release notes
Sourced from
@babel/plugin-proposal-decorators
's releases.... (truncated)
Changelog
Sourced from
@babel/plugin-proposal-decorators
's changelog.... (truncated)
Commits
bf1e9a3
v7.24.790fdd7e
Only import types from declared dependencies (#16494)7934963
Usetype: module
in allpackage.json
s (#16535)9630250
v7.24.6db3e9a6
Move all runtime helpers to individual files (#16495)6e3539b
[babel 8] Publish.d.ts
files for every package (#16416)6e14020
Support undecorated static accessor in anonymous classes (#16485)c1bf7d7
Fix decorator bare yield await (#16484)Looks like these dependencies are updatable in another way, so this is no longer needed.