Skip to content

Commit 2333106

Browse files
fix(deps): update @apollo/client to v3.11.1 (#11071)
See: #11034. This was extracted from that one without the experimental package upgrade. Hmm looks like we'll have to do some refactoring due to apollographql/apollo-client#11789.
1 parent 9197953 commit 2333106

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

packages/forms/src/FormError.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22

3-
import type { GraphQLError } from 'graphql'
3+
import type { GraphQLFormattedError } from 'graphql'
44

55
export interface ServerParseError extends Error {
66
response: Response
@@ -16,7 +16,7 @@ export interface ServerError extends Error {
1616

1717
export interface RWGqlError {
1818
message: string
19-
graphQLErrors: ReadonlyArray<GraphQLError>
19+
graphQLErrors: ReadonlyArray<GraphQLFormattedError>
2020
networkError: Error | ServerParseError | ServerError | null
2121
}
2222

packages/web/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
"test:watch": "vitest watch"
142142
},
143143
"dependencies": {
144-
"@apollo/client": "3.9.9",
144+
"@apollo/client": "3.11.1",
145145
"@babel/runtime-corejs3": "7.24.8",
146146
"@redwoodjs/auth": "workspace:*",
147147
"@redwoodjs/server-store": "workspace:*",

yarn.lock

+12-12
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ __metadata:
130130
languageName: node
131131
linkType: hard
132132

133-
"@apollo/client@npm:3.9.9":
134-
version: 3.9.9
135-
resolution: "@apollo/client@npm:3.9.9"
133+
"@apollo/client@npm:3.11.1":
134+
version: 3.11.1
135+
resolution: "@apollo/client@npm:3.11.1"
136136
dependencies:
137137
"@graphql-typed-document-node/core": "npm:^3.1.1"
138138
"@wry/caches": "npm:^1.0.0"
@@ -142,7 +142,7 @@ __metadata:
142142
hoist-non-react-statics: "npm:^3.3.2"
143143
optimism: "npm:^0.18.0"
144144
prop-types: "npm:^15.7.2"
145-
rehackt: "npm:0.0.6"
145+
rehackt: "npm:^0.1.0"
146146
response-iterator: "npm:^0.2.6"
147147
symbol-observable: "npm:^4.0.0"
148148
ts-invariant: "npm:^0.10.3"
@@ -151,8 +151,8 @@ __metadata:
151151
peerDependencies:
152152
graphql: ^15.0.0 || ^16.0.0
153153
graphql-ws: ^5.5.5
154-
react: ^16.8.0 || ^17.0.0 || ^18.0.0
155-
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
154+
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0
155+
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0
156156
subscriptions-transport-ws: ^0.9.0 || ^0.11.0
157157
peerDependenciesMeta:
158158
graphql-ws:
@@ -163,7 +163,7 @@ __metadata:
163163
optional: true
164164
subscriptions-transport-ws:
165165
optional: true
166-
checksum: 10c0/133e866eeebaceeb8f059d9bde3884f6c362f78d0aa9f4c1c51034af39259b0db154ec77c96fdad28fd7bc3b82ba920586d29aed1920933fabd2c5188b51a2b9
166+
checksum: 10c0/d3a1f30d44d5a84e01538772396e93db4921fcdf99919785688464d487ea00dabfb6ae63ca7e2ebd373eed5d24c134dec6eb4f4d13920044b2ea1f105fa044c4
167167
languageName: node
168168
linkType: hard
169169

@@ -8750,7 +8750,7 @@ __metadata:
87508750
version: 0.0.0-use.local
87518751
resolution: "@redwoodjs/web@workspace:packages/web"
87528752
dependencies:
8753-
"@apollo/client": "npm:3.9.9"
8753+
"@apollo/client": "npm:3.11.1"
87548754
"@apollo/client-react-streaming": "npm:0.10.0"
87558755
"@arethetypeswrong/cli": "npm:0.15.3"
87568756
"@babel/cli": "npm:7.24.8"
@@ -25996,9 +25996,9 @@ __metadata:
2599625996
languageName: node
2599725997
linkType: hard
2599825998

25999-
"rehackt@npm:0.0.6":
26000-
version: 0.0.6
26001-
resolution: "rehackt@npm:0.0.6"
25999+
"rehackt@npm:^0.1.0":
26000+
version: 0.1.0
26001+
resolution: "rehackt@npm:0.1.0"
2600226002
peerDependencies:
2600326003
"@types/react": "*"
2600426004
react: "*"
@@ -26007,7 +26007,7 @@ __metadata:
2600726007
optional: true
2600826008
react:
2600926009
optional: true
26010-
checksum: 10c0/814c9b80b2680dc0572639ecad1ed1961b23b606e53a00976ee4c4876f6ed736ea702381235ac40ed2a5c826fb55641b46ae23343e4ddd6378ced1da3d51ada7
26010+
checksum: 10c0/3d838bfee84ec06c976f21027936f3b0fdb7660ab8a2d4d3f19c65e0daa78a268aa81352311352b8576b89a074714b36ae6cd5bdadb6e975eca079f2b342de73
2601126011
languageName: node
2601226012
linkType: hard
2601326013

0 commit comments

Comments
 (0)