Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: graphql-hive/gateway
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @graphql-tools/wrap@10.0.32
Choose a base ref
...
head repository: graphql-hive/gateway
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @graphql-tools/wrap@10.0.33
Choose a head ref

Commits on Mar 11, 2025

  1. chore(deps): update dependency bun to v1.2.5 (#811)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 11, 2025
    Copy the full SHA
    c7d5bf9 View commit details
  2. chore(deps): update dependency bun to v1.2.5 (#812)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 11, 2025
    Copy the full SHA
    0221d79 View commit details
  3. Update Examples (#810)

    theguild-bot authored Mar 11, 2025
    Copy the full SHA
    f6b213b View commit details
  4. Update Examples (#815)

    theguild-bot authored Mar 11, 2025
    Copy the full SHA
    cfed26b View commit details
  5. chore(deps): update oven/bun docker tag to v1.2.5 (#814)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    renovate[bot] and ardatan authored Mar 11, 2025
    Copy the full SHA
    9a75048 View commit details
  6. chore(deps): update all non-major dependencies (#813)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    renovate[bot] and ardatan authored Mar 11, 2025
    Copy the full SHA
    c395234 View commit details
  7. chore(deps): update all non-major dependencies to v7.26.10 (#816)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 11, 2025
    Copy the full SHA
    56282a7 View commit details

Commits on Mar 12, 2025

  1. chore(deps): update dependency @rollup/plugin-node-resolve to v16.0.1 (

    …#817)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 12, 2025
    Copy the full SHA
    50d81e0 View commit details
  2. Bump the npm_and_yarn group across 17 directories with 2 updates (#819)

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Mar 12, 2025
    Copy the full SHA
    2e95a51 View commit details
  3. Update Examples (#820)

    theguild-bot authored Mar 12, 2025
    Copy the full SHA
    2e6aece View commit details
  4. Hive Console plugin for Gateway and introduce new target option (#809)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    enisdenjo and github-actions[bot] authored Mar 12, 2025
    Copy the full SHA
    17cfa19 View commit details
  5. Upcoming Release Changes (#821)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    theguild-bot and github-actions[bot] authored Mar 12, 2025
    Copy the full SHA
    8a5b6dd View commit details
  6. Update Examples (#823)

    theguild-bot authored Mar 12, 2025
    Copy the full SHA
    31878be View commit details
  7. chore(deps): update dependency @apollo/rover to ^0.28.0 (#822)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: theguild-bot <bot@the-guild.dev>
    renovate[bot] and theguild-bot authored Mar 12, 2025
    Copy the full SHA
    467ec5d View commit details

Commits on Mar 13, 2025

  1. chore(deps): lock file maintenance (#827)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: theguild-bot <bot@the-guild.dev>
    renovate[bot] and theguild-bot authored Mar 13, 2025
    Copy the full SHA
    d5c5479 View commit details
  2. chore(deps): update dependency @cloudflare/workers-types to v4.202503…

    …12.0 (#828)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 13, 2025
    Copy the full SHA
    fdb59b5 View commit details
  3. fix(deps): update all non-major dependencies (#829)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 13, 2025
    Copy the full SHA
    97c05a1 View commit details
  4. chore(deps): update dependency wrangler to v4 (#830)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 13, 2025
    Copy the full SHA
    8873cc9 View commit details
  5. chore(deps): lock file maintenance (#831)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: theguild-bot <bot@the-guild.dev>
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    3 people authored Mar 13, 2025
    Copy the full SHA
    6b0f169 View commit details
  6. chore(deps): update dependency @apollo/rover to v0.28.1 (#833)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: theguild-bot <bot@the-guild.dev>
    renovate[bot] and theguild-bot authored Mar 13, 2025
    Copy the full SHA
    9f945aa View commit details
  7. Update Examples (#834)

    theguild-bot authored Mar 13, 2025
    Copy the full SHA
    81768ec View commit details
  8. chore(deps): update dependency @cloudflare/workers-types to v4.202503…

    …13.0 (#835)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 13, 2025
    Copy the full SHA
    94bffa8 View commit details

Commits on Mar 14, 2025

  1. fix(deps): update all non-major dependencies (#836)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 14, 2025
    Copy the full SHA
    4e6173f View commit details
  2. chore(deps): update dependency vite to v6.2.2 (#837)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 14, 2025
    Copy the full SHA
    f8e1e39 View commit details
  3. Loadtest E2Es and monitor memory for leak detection (#611)

    Co-authored-by: theguild-bot <bot@the-guild.dev>
    enisdenjo and theguild-bot authored Mar 14, 2025
    Copy the full SHA
    523cb25 View commit details
  4. enhance: retry the request if the schema is reloaded during the reque…

    …st (#818)
    
    Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
    ardatan and coderabbitai[bot] authored Mar 14, 2025
    Copy the full SHA
    115a1f1 View commit details
  5. chore(deps): update dependency bun to v1.2.5 (#840)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 14, 2025
    Copy the full SHA
    9bc6d19 View commit details
  6. fix(deps): update all non-major dependencies (#839)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 14, 2025
    Copy the full SHA
    e476f4a View commit details
  7. chore(deps): update dependency @types/k6 to ^0.57.0 (#842)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 14, 2025
    Copy the full SHA
    cf4dee6 View commit details
  8. Copy the full SHA
    cef3e2f View commit details
  9. Dispose of cache on teardown (#838)

    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    3 people authored Mar 14, 2025
    Copy the full SHA
    b19309b View commit details
  10. Copy the full SHA
    40fe003 View commit details
  11. Parallelize mem tests (#846)

    ardatan authored Mar 14, 2025
    Copy the full SHA
    16f6691 View commit details
  12. Copy the full SHA
    c104178 View commit details
  13. Upcoming Release Changes (#841)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    theguild-bot and github-actions[bot] authored Mar 14, 2025
    Copy the full SHA
    874d69f View commit details
  14. Copy the full SHA
    41f3aa7 View commit details
  15. Update Examples (#849)

    theguild-bot authored Mar 14, 2025
    Copy the full SHA
    9457aa7 View commit details
  16. Update Examples (#851)

    theguild-bot authored Mar 14, 2025
    Copy the full SHA
    969d674 View commit details

Commits on Mar 17, 2025

  1. Copy the full SHA
    6a8e0de View commit details
  2. Upcoming Release Changes (#854)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    theguild-bot and github-actions[bot] authored Mar 17, 2025
    Copy the full SHA
    9e55531 View commit details
  3. Update Examples (#856)

    theguild-bot authored Mar 17, 2025
    Copy the full SHA
    32063da View commit details
  4. Copy the full SHA
    93a3f5b View commit details
  5. chore(deps): lock file maintenance (#852)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: theguild-bot <bot@the-guild.dev>
    renovate[bot] and theguild-bot authored Mar 17, 2025
    Copy the full SHA
    e27e870 View commit details
  6. Update compose-cli (#860)

    Co-authored-by: theguild-bot <bot@the-guild.dev>
    ardatan and theguild-bot authored Mar 17, 2025
    Copy the full SHA
    41c32c4 View commit details
  7. Update Examples (#861)

    theguild-bot authored Mar 17, 2025
    Copy the full SHA
    f9f6d25 View commit details
  8. chore(deps): update dependency vitest to v3.0.9 (#855)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 17, 2025
    Copy the full SHA
    201d12d View commit details
  9. chore(deps): update dependency vitest to v3.0.9 (#863)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    renovate[bot] and ardatan authored Mar 17, 2025
    Copy the full SHA
    56f9483 View commit details
  10. Fix federation-subscriptions-passthrough mem test (#862)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    ardatan and github-actions[bot] authored Mar 17, 2025
    Copy the full SHA
    278618a View commit details
  11. fix(deps): update dependency @whatwg-node/promise-helpers to v1.3.0 (#…

    …864)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Mar 17, 2025
    Copy the full SHA
    5be7001 View commit details
  12. Copy the full SHA
    dc8c4ce View commit details
Showing with 47,723 additions and 28,248 deletions.
  1. +7 −7 .github/workflows/bench.yml
  2. +6 −6 .github/workflows/check.yml
  3. +7 −7 .github/workflows/examples.yml
  4. +67 −0 .github/workflows/memtest.yml
  5. +13 −11 .github/workflows/release.yml
  6. +11 −14 .github/workflows/test.yml
  7. +4 −0 .gitignore
  8. +5 −0 DEPS_RESOLUTIONS_NOTES.md
  9. +21 −5 docker-bake.hcl
  10. +1 −1 e2e/apq-subgraphs/package.json
  11. +5,635 −0 e2e/armor-options/__snapshots__/armor-options.e2e.ts.snap
  12. +374 −0 e2e/armor-options/armor-options.e2e.ts
  13. +56 −0 e2e/armor-options/gateway.config.ts
  14. +4 −0 e2e/armor-options/package.json
  15. +39 −0 e2e/auto-type-merging/auto-type-merging.memtest.ts
  16. +1 −1 e2e/auto-type-merging/package.json
  17. +12 −12 e2e/cloudflare-workers/cloudflare-workers.e2e.ts
  18. +1 −1 e2e/cloudflare-workers/package.json
  19. +1 −1 e2e/config-syntax-error/package.json
  20. +1 −1 e2e/extra-fields/package.json
  21. +18 −0 e2e/federation-example/federation-example.memtest.ts
  22. +26 −0 e2e/federation-mixed/federation-mixed.memtest.ts
  23. +1 −1 e2e/federation-mixed/package.json
  24. +84 −0 e2e/federation-subscriptions-passthrough/federation-subscriptions-passthrough.memtest.ts
  25. +11 −0 e2e/federation-subscriptions-passthrough/services/products/server.ts
  26. +1 −0 e2e/federation-subscriptions-passthrough/services/products/typeDefs.graphql
  27. +7 −0 e2e/federation-subscriptions-passthrough/services/reviews/server.ts
  28. +1 −0 e2e/federation-subscriptions-passthrough/services/reviews/typeDefs.graphql
  29. +1 −1 e2e/file-upload/package.json
  30. +32 −0 e2e/graceful-shutdown/graceful-shutdown.e2e.ts
  31. +4 −0 e2e/graceful-shutdown/package.json
  32. +39 −0 e2e/graphos-polling/gateway.config.ts
  33. +117 −0 e2e/graphos-polling/graphos-polling.e2e.ts
  34. +9 −0 e2e/graphos-polling/package.json
  35. +87 −0 e2e/graphos-polling/services/graphos.ts
  36. +31 −0 e2e/graphos-polling/services/upstream_good.ts
  37. +31 −0 e2e/graphos-polling/services/upstream_stuck.ts
  38. +1 −1 e2e/hmac-auth-https/package.json
  39. +1 −1 e2e/hoist-and-prefix-transform/package.json
  40. +35 −0 e2e/interface-additional-resolvers/interface-additional-resolvers.memtest.ts
  41. +1 −1 e2e/interface-additional-resolvers/package.json
  42. +1 −1 e2e/js-config/package.json
  43. +1 −1 e2e/json-schema-subscriptions/package.json
  44. +1 −1 e2e/manual-transport-def/package.json
  45. +1 −1 e2e/naming-convention-additional-typedefs/package.json
  46. +1 −0 e2e/nestjs/nestjs.e2e.ts
  47. +1 −1 e2e/openapi-additional-resolvers/package.json
  48. +1 −1 e2e/openapi-arg-rename/package.json
  49. +1 −1 e2e/openapi-javascript-wiki/gateway_bun.Dockerfile
  50. +1 −1 e2e/openapi-javascript-wiki/package.json
  51. +1 −1 e2e/openapi-min-length/package.json
  52. +1 −1 e2e/openapi-naming-convention/package.json
  53. +1 −1 e2e/openapi-prune/package.json
  54. +1 −1 e2e/openapi-subgraph/package.json
  55. +1 −1 e2e/openapi-subscriptions/package.json
  56. +6 −1 e2e/opentelemetry/gateway.config.ts
  57. +38 −8 e2e/opentelemetry/opentelemetry.e2e.ts
  58. +51 −0 e2e/opentelemetry/opentelemetry.memtest.ts
  59. +1 −1 e2e/opentelemetry/package.json
  60. +1 −1 e2e/operation-field-permissions/gateway_bun.Dockerfile
  61. +1 −1 e2e/operation-field-permissions/package.json
  62. +1 −1 e2e/polling/package.json
  63. +1 −1 e2e/programmatic-batching/package.json
  64. +39 −0 e2e/programmatic-batching/programmatic-batching.memtest.ts
  65. +1 −1 e2e/subscriptions-cancellation/package.json
  66. +1 −1 e2e/subscriptions-with-transforms/package.json
  67. +1 −1 e2e/top-level-await/package.json
  68. +1 −1 e2e/type-merging-batching/package.json
  69. BIN examples/apq-subgraphs/example.tar.gz
  70. +2,189 −1,542 examples/apq-subgraphs/package-lock.json
  71. +2 −2 examples/apq-subgraphs/package.json
  72. BIN examples/extra-fields/example.tar.gz
  73. +2,136 −1,485 examples/extra-fields/package-lock.json
  74. +2 −2 examples/extra-fields/package.json
  75. BIN examples/federation-example/example.tar.gz
  76. +1,844 −918 examples/federation-example/package-lock.json
  77. +2 −2 examples/federation-example/package.json
  78. BIN examples/federation-mixed/example.tar.gz
  79. +2,109 −1,796 examples/federation-mixed/package-lock.json
  80. +3 −3 examples/federation-mixed/package.json
  81. BIN examples/federation-subscriptions-passthrough/example.tar.gz
  82. +1,856 −905 examples/federation-subscriptions-passthrough/package-lock.json
  83. +3 −3 examples/federation-subscriptions-passthrough/package.json
  84. +11 −0 examples/federation-subscriptions-passthrough/services/products/server.ts
  85. +1 −0 examples/federation-subscriptions-passthrough/services/products/typeDefs.graphql
  86. +7 −0 examples/federation-subscriptions-passthrough/services/reviews/server.ts
  87. +1 −0 examples/federation-subscriptions-passthrough/services/reviews/typeDefs.graphql
  88. BIN examples/file-upload/example.tar.gz
  89. +2,158 −1,507 examples/file-upload/package-lock.json
  90. +2 −2 examples/file-upload/package.json
  91. BIN examples/hmac-auth-https/example.tar.gz
  92. +2,168 −1,521 examples/hmac-auth-https/package-lock.json
  93. +3 −3 examples/hmac-auth-https/package.json
  94. BIN examples/interface-additional-resolvers/example.tar.gz
  95. +2,136 −1,485 examples/interface-additional-resolvers/package-lock.json
  96. +2 −2 examples/interface-additional-resolvers/package.json
  97. BIN examples/json-schema-subscriptions/example.tar.gz
  98. +2,384 −2,067 examples/json-schema-subscriptions/package-lock.json
  99. +2 −2 examples/json-schema-subscriptions/package.json
  100. BIN examples/openapi-additional-resolvers/example.tar.gz
  101. +2,113 −1,754 examples/openapi-additional-resolvers/package-lock.json
  102. +2 −2 examples/openapi-additional-resolvers/package.json
  103. BIN examples/openapi-arg-rename/example.tar.gz
  104. +2,113 −1,754 examples/openapi-arg-rename/package-lock.json
  105. +2 −2 examples/openapi-arg-rename/package.json
  106. BIN examples/openapi-javascript-wiki/example.tar.gz
  107. +2,113 −1,754 examples/openapi-javascript-wiki/package-lock.json
  108. +2 −2 examples/openapi-javascript-wiki/package.json
  109. BIN examples/openapi-subscriptions/example.tar.gz
  110. +2,401 −2,084 examples/openapi-subscriptions/package-lock.json
  111. +2 −2 examples/openapi-subscriptions/package.json
  112. BIN examples/operation-field-permissions/example.tar.gz
  113. +2,119 −1,468 examples/operation-field-permissions/package-lock.json
  114. +2 −2 examples/operation-field-permissions/package.json
  115. BIN examples/programmatic-batching/example.tar.gz
  116. +2,055 −1,738 examples/programmatic-batching/package-lock.json
  117. +2 −2 examples/programmatic-batching/package.json
  118. BIN examples/subscriptions-with-transforms/example.tar.gz
  119. +2,136 −1,485 examples/subscriptions-with-transforms/package-lock.json
  120. +2 −2 examples/subscriptions-with-transforms/package.json
  121. BIN examples/type-merging-batching/example.tar.gz
  122. +2,136 −1,485 examples/type-merging-batching/package-lock.json
  123. +2 −2 examples/type-merging-batching/package.json
  124. +3 −1 internal/e2e/src/example-setup.ts
  125. +135 −42 internal/e2e/src/tenv.ts
  126. +1 −1 internal/examples/package.json
  127. +2 −0 internal/examples/src/convert.ts
  128. +22 −0 internal/perf/package.json
  129. BIN internal/perf/speedscope-1.23.0-alpha.4.tgz
  130. +170 −0 internal/perf/src/chart.ts
  131. +199 −0 internal/perf/src/heap.ts
  132. +3 −0 internal/perf/src/index.ts
  133. +190 −0 internal/perf/src/inspector.ts
  134. +35 −0 internal/perf/src/loadtest-script.ts
  135. +269 −0 internal/perf/src/loadtest.ts
  136. +194 −0 internal/perf/src/memtest.ts
  137. +20 −4 internal/proc/src/index.ts
  138. +13 −2 internal/testing/src/env.ts
  139. +6 −3 internal/testing/src/getLocalhost.ts
  140. +5 −4 package.json
  141. +11 −0 packages/batch-delegate/CHANGELOG.md
  142. +2 −2 packages/batch-delegate/package.json
  143. +8 −0 packages/batch-execute/CHANGELOG.md
  144. +2 −2 packages/batch-execute/package.json
  145. +11 −0 packages/delegate/CHANGELOG.md
  146. +2 −2 packages/delegate/package.json
  147. +6 −0 packages/executors/graphql-ws/CHANGELOG.md
  148. +1 −1 packages/executors/graphql-ws/package.json
  149. +7 −4 packages/executors/graphql-ws/src/index.ts
  150. +8 −0 packages/executors/http/CHANGELOG.md
  151. +2 −2 packages/executors/http/package.json
  152. +14 −0 packages/federation/CHANGELOG.md
  153. +2 −2 packages/federation/package.json
  154. +22 −0 packages/fusion-runtime/CHANGELOG.md
  155. +2 −2 packages/fusion-runtime/package.json
  156. +125 −112 packages/fusion-runtime/src/unifiedGraphManager.ts
  157. +18 −5 packages/fusion-runtime/src/utils.ts
  158. +53 −30 packages/fusion-runtime/tests/polling.test.ts
  159. +129 −0 packages/gateway/CHANGELOG.md
  160. +5 −2 packages/gateway/bun.Dockerfile
  161. +6 −0 packages/gateway/bun_e2e.Dockerfile
  162. +3 −0 packages/gateway/node.Dockerfile
  163. +6 −0 packages/gateway/node_e2e.Dockerfile
  164. +5 −2 packages/gateway/package.json
  165. +36 −5 packages/gateway/rollup.config.js
  166. +64 −14 packages/gateway/src/cli.ts
  167. +100 −0 packages/gateway/src/commands/handleReportingConfig.ts
  168. +17 −9 packages/gateway/src/commands/proxy.ts
  169. +17 −9 packages/gateway/src/commands/subgraph.ts
  170. +16 −28 packages/gateway/src/commands/supergraph.ts
  171. +43 −3 packages/gateway/src/config.ts
  172. +6 −0 packages/importer/CHANGELOG.md
  173. +1 −1 packages/importer/package.json
  174. +45 −21 packages/importer/src/hooks.ts
  175. +36 −0 packages/nestjs/CHANGELOG.md
  176. +5 −5 packages/nestjs/package.json
  177. +3 −13 packages/nestjs/src/index.ts
  178. +18 −0 packages/plugins/aws-sigv4/CHANGELOG.md
  179. +2 −2 packages/plugins/aws-sigv4/package.json
  180. +8 −0 packages/plugins/hmac-upstream-signature/CHANGELOG.md
  181. +2 −2 packages/plugins/hmac-upstream-signature/package.json
  182. +64 −49 packages/plugins/hmac-upstream-signature/src/index.ts
  183. +31 −0 packages/plugins/opentelemetry/CHANGELOG.md
  184. +2 −3 packages/plugins/opentelemetry/package.json
  185. +37 −17 packages/plugins/opentelemetry/src/plugin.ts
  186. +25 −0 packages/plugins/prometheus/CHANGELOG.md
  187. +1 −2 packages/plugins/prometheus/package.json
  188. +1 −2 packages/plugins/prometheus/src/index.ts
  189. +50 −0 packages/runtime/CHANGELOG.md
  190. +3 −3 packages/runtime/package.json
  191. +119 −97 packages/runtime/src/createGatewayRuntime.ts
  192. +19 −5 packages/runtime/src/getReportingPlugin.ts
  193. +28 −0 packages/runtime/src/plugins/useHiveConsole.ts
  194. +49 −0 packages/runtime/src/plugins/useRetryOnSchemaReload.ts
  195. +1 −2 packages/runtime/src/plugins/useUpstreamRetry.ts
  196. +8 −3 packages/runtime/src/plugins/useUpstreamTimeout.ts
  197. +32 −22 packages/runtime/src/plugins/useWebhooks.ts
  198. +15 −3 packages/runtime/src/types.ts
  199. +111 −0 packages/runtime/tests/schema-reload.test.ts
  200. +3 −2 packages/runtime/tests/upstreamCancellation.spec.ts
  201. +13 −0 packages/stitch/CHANGELOG.md
  202. +2 −2 packages/stitch/package.json
  203. +7 −0 packages/stitching-directives/CHANGELOG.md
  204. +1 −1 packages/stitching-directives/package.json
  205. +10 −0 packages/transports/http-callback/CHANGELOG.md
  206. +2 −2 packages/transports/http-callback/package.json
  207. +10 −3 packages/transports/http-callback/src/index.ts
  208. +11 −0 packages/transports/http/CHANGELOG.md
  209. +2 −2 packages/transports/http/package.json
  210. +7 −0 packages/transports/ws/CHANGELOG.md
  211. +1 −1 packages/transports/ws/package.json
  212. +11 −0 packages/wrap/CHANGELOG.md
  213. +2 −2 packages/wrap/package.json
  214. +16 −0 renovate.json
  215. +2 −0 tsconfig.json
  216. +12 −1 vitest.projects.ts
  217. +1,695 −799 yarn.lock
14 changes: 7 additions & 7 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -11,29 +11,29 @@ concurrency:

env:
NODE_NO_WARNINGS: 1
CI: true

jobs:
bench:
strategy:
matrix:
e2e_runner: [node, bun]
products_size:
- 10
- 100
# The results don't change that much based on the list size,
# But later we might want them back
# - 10
# - 100
- 1000
name: Benchmark / ${{matrix.e2e_runner}} / ${{matrix.products_size}} items
name: ${{matrix.e2e_runner}} / ${{matrix.products_size}} items
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up env
uses: the-guild-org/shared-config/setup@v1
with:
node-version-file: .node-version
- name: Bench
run: ${{matrix.e2e_runner == 'bun' && 'yarn bun' || 'yarn'}} bench
run: ${{matrix.e2e_runner == 'bun' && './node_modules/.bin/bun' || 'yarn'}} bench
env:
PRODUCTS_SIZE: ${{matrix.products_size}}
E2E_GATEWAY_RUNNER: ${{matrix.e2e_runner}}
CI: true
12 changes: 6 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up env
uses: the-guild-org/shared-config/setup@v1
with:
@@ -35,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up env
uses: the-guild-org/shared-config/setup@v1
with:
@@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up env
uses: the-guild-org/shared-config/setup@v1
with:
@@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up env
uses: the-guild-org/shared-config/setup@v1
with:
@@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up env
uses: the-guild-org/shared-config/setup@v1
with:
@@ -87,7 +87,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up env
uses: the-guild-org/shared-config/setup@v1
with:
14 changes: 7 additions & 7 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ jobs:
message: ${{ steps.commit.outputs.message }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{github.event.pull_request.head.sha || github.sha}}
- name: Inspect
@@ -58,15 +58,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up env
uses: the-guild-org/shared-config/setup@v1
with:
node-version-file: .node-version
- name: Convert
run: yarn workspace @internal/examples run start --e2e=${{matrix.e2e}} --clean=true --publishedPackages='${{inputs.publishedPackages}}'
- name: Upload
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: example-${{matrix.e2e}}
# include all files and folders starting with a dot (.)
@@ -86,19 +86,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
token: ${{secrets.token}}
- name: Download
uses: actions/download-artifact@v4
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
with:
pattern: example-*
merge-multiple: true
- name: Diff
run: git diff --pretty
- name: Commit
if: github.ref != 'refs/heads/main'
uses: stefanzweifel/git-auto-commit-action@v5
uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5
with:
file_pattern: examples/
commit_message: 'docs(examples): converted from e2es'
@@ -107,7 +107,7 @@ jobs:
commit_author: theguild-bot <bot@the-guild.dev> # dont use the actor as an author
- name: PR
if: github.ref == 'refs/heads/main'
uses: peter-evans/create-pull-request@v7
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7
with:
token: ${{secrets.token}}
add-paths: examples/
67 changes: 67 additions & 0 deletions .github/workflows/memtest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Memtest
on:
push:
branches:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
NODE_NO_WARNINGS: 1
K6_VERSION: v0.56.0

jobs:
memtest:
strategy:
fail-fast: false
matrix:
test_name:
- auto-type-merging
- federation-example
- federation-mixed
- federation-subscriptions-passthrough
- opentelemetry
- programmatic-batching
e2e_runner:
- node
# - bun TODO: get memory snaps and heap sampling for bun. is it even necessary?
name: ${{matrix.e2e_runner}} / ${{matrix.test_name}}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install k6
run: |
mkdir -p "$HOME/.local/bin"
cd "$HOME/.local/bin"
curl https://github.com/grafana/k6/releases/download/${{ env.K6_VERSION }}/k6-${{ env.K6_VERSION }}-linux-amd64.tar.gz -L | tar xvz --strip-components 1
echo "$PWD" >> $GITHUB_PATH
- name: Set up env
uses: the-guild-org/shared-config/setup@v1
with:
# TODO: should we test more node versions? we usually always recommend upgrading to
# latest when people suspect leaks - latest is always the most stable
node-version-file: .node-version
- if: runner.os == 'Linux'
name: Hash Docker Images
id: hash-docker-images
run: | # get all "image: '" occurrences in the e2e tests and hash them
echo "result=$(grep -r -h "image: '" e2e | shasum | base64)" >> "$GITHUB_OUTPUT"
- if: runner.os == 'Linux'
name: Cache Docker Images
uses: ScribeMD/docker-cache@fb28c93772363301b8d0a6072ce850224b73f74e # 0.5.0
continue-on-error: true
with:
key: docker-images-${{ runner.os }}-${{ steps.hash-docker-images.outputs.result }}
- name: Test
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
env:
E2E_GATEWAY_RUNNER: ${{matrix.e2e_runner}}
with:
timeout_minutes: 30
max_attempts: 3
command: yarn test:mem ${{matrix.test_name}}
# TODO: publish heap allocation sampling profile to artifact
24 changes: 13 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ jobs:
)
steps:
- name: Version
uses: actions/github-script@v7
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
id: ver-gateway
with:
script: |
@@ -93,11 +93,11 @@ jobs:
console.log(r);
return r;
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
- name: Log in to GHCR
uses: docker/login-action@v3
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3
with:
registry: ghcr.io
username: ${{ github.actor }}
@@ -113,7 +113,7 @@ jobs:
- name: Inject version
run: yarn workspace @graphql-hive/gateway tsx scripts/inject-version ${{ fromJSON(steps.ver-gateway.outputs.result).version }}
- name: Bake and Push
uses: docker/bake-action@v6
uses: docker/bake-action@4ba453fbc2db7735392b93edf935aaf9b1e8f747 # v6
env:
GATEWAY_TAGS: ${{ fromJSON(steps.ver-gateway.outputs.result).tags }}
with:
@@ -125,7 +125,7 @@ jobs:
push: true
- if: github.event_name == 'pull_request'
name: Comment on PR
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
with:
# match pr comment like with changesets-snapshot-action from the guild's shared-config
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
@@ -153,7 +153,7 @@ jobs:
[ubuntu-latest, macos-13, macos-14, windows-latest, ubuntu-24.04-arm]
steps:
- name: Version
uses: actions/github-script@v7
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
id: ver-gateway
with:
result-encoding: string
@@ -167,14 +167,16 @@ jobs:
console.log({ version });
return version;
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- if: runner.os == 'Windows'
name: Install Windows SDK
run: scripts\install-winsdk.ps1
- name: Set up env
uses: the-guild-org/shared-config/setup@v1
with:
node-version-file: .node-version
# we skip-build on ubuntu arm because the "canvas" package wont build and there are no prebuilts
install-command: ${{ matrix.os == 'ubuntu-24.04-arm' && 'yarn install --immutable --mode=skip-build' || '' }}
- name: Build
run: yarn build
- name: Bundle
@@ -197,7 +199,7 @@ jobs:
echo "path=${{ steps.binary.outputs.path }}.gz" >> ${{ runner.os == 'Windows' && '$ENV:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
- if: github.ref == 'refs/heads/main'
name: Upload release
uses: svenstaro/upload-release-action@v2
uses: svenstaro/upload-release-action@04733e069f2d7f7f0b4aebc4fbdbce8613b03ccd # v2
with:
repo_token: ${{ secrets.BOT_GITHUB_TOKEN }}
tag: hive-gateway@${{ steps.ver-gateway.outputs.result }}
@@ -209,13 +211,13 @@ jobs:
- if: github.event_name == 'pull_request'
name: Upload artifact
id: upload
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: ${{ steps.binary.outputs.name }}
path: ${{ steps.binary.outputs.path }}
- if: github.event_name == 'pull_request'
name: Comment on PR
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
with:
# match pr comment like with changesets-snapshot-action from the guild's shared-config
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
Loading