@graphql-hive/nestjs
Version:
192 lines (111 loc) • 13.7 kB
Markdown
# @graphql-hive/nestjs
## 2.0.0-alpha-d36e9fd7459d6a80a9d40a65651ef15e5af38887
### Major Changes
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`cd9b7ce`](https://github.com/graphql-hive/gateway/commit/cd9b7ce551ec702c00b33e6c1b2cf68f0a6c82a3) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Drop Node 18 support
Least supported Node version is now v20.
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`95484c2`](https://github.com/graphql-hive/gateway/commit/95484c2ca0cea1cd732df4bfe8ce45032ec31d42) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Introduce and use the new Hive Logger
- [Read more about it on the Hive Logger documentation here.](https://the-guild.dev/graphql/hive/docs/logger)
- If coming from Hive Gateway v1, [read the migration guide here.](https://the-guild.dev/graphql/hive/docs/migration-guides/gateway-v1-v2)
### Patch Changes
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`f3caa12`](https://github.com/graphql-hive/gateway/commit/f3caa12a7ad50cdc03c82f2336f820e8ccbad55e) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
- [#1335](https://github.com/graphql-hive/gateway/pull/1335) [`d36e9fd`](https://github.com/graphql-hive/gateway/commit/d36e9fd7459d6a80a9d40a65651ef15e5af38887) Thanks [@n1ru4l](https://github.com/n1ru4l)! - dependencies updates:
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`4c10991`](https://github.com/graphql-hive/gateway/commit/4c1099125c75ee57892366ee017aca87ce2b26b9) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
- Updated dependencies [[`95484c2`](https://github.com/graphql-hive/gateway/commit/95484c2ca0cea1cd732df4bfe8ce45032ec31d42), [`9e4d81c`](https://github.com/graphql-hive/gateway/commit/9e4d81c2ad9e99d2195e3f2a021a30a9312cf980), [`f3caa12`](https://github.com/graphql-hive/gateway/commit/f3caa12a7ad50cdc03c82f2336f820e8ccbad55e), [`1ba0cf4`](https://github.com/graphql-hive/gateway/commit/1ba0cf4a6359e41a6ab16f940d8733d3ad9d800b), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`910ff77`](https://github.com/graphql-hive/gateway/commit/910ff777ce787297cece37ec66c3382bc292412b), [`d36e9fd`](https://github.com/graphql-hive/gateway/commit/d36e9fd7459d6a80a9d40a65651ef15e5af38887), [`8b7db06`](https://github.com/graphql-hive/gateway/commit/8b7db06887f5dec52d380bfc123dbf495cbe04ef), [`cd9b7ce`](https://github.com/graphql-hive/gateway/commit/cd9b7ce551ec702c00b33e6c1b2cf68f0a6c82a3), [`95484c2`](https://github.com/graphql-hive/gateway/commit/95484c2ca0cea1cd732df4bfe8ce45032ec31d42), [`82db131`](https://github.com/graphql-hive/gateway/commit/82db1316cad01c5d1c9f5f395e6424c6f12bd664), [`cfdc4b1`](https://github.com/graphql-hive/gateway/commit/cfdc4b1c7aa30310e0dc49672b5c7372ea33b781), [`471eb4e`](https://github.com/graphql-hive/gateway/commit/471eb4e01045ab6c6e0545726a3adbbf67875015), [`95484c2`](https://github.com/graphql-hive/gateway/commit/95484c2ca0cea1cd732df4bfe8ce45032ec31d42)]:
- @graphql-hive/gateway@2.0.0-alpha-d36e9fd7459d6a80a9d40a65651ef15e5af38887
- @graphql-hive/logger@1.0.1-alpha-d36e9fd7459d6a80a9d40a65651ef15e5af38887
## 1.0.18
### Patch Changes
- Updated dependencies []:
- @graphql-hive/gateway@1.15.4
## 1.0.17
### Patch Changes
- Updated dependencies []:
- @graphql-hive/gateway@1.15.3
## 1.0.16
### Patch Changes
- [#1258](https://github.com/graphql-hive/gateway/pull/1258) [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
- Updated dependency [`@graphql-mesh/types@^0.104.5` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.5) (from `^0.104.0`, in `dependencies`)
- Updated dependencies [[`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85), [`3d24beb`](https://github.com/graphql-hive/gateway/commit/3d24beb7b15fd8109f86bbb3dfd514f6b8202741), [`29f537f`](https://github.com/graphql-hive/gateway/commit/29f537f7dfcf17f3911efd5845d7af1e532d2e85)]:
- @graphql-hive/gateway@1.15.2
## 1.0.15
### Patch Changes
- Updated dependencies [[`33b7f35`](https://github.com/graphql-hive/gateway/commit/33b7f355df25d03069ed3836336c71334c5ba20c)]:
- @graphql-hive/gateway@1.15.1
## 1.0.14
### Patch Changes
- Updated dependencies [[`fb74009`](https://github.com/graphql-hive/gateway/commit/fb740098652dba2e9107981d1f4e362143478451), [`a5d18da`](https://github.com/graphql-hive/gateway/commit/a5d18da95716c8e5ed231244c7dcae4f11843c08), [`3be8206`](https://github.com/graphql-hive/gateway/commit/3be82065790f1cb24cbe0655d7e8b90207fff52e), [`dacad53`](https://github.com/graphql-hive/gateway/commit/dacad5390e4ab54a74bb7ee0d86ebc5a014c55a8), [`f3615ca`](https://github.com/graphql-hive/gateway/commit/f3615cab4e8b596e5ba21b03fddb66e9a3090e31), [`dacad53`](https://github.com/graphql-hive/gateway/commit/dacad5390e4ab54a74bb7ee0d86ebc5a014c55a8), [`d8892f2`](https://github.com/graphql-hive/gateway/commit/d8892f2713388fcea37dfa74a8ae42294f07d362)]:
- @graphql-hive/gateway@1.15.0
## 1.0.13
### Patch Changes
- Updated dependencies [[`88c9369`](https://github.com/graphql-hive/gateway/commit/88c9369abfdcb8e5ed8331c12a42a90e3b6b211b)]:
- @graphql-hive/gateway@1.14.2
## 1.0.12
### Patch Changes
- Updated dependencies [[`305dbc4`](https://github.com/graphql-hive/gateway/commit/305dbc4ce08f53508f400e8e2610cb32e68002bc), [`305dbc4`](https://github.com/graphql-hive/gateway/commit/305dbc4ce08f53508f400e8e2610cb32e68002bc)]:
- @graphql-hive/gateway@1.14.1
## 1.0.11
### Patch Changes
- Updated dependencies [[`20e120b`](https://github.com/graphql-hive/gateway/commit/20e120b2e3269907187ec0626c7651bc248efc53), [`695251a`](https://github.com/graphql-hive/gateway/commit/695251a5e2eb565e325b48c8d79761149c5aa3b0), [`695251a`](https://github.com/graphql-hive/gateway/commit/695251a5e2eb565e325b48c8d79761149c5aa3b0)]:
- @graphql-hive/gateway@1.14.0
## 1.0.10
### Patch Changes
- Updated dependencies [[`9a120c8`](https://github.com/graphql-hive/gateway/commit/9a120c85ac67654f63e374cf420ac4b73da21228), [`da47a0e`](https://github.com/graphql-hive/gateway/commit/da47a0effcc0e3c2b934bc97ab10e6e86ef8cd93), [`da47a0e`](https://github.com/graphql-hive/gateway/commit/da47a0effcc0e3c2b934bc97ab10e6e86ef8cd93)]:
- @graphql-hive/gateway@1.13.6
## 1.0.9
### Patch Changes
- Updated dependencies [[`c53e40e`](https://github.com/graphql-hive/gateway/commit/c53e40eabb7b6ca16efa02aa05892fd6b72ab230), [`7d771d8`](https://github.com/graphql-hive/gateway/commit/7d771d89ff6d731b1025acfc5eb197541a6d5d35), [`c7ea2c5`](https://github.com/graphql-hive/gateway/commit/c7ea2c5ae71b6b338ef22edd927a3fc93803965f)]:
- @graphql-hive/gateway@1.13.5
## 1.0.8
### Patch Changes
- Updated dependencies [[`a374bfc`](https://github.com/graphql-hive/gateway/commit/a374bfcf4309f5953b8c8304fba8e079b6f6b6dc)]:
- @graphql-hive/gateway@1.13.4
## 1.0.7
### Patch Changes
- Updated dependencies []:
- @graphql-hive/gateway@1.13.3
## 1.0.6
### Patch Changes
- [#532](https://github.com/graphql-hive/gateway/pull/532) [`4e33933`](https://github.com/graphql-hive/gateway/commit/4e339333945f4c4547d9ae719e67b4671fe89f04) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
- Updated dependency [`@whatwg-node/promise-helpers@^1.3.0` ↗︎](https://www.npmjs.com/package/@whatwg-node/promise-helpers/v/1.3.0) (from `^1.2.5`, in `dependencies`)
- Updated dependencies [[`4e33933`](https://github.com/graphql-hive/gateway/commit/4e339333945f4c4547d9ae719e67b4671fe89f04)]:
- @graphql-hive/gateway@1.13.2
## 1.0.5
### Patch Changes
- [#889](https://github.com/graphql-hive/gateway/pull/889) [`79dc3bb`](https://github.com/graphql-hive/gateway/commit/79dc3bb8c7cc26d46edb2e431a28369117abaf93) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Correct type definitions for builtin plugins and cache types
- [#889](https://github.com/graphql-hive/gateway/pull/889) [`79dc3bb`](https://github.com/graphql-hive/gateway/commit/79dc3bb8c7cc26d46edb2e431a28369117abaf93) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Initialise the gateway only once
Nest can invoke `generateSchema` method before running `start`. If that is the case, the existing Hive Gateway instance should be used in `start`.
- [#889](https://github.com/graphql-hive/gateway/pull/889) [`79dc3bb`](https://github.com/graphql-hive/gateway/commit/79dc3bb8c7cc26d46edb2e431a28369117abaf93) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Use prepared cache instance
- Updated dependencies [[`2e83074`](https://github.com/graphql-hive/gateway/commit/2e830742df0d8dd16826e440e41f8f75fce81513)]:
- @graphql-hive/gateway@1.13.1
## 1.0.4
### Patch Changes
- [#862](https://github.com/graphql-hive/gateway/pull/862) [`278618a`](https://github.com/graphql-hive/gateway/commit/278618a1383a01016041ce0a40adec8803c62448) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency [`@whatwg-node/promise-helpers@^1.2.5` ↗︎](https://www.npmjs.com/package/@whatwg-node/promise-helpers/v/1.2.5) (from `^1.0.0`, in `dependencies`)
- Updated dependencies [[`d8a7e9e`](https://github.com/graphql-hive/gateway/commit/d8a7e9e4f0492268f07301a87f1e102400fae921), [`d8a7e9e`](https://github.com/graphql-hive/gateway/commit/d8a7e9e4f0492268f07301a87f1e102400fae921), [`dc8c4ce`](https://github.com/graphql-hive/gateway/commit/dc8c4ce642ecc8bb47d14002b196981f67c78c3c)]:
- @graphql-hive/gateway@1.13.0
## 1.0.3
### Patch Changes
- Updated dependencies [[`6a8e0de`](https://github.com/graphql-hive/gateway/commit/6a8e0de49089179458a1c011de05ee30c5167fbb)]:
- @graphql-hive/gateway@1.12.2
## 1.0.2
### Patch Changes
- [#844](https://github.com/graphql-hive/gateway/pull/844) [`40fe003`](https://github.com/graphql-hive/gateway/commit/40fe003b7f9b6f3871917ab6e395ecd112d967f1) Thanks [@enisdenjo](https://github.com/enisdenjo)! - The plugin system, i.e. envelop, prevents re-transforming already transformed schemas, no need to check again
- [#843](https://github.com/graphql-hive/gateway/pull/843) [`cef3e2f`](https://github.com/graphql-hive/gateway/commit/cef3e2f1e5a7daba5fa0153e1d5ea89a429e7a79) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Apply `transformSchema` and `sortSchema` options without custom `context`
- Updated dependencies [[`b19309b`](https://github.com/graphql-hive/gateway/commit/b19309b450482c203b1c71fb5762320c7e5fa739)]:
- @graphql-hive/gateway@1.12.1
## 1.0.1
### Patch Changes
- Updated dependencies [[`17cfa19`](https://github.com/graphql-hive/gateway/commit/17cfa190bf7965681716e5e1ec601793a85935d8)]:
- @graphql-hive/gateway@1.12.0
## 1.0.0
### Major Changes
- [#667](https://github.com/graphql-hive/gateway/pull/667) [`3cdd0aa`](https://github.com/graphql-hive/gateway/commit/3cdd0aa8fa98a436365c2f36ca80d49968a48a5e) Thanks [@ardatan](https://github.com/ardatan)! - Hive Gateway Driver for NestJS;
[Learn more in the docs](https://the-guild.dev/graphql/hive/docs/gateway/deployment/node-frameworks/nestjs)
### Patch Changes
- [#775](https://github.com/graphql-hive/gateway/pull/775) [`33f7dfd`](https://github.com/graphql-hive/gateway/commit/33f7dfdb10eef2a1e7f6dffe0ce6e4bb3cc7c2c6) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
- Updated dependency [`@graphql-mesh/types@^0.104.0` ↗︎](https://www.npmjs.com/package/@graphql-mesh/types/v/0.104.0) (from `^0.103.18`, in `dependencies`)
- Updated dependencies [[`e393337`](https://github.com/graphql-hive/gateway/commit/e393337ecb40beffb79748b19b5aa8f2fd9197b7), [`3cdd0aa`](https://github.com/graphql-hive/gateway/commit/3cdd0aa8fa98a436365c2f36ca80d49968a48a5e), [`c47322a`](https://github.com/graphql-hive/gateway/commit/c47322a1a1385f24f7649f396fd2fbc632a9256c), [`c7a9849`](https://github.com/graphql-hive/gateway/commit/c7a98491e755cd234ba14033b39d5bc83ad0f945), [`09de0ba`](https://github.com/graphql-hive/gateway/commit/09de0bae281be40f8d8cc462d9c447d03141a5fa), [`33f7dfd`](https://github.com/graphql-hive/gateway/commit/33f7dfdb10eef2a1e7f6dffe0ce6e4bb3cc7c2c6), [`890f16a`](https://github.com/graphql-hive/gateway/commit/890f16afb352987f0565658f338022f9db3b4e3d), [`b145a27`](https://github.com/graphql-hive/gateway/commit/b145a27fc8671f33c36f9f6a3a437d80107631ee), [`bbc98c5`](https://github.com/graphql-hive/gateway/commit/bbc98c58277283f064ba826a3d844709f75ac451), [`ee00eaf`](https://github.com/graphql-hive/gateway/commit/ee00eaf8cd843dacba20b9235033b62f061195f7), [`09de0ba`](https://github.com/graphql-hive/gateway/commit/09de0bae281be40f8d8cc462d9c447d03141a5fa), [`ee00eaf`](https://github.com/graphql-hive/gateway/commit/ee00eaf8cd843dacba20b9235033b62f061195f7), [`3cdd0aa`](https://github.com/graphql-hive/gateway/commit/3cdd0aa8fa98a436365c2f36ca80d49968a48a5e), [`e0d5feb`](https://github.com/graphql-hive/gateway/commit/e0d5feb156f896be5c5235eb1ae22144cf67eff9)]:
- @graphql-hive/gateway@1.11.0