UNPKG

@graphql-yoga/nestjs

Version:

GraphQL Yoga driver for NestJS GraphQL.

553 lines (373 loc) 18.4 kB
# @graphql-yoga/nestjs ## 3.13.2 ### Patch Changes - Updated dependencies [[`abe91bd`](https://github.com/dotansimha/graphql-yoga/commit/abe91bd9039376f50b81babae61bcfb8f7e01a36), [`9311842`](https://github.com/dotansimha/graphql-yoga/commit/9311842f82e098404c31921244a74695cd1f2392)]: - graphql-yoga@5.13.2 ## 3.13.1 ### Patch Changes - Updated dependencies [[`dee7995`](https://github.com/dotansimha/graphql-yoga/commit/dee79952919d001bdd4f5b3d802be1bc62051565)]: - graphql-yoga@5.13.1 ## 3.13.0 ### Patch Changes - Updated dependencies [[`63b78d5`](https://github.com/dotansimha/graphql-yoga/commit/63b78d5a7f6f7fd1d5939e92ede2574fda9d08dd), [`63b78d5`](https://github.com/dotansimha/graphql-yoga/commit/63b78d5a7f6f7fd1d5939e92ede2574fda9d08dd), [`6ed67e8`](https://github.com/dotansimha/graphql-yoga/commit/6ed67e8cd7e5fe6f982096a3056d3336f4a29752)]: - graphql-yoga@5.13.0 ## 3.12.2 ### Patch Changes - Updated dependencies [[`a6b3de9`](https://github.com/dotansimha/graphql-yoga/commit/a6b3de917ca50806d691330a58ee17e31c87cd2c)]: - graphql-yoga@5.12.2 ## 3.12.1 ### Patch Changes - Updated dependencies [[`fbf328c`](https://github.com/dotansimha/graphql-yoga/commit/fbf328c2af38f4d449221bf262561fd76c64db55)]: - graphql-yoga@5.12.1 ## 3.12.0 ### Patch Changes - Updated dependencies [[`96498ee`](https://github.com/dotansimha/graphql-yoga/commit/96498ee25fd310d781ce006b1fe7064c66e64fc3), [`5150146`](https://github.com/dotansimha/graphql-yoga/commit/5150146a2d0b8f444a3527950d7163126a0fe24b), [`5150146`](https://github.com/dotansimha/graphql-yoga/commit/5150146a2d0b8f444a3527950d7163126a0fe24b)]: - graphql-yoga@5.12.0 ## 3.11.0 ### Patch Changes - Updated dependencies [[`5fd15b8`](https://github.com/dotansimha/graphql-yoga/commit/5fd15b851a0141839346ce918207a607c00ac205), [`d13b8a4`](https://github.com/dotansimha/graphql-yoga/commit/d13b8a4a25f665e8484d64214b566e207de73514)]: - graphql-yoga@5.11.0 ## 3.10.12 ### Patch Changes - Updated dependencies [[`1c055f5`](https://github.com/dotansimha/graphql-yoga/commit/1c055f597b59a2c6c6ab8ae10b8e9b771c91c2c1)]: - graphql-yoga@5.10.11 ## 3.10.11 ### Patch Changes - [#3676](https://github.com/dotansimha/graphql-yoga/pull/3676) [`c9b167b`](https://github.com/dotansimha/graphql-yoga/commit/c9b167bc8fdf8478649f6507426b336836098c11) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@nestjs/graphql@^13.0.0` ↗︎](https://www.npmjs.com/package/@nestjs/graphql/v/13.0.0) (from `^12.0.0`, in `peerDependencies`) ## 3.10.10 ### Patch Changes - [#3666](https://github.com/dotansimha/graphql-yoga/pull/3666) [`356d5f2`](https://github.com/dotansimha/graphql-yoga/commit/356d5f2be30b6a73fc1a4d7efab57a4213728684) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@nestjs/common@^11.0.0` ↗︎](https://www.npmjs.com/package/@nestjs/common/v/11.0.0) (from `^10.0.0`, in `peerDependencies`) - Updated dependency [`@nestjs/core@^11.0.0` ↗︎](https://www.npmjs.com/package/@nestjs/core/v/11.0.0) (from `^10.0.0`, in `peerDependencies`) - Updated dependencies []: - graphql-yoga@5.10.10 ## 3.10.9 ### Patch Changes - Updated dependencies [[`d24c5d5`](https://github.com/dotansimha/graphql-yoga/commit/d24c5d58e05b6f3b59b7745a55ba9c8dc6fb3aa3), [`d24c5d5`](https://github.com/dotansimha/graphql-yoga/commit/d24c5d58e05b6f3b59b7745a55ba9c8dc6fb3aa3)]: - graphql-yoga@5.10.9 ## 3.10.8 ### Patch Changes - Updated dependencies [[`ed344ea`](https://github.com/dotansimha/graphql-yoga/commit/ed344ea7fed85163eba0c636b5b7f64c482ce150)]: - graphql-yoga@5.10.8 ## 3.10.7 ### Patch Changes - Updated dependencies [[`8fee214`](https://github.com/dotansimha/graphql-yoga/commit/8fee214eac4be3e9e18935502d32de69f0a1484e), [`1df4912`](https://github.com/dotansimha/graphql-yoga/commit/1df4912693fad5efaf2fe99bf0433c9abc829004)]: - graphql-yoga@5.10.7 ## 3.10.6 ### Patch Changes - Updated dependencies [[`121ccba`](https://github.com/dotansimha/graphql-yoga/commit/121ccbafcafb7e90d4ec6c210b62a439a040d41a)]: - graphql-yoga@5.10.6 ## 3.10.5 ### Patch Changes - Updated dependencies [[`eca7cd1`](https://github.com/dotansimha/graphql-yoga/commit/eca7cd1163c58a5505ea371f745cb196f8bb20df), [`05fe345`](https://github.com/dotansimha/graphql-yoga/commit/05fe34588fbeb28de847db9d7d58c5a6ae90e36b)]: - graphql-yoga@5.10.5 ## 3.10.4 ### Patch Changes - Updated dependencies [[`944ecd5`](https://github.com/dotansimha/graphql-yoga/commit/944ecd55abb1b77e88950eb3396919939915feb7)]: - graphql-yoga@5.10.4 ## 3.10.3 ### Patch Changes - Updated dependencies [[`c93366d`](https://github.com/dotansimha/graphql-yoga/commit/c93366df8b4a2edd209d1eb94d989eaba3b7031b), [`c93366d`](https://github.com/dotansimha/graphql-yoga/commit/c93366df8b4a2edd209d1eb94d989eaba3b7031b)]: - graphql-yoga@5.10.3 ## 3.10.2 ### Patch Changes - Updated dependencies [[`7a413bc`](https://github.com/dotansimha/graphql-yoga/commit/7a413bc4fac839fbdc4fbb3cd5241c7828b2f6da), [`7a413bc`](https://github.com/dotansimha/graphql-yoga/commit/7a413bc4fac839fbdc4fbb3cd5241c7828b2f6da)]: - graphql-yoga@5.10.2 ## 3.10.1 ### Patch Changes - Updated dependencies [[`20cd9b6`](https://github.com/dotansimha/graphql-yoga/commit/20cd9b6cd58b507580e3d39621eb3dbc2ca4e781)]: - graphql-yoga@5.10.1 ## 3.10.0 ### Patch Changes - Updated dependencies [[`f81501c`](https://github.com/dotansimha/graphql-yoga/commit/f81501c70213330323a1d6ee9d45b3206af3675f)]: - graphql-yoga@5.10.0 ## 3.9.0 ### Patch Changes - Updated dependencies [[`2523d9f`](https://github.com/dotansimha/graphql-yoga/commit/2523d9fa954b82e11412918aab2ae6fe7e7611d6), [`87ee333`](https://github.com/dotansimha/graphql-yoga/commit/87ee333724c0c6e0b9f72aa50e38a0a8a080593f)]: - graphql-yoga@5.9.0 ## 3.8.0 ### Patch Changes - Updated dependencies [[`18fe916`](https://github.com/dotansimha/graphql-yoga/commit/18fe916853fc6192b8b2a607f91b67f3a7cae7bc), [`6bb19ed`](https://github.com/dotansimha/graphql-yoga/commit/6bb19edf5b103d6d9b6088e2e22cfa71a85f26f7)]: - graphql-yoga@5.8.0 ## 3.7.0 ### Minor Changes - [#3331](https://github.com/dotansimha/graphql-yoga/pull/3331) [`5dae4ab`](https://github.com/dotansimha/graphql-yoga/commit/5dae4abeb6a4aa82f396a19d31d0155fe10bc752) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Expose the already existing `waitUntil` method from the server context. ### Patch Changes - Updated dependencies [[`5dae4ab`](https://github.com/dotansimha/graphql-yoga/commit/5dae4abeb6a4aa82f396a19d31d0155fe10bc752), [`5dae4ab`](https://github.com/dotansimha/graphql-yoga/commit/5dae4abeb6a4aa82f396a19d31d0155fe10bc752), [`5dae4ab`](https://github.com/dotansimha/graphql-yoga/commit/5dae4abeb6a4aa82f396a19d31d0155fe10bc752), [`5dae4ab`](https://github.com/dotansimha/graphql-yoga/commit/5dae4abeb6a4aa82f396a19d31d0155fe10bc752)]: - graphql-yoga@5.7.0 ## 3.6.3 ### Patch Changes - Updated dependencies [[`0866c1b`](https://github.com/dotansimha/graphql-yoga/commit/0866c1be8868eb891a0a62e36c9270d87f205330)]: - graphql-yoga@5.6.3 ## 3.6.2 ### Patch Changes - Updated dependencies [[`b7bf47b`](https://github.com/dotansimha/graphql-yoga/commit/b7bf47bf72f3c04de6de7866aa68cdd5eac90566), [`81a736b`](https://github.com/dotansimha/graphql-yoga/commit/81a736be76cb91049fc9ef54f536ce79e0c90e16)]: - graphql-yoga@5.6.2 ## 3.6.1 ### Patch Changes - Updated dependencies [[`4252e3d`](https://github.com/dotansimha/graphql-yoga/commit/4252e3d0e664e3c247c709cd47a0645c68dc527a)]: - graphql-yoga@5.6.1 ## 3.6.0 ### Patch Changes - Updated dependencies [[`9f3f945`](https://github.com/dotansimha/graphql-yoga/commit/9f3f94522a9e8a7a19657efdd445a360ec244d55)]: - graphql-yoga@5.6.0 ## 3.5.0 ### Patch Changes - Updated dependencies [[`0208024`](https://github.com/dotansimha/graphql-yoga/commit/02080249adb8b120d44a89126571145dc3be8e4e)]: - graphql-yoga@5.5.0 ## 3.4.0 ### Patch Changes - [#3300](https://github.com/dotansimha/graphql-yoga/pull/3300) [`fdd902c`](https://github.com/dotansimha/graphql-yoga/commit/fdd902c2a713c6bd951e1b1e6570164b6ff2d546) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: - Updated dependency [`graphql-yoga@workspace:^` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/workspace:^) (from `^5.3.1`, in `peerDependencies`) - Updated dependencies [[`4cd43b9`](https://github.com/dotansimha/graphql-yoga/commit/4cd43b9ff56ad9358dc897f4bb87a6a94f953047), [`fdd902c`](https://github.com/dotansimha/graphql-yoga/commit/fdd902c2a713c6bd951e1b1e6570164b6ff2d546), [`d5dfe99`](https://github.com/dotansimha/graphql-yoga/commit/d5dfe99af030a5afac26968ba8dd81dee6df0dc2), [`7335a82`](https://github.com/dotansimha/graphql-yoga/commit/7335a82a4b0696c464311a5027a43b16c7f68156), [`f9aa1cd`](https://github.com/dotansimha/graphql-yoga/commit/f9aa1cdc968816a9f83f054dbd24799c85f71a2c)]: - graphql-yoga@5.4.0 ## 3.3.1 ### Patch Changes - Updated dependencies [[`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca), [`3324bbab`](https://github.com/dotansimha/graphql-yoga/commit/3324bbabf1f32e8b4ee95ea8700acfb06f87f8ca)]: - graphql-yoga@5.3.1 ## 3.3.0 ### Patch Changes - Updated dependencies [[`f775b341`](https://github.com/dotansimha/graphql-yoga/commit/f775b341729145cee68747ab966aa9f4a9ea0389), [`f775b341`](https://github.com/dotansimha/graphql-yoga/commit/f775b341729145cee68747ab966aa9f4a9ea0389), [`f89a1aa2`](https://github.com/dotansimha/graphql-yoga/commit/f89a1aa2a0bd6efc145627a674370b1b22e231fa)]: - graphql-yoga@5.3.0 ## 3.2.0 ### Patch Changes - Updated dependencies [[`71db7548`](https://github.com/dotansimha/graphql-yoga/commit/71db754876612bb9a1df496f478eaf1b94f342cf), [`71db7548`](https://github.com/dotansimha/graphql-yoga/commit/71db754876612bb9a1df496f478eaf1b94f342cf)]: - graphql-yoga@5.2.0 ## 3.1.1 ### Patch Changes - Updated dependencies [[`3ef877a7`](https://github.com/dotansimha/graphql-yoga/commit/3ef877a75c5b19e082121ece08981183422618f0)]: - graphql-yoga@5.1.1 ## 3.1.0 ### Minor Changes - [#2992](https://github.com/dotansimha/graphql-yoga/pull/2992) [`b1f0e3a2`](https://github.com/dotansimha/graphql-yoga/commit/b1f0e3a2986956c6791a251df908e3f8b50ec966) Thanks [@magrinj](https://github.com/magrinj)! - Adding support of conditionalSchema option. (Currently without support for WebSocket subscriptions) ### Patch Changes - Updated dependencies [[`b1f0e3a2`](https://github.com/dotansimha/graphql-yoga/commit/b1f0e3a2986956c6791a251df908e3f8b50ec966)]: - graphql-yoga@5.1.0 ## 3.0.2 ### Patch Changes - Updated dependencies [[`77d107fe`](https://github.com/dotansimha/graphql-yoga/commit/77d107fe1a01044f4ba017ca960bb1bd58407ed7)]: - graphql-yoga@5.0.2 ## 3.0.1 ### Patch Changes - Updated dependencies [[`3fea19f2`](https://github.com/dotansimha/graphql-yoga/commit/3fea19f2a01c85b7d837163d763fae107e8f5a53)]: - graphql-yoga@5.0.1 ## 3.0.0 ### Major Changes - [#3063](https://github.com/dotansimha/graphql-yoga/pull/3063) [`01430e03`](https://github.com/dotansimha/graphql-yoga/commit/01430e03288f072a9cb09b0b898316b1f5b58a5f) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - **Breaking Change:** Drop support of Node.js 16 ### Patch Changes - Updated dependencies [[`01430e03`](https://github.com/dotansimha/graphql-yoga/commit/01430e03288f072a9cb09b0b898316b1f5b58a5f), [`5b615478`](https://github.com/dotansimha/graphql-yoga/commit/5b6154783957874281bdf180575cdf57fadb75bf), [`350bb851`](https://github.com/dotansimha/graphql-yoga/commit/350bb85195c01cc5b5721f7a90f6cfbe1af36aff)]: - graphql-yoga@5.0.0 ## 2.1.1 ### Patch Changes - Updated dependencies [[`bf602edf`](https://github.com/dotansimha/graphql-yoga/commit/bf602edf790590de1db26b5f3fc39f895104055c)]: - graphql-yoga@4.0.5 ## 2.1.0 ### Minor Changes - [#2977](https://github.com/dotansimha/graphql-yoga/pull/2977) [`bb583a11`](https://github.com/dotansimha/graphql-yoga/commit/bb583a112a99ea99e4af1af9d6d5e31adecfed3b) Thanks [@gthau](https://github.com/gthau)! - Support for NestJS @Subscription.filter method in YogaDriver. ## 2.0.4 ### Patch Changes - Updated dependencies [[`5f182006`](https://github.com/dotansimha/graphql-yoga/commit/5f1820066e8a340ad214b55232fcf439793f91bf)]: - graphql-yoga@4.0.4 ## 2.0.3 ### Patch Changes - Updated dependencies [[`5efb8250`](https://github.com/dotansimha/graphql-yoga/commit/5efb82502da245f2fe730cc18f4af283d31a835c)]: - graphql-yoga@4.0.3 ## 2.0.2 ### Patch Changes - [#2864](https://github.com/dotansimha/graphql-yoga/pull/2864) [`9feb88f6`](https://github.com/dotansimha/graphql-yoga/commit/9feb88f6804ce05c28deb4c442fc21c0f23b8db8) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@nestjs/common@^10.0.0` ↗︎](https://www.npmjs.com/package/@nestjs/common/v/10.0.0) (from `^8.4.7 || ^9.0.0`, in `peerDependencies`) - Updated dependency [`@nestjs/core@^10.0.0` ↗︎](https://www.npmjs.com/package/@nestjs/core/v/10.0.0) (from `^8.4.7 || ^9.0.0`, in `peerDependencies`) - [#2871](https://github.com/dotansimha/graphql-yoga/pull/2871) [`93c96eed`](https://github.com/dotansimha/graphql-yoga/commit/93c96eedd43b63314a05181feea45bdedecd31b4) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@nestjs/graphql@^12.0.0` ↗︎](https://www.npmjs.com/package/@nestjs/graphql/v/12.0.0) (from `^11.0.0`, in `peerDependencies`) - Updated dependencies [[`ce6d2465`](https://github.com/dotansimha/graphql-yoga/commit/ce6d24655eb3c59d9a506baf09dbe185da9a8b2b)]: - graphql-yoga@4.0.2 ## 2.0.1 ### Patch Changes - Updated dependencies [[`bb739b05`](https://github.com/dotansimha/graphql-yoga/commit/bb739b0555e67a9ee40da9343cec323463a0f568), [`8f7d7abc`](https://github.com/dotansimha/graphql-yoga/commit/8f7d7abc7f71de33e428ea74f2903290f2b4ed70)]: - graphql-yoga@4.0.1 ## 2.0.0 ### Major Changes - [#2767](https://github.com/dotansimha/graphql-yoga/pull/2767) [`4228c1d5`](https://github.com/dotansimha/graphql-yoga/commit/4228c1d54ed785fac1fb9669d861ed46659872ca) Thanks [@renovate](https://github.com/apps/renovate)! - Drop support for Node.js 14. Require Node.js `>=16`. ### Patch Changes - Updated dependencies [[`4228c1d5`](https://github.com/dotansimha/graphql-yoga/commit/4228c1d54ed785fac1fb9669d861ed46659872ca), [`34ecb4bb`](https://github.com/dotansimha/graphql-yoga/commit/34ecb4bbad3823f1bfde8aa7e1e92139481f9daf), [`ec318fe6`](https://github.com/dotansimha/graphql-yoga/commit/ec318fe6d3945190abbe8b643223268ff9a5e0e9), [`cc370691`](https://github.com/dotansimha/graphql-yoga/commit/cc370691cc525fe5b15cb846c60621d99d313310), [`b309ca0d`](https://github.com/dotansimha/graphql-yoga/commit/b309ca0db1c45264878c3cec0137c3fdbd22fc97), [`dd699c4b`](https://github.com/dotansimha/graphql-yoga/commit/dd699c4bcef24b373ee49237c187df3f093e1dfc), [`4228c1d5`](https://github.com/dotansimha/graphql-yoga/commit/4228c1d54ed785fac1fb9669d861ed46659872ca), [`0522c740`](https://github.com/dotansimha/graphql-yoga/commit/0522c7408c69a1b72af5c220411cf19d7fa859e9)]: - graphql-yoga@4.0.0 ## 1.1.1 ### Patch Changes - Updated dependencies [[`e1a60e21`](https://github.com/dotansimha/graphql-yoga/commit/e1a60e21f10813aa6d0f4673e4eb13979720c2c8), [`c50ea51c`](https://github.com/dotansimha/graphql-yoga/commit/c50ea51c992a6a480799655225727081585f0010), [`c50ea51c`](https://github.com/dotansimha/graphql-yoga/commit/c50ea51c992a6a480799655225727081585f0010)]: - graphql-yoga@3.9.1 ## 1.1.0 ### Patch Changes - Updated dependencies [[`aff69200`](https://github.com/dotansimha/graphql-yoga/commit/aff69200d512c530751c617ee685f9b3f82303f8)]: - graphql-yoga@3.9.0 ## 1.0.1 ### Patch Changes - Updated dependencies [[`ebb65b14`](https://github.com/dotansimha/graphql-yoga/commit/ebb65b14b29bbb4c50c6bb242262444315e99a73), [`528941cb`](https://github.com/dotansimha/graphql-yoga/commit/528941cb4d1670833ee0307de0c715e6b9681d7a)]: - graphql-yoga@3.8.1 ## 1.0.0 ### Major Changes - [#2525](https://github.com/dotansimha/graphql-yoga/pull/2525) [`41f4a545`](https://github.com/dotansimha/graphql-yoga/commit/41f4a545637e3ab16cf8119c4950ea7fe5ab3eb6) Thanks [@enisdenjo](https://github.com/enisdenjo)! - GraphQL Yoga driver for NestJS GraphQL. ### BREAKING CHANGES - No more `subscriptionWithFilter` in YogaBaseDriver. - `YogaBaseDriver.yogaInstance` has been renamed to `YogaBaseDriver.yoga` - `YogaBaseDriver` has been renamed to `AbstractYogaDriver` - Drop `@envelop/apollo-server-errors`, if you want to use it - supply it to the plugins yourself - `graphql` is now a peer dependency - `graphql-yoga` is now a peer dependency - `installSubscriptionHandlers` driver option has been dropped, please use the `subscriptions` option - Apollo Federation v2 support - Apollo Federation driver has been moved to a separate package `@graphql-yoga/nestjs-federation` - Dropped support for `@nestjs/graphql@v10`, now at least v11 is required (https://github.com/nestjs/graphql/pull/2435) - Minimum Node.js engine is v14 ### Patch Changes - Updated dependencies [[`99b72696`](https://github.com/dotansimha/graphql-yoga/commit/99b726961b45b9c22d6383e2fe7212d21d324553), [`99b72696`](https://github.com/dotansimha/graphql-yoga/commit/99b726961b45b9c22d6383e2fe7212d21d324553), [`09d23a4b`](https://github.com/dotansimha/graphql-yoga/commit/09d23a4b3b22f520c41f3cebbe3b11ffbda39557)]: - graphql-yoga@3.8.0 ## 0.3.1 ### Patch Changes - 05d838c: Make Fastify platform work (#79) ## 0.3.0 ### Minor Changes - 2c1f603: @nestjs/graphql should be a peer dependency ## 0.2.0 ### Minor Changes - 8161b3e: Support NestJS v9 ## 0.1.0 ### Minor Changes - c58c7d5: Yoga v3 ## 0.0.4 ### Patch Changes - b57dd7a: Fix Federated service code-first schema generation ## 0.0.3 ### Patch Changes - 486baac: fix build ## 0.0.2 ### Patch Changes - 3237986: update documentation