UNPKG

@graphql-hive/router-runtime

Version:
405 lines (239 loc) 18.8 kB
# @graphql-hive/router-runtime ## 1.4.7 ### Patch Changes - Updated dependencies [[`2ccae41`](https://github.com/graphql-hive/gateway/commit/2ccae416160689bbdb2db06d1930d5e4e6c1ecac), [`eeebc74`](https://github.com/graphql-hive/gateway/commit/eeebc74a1619f5f0ccc339dd3e4429c8976bdd39)]: - @graphql-mesh/fusion-runtime@1.10.3 - @graphql-tools/federation@4.4.3 ## 1.4.6 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.4.2 - @graphql-mesh/fusion-runtime@1.10.2 ## 1.4.5 ### Patch Changes - [#2324](https://github.com/graphql-hive/gateway/pull/2324) [`98553c9`](https://github.com/graphql-hive/gateway/commit/98553c9674dbd5fc61425b14411fd6765719ef88) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.24` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.24) (from `^0.0.23`, in `dependencies`) - Updated dependencies [[`deafdc0`](https://github.com/graphql-hive/gateway/commit/deafdc00e388ed195c2cdf77e98cd19e7d496d48)]: - @graphql-tools/delegate@12.0.16 - @graphql-mesh/fusion-runtime@1.10.1 - @graphql-tools/federation@4.4.1 ## 1.4.4 ### Patch Changes - Updated dependencies [[`4db5afa`](https://github.com/graphql-hive/gateway/commit/4db5afadfc3703d7f0228140f5297ed1c99df967), [`8ffdc33`](https://github.com/graphql-hive/gateway/commit/8ffdc3360ca3e9274625c50b2fb1d41d307ecc70)]: - @graphql-mesh/fusion-runtime@1.9.0 - @graphql-tools/federation@4.4.0 ## 1.4.3 ### Patch Changes - [#2285](https://github.com/graphql-hive/gateway/pull/2285) [`e5bf019`](https://github.com/graphql-hive/gateway/commit/e5bf01939712eae423f94642469cebb0b69ac4eb) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates: - Updated dependency [`@graphql-mesh/utils@^0.104.36` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.36) (from `^0.104.35`, in `dependencies`) - Updated dependencies [[`e5bf019`](https://github.com/graphql-hive/gateway/commit/e5bf01939712eae423f94642469cebb0b69ac4eb), [`e5bf019`](https://github.com/graphql-hive/gateway/commit/e5bf01939712eae423f94642469cebb0b69ac4eb)]: - @graphql-mesh/fusion-runtime@1.8.10 ## 1.4.2 ### Patch Changes - [#1932](https://github.com/graphql-hive/gateway/pull/1932) [`9177415`](https://github.com/graphql-hive/gateway/commit/9177415b347d055450f4fdc7acae6b32f7c71539) Thanks [@adambenhassen](https://github.com/adambenhassen)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.18` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.18) (from `^0.0.17`, in `dependencies`) - [#2269](https://github.com/graphql-hive/gateway/pull/2269) [`dc55d98`](https://github.com/graphql-hive/gateway/commit/dc55d982b7162992e58c79ed4009075358153c48) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.23` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.23) (from `^0.0.22`, in `dependencies`) - Updated dependencies []: - @graphql-mesh/fusion-runtime@1.8.9 ## 1.4.1 ### Patch Changes - [#2249](https://github.com/graphql-hive/gateway/pull/2249) [`6ac955d`](https://github.com/graphql-hive/gateway/commit/6ac955d2910fba67f5177681262dcd9b7ef3f079) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.22` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.22) (from `^0.0.20`, in `dependencies`) - Updated dependency [`@graphql-mesh/utils@^0.104.35` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.35) (from `^0.104.33`, in `dependencies`) - Updated dependencies [[`6ac955d`](https://github.com/graphql-hive/gateway/commit/6ac955d2910fba67f5177681262dcd9b7ef3f079), [`6ac955d`](https://github.com/graphql-hive/gateway/commit/6ac955d2910fba67f5177681262dcd9b7ef3f079)]: - @graphql-mesh/fusion-runtime@1.8.9 - @graphql-mesh/transport-common@1.0.16 ## 1.4.0 ### Minor Changes - [#2253](https://github.com/graphql-hive/gateway/pull/2253) [`5c4917e`](https://github.com/graphql-hive/gateway/commit/5c4917eceb76f33cca03d0dff36b8d424e896673) Thanks [@ardatan](https://github.com/ardatan)! - Add entity resolution support for Subscription plans ### Patch Changes - [#2250](https://github.com/graphql-hive/gateway/pull/2250) [`d8d578e`](https://github.com/graphql-hive/gateway/commit/d8d578e2e09f2e72e40e3ee9e9aee7727da43ffe) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.18` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.18) (from `^0.0.17`, in `dependencies`) - [#2253](https://github.com/graphql-hive/gateway/pull/2253) [`5c4917e`](https://github.com/graphql-hive/gateway/commit/5c4917eceb76f33cca03d0dff36b8d424e896673) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.20` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.20) (from `^0.0.18`, in `dependencies`) - Updated dependencies [[`dff525f`](https://github.com/graphql-hive/gateway/commit/dff525f214d3525434c5a73a5b3fb22c46550163)]: - @graphql-tools/delegate@12.0.14 - @graphql-mesh/fusion-runtime@1.8.8 - @graphql-tools/federation@4.3.7 ## 1.3.3 ### Patch Changes - Updated dependencies [[`3645fe7`](https://github.com/graphql-hive/gateway/commit/3645fe7930fc026c33aea6d70aaf66cfd0f61d38)]: - @graphql-mesh/fusion-runtime@1.8.7 ## 1.3.2 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.3.6 - @graphql-mesh/fusion-runtime@1.8.6 ## 1.3.1 ### Patch Changes - Updated dependencies []: - @graphql-tools/delegate@12.0.13 - @graphql-mesh/fusion-runtime@1.8.5 - @graphql-tools/federation@4.3.5 ## 1.3.0 ### Minor Changes - [#2203](https://github.com/graphql-hive/gateway/pull/2203) [`ded76e2`](https://github.com/graphql-hive/gateway/commit/ded76e273d12d938fe886d26f7612ac45b17a203) Thanks [@ardatan](https://github.com/ardatan)! - EDFS Support for Router Runtime ### Patch Changes - [#2203](https://github.com/graphql-hive/gateway/pull/2203) [`ded76e2`](https://github.com/graphql-hive/gateway/commit/ded76e273d12d938fe886d26f7612ac45b17a203) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: - Added dependency [`@graphql-mesh/utils@^0.104.33` ↗︎](https://www.npmjs.com/package/@graphql-mesh/utils/v/0.104.33) (to `dependencies`) - Added dependency [`@graphql-tools/delegate@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-tools/delegate/v/workspace:^) (to `dependencies`) - Updated dependencies []: - @graphql-mesh/fusion-runtime@1.8.4 ## 1.2.5 ### Patch Changes - [#2201](https://github.com/graphql-hive/gateway/pull/2201) [`237f546`](https://github.com/graphql-hive/gateway/commit/237f546f2bb55d7ea9582fcb0127e38b0613f6b8) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.17` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.17) (from `^0.0.16`, in `dependencies`) - [#2201](https://github.com/graphql-hive/gateway/pull/2201) [`237f546`](https://github.com/graphql-hive/gateway/commit/237f546f2bb55d7ea9582fcb0127e38b0613f6b8) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Update `@graphql-hive/router-query-planner` to v0.0.17 This update includes fixes in the query planner: - **Preserve client aliases in mismatch output rewrites**: Fixed query planner mismatch handling so conflicting fields are tracked by response key (alias-aware), and internal alias rewrites restore the original client-facing key (alias-or-name) instead of always the schema field name. - Updated dependencies []: - @graphql-mesh/fusion-runtime@1.8.4 ## 1.2.4 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.3.4 - @graphql-mesh/fusion-runtime@1.8.4 ## 1.2.3 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.3.3 - @graphql-mesh/fusion-runtime@1.8.3 ## 1.2.2 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.3.2 - @graphql-mesh/fusion-runtime@1.8.2 ## 1.2.1 ### Patch Changes - Updated dependencies [[`da68d27`](https://github.com/graphql-hive/gateway/commit/da68d2710dff1f8bca5b17bcd5368e631f72114e)]: - @graphql-tools/federation@4.3.1 - @graphql-mesh/fusion-runtime@1.8.1 ## 1.2.0 ### Minor Changes - [#2086](https://github.com/graphql-hive/gateway/pull/2086) [`cd81bf1`](https://github.com/graphql-hive/gateway/commit/cd81bf1393e151bf56749e2fc23787517edeb469) Thanks [@kamilkisiela](https://github.com/kamilkisiela)! - Add support for the `BatchFetch` plan node. When the query planner groups compatible entity fetches into a single `BatchFetch` node, the gateway runtime now executes them as one subgraph request with aliased `_entities` calls, reducing the number of downstream HTTP requests. - [#2096](https://github.com/graphql-hive/gateway/pull/2096) [`4e626d4`](https://github.com/graphql-hive/gateway/commit/4e626d4cd2f1a6050a30b1219f5b5408ff56b3a6) Thanks [@ardatan](https://github.com/ardatan)! - Progressive Override Support in Rust QP Runtime ### Patch Changes - Updated dependencies [[`4e626d4`](https://github.com/graphql-hive/gateway/commit/4e626d4cd2f1a6050a30b1219f5b5408ff56b3a6), [`08c9da2`](https://github.com/graphql-hive/gateway/commit/08c9da28af4587aa823f3b7a10af493fa87dab87)]: - @graphql-mesh/fusion-runtime@1.8.0 - @graphql-tools/federation@4.3.0 ## 1.1.16 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.2.14 - @graphql-mesh/fusion-runtime@1.7.1 ## 1.1.15 ### Patch Changes - Updated dependencies [[`5468882`](https://github.com/graphql-hive/gateway/commit/5468882253927113fa22030bceb265a31101792e)]: - @graphql-mesh/fusion-runtime@1.7.0 ## 1.1.14 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.2.13 - @graphql-mesh/fusion-runtime@1.6.11 ## 1.1.13 ### Patch Changes - Updated dependencies []: - @graphql-mesh/fusion-runtime@1.6.10 - @graphql-mesh/transport-common@1.0.15 ## 1.1.12 ### Patch Changes - [#2001](https://github.com/graphql-hive/gateway/pull/2001) [`0408878`](https://github.com/graphql-hive/gateway/commit/04088789b84c037886c88c6545fa2452c55927cc) Thanks [@ardatan](https://github.com/ardatan)! - Fix projection while using Rust QP - Updated dependencies []: - @graphql-mesh/fusion-runtime@1.6.9 ## 1.1.11 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.2.12 - @graphql-mesh/fusion-runtime@1.6.9 ## 1.1.10 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.2.11 - @graphql-mesh/fusion-runtime@1.6.8 ## 1.1.9 ### Patch Changes - Updated dependencies [[`2200fc3`](https://github.com/graphql-hive/gateway/commit/2200fc3e9b94db77a642835bbf2d646c65b3e8d0)]: - @graphql-tools/federation@4.2.10 - @graphql-mesh/fusion-runtime@1.6.7 ## 1.1.8 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.2.9 - @graphql-mesh/fusion-runtime@1.6.6 ## 1.1.7 ### Patch Changes - Updated dependencies []: - @graphql-mesh/fusion-runtime@1.6.5 - @graphql-mesh/transport-common@1.0.14 ## 1.1.6 ### Patch Changes - [#1842](https://github.com/graphql-hive/gateway/pull/1842) [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-tools/utils@^11.0.0` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/11.0.0) (from `^10.10.3`, in `dependencies`) - Updated dependencies [[`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f), [`93aa767`](https://github.com/graphql-hive/gateway/commit/93aa76755afc93085280646fb7cb14e6d02b4a7f)]: - @graphql-mesh/fusion-runtime@1.6.4 - @graphql-mesh/transport-common@1.0.13 - @graphql-tools/executor-common@1.0.6 - @graphql-tools/federation@4.2.8 ## 1.1.5 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.2.7 - @graphql-mesh/fusion-runtime@1.6.3 ## 1.1.4 ### Patch Changes - [#1783](https://github.com/graphql-hive/gateway/pull/1783) [`461a255`](https://github.com/graphql-hive/gateway/commit/461a2551112bca4dcd8123e1c8cbb3552a518d58) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.8` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.8) (from `^0.0.7`, in `dependencies`) - [#1789](https://github.com/graphql-hive/gateway/pull/1789) [`25dbe4d`](https://github.com/graphql-hive/gateway/commit/25dbe4dd5d7ac27defcbed281636b42e27704795) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.9` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.9) (from `^0.0.8`, in `dependencies`) - Updated dependencies []: - @graphql-mesh/fusion-runtime@1.6.2 ## 1.1.3 ### Patch Changes - [#1772](https://github.com/graphql-hive/gateway/pull/1772) [`35e02e9`](https://github.com/graphql-hive/gateway/commit/35e02e9195a32a2ba1d179b330c2e201e553f80c) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.7` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.7) (from `^0.0.6`, in `dependencies`) - Updated dependencies []: - @graphql-mesh/fusion-runtime@1.6.2 ## 1.1.2 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.2.6 - @graphql-mesh/fusion-runtime@1.6.2 ## 1.1.1 ### Patch Changes - Updated dependencies []: - @graphql-tools/federation@4.2.5 - @graphql-mesh/fusion-runtime@1.6.1 ## 1.1.0 ### Minor Changes - [#1708](https://github.com/graphql-hive/gateway/pull/1708) [`bc6cddd`](https://github.com/graphql-hive/gateway/commit/bc6cddd1c53a012dd02a1d8a7217a28e65cc6ae9) Thanks [@ardatan](https://github.com/ardatan)! - Support Stitching transforms (w/ Mesh directives) ### Patch Changes - [#1727](https://github.com/graphql-hive/gateway/pull/1727) [`1dbc653`](https://github.com/graphql-hive/gateway/commit/1dbc6536cb992a705cac7894acca6fe5431b72de) Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.4` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.4) (from `^0.0.3`, in `dependencies`) - [#1739](https://github.com/graphql-hive/gateway/pull/1739) [`8ff2e47`](https://github.com/graphql-hive/gateway/commit/8ff2e471f368d5e41f91a7fe1f1b0e494ef3e6ff) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.6` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.6) (from `^0.0.4`, in `dependencies`) - [#1740](https://github.com/graphql-hive/gateway/pull/1740) [`9cfe2a5`](https://github.com/graphql-hive/gateway/commit/9cfe2a555fcbc9a70ba04b32d6844a7a795de624) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-hive/router-query-planner@^0.0.6` ↗︎](https://www.npmjs.com/package/@graphql-hive/router-query-planner/v/0.0.6) (from `^0.0.4`, in `dependencies`) - [#1708](https://github.com/graphql-hive/gateway/pull/1708) [`bc6cddd`](https://github.com/graphql-hive/gateway/commit/bc6cddd1c53a012dd02a1d8a7217a28e65cc6ae9) Thanks [@ardatan](https://github.com/ardatan)! - Handle listed enum values correctly Previously when a field like `[MyEnum!]!` is projected, it was projecting it like it is `MyEnum`. - [#1739](https://github.com/graphql-hive/gateway/pull/1739) [`8ff2e47`](https://github.com/graphql-hive/gateway/commit/8ff2e471f368d5e41f91a7fe1f1b0e494ef3e6ff) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Expose the query plan by using the `useQueryPlan` plugin - Updated dependencies [[`bc6cddd`](https://github.com/graphql-hive/gateway/commit/bc6cddd1c53a012dd02a1d8a7217a28e65cc6ae9)]: - @graphql-mesh/fusion-runtime@1.6.0 - @graphql-tools/federation@4.2.4 ## 1.0.1 ### Patch Changes - [#1691](https://github.com/graphql-hive/gateway/pull/1691) [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates: - Updated dependency [`@graphql-tools/executor@^1.4.13` ↗︎](https://www.npmjs.com/package/@graphql-tools/executor/v/1.4.13) (from `^1.4.11`, in `dependencies`) - Updated dependency [`@graphql-tools/utils@^10.10.3` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.10.3) (from `^10.9.1`, in `dependencies`) - Updated dependencies [[`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb), [`478d7e2`](https://github.com/graphql-hive/gateway/commit/478d7e25ef47fb8fb6183010a8bb61ac31688c55), [`7ecaf7e`](https://github.com/graphql-hive/gateway/commit/7ecaf7e8f658c4e4c1a91d1e8db3c1a8ceca51cb)]: - @graphql-mesh/fusion-runtime@1.5.1 - @graphql-mesh/transport-common@1.0.12 - @graphql-tools/executor-common@1.0.5 - @graphql-tools/federation@4.2.3 ## 1.0.0 ### Major Changes - [#1629](https://github.com/graphql-hive/gateway/pull/1629) [`073a078`](https://github.com/graphql-hive/gateway/commit/073a078c8cdbdd4ec33fdb9d3aeb4955fbcfb103) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Hive Router Runtime for Hive Gateway [Read more about it in the documentation.](https://the-guild.dev/graphql/hive/docs/gateway/other-features/router-runtime) ### Patch Changes - Updated dependencies [[`073a078`](https://github.com/graphql-hive/gateway/commit/073a078c8cdbdd4ec33fdb9d3aeb4955fbcfb103)]: - @graphql-mesh/fusion-runtime@1.5.0