Skip to content

Commit 51e5baa

Browse files
authored
Upgrade graphql-inspector to flag defaulted inputs as dangerous (#8021)
1 parent cdd75ce commit 51e5baa

8 files changed

Lines changed: 27 additions & 21 deletions

File tree

.changeset/nasty-birds-invent.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'hive': patch
3+
---
4+
5+
"INPUT_FIELD_ADDED" is now classified as Dangerous (was NonBreaking) when the added field has a
6+
default value, since rolling deploys can expose consumers to the default before producers are ready.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"@graphql-codegen/urql-introspection": "3.0.1",
7474
"@graphql-eslint/eslint-plugin": "3.20.1",
7575
"@graphql-inspector/cli": "6.0.6",
76-
"@graphql-inspector/core": "7.1.2",
76+
"@graphql-inspector/core": "7.1.3",
7777
"@graphql-inspector/patch": "0.1.3",
7878
"@graphql-tools/load": "8.1.2",
7979
"@manypkg/get-packages": "2.2.2",

packages/libraries/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"dependencies": {
5151
"@graphql-hive/core": "workspace:*",
52-
"@graphql-inspector/core": "7.1.2",
52+
"@graphql-inspector/core": "7.1.3",
5353
"@graphql-tools/code-file-loader": "~8.1.0",
5454
"@graphql-tools/graphql-file-loader": "~8.1.0",
5555
"@graphql-tools/json-file-loader": "~8.0.0",

packages/services/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@date-fns/utc": "2.1.1",
2424
"@graphql-hive/core": "workspace:*",
2525
"@graphql-hive/signal": "1.0.0",
26-
"@graphql-inspector/core": "7.1.2",
26+
"@graphql-inspector/core": "7.1.3",
2727
"@graphql-tools/merge": "9.1.1",
2828
"@hive/cdn-script": "workspace:*",
2929
"@hive/postgres": "workspace:*",

packages/services/storage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"db:generate": "schemats generate --config schemats.cjs -o src/db/types.ts && prettier --write src/db/types.ts"
1616
},
1717
"devDependencies": {
18-
"@graphql-inspector/core": "7.1.2",
18+
"@graphql-inspector/core": "7.1.3",
1919
"@hive/postgres": "workspace:*",
2020
"@hive/service-common": "workspace:*",
2121
"@sentry/node": "7.120.2",

packages/services/workflows/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"devDependencies": {
1212
"@graphql-hive/logger": "1.0.9",
13-
"@graphql-inspector/core": "7.1.2",
13+
"@graphql-inspector/core": "7.1.3",
1414
"@graphql-inspector/patch": "0.1.3",
1515
"@graphql-yoga/redis-event-target": "3.0.3",
1616
"@hive/postgres": "workspace:*",

packages/web/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@graphiql/toolkit": "0.9.1",
2626
"@graphql-codegen/client-preset-swc-plugin": "0.2.0",
2727
"@graphql-hive/laboratory": "workspace:*",
28-
"@graphql-inspector/core": "7.1.2",
28+
"@graphql-inspector/core": "7.1.3",
2929
"@graphql-inspector/patch": "0.1.3",
3030
"@graphql-tools/mock": "9.0.25",
3131
"@graphql-typed-document-node/core": "3.2.0",

pnpm-lock.yaml

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)