Skip to content
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

Revert "Upcoming Release Changes" #9811

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/@graphql-codegen_add-9640-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/add": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/@graphql-codegen_cli-9601-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/cli": patch
---
dependencies updates:
- Added dependency [`@graphql-codegen/client-preset@^4.1.0` ↗︎](https://www.npmjs.com/package/@graphql-codegen/client-preset/v/4.1.0) (to `dependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/client-preset": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/@graphql-codegen_core-9640-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/core": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/fragment-matcher": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/gql-tag-operations": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/graphql-modules-preset": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/introspection": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/plugin-helpers": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/@graphql-codegen_schema-ast-9640-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/schema-ast": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/@graphql-codegen_testing-9640-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/testing": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/@graphql-codegen_testing-9645-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/testing": patch
---
dependencies updates:
- Updated dependency [`jest-diff@^23.0.0 || ^24.0.0 || ^25.0.0 || ^26.0.0 || ^27.0.0 || ^28.0.0 || ^29.0.0` ↗︎](https://www.npmjs.com/package/jest-diff/v/23.0.0) (from `^23.0.0 || ^24.0.0 || ^25.0.0 || ^26.0.0 || ^27.0.0 || ^28.0.0`, in `peerDependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/typed-document-node": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/@graphql-codegen_typescript-9640-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/typescript": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/typescript-document-nodes": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/typescript-operations": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/typescript-resolvers": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/visitor-plugin-common": patch
---
dependencies updates:
- Updated dependency [`tslib@~2.6.0` ↗︎](https://www.npmjs.com/package/tslib/v/2.6.0) (from `~2.5.0`, in `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/chilled-impalas-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphql-codegen/client-preset': minor
---

The client preset now allows the use of the `futureProofEnums` config option
5 changes: 5 additions & 0 deletions .changeset/heavy-jars-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphql-codegen/cli": patch
---

ignore events in `.git` directory
9 changes: 9 additions & 0 deletions .changeset/hip-garlics-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@graphql-codegen/visitor-plugin-common': minor
'@graphql-codegen/typescript-operations': minor
---

fix: out-of-memory crash (fixes #7720)
perf: implement a caching mechanism that makes sure the type originating at the same location is never generated twice, as long as the combination of selected fields and possible types matches
feat: implement `extractAllFieldsToTypes: boolean`
feat: implement `printFieldsOnNewLines: boolean`
5 changes: 5 additions & 0 deletions .changeset/perfect-forks-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphql-codegen/visitor-plugin-common': patch
---

Avoid reading from null values when selection sets only contain fragments.
5 changes: 5 additions & 0 deletions .changeset/plenty-seahorses-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphql-codegen/cli': patch
---

Surface error occurring during import of @parcel/watcher
5 changes: 5 additions & 0 deletions .changeset/quiet-flies-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphql-codegen/cli': patch
---

Include @graphql-codegen/client-preset in @graphql-codegen/cli by default
5 changes: 5 additions & 0 deletions .changeset/stupid-onions-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphql-codegen/cli': patch
---

fix watcher unable to find highest common directory on Windows
2 changes: 1 addition & 1 deletion examples/persisted-documents-string-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@graphql-typed-document-node/core": "3.2.0",
"jest": "28.1.3",
"babel-jest": "29.6.4",
"@graphql-codegen/cli": "5.0.1",
"@graphql-codegen/cli": "5.0.0",
"@babel/core": "7.22.11",
"@babel/preset-env": "7.22.10",
"@babel/preset-typescript": "7.22.11"
Expand Down
2 changes: 1 addition & 1 deletion examples/persisted-documents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@graphql-typed-document-node/core": "3.2.0",
"jest": "28.1.3",
"babel-jest": "29.6.4",
"@graphql-codegen/cli": "5.0.1",
"@graphql-codegen/cli": "5.0.0",
"@babel/core": "7.22.11",
"@babel/preset-env": "7.22.10",
"@babel/preset-typescript": "7.22.11"
Expand Down
12 changes: 6 additions & 6 deletions examples/programmatic-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"test:end2end": "exit 0"
},
"dependencies": {
"@graphql-codegen/core": "4.0.1",
"@graphql-codegen/plugin-helpers": "5.0.2",
"@graphql-codegen/typed-document-node": "5.0.2",
"@graphql-codegen/typescript": "4.0.2",
"@graphql-codegen/typescript-operations": "4.1.0",
"@graphql-codegen/typescript-resolvers": "4.0.2",
"@graphql-codegen/core": "4.0.0",
"@graphql-codegen/plugin-helpers": "5.0.1",
"@graphql-codegen/typed-document-node": "5.0.1",
"@graphql-codegen/typescript": "4.0.1",
"@graphql-codegen/typescript-operations": "4.0.1",
"@graphql-codegen/typescript-resolvers": "4.0.1",
"@graphql-tools/graphql-file-loader": "8.0.0",
"@graphql-tools/load": "8.0.0",
"@graphql-tools/schema": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/apollo-client-defer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"graphql-yoga": "4.0.4"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@types/jest": "^27.5.2",
"@types/node": "^18.11.18",
"@types/react": "^18.0.15",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/apollo-client-swc-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"@graphql-codegen/client-preset-swc-plugin": "0.2.0",
"@graphql-codegen/cli": "^5.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@vitejs/plugin-react-swc": "^3.3.0",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/apollo-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@vitejs/plugin-react": "^3.1.0",
"@types/jest": "^27.5.2",
"@types/node": "^18.11.18",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/http-executor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@vitejs/plugin-react": "^3.1.0",
"@types/jest": "^27.5.2",
"@types/node": "^18.11.18",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/nextjs-swr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"swr": "^2.0.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.1",
"@graphql-codegen/schema-ast": "4.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/schema-ast": "4.0.0",
"@graphql-codegen/client-preset-swc-plugin": "0.2.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.17",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/tanstack-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@vitejs/plugin-react": "^3.1.0",
"@types/jest": "^27.5.2",
"@types/node": "^18.11.18",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/urql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"devDependencies": {
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.10",
"@graphql-codegen/cli": "^5.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@vitejs/plugin-react": "^3.1.0",
"typescript": "5.2.2",
"serve": "14.2.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"devDependencies": {
"@graphql-codegen/cli": "5.0.1"
"@graphql-codegen/cli": "5.0.0"
},
"dependencies": {
"@graphql-typed-document-node/core": "3.2.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript-graphql-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"devDependencies": {
"@graphql-codegen/cli": "5.0.1",
"@graphql-codegen/cli": "5.0.0",
"babel-jest": "29.6.4",
"jest": "28.1.3"
},
Expand Down
6 changes: 3 additions & 3 deletions examples/typescript-resolvers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.0.0",
"private": true,
"devDependencies": {
"@graphql-codegen/cli": "5.0.1",
"@graphql-codegen/typescript": "4.0.2",
"@graphql-codegen/typescript-resolvers": "4.0.2"
"@graphql-codegen/cli": "5.0.0",
"@graphql-codegen/typescript": "4.0.1",
"@graphql-codegen/typescript-resolvers": "4.0.1"
},
"dependencies": {
"graphql": "16.8.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/vite/vite-react-cts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"vite": "^4.1.0"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.1",
"@graphql-codegen/cli": "5.0.0",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"cypress": "12.17.4",
Expand Down
2 changes: 1 addition & 1 deletion examples/vite/vite-react-mts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"vite": "^4.1.0"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.1",
"@graphql-codegen/cli": "5.0.0",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"cypress": "12.17.4",
Expand Down
2 changes: 1 addition & 1 deletion examples/vite/vite-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"vite": "^4.1.0"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.1",
"@graphql-codegen/cli": "5.0.0",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"cypress": "12.17.4",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/apollo-composable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"vue": "^3.2.37"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@vitejs/plugin-vue": "^4.0.0",
"typescript": "^5.0.0",
"vite": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/urql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"vue": "^3.2.45"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@vitejs/plugin-vue": "^4.0.0",
"typescript": "^5.0.0",
"vite": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/vue/villus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"vue": "^3.2.37"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.1",
"@graphql-codegen/cli": "^5.0.0",
"@vitejs/plugin-vue": "^4.0.0",
"typescript": "^5.0.0",
"vite": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/yoga-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@graphql-typed-document-node/core": "3.2.0",
"jest": "28.1.3",
"babel-jest": "29.6.4",
"@graphql-codegen/cli": "5.0.1",
"@graphql-codegen/cli": "5.0.0",
"@babel/core": "7.22.11",
"@babel/preset-env": "7.22.10",
"@babel/preset-typescript": "7.22.11"
Expand Down
21 changes: 0 additions & 21 deletions packages/graphql-codegen-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
# @graphql-codegen/cli

## 5.0.1

### Patch Changes

- [#9809](https://github.com/dotansimha/graphql-code-generator/pull/9809) [`137ca2c70`](https://github.com/dotansimha/graphql-code-generator/commit/137ca2c706eb86b4069d3d91b7f6990eef3b60ba) Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates:

- Added dependency [`@graphql-codegen/client-preset@^4.1.0` ↗︎](https://www.npmjs.com/package/@graphql-codegen/client-preset/v/4.1.0) (to `dependencies`)

- [#9809](https://github.com/dotansimha/graphql-code-generator/pull/9809) [`137ca2c70`](https://github.com/dotansimha/graphql-code-generator/commit/137ca2c706eb86b4069d3d91b7f6990eef3b60ba) Thanks [@saihaj](https://github.com/saihaj)! - ignore events in `.git` directory

- [#9809](https://github.com/dotansimha/graphql-code-generator/pull/9809) [`137ca2c70`](https://github.com/dotansimha/graphql-code-generator/commit/137ca2c706eb86b4069d3d91b7f6990eef3b60ba) Thanks [@saihaj](https://github.com/saihaj)! - Surface error occurring during import of @parcel/watcher

- [#9809](https://github.com/dotansimha/graphql-code-generator/pull/9809) [`137ca2c70`](https://github.com/dotansimha/graphql-code-generator/commit/137ca2c706eb86b4069d3d91b7f6990eef3b60ba) Thanks [@saihaj](https://github.com/saihaj)! - Include @graphql-codegen/client-preset in @graphql-codegen/cli by default

- [#9809](https://github.com/dotansimha/graphql-code-generator/pull/9809) [`137ca2c70`](https://github.com/dotansimha/graphql-code-generator/commit/137ca2c706eb86b4069d3d91b7f6990eef3b60ba) Thanks [@saihaj](https://github.com/saihaj)! - fix watcher unable to find highest common directory on Windows

- Updated dependencies [[`137ca2c70`](https://github.com/dotansimha/graphql-code-generator/commit/137ca2c706eb86b4069d3d91b7f6990eef3b60ba), [`137ca2c70`](https://github.com/dotansimha/graphql-code-generator/commit/137ca2c706eb86b4069d3d91b7f6990eef3b60ba), [`137ca2c70`](https://github.com/dotansimha/graphql-code-generator/commit/137ca2c706eb86b4069d3d91b7f6990eef3b60ba), [`137ca2c70`](https://github.com/dotansimha/graphql-code-generator/commit/137ca2c706eb86b4069d3d91b7f6990eef3b60ba)]:
- @graphql-codegen/client-preset@4.2.0
- @graphql-codegen/core@4.0.1
- @graphql-codegen/plugin-helpers@5.0.2

## 5.0.0

### Major Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/graphql-codegen-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-codegen/cli",
"version": "5.0.1",
"version": "5.0.0",
"license": "MIT",
"bin": {
"gql-gen": "dist/cjs/bin.js",
Expand Down Expand Up @@ -43,9 +43,9 @@
"@babel/generator": "^7.18.13",
"@babel/template": "^7.18.10",
"@babel/types": "^7.18.13",
"@graphql-codegen/client-preset": "^4.2.0",
"@graphql-codegen/core": "^4.0.1",
"@graphql-codegen/plugin-helpers": "^5.0.2",
"@graphql-codegen/client-preset": "^4.1.0",
"@graphql-codegen/core": "^4.0.0",
"@graphql-codegen/plugin-helpers": "^5.0.1",
"@graphql-tools/apollo-engine-loader": "^8.0.0",
"@graphql-tools/code-file-loader": "^8.0.0",
"@graphql-tools/git-loader": "^8.0.0",
Expand Down