graphql-boilerplates / typescript-graphql-server

Boilerplate code for scalable, production-ready GraphQL servers written in TypeScript
741 stars 111 forks source link

fix(deps): update dependency graphql-yoga to v3 - autoclosed #661

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
graphql-yoga 1.18.3 -> 3.9.1 age adoption passing confidence

Release Notes

dotansimha/graphql-yoga ### [`v3.9.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​391) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.9.0...graphql-yoga@3.9.1) ##### Patch Changes - [#​2682](https://togithub.com/dotansimha/graphql-yoga/pull/2682) [`e1a60e21`](https://togithub.com/dotansimha/graphql-yoga/commit/e1a60e21f10813aa6d0f4673e4eb13979720c2c8) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@^0.0.17` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/0.0.17) (from `^0.0.16`, in `dependencies`) - [#​2686](https://togithub.com/dotansimha/graphql-yoga/pull/2686) [`c50ea51c`](https://togithub.com/dotansimha/graphql-yoga/commit/c50ea51c992a6a480799655225727081585f0010) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@^0.0.18` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/0.0.18) (from `^0.0.17`, in `dependencies`) - Updated dependency [`@graphql-tools/schema@^9.0.18` ↗︎](https://www.npmjs.com/package/@​graphql-tools/schema/v/9.0.18) (from `^9.0.0`, in `dependencies`) - [#​2686](https://togithub.com/dotansimha/graphql-yoga/pull/2686) [`c50ea51c`](https://togithub.com/dotansimha/graphql-yoga/commit/c50ea51c992a6a480799655225727081585f0010) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Prevent errors thrown from subscription source crashing the Node.js process and instead log the error to the console, then terminate the client subscription. ### [`v3.9.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​390) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.8.1...graphql-yoga@3.9.0) ##### Minor Changes - [#​2675](https://togithub.com/dotansimha/graphql-yoga/pull/2675) [`aff69200`](https://togithub.com/dotansimha/graphql-yoga/commit/aff69200d512c530751c617ee685f9b3f82303f8) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Only well-formatted GraphQL-over-HTTP requests use 200 when accepting application/json ### [`v3.8.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​381) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.8.0...graphql-yoga@3.8.1) ##### Patch Changes - [#​2652](https://togithub.com/dotansimha/graphql-yoga/pull/2652) [`ebb65b14`](https://togithub.com/dotansimha/graphql-yoga/commit/ebb65b14b29bbb4c50c6bb242262444315e99a73) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@^0.0.16` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/0.0.16) (from `^0.0.15`, in `dependencies`) - [#​2676](https://togithub.com/dotansimha/graphql-yoga/pull/2676) [`528941cb`](https://togithub.com/dotansimha/graphql-yoga/commit/528941cb4d1670833ee0307de0c715e6b9681d7a) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Prefer `content-type: multipart/mixed` over `content-type: text/event-stream` when the client sends `accept: text/event-stream, multipart/mixed`. ### [`v3.8.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​380) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.7.3...graphql-yoga@3.8.0) ##### Minor Changes - [#​2445](https://togithub.com/dotansimha/graphql-yoga/pull/2445) [`09d23a4b`](https://togithub.com/dotansimha/graphql-yoga/commit/09d23a4b3b22f520c41f3cebbe3b11ffbda39557) Thanks [@​ardatan](https://togithub.com/ardatan)! - GraphQL SSE Distinct Connections mode support with `legacySse = false` flag ##### Patch Changes - [#​2602](https://togithub.com/dotansimha/graphql-yoga/pull/2602) [`99b72696`](https://togithub.com/dotansimha/graphql-yoga/commit/99b726961b45b9c22d6383e2fe7212d21d324553) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - dependencies updates: - Updated dependency [`lru-cache@^7.14.1` ↗︎](https://www.npmjs.com/package/lru-cache/v/7.14.1) (from `^8.0.0`, in `dependencies`) - [#​2602](https://togithub.com/dotansimha/graphql-yoga/pull/2602) [`99b72696`](https://togithub.com/dotansimha/graphql-yoga/commit/99b726961b45b9c22d6383e2fe7212d21d324553) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - revert `lru-cache` version to `7.x.x`, as `8.x.x` broke Node.js 14 support. ### [`v3.7.3`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​373) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.7.2...graphql-yoga@3.7.3) ##### Patch Changes - [#​2559](https://togithub.com/dotansimha/graphql-yoga/pull/2559) [`46e75917`](https://togithub.com/dotansimha/graphql-yoga/commit/46e75917f784abcb4ea9968bf3d73660df157b21) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`lru-cache@^8.0.0` ↗︎](https://www.npmjs.com/package/lru-cache/v/8.0.0) (from `^7.14.1`, in `dependencies`) ### [`v3.7.2`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​372) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.7.1...graphql-yoga@3.7.2) ##### Patch Changes - [#​2528](https://togithub.com/dotansimha/graphql-yoga/pull/2528) [`7ad50529`](https://togithub.com/dotansimha/graphql-yoga/commit/7ad505294ecccf21a0449b739c359396bc97121f) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@graphql-yoga/logger@^0.0.1` ↗︎](https://www.npmjs.com/package/@​graphql-yoga/logger/v/0.0.1) (from `0.0.1`, in `dependencies`) - Updated dependency [`@whatwg-node/server@^0.7.3` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.7.3) (from `^0.7.1`, in `dependencies`) ### [`v3.7.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​371) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.7.0...graphql-yoga@3.7.1) ##### Patch Changes - [#​2481](https://togithub.com/dotansimha/graphql-yoga/pull/2481) [`9fdd94b5`](https://togithub.com/dotansimha/graphql-yoga/commit/9fdd94b5697b55693a2a7bd48a2da4c3ba8ac3f8) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Updated dependency [`@whatwg-node/server@^0.7.1` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.7.1) (from `^0.6.7`, in `dependencies`) - [#​2496](https://togithub.com/dotansimha/graphql-yoga/pull/2496) [`47b1c4a4`](https://togithub.com/dotansimha/graphql-yoga/commit/47b1c4a4fa72043b02307822395c016bd523f949) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@^0.0.15` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/0.0.15) (from `^0.0.14`, in `dependencies`) - [#​2527](https://togithub.com/dotansimha/graphql-yoga/pull/2527) [`02ac055c`](https://togithub.com/dotansimha/graphql-yoga/commit/02ac055cad3f7cb0fb08bb003a8a1971e4f48a23) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Added dependency [`@graphql-yoga/logger@0.0.0` ↗︎](https://www.npmjs.com/package/@​graphql-yoga/logger/v/0.0.0) (to `dependencies`) - [#​2527](https://togithub.com/dotansimha/graphql-yoga/pull/2527) [`02ac055c`](https://togithub.com/dotansimha/graphql-yoga/commit/02ac055cad3f7cb0fb08bb003a8a1971e4f48a23) Thanks [@​ardatan](https://togithub.com/ardatan)! - Release logger seperately - Updated dependencies \[[`02ac055c`](https://togithub.com/dotansimha/graphql-yoga/commit/02ac055cad3f7cb0fb08bb003a8a1971e4f48a23)]: - [@​graphql-yoga/logger](https://togithub.com/graphql-yoga/logger)[@​0](https://togithub.com/0).0.1 ### [`v3.7.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​370) ##### Minor Changes - [#​2459](https://togithub.com/dotansimha/graphql-yoga/pull/2459) [`9e743db5`](https://togithub.com/dotansimha/graphql-yoga/commit/9e743db5f43a8e6e5944667ddec349005dbb2cd9) Thanks [@​ardatan](https://togithub.com/ardatan)! - Respect `http` in the extensions just like error extensions ##### Patch Changes - [#​2470](https://togithub.com/dotansimha/graphql-yoga/pull/2470) [`23d1b26c`](https://togithub.com/dotansimha/graphql-yoga/commit/23d1b26cde5d86e21deb74846348e077b4fdf620) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - dependencies updates: - Updated dependency [`@envelop/validation-cache@^5.1.2` ↗︎](https://www.npmjs.com/package/@​envelop/validation-cache/v/5.1.2) (from `^5.0.5`, in `dependencies`) - [#​2470](https://togithub.com/dotansimha/graphql-yoga/pull/2470) [`23d1b26c`](https://togithub.com/dotansimha/graphql-yoga/commit/23d1b26cde5d86e21deb74846348e077b4fdf620) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - bump range of `@envelop/validation-cache` for fixing javascript runtime compatibility (usage of node-only global `require`). ### [`v3.6.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​361) ##### Patch Changes - [`3c8c8434`](https://togithub.com/dotansimha/graphql-yoga/commit/3c8c843409fa1c06873d8599ebd7b02f6819dad4) Thanks [@​ardatan](https://togithub.com/ardatan)! - Replace LRU caching with lazy URL construction, avoid unnecessary `parse` and `validate` invocation and CORS ### [`v3.6.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​360) ##### Minor Changes - [#​2393](https://togithub.com/dotansimha/graphql-yoga/pull/2393) [`790330be`](https://togithub.com/dotansimha/graphql-yoga/commit/790330beac3e6f2e85e128f9df9ba0bb1c53d5f5) Thanks [@​ardatan](https://togithub.com/ardatan)! - Decrease request latency by improving the validation and parser cache algorithm. ##### Patch Changes - [#​2388](https://togithub.com/dotansimha/graphql-yoga/pull/2388) [`6bc1410f`](https://togithub.com/dotansimha/graphql-yoga/commit/6bc1410f0d23dd88dfc708dad8dceecfaa5fab78) Thanks [@​ardatan](https://togithub.com/ardatan)! - Improve URL parsing performance - [#​2375](https://togithub.com/dotansimha/graphql-yoga/pull/2375) [`ddb2607d`](https://togithub.com/dotansimha/graphql-yoga/commit/ddb2607d5495245b360e29e38b826609ff93f2ce) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@0.0.13` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/0.0.13) (from `0.0.12`, in `dependencies`) - [#​2388](https://togithub.com/dotansimha/graphql-yoga/pull/2388) [`6bc1410f`](https://togithub.com/dotansimha/graphql-yoga/commit/6bc1410f0d23dd88dfc708dad8dceecfaa5fab78) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Added dependency [`lru-cache@^7.14.1` ↗︎](https://www.npmjs.com/package/lru-cache/v/7.14.1) (to `dependencies`) - [#​2392](https://togithub.com/dotansimha/graphql-yoga/pull/2392) [`1caac99b`](https://togithub.com/dotansimha/graphql-yoga/commit/1caac99b39a09594d54402665a852e2933f0b7da) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@whatwg-node/fetch@0.6.8` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.6.8) (from `0.6.5`, in `dependencies`) - Updated dependency [`@whatwg-node/server@0.6.3` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.6.3) (from `0.5.11`, in `dependencies`) - [#​2393](https://togithub.com/dotansimha/graphql-yoga/pull/2393) [`790330be`](https://togithub.com/dotansimha/graphql-yoga/commit/790330beac3e6f2e85e128f9df9ba0bb1c53d5f5) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Updated dependency [`@graphql-tools/utils@^9.2.1` ↗︎](https://www.npmjs.com/package/@​graphql-tools/utils/v/9.2.1) (from `^9.0.1`, in `dependencies`) - Removed dependency [`@envelop/parser-cache@^5.0.4` ↗︎](https://www.npmjs.com/package/@​envelop/parser-cache/v/5.0.4) (from `dependencies`) - [#​2394](https://togithub.com/dotansimha/graphql-yoga/pull/2394) [`7587d5c5`](https://togithub.com/dotansimha/graphql-yoga/commit/7587d5c575bffb746d611cbbce36d2ee5cbe4f69) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@^0.0.14` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/0.0.14) (from `^0.0.13`, in `dependencies`) - [#​2405](https://togithub.com/dotansimha/graphql-yoga/pull/2405) [`cc0d3899`](https://togithub.com/dotansimha/graphql-yoga/commit/cc0d389912538f2dd290976a738f1b09f1d87b8d) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@whatwg-node/fetch@^0.7.0` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.7.0) (from `^0.6.9`, in `dependencies`) - Updated dependency [`@whatwg-node/server@^0.6.5` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.6.5) (from `^0.6.4`, in `dependencies`) - [#​2411](https://togithub.com/dotansimha/graphql-yoga/pull/2411) [`a747d249`](https://togithub.com/dotansimha/graphql-yoga/commit/a747d24976de5ed6bd05013ba451bffea05f4e8c) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Updated dependency [`@whatwg-node/fetch@^0.8.1` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.8.1) (from `^0.7.0`, in `dependencies`) - Updated dependency [`@whatwg-node/server@^0.6.7` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.6.7) (from `^0.6.5`, in `dependencies`) - [#​2417](https://togithub.com/dotansimha/graphql-yoga/pull/2417) [`2933fc89`](https://togithub.com/dotansimha/graphql-yoga/commit/2933fc895702a26d13a466035e0d613629f569ec) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Updated dependency [`@whatwg-node/fetch@^0.7.1` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.7.1) (from `^0.7.0`, in `dependencies`) - [#​2421](https://togithub.com/dotansimha/graphql-yoga/pull/2421) [`543e490b`](https://togithub.com/dotansimha/graphql-yoga/commit/543e490b12e4b86934133e8c6cd08450247451c1) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Updated dependency [`@whatwg-node/fetch@^0.8.1` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.8.1) (from `^0.7.1`, in `dependencies`) - Updated dependency [`@whatwg-node/server@^0.6.7` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.6.7) (from `^0.6.5`, in `dependencies`) ### [`v3.5.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​351) ##### Patch Changes - [#​2137](https://togithub.com/dotansimha/graphql-yoga/pull/2137) [`3a8446df`](https://togithub.com/dotansimha/graphql-yoga/commit/3a8446dfb50c6d234e030cd1e4260c5de9daefc4) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Close multipart responses correctly ### [`v3.5.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​350) ##### Minor Changes - [#​2364](https://togithub.com/dotansimha/graphql-yoga/pull/2364) [`03597a5a`](https://togithub.com/dotansimha/graphql-yoga/commit/03597a5accfab9aa10380188e1fd0b7c0727a59c) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - export the yoga default format error function. ```ts import { maskError, createYoga } from 'graphql-yoga' const yoga = createYoga({ maskedErrors: { maskError(error, message, isDev) { if (error?.extensions?.code === 'DOWNSTREAM_SERVICE_ERROR') { return error } return maskError(error, message, isDev) } } }) ``` ### [`v3.4.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​341) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.4.0...graphql-yoga@3.4.1) ##### Patch Changes - [#​2254](https://togithub.com/dotansimha/graphql-yoga/pull/2254) [`00843174`](https://togithub.com/dotansimha/graphql-yoga/commit/008431747787dd6c6b26f4cb44c7c6f3053f162e) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Updated dependency [`@whatwg-node/fetch@0.6.5` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.6.5) (from `0.6.2`, in `dependencies`) - Updated dependency [`@whatwg-node/server@0.5.11` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.5.11) (from `0.5.8`, in `dependencies`) - [#​2254](https://togithub.com/dotansimha/graphql-yoga/pull/2254) [`00843174`](https://togithub.com/dotansimha/graphql-yoga/commit/008431747787dd6c6b26f4cb44c7c6f3053f162e) Thanks [@​ardatan](https://togithub.com/ardatan)! - Use the new fetch implementation ### [`v3.4.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​340) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.3.0...graphql-yoga@3.4.0) ##### Patch Changes - [#​2331](https://togithub.com/dotansimha/graphql-yoga/pull/2331) [`76c1ecb9`](https://togithub.com/dotansimha/graphql-yoga/commit/76c1ecb985887ee45f0f934216b7a629e3c2db6d) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Properly serialise response extension arrays, nullish values and dates - [#​2276](https://togithub.com/dotansimha/graphql-yoga/pull/2276) [`8cd8b5a5`](https://togithub.com/dotansimha/graphql-yoga/commit/8cd8b5a5ab1dd28e2a2ddd7424c98c0493c535ad) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@whatwg-node/server@0.5.5` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.5.5) (from `0.5.4`, in `dependencies`) - [#​2313](https://togithub.com/dotansimha/graphql-yoga/pull/2313) [`6e8bddba`](https://togithub.com/dotansimha/graphql-yoga/commit/6e8bddba7eb21b596cea0a2d4c313bb84a5c3aa1) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@whatwg-node/fetch@0.6.2` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.6.2) (from `0.6.1`, in `dependencies`) - Updated dependency [`@whatwg-node/server@0.5.6` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.5.6) (from `0.5.5`, in `dependencies`) - [#​2316](https://togithub.com/dotansimha/graphql-yoga/pull/2316) [`6ee252db`](https://togithub.com/dotansimha/graphql-yoga/commit/6ee252dbed6f38840284bbe47c72c453ac8e648b) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@0.0.12` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/0.0.12) (from `0.0.11`, in `dependencies`) - [#​2335](https://togithub.com/dotansimha/graphql-yoga/pull/2335) [`8f139e15`](https://togithub.com/dotansimha/graphql-yoga/commit/8f139e155b5cd59ca97912cccdc45b8b7d2909e6) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@whatwg-node/server@0.5.7` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.5.7) (from `0.5.6`, in `dependencies`) - [#​2340](https://togithub.com/dotansimha/graphql-yoga/pull/2340) [`9beef914`](https://togithub.com/dotansimha/graphql-yoga/commit/9beef91485e076f19928e73fdc65aa2979f88eef) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@whatwg-node/server@0.5.8` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.5.8) (from `0.5.7`, in `dependencies`) - [#​2240](https://togithub.com/dotansimha/graphql-yoga/pull/2240) [`c46d75e8`](https://togithub.com/dotansimha/graphql-yoga/commit/c46d75e82456d7aecd8e562cf85bd314d19d2a97) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Check HTTP request method after user-land plugins - [#​2278](https://togithub.com/dotansimha/graphql-yoga/pull/2278) [`f9ab8a70`](https://togithub.com/dotansimha/graphql-yoga/commit/f9ab8a70a5498ea8bb924a01b9873f439bd1a0c8) Thanks [@​ardatan](https://togithub.com/ardatan)! - Use normalized URL instead of string - Updated dependencies \[[`fe4a2aca`](https://togithub.com/dotansimha/graphql-yoga/commit/fe4a2aca4eece85d234be9ce3f82dcae274148a8)]: - [@​graphql-yoga/subscription](https://togithub.com/graphql-yoga/subscription)[@​3](https://togithub.com/3).1.0 ### [`v3.3.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​330) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.2.1...graphql-yoga@3.3.0) ##### Minor Changes - [#​2266](https://togithub.com/dotansimha/graphql-yoga/pull/2266) [`3e5f688f`](https://togithub.com/dotansimha/graphql-yoga/commit/3e5f688f2cbe02dd2fb4be69831d268aee52c5b5) Thanks [@​ardatan](https://togithub.com/ardatan)! - Accept URL patterns like `/:path` and `*` in `graphqlEndpoint` ##### Patch Changes - [#​2266](https://togithub.com/dotansimha/graphql-yoga/pull/2266) [`3e5f688f`](https://togithub.com/dotansimha/graphql-yoga/commit/3e5f688f2cbe02dd2fb4be69831d268aee52c5b5) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Updated dependency [`@whatwg-node/fetch@0.6.1` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.6.1) (from `0.5.4`, in `dependencies`) - Updated dependency [`@whatwg-node/server@0.5.3` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.5.3) (from `0.5.1`, in `dependencies`) - [#​2269](https://togithub.com/dotansimha/graphql-yoga/pull/2269) [`8b288a23`](https://togithub.com/dotansimha/graphql-yoga/commit/8b288a23c882ec643406c7e3cf7a19980abdd381) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@whatwg-node/server@0.5.4` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.5.4) (from `0.5.3`, in `dependencies`) ### [`v3.2.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​321) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.2.0...graphql-yoga@3.2.1) ##### Patch Changes - [#​2257](https://togithub.com/dotansimha/graphql-yoga/pull/2257) [`5528d312`](https://togithub.com/dotansimha/graphql-yoga/commit/5528d312d46281651b330c12f1b9f7a7d64ef3da) Thanks [@​ardatan](https://togithub.com/ardatan)! - Handle errors thrown in onRequest correctly ### [`v3.2.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​320) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.1.2...graphql-yoga@3.2.0) ##### Minor Changes - [#​2150](https://togithub.com/dotansimha/graphql-yoga/pull/2150) [`290c7f7f`](https://togithub.com/dotansimha/graphql-yoga/commit/290c7f7fde5e604b2a8ac90f93b15e143ea09a92) Thanks [@​ardatan](https://togithub.com/ardatan)! - Ping the client every 12 seconds to keep the connection alive ##### Patch Changes - [#​2213](https://togithub.com/dotansimha/graphql-yoga/pull/2213) [`a86aaa0f`](https://togithub.com/dotansimha/graphql-yoga/commit/a86aaa0f673037e9207ca12e48f54e7e43963a47) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@0.0.11` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/0.0.11) (from `0.0.9`, in `dependencies`) - Updated dependency [`@whatwg-node/fetch@0.5.4` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.5.4) (from `0.5.3`, in `dependencies`) - Updated dependency [`@whatwg-node/server@0.5.1` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.5.1) (from `0.4.17`, in `dependencies`) - [#​2250](https://togithub.com/dotansimha/graphql-yoga/pull/2250) [`82f58934`](https://togithub.com/dotansimha/graphql-yoga/commit/82f5893446e3c55519194a1ca1d784120cbe7098) Thanks [@​ardatan](https://togithub.com/ardatan)! - More accurate HTTP status code when unsupported media type is sent as a request body. Before it was returning `400: Bad Request` with `Request is not valid` text body in the response but now it returns `415: Unsupported Media Type` with an empty body. Also see this unit test; [https://github.com/dotansimha/graphql-yoga/pull/2250](https://togithub.com/dotansimha/graphql-yoga/pull/2250)2250/files#diff-78bcfa5f6d33aceeabdacd26e353641fea6fd125838ed0e1565762221568c777R380 ### [`v3.1.2`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​312) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.1.1...graphql-yoga@3.1.2) ##### Patch Changes - [#​2231](https://togithub.com/dotansimha/graphql-yoga/pull/2231) [`c5b1cc46`](https://togithub.com/dotansimha/graphql-yoga/commit/c5b1cc46f67c4516fcaeb6247f56da4ca7dd7511) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - dependencies updates: - Updated dependency [`@envelop/parser-cache@^5.0.4` ↗︎](https://www.npmjs.com/package/@​envelop/parser-cache/v/5.0.4) (from `5.0.4`, in `dependencies`) - Updated dependency [`@envelop/validation-cache@^5.0.5` ↗︎](https://www.npmjs.com/package/@​envelop/validation-cache/v/5.0.5) (from `5.0.4`, in `dependencies`) - [#​2238](https://togithub.com/dotansimha/graphql-yoga/pull/2238) [`c152105e`](https://togithub.com/dotansimha/graphql-yoga/commit/c152105eeed34be2f6380406739a57310729f353) Thanks [@​ardatan](https://togithub.com/ardatan)! - Do not call CORS headers factory twice - [#​2206](https://togithub.com/dotansimha/graphql-yoga/pull/2206) [`26d780cd`](https://togithub.com/dotansimha/graphql-yoga/commit/26d780cd683b15d38880387081455311b57da4ec) Thanks [@​ardatan](https://togithub.com/ardatan)! - Correct Mask Error Factory signature - [#​2239](https://togithub.com/dotansimha/graphql-yoga/pull/2239) [`d2958781`](https://togithub.com/dotansimha/graphql-yoga/commit/d2958781d4f3959f89056092f6f12a2953f5497b) Thanks [@​davidruisinger](https://togithub.com/davidruisinger)! - Add content-length: 0 header if 204 is returned by OPTIONS request ### [`v3.1.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​311) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.1.0...graphql-yoga@3.1.1) ##### Patch Changes - [#​2179](https://togithub.com/dotansimha/graphql-yoga/pull/2179) [`534780c9`](https://togithub.com/dotansimha/graphql-yoga/commit/534780c99ed61dd761826d44d99a83748630cb61) Thanks [@​ardatan](https://togithub.com/ardatan)! - Add missing .js extension to type imports ### [`v3.1.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​310) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.0.3...graphql-yoga@3.1.0) ##### Minor Changes - [#​2145](https://togithub.com/dotansimha/graphql-yoga/pull/2145) [`ea81e1dd`](https://togithub.com/dotansimha/graphql-yoga/commit/ea81e1dda6c074e384221f19bd8a925693fa3427) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Skip nullish query parameters in assertion. ##### Patch Changes - [#​2165](https://togithub.com/dotansimha/graphql-yoga/pull/2165) [`86fe453c`](https://togithub.com/dotansimha/graphql-yoga/commit/86fe453c0ae1183af62359df0d61bba421d9f627) Thanks [@​ardatan](https://togithub.com/ardatan)! - Export `useErrorHandler` to revert the unexpected breaking change - [#​2145](https://togithub.com/dotansimha/graphql-yoga/pull/2145) [`ea81e1dd`](https://togithub.com/dotansimha/graphql-yoga/commit/ea81e1dda6c074e384221f19bd8a925693fa3427) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Avoid unnecessary iteration within internals ### [`v3.0.3`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​303) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.0.2...graphql-yoga@3.0.3) ##### Patch Changes - [#​2156](https://togithub.com/dotansimha/graphql-yoga/pull/2156) [`491ef5da`](https://togithub.com/dotansimha/graphql-yoga/commit/491ef5da7c6bcc3038fdb0909fd333a2b5217046) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@envelop/core@3.0.4` ↗︎](https://www.npmjs.com/package/@​envelop/core/v/3.0.4) (from `3.0.3`, in `dependencies`) - Updated dependency [`@envelop/parser-cache@5.0.4` ↗︎](https://www.npmjs.com/package/@​envelop/parser-cache/v/5.0.4) (from `5.0.3`, in `dependencies`) - Updated dependency [`@envelop/validation-cache@5.0.4` ↗︎](https://www.npmjs.com/package/@​envelop/validation-cache/v/5.0.4) (from `5.0.3`, in `dependencies`) ### [`v3.0.2`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​302) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.0.1...graphql-yoga@3.0.2) ##### Patch Changes - [#​2154](https://togithub.com/dotansimha/graphql-yoga/pull/2154) [`0007c58d`](https://togithub.com/dotansimha/graphql-yoga/commit/0007c58d3ebc13cac694e561409fb2578ca5b882) Thanks [@​ardatan](https://togithub.com/ardatan)! - Only Yoga's errors are now 200 when content-type is application/json - [#​2147](https://togithub.com/dotansimha/graphql-yoga/pull/2147) [`39a8fe89`](https://togithub.com/dotansimha/graphql-yoga/commit/39a8fe8977ec3c85d5ce5c643002aa79e6283f79) Thanks [@​ardatan](https://togithub.com/ardatan)! - Bump [@​whatwg-node/server](https://togithub.com/whatwg-node/server) to fix the conflict issue between webworker & dom TS typing libs ### [`v3.0.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​301) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.0.0...graphql-yoga@3.0.1) ##### Patch Changes - [#​2125](https://togithub.com/dotansimha/graphql-yoga/pull/2125) [`d63fe841`](https://togithub.com/dotansimha/graphql-yoga/commit/d63fe84157662896c372feb013b73c6f290a2d3b) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - application/json is the default when accept is missing until watershed ### [`v3.0.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​300) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.13...graphql-yoga@3.0.0) ##### Major Changes - [`2e0c4824`](https://togithub.com/dotansimha/graphql-yoga/commit/2e0c482418af2281c9cf0c34dd16f207d850cdb7) Thanks [@​b4s36t4](https://togithub.com/b4s36t4)! - *Drop Node 12 Support* GraphQL Yoga no longer supports Node 12 which is no longer an LTS version. GraphQL Yoga now needs Node 14 at least. - [#​2012](https://togithub.com/dotansimha/graphql-yoga/pull/2012) [`720898db`](https://togithub.com/dotansimha/graphql-yoga/commit/720898dbf923a7aa52ff63e50e25527be1e8921b) Thanks [@​saihaj](https://togithub.com/saihaj)! - Remove `.inject` method to mock testing. Users should replace to use `fetch` method for testing. Checkout our docs on testing https://www.the-guild.dev/graphql/yoga-server/v3/features/testing. ```diff import { createYoga } from 'graphql-yoga' import { schema } from './schema' const yoga = createYoga({ schema }) - const { response, executionResult } = await yoga.inject({ - document: "query { ping }", - }) + const response = await yoga.fetch('http://yoga/graphql', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + body: JSON.stringify({ + query: 'query { ping }', + }), + }) + const executionResult = await response.json() console.assert(response.status === 200, 'Response status should be 200') console.assert(executionResult.data.ping === 'pong',`Expected 'pong'`) ``` - [#​1753](https://togithub.com/dotansimha/graphql-yoga/pull/1753) [`eeaced00`](https://togithub.com/dotansimha/graphql-yoga/commit/eeaced008fdd1b209d6db81f3351803f2a0a1089) Thanks [@​ardatan](https://togithub.com/ardatan)! - `schema` no longer accepts an object of `typeDefs` and `resolvers` but instead you can use `createSchema` to create a GraphQL schema. - [#​1516](https://togithub.com/dotansimha/graphql-yoga/pull/1516) [`209b1620`](https://togithub.com/dotansimha/graphql-yoga/commit/209b1620055cf64647943b1c334852a314aff3a4) Thanks [@​ardatan](https://togithub.com/ardatan)! - Now it is possible to decide the returned `Content-Type` by specifying the `Accept` header. So if `Accept` header has `text/event-stream` without `application/json`, Yoga respects that returns `text/event-stream` instead of `application/json`. - [#​1808](https://togithub.com/dotansimha/graphql-yoga/pull/1808) [`02d2aecd`](https://togithub.com/dotansimha/graphql-yoga/commit/02d2aecdee55e4c54454c48c2ca0fd7425796ae0) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Drop `readinessCheckEndpoint` in favor of the `useReadinessCheck` plugin [See docs for more information](https://www.the-guild.dev/graphql/yoga-server/v3/features/health-check#readiness) - [#​1473](https://togithub.com/dotansimha/graphql-yoga/pull/1473) [`c4b3a9c8`](https://togithub.com/dotansimha/graphql-yoga/commit/c4b3a9c8031f7b61420bb9cdc4bc6e7fc22615a5) Thanks [@​ardatan](https://togithub.com/ardatan)! - Replace `GraphQLYogaError` in favor of `GraphQLError`. [Check the documentation to see how to use `GraphQLError`](https://www.graphql-yoga.com/v3/guides/error-masking) - [#​1660](https://togithub.com/dotansimha/graphql-yoga/pull/1660) [`71554172`](https://togithub.com/dotansimha/graphql-yoga/commit/715541729f76be82d9f959a96e7af6126836df87) Thanks [@​saihaj](https://togithub.com/saihaj)! - Update to the latest version of the envelop `useMaskedError` plugin. - Removed `handleValidationErrors` and `handleParseErrors` - Renamed `formatError` to `maskError` [Checkout Envelop docs for more details](https://www.the-guild.dev/graphql/envelop/v3/guides/migrating-from-v2-to-v3#​8-update-options-for-usemaskederrors-plugin) - [#​2091](https://togithub.com/dotansimha/graphql-yoga/pull/2091) [`1d508495`](https://togithub.com/dotansimha/graphql-yoga/commit/1d50849526f5a8b23beac3c542826a70ac286ae7) Thanks [@​ardatan](https://togithub.com/ardatan)! - Export only specific utilities from `@envelop/core`. ##### Minor Changes - [#​1966](https://togithub.com/dotansimha/graphql-yoga/pull/1966) [`6e250209`](https://togithub.com/dotansimha/graphql-yoga/commit/6e25020916670fb50fecb5ff7c25f7216db3d78a) Thanks [@​saihaj](https://togithub.com/saihaj)! - Use `@graphql-tools/executor` as a default GraphQL Executor in favor of `graphql-js`. - [#​1497](https://togithub.com/dotansimha/graphql-yoga/pull/1497) [`1d7f810a`](https://togithub.com/dotansimha/graphql-yoga/commit/1d7f810a8ee3fc00f6dbde461010683eb354da2d) Thanks [@​ardatan](https://togithub.com/ardatan)! - Support a schema factory function that runs per request or a promise to be resolved before the first request. ```ts createYoga({ schema(request: Request) { return getSchemaForToken(request.headers.get('x-my-token')) } }) ``` ```ts async function buildSchemaAsync() { const typeDefs = await fs.promises.readFile('./schema.graphql', 'utf8') const resolvers = await import('./resolvers.js') return makeExecutableSchema({ typeDefs, resolvers }) } createYoga({ schema: buildSchemaAsync() }) ``` - [#​1662](https://togithub.com/dotansimha/graphql-yoga/pull/1662) [`098e139f`](https://togithub.com/dotansimha/graphql-yoga/commit/098e139f2b08196bfee04a71bcd024501dceacd8) Thanks [@​ardatan](https://togithub.com/ardatan)! - - Batching RFC support with `batchingLimit` option to enable batching with an exact limit of requests per batch. - New `onParams` hook that takes a single `GraphQLParams` object - Changes in `onRequestParse` and `onRequestParseDone` hook - Now `onRequestParseDone` receives the exact object that is passed by the request parser so it can be `GraphQLParams` or an array of `GraphQLParams` so use `onParams` if you need to manipulate batched execution params individually. ##### Patch Changes - [#​1997](https://togithub.com/dotansimha/graphql-yoga/pull/1997) [`8773a27f`](https://togithub.com/dotansimha/graphql-yoga/commit/8773a27ffb7f50a4b1f8c044d2a0c428d14e4fee) Thanks [@​saihaj](https://togithub.com/saihaj)! - **Defer and Stream Support** [See the docs for more information](https://www.the-guild.dev/graphql/yoga-server/v3/features/defer-stream) - [#​2024](https://togithub.com/dotansimha/graphql-yoga/pull/2024) [`9f991a27`](https://togithub.com/dotansimha/graphql-yoga/commit/9f991a2767d374f1d6ab37445e65f748d5a1fe6d) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Ensure all parsing failures in `GraphQLScalarType` are caught and handled with 400 status code. - [#​1920](https://togithub.com/dotansimha/graphql-yoga/pull/1920) [`cebca219`](https://togithub.com/dotansimha/graphql-yoga/commit/cebca219c4913f45509c3a40f0f5aa6697f5914d) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Handle edge case where `Content-Type` header provides a list like; Content-Type: application/json, text/plain, */* - [#​1609](https://togithub.com/dotansimha/graphql-yoga/pull/1609) [`74e1f830`](https://togithub.com/dotansimha/graphql-yoga/commit/74e1f830b09bc21a970f7468af1363a22b8b592b) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - `usePreventMutationViaGET` doesn't do assertion if it is not `YogaContext`, so it is possible to use Yoga's Envelop instance with other server implementations like `graphql-ws`. - [#​1567](https://togithub.com/dotansimha/graphql-yoga/pull/1567) [`e7a47b56`](https://togithub.com/dotansimha/graphql-yoga/commit/e7a47b56fbdf3abbb8f0d590ade867805a84157e) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Handle invalid POST body gracefully. Reject `null`, non-object bodies or invalid JSON bodies. - [#​1911](https://togithub.com/dotansimha/graphql-yoga/pull/1911) [`5f5b1160`](https://togithub.com/dotansimha/graphql-yoga/commit/5f5b116084cff45ed49f0c74cc449ff20fd775ac) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Handle cases where user supplies a malformed/unexpected context. Preventing GraphQL Yoga to crash and existing prematurely. - [`73e56068`](https://togithub.com/dotansimha/graphql-yoga/commit/73e56068fd1c1c06a0cf08150d5b79ce7c49992a) Thanks [@​ardatan](https://togithub.com/ardatan)! - Fix cancellation logic for defer/stream queries. - [#​1609](https://togithub.com/dotansimha/graphql-yoga/pull/1609) [`74e1f830`](https://togithub.com/dotansimha/graphql-yoga/commit/74e1f830b09bc21a970f7468af1363a22b8b592b) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Expose readonly `graphqlEndpoint` in `YogaServerInstance` ```ts const yoga = createYoga({ /*...*/ }) console.log(yoga.graphqlEndpoint) // /graphql by default ``` - [#​1844](https://togithub.com/dotansimha/graphql-yoga/pull/1844) [`b079c93b`](https://togithub.com/dotansimha/graphql-yoga/commit/b079c93ba47dc94d58f7d2b738a9423c29a149a1) Thanks [@​ardatan](https://togithub.com/ardatan)! - All unexpected errors even if they are masked/wrapped The HTTP status code will be determined by the specific protocol the client is sending. > "Unexpected error." means an Error that is not an instance of GraphQLError or an instance of GraphQLError with an `originalError` that is not an instance of GraphQLError recursively. - [#​1988](https://togithub.com/dotansimha/graphql-yoga/pull/1988) [`b19a9104`](https://togithub.com/dotansimha/graphql-yoga/commit/b19a910447d27e2203bb5e22aaba6ab72d54b560) Thanks [@​ardatan](https://togithub.com/ardatan)! - Respect the order of mime types given in the accept header by the client. - [#​1616](https://togithub.com/dotansimha/graphql-yoga/pull/1616) [`1d5cde96`](https://togithub.com/dotansimha/graphql-yoga/commit/1d5cde96ce5b7647de7d329f9f56e398463a9152) Thanks [@​ardatan](https://togithub.com/ardatan)! - Allow the content type `application/graphql-response+json` as the `Accept` header value. - [#​1775](https://togithub.com/dotansimha/graphql-yoga/pull/1775) [`44878a5b`](https://togithub.com/dotansimha/graphql-yoga/commit/44878a5b1be937ab0ffefccc327400c80bd62847) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Improve the context type for server and request context. - Updated dependencies \[[`b2407c6a`](https://togithub.com/dotansimha/graphql-yoga/commit/b2407c6addab136e3390bd4efa1fbbad7eb8dab8)]: - [@​graphql-yoga/subscription](https://togithub.com/graphql-yoga/subscription)[@​3](https://togithub.com/3).0.0 ### [`v2.13.13`](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.12...graphql-yoga@2.13.13) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.12...graphql-yoga@2.13.13) ### [`v2.13.12`](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.11...graphql-yoga@2.13.12) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.11...graphql-yoga@2.13.12) ### [`v2.13.11`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​21311) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.10...graphql-yoga@2.13.11) ##### Patch Changes - Updated dependencies \[]: - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.11 ### [`v2.13.10`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​21310) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.9...graphql-yoga@2.13.10) ##### Patch Changes - Updated dependencies \[[`779b55ee`](https://togithub.com/dotansimha/graphql-yoga/commit/779b55eea843bd282f659e1012f255f62fd888b6)]: - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.10 ### [`v2.13.9`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2139) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.8...graphql-yoga@2.13.9) ##### Patch Changes - Updated dependencies \[]: - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.9 ### [`v2.13.8`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2138) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.7...graphql-yoga@2.13.8) ##### Patch Changes - Updated dependencies \[]: - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.8 ### [`v2.13.7`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2137) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.6...graphql-yoga@2.13.7) ##### Patch Changes - Updated dependencies \[[`e4e8ade`](https://togithub.com/dotansimha/graphql-yoga/commit/e4e8ade526c2aec7ea28218ca7795e96b867fc6b), [`94b41f3`](https://togithub.com/dotansimha/graphql-yoga/commit/94b41f30f598afb37db2438c736764e2a539cd10)]: - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.7 ### [`v2.13.6`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2136) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.5...graphql-yoga@2.13.6) ##### Patch Changes - [`eecf24c`](https://togithub.com/dotansimha/graphql-yoga/commit/eecf24c): Fix CommonJS TypeScript resolution with `moduleResolution` `node16` or `nodenext` - Updated dependencies \[[`eecf24c`](https://togithub.com/dotansimha/graphql-yoga/commit/eecf24c)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.6 ### [`v2.13.5`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2135) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.4...graphql-yoga@2.13.5) ##### Patch Changes - Updated dependencies \[[`c00dad3`](https://togithub.com/dotansimha/graphql-yoga/commit/c00dad3)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.5 ### [`v2.13.4`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2134) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.3...graphql-yoga@2.13.4) ##### Patch Changes - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.4 ### [`v2.13.3`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2133) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.2...graphql-yoga@2.13.3) ##### Patch Changes - Updated dependencies \[[`639607d`](https://togithub.com/dotansimha/graphql-yoga/commit/639607d)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.3 ### [`v2.13.2`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2132) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.13.1...graphql-yoga@2.13.2) ##### Patch Changes - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.2 ### [`v2.13.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​21311) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.12.0...graphql-yoga@2.13.1) ##### Patch Changes - Updated dependencies \[]: - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).13.11 ### [`v2.12.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2120) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.11.2...graphql-yoga@2.12.0) ##### Patch Changes - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).12.0 ### [`v2.11.2`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2112) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.11.1...graphql-yoga@2.11.2) ##### Patch Changes - Updated dependencies \[[`ca5f940`](https://togithub.com/dotansimha/graphql-yoga/commit/ca5f940)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).11.2 ### [`v2.11.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2111) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.11.0...graphql-yoga@2.11.1) ##### Patch Changes - Updated dependencies \[[`9248df8`](https://togithub.com/dotansimha/graphql-yoga/commit/9248df8)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).11.1 ### [`v2.11.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2110) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.10.0...graphql-yoga@2.11.0) ##### Patch Changes - Updated dependencies \[[`8947657`](https://togithub.com/dotansimha/graphql-yoga/commit/8947657)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).11.0 ### [`v2.10.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​2100) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.9.2...graphql-yoga@2.10.0) ##### Minor Changes - [`7de07cd`](https://togithub.com/dotansimha/graphql-yoga/commit/7de07cd): Support TypeScript ECMA script resolution. More information on https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#ecmascript-module-support-in-node-js ##### Patch Changes - Updated dependencies \[[`7de07cd`](https://togithub.com/dotansimha/graphql-yoga/commit/7de07cd)] - Updated dependencies \[[`8922c3b`](https://togithub.com/dotansimha/graphql-yoga/commit/8922c3b)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).10.0 ### [`v2.9.2`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​292) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.9.1...graphql-yoga@2.9.2) ##### Patch Changes - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).9.2 ### [`v2.9.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​291) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.9.0...graphql-yoga@2.9.1) ##### Patch Changes - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).9.1 ### [`v2.9.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​290) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.8.0...graphql-yoga@2.9.0) ##### Patch Changes - Updated dependencies \[[`06652c7`](https://togithub.com/dotansimha/graphql-yoga/commit/06652c7)] - Updated dependencies \[[`2d3c54c`](https://togithub.com/dotansimha/graphql-yoga/commit/2d3c54c)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).9.0 ### [`v2.8.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​280) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.7.0...graphql-yoga@2.8.0) ##### Patch Changes - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).8.0 ### [`v2.7.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​270) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.6.1...graphql-yoga@2.7.0) ##### Patch Changes - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).7.0 ### [`v2.6.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​261) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.6.0...graphql-yoga@2.6.1) ##### Patch Changes - Updated dependencies \[[`0224bf9`](https://togithub.com/dotansimha/graphql-yoga/commit/0224bf9)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).6.1 ### [`v2.6.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​260) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.5.0...graphql-yoga@2.6.0) ##### Patch Changes - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).6.0 ### [`v2.5.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​250) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.4.1...graphql-yoga@2.5.0) ##### Patch Changes - Updated dependencies \[[`8b6d896`](https://togithub.com/dotansimha/graphql-yoga/commit/8b6d896)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).5.0 ### [`v2.4.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​241) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.4.0...graphql-yoga@2.4.1) ##### Patch Changes - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).4.1 ### [`v2.4.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​240) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.3.0...graphql-yoga@2.4.0) ##### Patch Changes - Updated dependencies \[[`28e24c3`](https://togithub.com/dotansimha/graphql-yoga/commit/28e24c3)] - Updated dependencies \[[`13f96db`](https://togithub.com/dotansimha/graphql-yoga/commit/13f96db)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).4.0 ### [`v2.3.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​230) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.2.1...graphql-yoga@2.3.0) ##### Patch Changes - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).3.0 ### [`v2.2.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​221) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.2.0...graphql-yoga@2.2.1) ##### Patch Changes - Updated dependencies \[[`32e2e40`](https://togithub.com/dotansimha/graphql-yoga/commit/32e2e40)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).2.1 ### [`v2.2.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​220) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.1.0...graphql-yoga@2.2.0) ##### Patch Changes - Updated dependencies \[[`1d4fe42`](https://togithub.com/dotansimha/graphql-yoga/commit/1d4fe42)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).2.0 ### [`v2.1.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​210) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@2.0.0...graphql-yoga@2.1.0) ##### Patch Changes - Updated dependencies \[[`4077773`](https://togithub.com/dotansimha/graphql-yoga/commit/4077773)] - Updated dependencies \[[`2739db2`](https://togithub.com/dotansimha/graphql-yoga/commit/2739db2)] - Updated dependencies \[[`cd9394e`](https://togithub.com/dotansimha/graphql-yoga/commit/cd9394e)] - [@​graphql-yoga/node](https://togithub.com/graphql-yoga/node)[@​2](https://togithub.com/2).1.0 ### [`v2.0.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#​200) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/v1.18.3...graphql-yoga@2.0.0) ##### Major Changes - [`b6dd3f1`](https://togithub.com/dotansimha/graphql-yoga/commit/b6dd3f1): The goal is to provide a fully-featured, simple to set up, performant and extendable server. Some key features: - [GraphQL-over-HTTP](https://togithub.com/graphql/graphql-over-http) spec compliant - Extend the GraphQL request flow using [`envelop`](https://www.envelop.dev/) - File uploads (via GraphQL multipart request specification) - GraphQL Subscriptions (using [SSE](https://togithub.com/enisdenjo/graphql-sse)) - Logging using [Pino](https://togithub.com/pinojs/pino) - Improved TypeScript Support - Try out experimental GraphQL features such as `@defer` and `@stream` - [`de1693e`](https://togithub.com/dotansimha/graphql-yoga/commit/de1693e): trigger release ##### Minor Changes - [`6750eff`](https://togithub.com/dotansimha/graphql-yoga/commit/6750eff): rename `GraphQLServerError` to `GraphQLYogaError`. - [`0edf1f8`](https://togithub.com/dotansimha/graphql-yoga/commit/0edf1f8): feat: options for GraphiQL - [`d414f95`](https://togithub.com/dotansimha/graphql-yoga/commit/d414f95): **BREAKING** Set `maskedErrors` value to `true` by default

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.