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 v5 #670

Open renovate[bot] opened 11 months ago

renovate[bot] commented 11 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
graphql-yoga (source) 1.18.3 -> 5.7.0 age adoption passing confidence

Release Notes

dotansimha/graphql-yoga (graphql-yoga) ### [`v5.7.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#570) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.6.3...graphql-yoga@5.7.0) ##### Minor Changes - [#​3331](https://togithub.com/dotansimha/graphql-yoga/pull/3331) [`5dae4ab`](https://togithub.com/dotansimha/graphql-yoga/commit/5dae4abeb6a4aa82f396a19d31d0155fe10bc752) Thanks [@​EmrysMyrddin](https://togithub.com/EmrysMyrddin)! - Expose server context in `onResultProcessHook`. In particular, this gives access to the `waitUntil` method to cleanly handle hanging promises. - [#​3331](https://togithub.com/dotansimha/graphql-yoga/pull/3331) [`5dae4ab`](https://togithub.com/dotansimha/graphql-yoga/commit/5dae4abeb6a4aa82f396a19d31d0155fe10bc752) Thanks [@​EmrysMyrddin](https://togithub.com/EmrysMyrddin)! - New hook: onExecutionResult which is triggered when an execution is done on the pipeline. If it is a batched operation, this is called per each operation in the batch - [#​3331](https://togithub.com/dotansimha/graphql-yoga/pull/3331) [`5dae4ab`](https://togithub.com/dotansimha/graphql-yoga/commit/5dae4abeb6a4aa82f396a19d31d0155fe10bc752) Thanks [@​EmrysMyrddin](https://togithub.com/EmrysMyrddin)! - Expose the already existing `waitUntil` method from the server context. ##### Patch Changes - [#​3331](https://togithub.com/dotansimha/graphql-yoga/pull/3331) [`5dae4ab`](https://togithub.com/dotansimha/graphql-yoga/commit/5dae4abeb6a4aa82f396a19d31d0155fe10bc752) Thanks [@​EmrysMyrddin](https://togithub.com/EmrysMyrddin)! - dependencies updates: - Updated dependency [`@whatwg-node/server@^0.9.44` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.9.44) (from `^0.9.41`, in `dependencies`) ### [`v5.6.3`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#563) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.6.2...graphql-yoga@5.6.3) ##### Patch Changes - [#​3400](https://togithub.com/dotansimha/graphql-yoga/pull/3400) [`0866c1b`](https://togithub.com/dotansimha/graphql-yoga/commit/0866c1be8868eb891a0a62e36c9270d87f205330) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Restores compatibility with [RFC1341: The Multipart Content-Type](https://www.w3.org/Protocols/rfc1341/7\_2\_Multipart.html) by including preceding `\r\n` for initial boundary delimiter when using the multipart response protocol. This makes Yoga compatible with libraries that strictly follow the response protocol, such as [fetch-multipart-graphql](https://togithub.com/relay-tools/fetch-multipart-graphql). ### [`v5.6.2`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#562) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.6.1...graphql-yoga@5.6.2) ##### Patch Changes - [#​3357](https://togithub.com/dotansimha/graphql-yoga/pull/3357) [`b7bf47b`](https://togithub.com/dotansimha/graphql-yoga/commit/b7bf47bf72f3c04de6de7866aa68cdd5eac90566) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@whatwg-node/server@^0.9.41` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.9.41) (from `^0.9.40`, in `dependencies`) - [#​3384](https://togithub.com/dotansimha/graphql-yoga/pull/3384) [`81a736b`](https://togithub.com/dotansimha/graphql-yoga/commit/81a736be76cb91049fc9ef54f536ce79e0c90e16) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Updated dependency [`@envelop/core@^5.0.1` ↗︎](https://www.npmjs.com/package/@​envelop/core/v/5.0.1) (from `^5.0.0`, in `dependencies`) - Updated dependency [`@graphql-tools/executor@^1.3.0` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/1.3.0) (from `^1.2.5`, in `dependencies`) - Updated dependency [`@graphql-tools/schema@^10.0.4` ↗︎](https://www.npmjs.com/package/@​graphql-tools/schema/v/10.0.4) (from `^10.0.0`, in `dependencies`) - Updated dependency [`@graphql-tools/utils@^10.3.2` ↗︎](https://www.npmjs.com/package/@​graphql-tools/utils/v/10.3.2) (from `^10.1.0`, in `dependencies`) - Updated dependency [`@whatwg-node/fetch@^0.9.18` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.9.18) (from `^0.9.17`, in `dependencies`) - Updated dependency [`@whatwg-node/server@^0.9.40` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.9.40) (from `^0.9.36`, in `dependencies`) ### [`v5.6.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#561) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.6.0...graphql-yoga@5.6.1) ##### Patch Changes - [#​3338](https://togithub.com/dotansimha/graphql-yoga/pull/3338) [`4252e3d`](https://togithub.com/dotansimha/graphql-yoga/commit/4252e3d0e664e3c247c709cd47a0645c68dc527a) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Updated dependency [`@whatwg-node/server@^0.9.36` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.9.36) (from `^0.9.33`, in `dependencies`) ### [`v5.6.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#560) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.5.0...graphql-yoga@5.6.0) ##### Minor Changes - [#​3333](https://togithub.com/dotansimha/graphql-yoga/pull/3333) [`9f3f945`](https://togithub.com/dotansimha/graphql-yoga/commit/9f3f94522a9e8a7a19657efdd445a360ec244d55) Thanks [@​ardatan](https://togithub.com/ardatan)! - By default, Yoga does not allow extra parameters in the request body other than `query`, `operationName`, `extensions`, and `variables`, then throws 400 HTTP Error. This change adds a new option called `extraParamNames` to allow extra parameters in the request body. ```ts import { createYoga } from 'graphql-yoga' const yoga = createYoga({ /* other options */ extraParamNames: ['extraParam1', 'extraParam2'] }) const res = await yoga.fetch('/graphql', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ query: 'query { __typename }', extraParam1: 'value1', extraParam2: 'value2' }) }) console.assert(res.status === 200) ``` ### [`v5.5.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#550) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.4.0...graphql-yoga@5.5.0) ##### Minor Changes - [#​3332](https://togithub.com/dotansimha/graphql-yoga/pull/3332) [`0208024`](https://togithub.com/dotansimha/graphql-yoga/commit/02080249adb8b120d44a89126571145dc3be8e4e) Thanks [@​ardatan](https://togithub.com/ardatan)! - Customize the landing page by passing a custom renderer that returns `Response` to the `landingPage` option ```ts import { createYoga } from 'graphql-yoga' const yoga = createYoga({ landingPage: ({ url, fetchAPI }) => { return new fetchAPI.Response( /* HTML */ ` 404 Not Found

