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

v5 release #3063

Merged
merged 10 commits into from
Oct 16, 2023
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@graphql-yoga/nestjs-federation': patch
'@graphql-yoga/nestjs-federation': major
---
dependencies updates:
- Updated dependency [`@envelop/apollo-federation@^5.0.0`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@graphql-yoga/plugin-apollo-inline-trace': patch
'@graphql-yoga/plugin-apollo-inline-trace': major
---
dependencies updates:
- Updated dependency [`@envelop/on-resolve@^4.0.0`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@graphql-yoga/plugin-prometheus': patch
'@graphql-yoga/plugin-prometheus': major
---
dependencies updates:
- Updated dependency [`prom-client@^15.0.0`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@graphql-yoga/plugin-prometheus': patch
'@graphql-yoga/plugin-prometheus': major
---
dependencies updates:
- Updated dependency [`@envelop/[email protected]`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@graphql-yoga/plugin-response-cache': patch
'@graphql-yoga/plugin-response-cache': major
---
dependencies updates:
- Updated dependency [`@envelop/response-cache@^6.0.0`
Expand Down
25 changes: 25 additions & 0 deletions .changeset/fifty-onions-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
'@graphql-yoga/redis-event-target': major
'@graphql-yoga/typed-event-target': major
'@graphql-yoga/plugin-disable-introspection': major
'@graphql-yoga/plugin-persisted-operations': major
'@graphql-yoga/plugin-apollo-inline-trace': major
'@graphql-yoga/plugin-csrf-prevention': major
'@graphql-yoga/plugin-response-cache': major
'@graphql-yoga/urql-exchange': major
'@graphql-yoga/plugin-defer-stream': major
'@graphql-yoga/plugin-graphql-sse': major
'@graphql-yoga/apollo-link': major
'@graphql-yoga/plugin-prometheus': major
'@graphql-yoga/nestjs-federation': major
'@graphql-yoga/render-graphiql': major
'graphql-yoga': major
'@graphql-yoga/plugin-sofa': major
'@graphql-yoga/subscription': major
'@graphql-yoga/plugin-apq': major
'@graphql-yoga/plugin-jwt': major
'@graphql-yoga/logger': major
'@graphql-yoga/nestjs': major
---

**Breaking Change:** Drop support of Node.js 16
2 changes: 1 addition & 1 deletion .changeset/graphql-yoga-3070-dependencies.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'graphql-yoga': patch
'graphql-yoga': major
---
dependencies updates:
- Updated dependency [`@envelop/core@^5.0.0`
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 18
nodeVersion: 20
packageManager: pnpm

- name: Build Packages
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16, 18, 20]
node-version: [18, 20]
graphql-version: ['15.8.0', '16.6.0']
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16, 18]
node-version: [18, 20]
graphql-version: ['15.8.0', '16.6.0']
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [16, 18]
node-version: [18]
graphql-version: ['15.8.0', '16.6.0']
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
- name: Setup env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 18
nodeVersion: 20
packageManager: pnpm

- name: Build Packages
Expand All @@ -187,7 +187,7 @@ jobs:
- name: Setup env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 18
nodeVersion: 20
packageManager: pnpm

- name: Setup Bun Runtime
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployment-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 18
nodeVersion: 20
packageManager: pnpm

- name: Build Packages
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
with:
npmTag: alpha
buildScript: build
nodeVersion: 18
nodeVersion: 20
packageManager: pnpm
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -25,7 +25,7 @@ jobs:
npmTag: rc
restoreDeletedChangesets: true
buildScript: build
nodeVersion: 18
nodeVersion: 20
packageManager: pnpm
secrets:
githubToken: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -39,4 +39,4 @@ jobs:
with:
installDependencies: true
packageManager: pnpm
nodeVersion: 18
nodeVersion: 20
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
if: ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
with:
releaseScript: release
nodeVersion: 18
nodeVersion: 20
packageManager: pnpm
secrets:
githubToken: ${{ secrets.GUILD_BOT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup env
uses: the-guild-org/shared-config/setup@main
with:
nodeVersion: 18
nodeVersion: 20
packageManager: pnpm

- name: Build Packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: the-guild-org/shared-config/setup@main
name: setup env
with:
nodeVersion: 18
nodeVersion: 20
packageManager: pnpm

- uses: the-guild-org/shared-config/website-cf@main
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ website/src/pages/v2/_meta.js
website/src/lib/v2-get-static-props.ts
website/src/pages/v3/_meta.js
website/src/lib/v3-get-static-props.ts
website/src/pages/v4/_meta.js
website/src/lib/v4-get-static-props.ts
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"private": true,
"packageManager": "[email protected]",
"engines": {
"node": ">=16.14",
"node": ">=18.0.0",
"pnpm": ">=8.6.1"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/client/apollo-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Arda TANRIKULU <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/urql-exchange/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Arda TANRIKULU <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/event-target/redis-event-target/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Laurin Quast <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/event-target/typed-event-target/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Laurin Quast <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-yoga/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Saihajpreet Singh <[email protected]> (https://saihaj.dev/)",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/nestjs-federation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Denis Badurina <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Denis Badurina <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/apollo-inline-trace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Denis Badurina <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/apq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Arda TANRIKULU <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/csrf-prevention/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Denis Badurina <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/defer-stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Saihajpreet Singh <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/disable-introspection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Laurin Quast <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/graphql-sse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Denis Badurina <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Arda TANRIKULU <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/persisted-operations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Arda TANRIKULU <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/prometheus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Arda TANRIKULU <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/response-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Arda TANRIKULU <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/sofa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Arda TANRIKULU <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/render-graphiql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Laurin Quast <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/subscription/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Laurin Quast <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"allowSyntheticDefaultImports": true,
"importHelpers": true,
"experimentalDecorators": true,
"module": "node16",
"target": "es2021",
"module": "NodeNext",
"target": "es2022",
"lib": ["esnext"],
"moduleResolution": "node",
"emitDecoratorMetadata": true,
Expand Down
Loading