404 Not Found

Sorry, the page (${url.pathname}) you are looking for could not be found.

`, { status: 404, headers: { 'Content-Type': 'text/html' } } ) } }) ``` ### [`v5.4.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#540) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.3.1...graphql-yoga@5.4.0) ##### Minor Changes - [#​3314](https://togithub.com/dotansimha/graphql-yoga/pull/3314) [`d5dfe99`](https://togithub.com/dotansimha/graphql-yoga/commit/d5dfe99af030a5afac26968ba8dd81dee6df0dc2) Thanks [@​EmrysMyrddin](https://togithub.com/EmrysMyrddin)! - Allow for full customization of the GraphiQL page. Props from the `YogaGraphiQL` are now forwarded to the underlying GraphiQL components. The `graphiql` option field type of the Yoga server as also been updated to document which options are configurable from the server side. Only serializable options are available. - [#​3255](https://togithub.com/dotansimha/graphql-yoga/pull/3255) [`7335a82`](https://togithub.com/dotansimha/graphql-yoga/commit/7335a82a4b0696c464311a5027a43b16c7f68156) Thanks [@​nissy-dev](https://togithub.com/nissy-dev)! - support shouldPersistHeaders option in GraphiQL plugin ##### Patch Changes - [#​3325](https://togithub.com/dotansimha/graphql-yoga/pull/3325) [`4cd43b9`](https://togithub.com/dotansimha/graphql-yoga/commit/4cd43b9ff56ad9358dc897f4bb87a6a94f953047) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Fix TypeScript compatibility with `type: "module"`. - [#​3300](https://togithub.com/dotansimha/graphql-yoga/pull/3300) [`fdd902c`](https://togithub.com/dotansimha/graphql-yoga/commit/fdd902c2a713c6bd951e1b1e6570164b6ff2d546) Thanks [@​EmrysMyrddin](https://togithub.com/EmrysMyrddin)! - dependencies updates: - Updated dependency [`@graphql-yoga/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@​graphql-yoga/logger/v/workspace:^) (from `^2.0.0`, in `dependencies`) - Updated dependency [`@graphql-yoga/subscription@workspace:^` ↗︎](https://www.npmjs.com/package/@​graphql-yoga/subscription/v/workspace:^) (from `^5.0.0`, in `dependencies`) - [#​3270](https://togithub.com/dotansimha/graphql-yoga/pull/3270) [`f9aa1cd`](https://togithub.com/dotansimha/graphql-yoga/commit/f9aa1cdc968816a9f83f054dbd24799c85f71a2c) Thanks [@​andrew0](https://togithub.com/andrew0)! - Retain server context prototype for batched requests - Updated dependencies \[[`fdd902c`](https://togithub.com/dotansimha/graphql-yoga/commit/fdd902c2a713c6bd951e1b1e6570164b6ff2d546)]: - [@​graphql-yoga/subscription](https://togithub.com/graphql-yoga/subscription)[@​5](https://togithub.com/5).0.1 ### [`v5.3.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#531) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.3.0...graphql-yoga@5.3.1) ##### Patch Changes - [#​3237](https://togithub.com/dotansimha/graphql-yoga/pull/3237) [`3324bbab`](https://togithub.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca) Thanks [@​ardatan](https://togithub.com/ardatan)! - dependencies updates: - Updated dependency [`@whatwg-node/server@^0.9.33` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.9.33) (from `^0.9.32`, in `dependencies`) - [#​3237](https://togithub.com/dotansimha/graphql-yoga/pull/3237) [`3324bbab`](https://togithub.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca) Thanks [@​ardatan](https://togithub.com/ardatan)! - In such environments like CloudFlare Workers, the `request` object in the context always has the initial request object, so it was impossible to access the actual `Request` object from the execution context. Now Yoga ensures that the `request` in the context is the same with the actual `Request`. ### [`v5.3.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#530) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.2.0...graphql-yoga@5.3.0) ##### Minor Changes - [#​3197](https://togithub.com/dotansimha/graphql-yoga/pull/3197) [`f775b341`](https://togithub.com/dotansimha/graphql-yoga/commit/f775b341729145cee68747ab966aa9f4a9ea0389) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Experimental support for aborting GraphQL execution when the HTTP request is canceled. The execution of subsequent GraphQL resolvers is now aborted if the incoming HTTP request is canceled from the client side. This reduces the load of your API in case incoming requests with deep GraphQL operation selection sets are canceled. ```ts import { createYoga, useExecutionCancellation } from 'graphql-yoga' const yoga = createYoga({ plugins: [useExecutionCancellation()] }) ``` [Learn more in our docs](https://graphql-yoga.com/docs/features/execution-cancellation) **Action Required** In order to benefit from this new feature, you need to update your integration setup for Fastify, Koa and Hapi. ```diff - const response = await yoga.handleNodeRequest(req, { ... }) + const response = await yoga.handleNodeRequestAndResponse(req, res, { ... }) ``` Please refer to the corresponding integration guides for examples. - [Fastify](https://graphql-yoga.com/docs/integrations/integration-with-fastify#example) - [Koa](https://graphql-yoga.com/docs/integrations/integration-with-koa#example) - [Hapi](https://graphql-yoga.com/docs/integrations/integration-with-hapi#example) ##### Patch Changes - [#​3197](https://togithub.com/dotansimha/graphql-yoga/pull/3197) [`f775b341`](https://togithub.com/dotansimha/graphql-yoga/commit/f775b341729145cee68747ab966aa9f4a9ea0389) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@^1.2.5` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/1.2.5) (from `^1.2.2`, in `dependencies`) - Updated dependency [`@whatwg-node/fetch@^0.9.17` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.9.17) (from `^0.9.7`, in `dependencies`) - Updated dependency [`@whatwg-node/server@^0.9.32` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.9.32) (from `^0.9.1`, in `dependencies`) - [#​3214](https://togithub.com/dotansimha/graphql-yoga/pull/3214) [`f89a1aa2`](https://togithub.com/dotansimha/graphql-yoga/commit/f89a1aa2a0bd6efc145627a674370b1b22e231fa) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Always include empty data payload for final `complete` event of SSE stream responses to ensure [`EventSource`](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) compatibility. See the [GraphQL over SSE protocol](https://togithub.com/enisdenjo/graphql-sse/blob/master/PROTOCOL.md#complete-event) for more information. ### [`v5.2.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#520) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.1.1...graphql-yoga@5.2.0) ##### Minor Changes - [#​3196](https://togithub.com/dotansimha/graphql-yoga/pull/3196) [`71db7548`](https://togithub.com/dotansimha/graphql-yoga/commit/71db754876612bb9a1df496f478eaf1b94f342cf) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Allow setting async iterable within `onParams` hook `setResult` function ##### Patch Changes - [#​3196](https://togithub.com/dotansimha/graphql-yoga/pull/3196) [`71db7548`](https://togithub.com/dotansimha/graphql-yoga/commit/71db754876612bb9a1df496f478eaf1b94f342cf) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@^1.2.2` ↗︎](https://www.npmjs.com/package/@​graphql-tools/executor/v/1.2.2) (from `^1.0.0`, in `dependencies`) - Updated dependency [`@graphql-tools/utils@^10.1.0` ↗︎](https://www.npmjs.com/package/@​graphql-tools/utils/v/10.1.0) (from `^10.0.0`, in `dependencies`) ### [`v5.1.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#511) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.1.0...graphql-yoga@5.1.1) ##### Patch Changes - [`3ef877a7`](https://togithub.com/dotansimha/graphql-yoga/commit/3ef877a75c5b19e082121ece08981183422618f0) Thanks [@​ardatan](https://togithub.com/ardatan)! - Support errors with extensions set undefined ### [`v5.1.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#510) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.0.2...graphql-yoga@5.1.0) ##### Minor Changes - [#​2992](https://togithub.com/dotansimha/graphql-yoga/pull/2992) [`b1f0e3a2`](https://togithub.com/dotansimha/graphql-yoga/commit/b1f0e3a2986956c6791a251df908e3f8b50ec966) Thanks [@​magrinj](https://togithub.com/magrinj)! - Export YogaSchemaDefinition and mergeSchemas ### [`v5.0.2`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#502) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.0.1...graphql-yoga@5.0.2) ##### Patch Changes - [#​3133](https://togithub.com/dotansimha/graphql-yoga/pull/3133) [`77d107fe`](https://togithub.com/dotansimha/graphql-yoga/commit/77d107fe1a01044f4ba017ca960bb1bd58407ed7) Thanks [@​ardatan](https://togithub.com/ardatan)! - Update HTTP Executor and add `method` and `useGETForQueries` to GraphiQL options ### [`v5.0.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#501) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@5.0.0...graphql-yoga@5.0.1) ##### Patch Changes - [`3fea19f2`](https://togithub.com/dotansimha/graphql-yoga/commit/3fea19f2a01c85b7d837163d763fae107e8f5a53) Thanks [@​antonio-iodice](https://togithub.com/antonio-iodice)! - Do not return 404 when using query params or trailing slashes ### [`v5.0.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#500) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@4.0.5...graphql-yoga@5.0.0) ##### Major Changes - [#​3063](https://togithub.com/dotansimha/graphql-yoga/pull/3063) [`01430e03`](https://togithub.com/dotansimha/graphql-yoga/commit/01430e03288f072a9cb09b0b898316b1f5b58a5f) Thanks [@​EmrysMyrddin](https://togithub.com/EmrysMyrddin)! - **Breaking Change:** Drop support of Node.js 16 - [#​3070](https://togithub.com/dotansimha/graphql-yoga/pull/3070) [`5b615478`](https://togithub.com/dotansimha/graphql-yoga/commit/5b6154783957874281bdf180575cdf57fadb75bf) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`@envelop/core@^5.0.0` ↗︎](https://www.npmjs.com/package/@​envelop/core/v/5.0.0) (from `^4.0.0`, in `dependencies`) ##### Patch Changes - [#​3051](https://togithub.com/dotansimha/graphql-yoga/pull/3051) [`350bb851`](https://togithub.com/dotansimha/graphql-yoga/commit/350bb85195c01cc5b5721f7a90f6cfbe1af36aff) Thanks [@​ardatan](https://togithub.com/ardatan)! - Use the same context object in the entire pipeline - Updated dependencies \[[`01430e03`](https://togithub.com/dotansimha/graphql-yoga/commit/01430e03288f072a9cb09b0b898316b1f5b58a5f)]: - [@​graphql-yoga/subscription](https://togithub.com/graphql-yoga/subscription)[@​5](https://togithub.com/5).0.0 - [@​graphql-yoga/logger](https://togithub.com/graphql-yoga/logger)[@​2](https://togithub.com/2).0.0 ### [`v4.0.5`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#405) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@4.0.4...graphql-yoga@4.0.5) ##### Patch Changes - [#​3004](https://togithub.com/dotansimha/graphql-yoga/pull/3004) [`bf602edf`](https://togithub.com/dotansimha/graphql-yoga/commit/bf602edf790590de1db26b5f3fc39f895104055c) Thanks [@​EmrysMyrddin](https://togithub.com/EmrysMyrddin)! - Fix dynamic schema function type and documentation ### [`v4.0.4`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#404) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@4.0.3...graphql-yoga@4.0.4) ##### Patch Changes - [#​2958](https://togithub.com/dotansimha/graphql-yoga/pull/2958) [`5f182006`](https://togithub.com/dotansimha/graphql-yoga/commit/5f1820066e8a340ad214b55232fcf439793f91bf) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Start SSE stream with a ping ### [`v4.0.3`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#403) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@4.0.2...graphql-yoga@4.0.3) ##### Patch Changes - [`5efb8250`](https://togithub.com/dotansimha/graphql-yoga/commit/5efb82502da245f2fe730cc18f4af283d31a835c) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - dependencies updates: - Updated dependency [`@whatwg-node/fetch@^0.9.7` ↗︎](https://www.npmjs.com/package/@​whatwg-node/fetch/v/0.9.7) (from `^0.9.0`, in `dependencies`) - Updated dependency [`@whatwg-node/server@^0.9.1` ↗︎](https://www.npmjs.com/package/@​whatwg-node/server/v/0.9.1) (from `^0.8.1`, in `dependencies`) ### [`v4.0.2`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#402) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@4.0.1...graphql-yoga@4.0.2) ##### Patch Changes - [#​2872](https://togithub.com/dotansimha/graphql-yoga/pull/2872) [`ce6d2465`](https://togithub.com/dotansimha/graphql-yoga/commit/ce6d24655eb3c59d9a506baf09dbe185da9a8b2b) Thanks [@​nescalante](https://togithub.com/nescalante)! - Avoid overriding http status on extensions when using a plugin that modifies error prop ### [`v4.0.1`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#401) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@4.0.0...graphql-yoga@4.0.1) ##### Patch Changes - [#​2866](https://togithub.com/dotansimha/graphql-yoga/pull/2866) [`bb739b05`](https://togithub.com/dotansimha/graphql-yoga/commit/bb739b0555e67a9ee40da9343cec323463a0f568) Thanks [@​renovate](https://togithub.com/apps/renovate)! - dependencies updates: - Updated dependency [`lru-cache@^10.0.0` ↗︎](https://www.npmjs.com/package/lru-cache/v/10.0.0) (from `^9.0.0`, in `dependencies`) - [#​2869](https://togithub.com/dotansimha/graphql-yoga/pull/2869) [`8f7d7abc`](https://togithub.com/dotansimha/graphql-yoga/commit/8f7d7abc7f71de33e428ea74f2903290f2b4ed70) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Properly serialise GraphQLError on graphql-js v15 ### [`v4.0.0`](https://togithub.com/dotansimha/graphql-yoga/blob/HEAD/packages/graphql-yoga/CHANGELOG.md#400) [Compare Source](https://togithub.com/dotansimha/graphql-yoga/compare/graphql-yoga@3.9.1...graphql-yoga@4.0.0) ##### Major Changes - [#​2767](https://togithub.com/dotansimha/graphql-yoga/pull/2767) [`4228c1d5`](https://togithub.com/dotansimha/graphql-yoga/commit/4228c1d54ed785fac1fb9669d861ed46659872ca) Thanks [@​renovate](https://togithub.com/apps/renovate)! - Drop support for Node.js 14. Require Node.js `>=16`. - [#​2776](https://togithub.com/dotansimha/graphql-yoga/pull/2776) [`34ecb4bb`](https://togithub.com/dotansimha/graphql-yoga/commit/34ecb4bbad3823f1bfde8aa7e1e92139481f9daf) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Drop unused graphiql options `defaultVariableEditorOpen` and `headerEditorEnabled` - [#​2810](https://togithub.com/dotansimha/graphql-yoga/pull/2810) [`ec318fe6`](https://togithub.com/dotansimha/graphql-yoga/commit/ec318fe6d3945190abbe8b643223268ff9a5e0e9) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Remove support for executing Subscription operations over the incremental delivery response protocol (`multipart/mixed`) - [#​2775](https://togithub.com/dotansimha/graphql-yoga/pull/2775) [`dd699c4b`](https://togithub.com/dotansimha/graphql-yoga/commit/dd699c4bcef24b373ee49237c187df3f093e1dfc) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Subscriptions use GraphQL over SSE "distinct connections mode" - [#​2767](https://togithub.com/dotansimha/graphql-yoga/pull/2767) [`4228c1d5`](https://togithub.com/dotansimha/graphql-yoga/commit/4228c1d54ed785fac1fb9669d861ed46659872ca) Thanks [@​renovate](https://togithub.com/apps/renovate)! - Events without an event payload will now always have `null` as the event payload instead of `undefined`. - [#​2777](https://togithub.com/dotansimha/graphql-yoga/pull/2777) [`0522c740`](https://togithub.com/dotansimha/graphql-yoga/commit/0522c7408c69a1b72af5c220411cf19d7fa859e9) Thanks [@​enisdenjo](https://togithub.com/enisdenjo)! - Parse and validation cache are now under a single option `parserAndValidationCache` ##### Patch Changes - [#​2720](https://togithub.com/dotansimha/graphql-yoga/pull/2720) [`cc370691`](https://togithub.com/dotansimha/graphql-yoga/commit/cc370691cc525fe5b15cb846c60621d99d313310) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Skip validation caching when there is no `schema` specified. This previously caused a cryptic error message when reaching execution/validation without a schema. Now the missing schema error will actually originate from within the `validate` function instead. - [#​2726](https://togithub.com/dotansimha/graphql-yoga/pull/2726) [`b309ca0d`](https://togithub.com/dotansimha/graphql-yoga/commit/b309ca0db1c45264878c3cec0137c3fdbd22fc97) Thanks [@​ardatan](https://togithub.com/ardatan)! - Respect `toJSON` in the thrown errors. - Updated dependencies \[[`4228c1d5`](https://togithub.com/dotansimha/graphql-yoga/commit/4228c1d54ed785fac1fb9669d861ed46659872ca), [`4228c1d5`](https://togithub.com/dotansimha/graphql-yoga/commit/4228c1d54ed785fac1fb9669d861ed46659872ca)]: - [@​graphql-yoga/subscription](https://togithub.com/graphql-yoga/subscription)[@​4](https://togithub.com/4).0.0 - [@​graphql-yoga/logger](https://togithub.com/graphql-yoga/logger)[@​1](https://togithub.com/1).0.0 ### [`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 { createYoga, maskError } 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.c

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 was generated by Mend Renovate. View the repository job log.