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: dotansimha/graphql-yoga
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @graphql-yoga/plugin-graphql-sse@2.0.4
Choose a base ref
...
head repository: dotansimha/graphql-yoga
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @graphql-yoga/plugin-graphql-sse@2.0.5
Choose a head ref

Commits on Aug 11, 2023

  1. Copy the full SHA
    fd83f18 View commit details

Commits on Aug 22, 2023

  1. Copy the full SHA
    5740159 View commit details
  2. chore(release): update monorepo packages versions (#2968)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    theguild-bot and github-actions[bot] authored Aug 22, 2023
    Copy the full SHA
    ceb5b14 View commit details

Commits on Aug 24, 2023

  1. Disable Vercel E2E

    ardatan authored Aug 24, 2023
    Copy the full SHA
    7bf8fce View commit details
  2. fix(deps): update dependency next-auth to v4.23.1 (#2949)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 24, 2023
    Copy the full SHA
    e496466 View commit details
  3. chore(deps): update dependency netlify-cli to v16 (#2960)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 24, 2023
    Copy the full SHA
    be36b11 View commit details
  4. fix(deps): update dependency next-sitemap to v4.2.2 (#2955)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 24, 2023
    Copy the full SHA
    cda0452 View commit details
  5. chore(deps): update dependency prettier-plugin-svelte to v3 (#2930)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 24, 2023
    Copy the full SHA
    68819ce View commit details
  6. chore(deps): update typescript-eslint monorepo to v6.4.1 (#2945)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 24, 2023
    Copy the full SHA
    e8d6f1d View commit details
  7. chore(deps): update dependency @babel/preset-typescript to v7.22.11 (#…

    …2969)
    
    * chore(deps): update dependency @babel/preset-typescript to v7.22.11
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Aug 24, 2023
    Copy the full SHA
    cbd5fab View commit details
  8. chore(deps): update dependency eslint-config-prettier to v9 (#2948)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 24, 2023
    Copy the full SHA
    285c9fc View commit details
  9. chore(deps): update dependency lint-staged to v14 (#2964)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 24, 2023
    Copy the full SHA
    bdf9564 View commit details

Commits on Aug 25, 2023

  1. fix(deps): update dependency nextra to v2.12.1 (#2923)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 25, 2023
    Copy the full SHA
    9737613 View commit details

Commits on Aug 28, 2023

  1. chore(deps): update typescript-eslint monorepo to v6.5.0 (#2974)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 28, 2023
    Copy the full SHA
    9f753eb View commit details
  2. fix(deps): update dependency nextra to v2.12.2 (#2972)

    * fix(deps): update dependency nextra to v2.12.2
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Aug 28, 2023
    Copy the full SHA
    a6112b2 View commit details
  3. fix(deps): update dependency @theguild/components to v5.2.2 (#2971)

    * fix(deps): update dependency @theguild/components to v5.2.2
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Aug 28, 2023
    Copy the full SHA
    9fedb74 View commit details
  4. fix(deps): update dependency nextra to v2.12.3 (#2976)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 28, 2023
    Copy the full SHA
    d143af1 View commit details

Commits on Sep 4, 2023

  1. chore(deps): update actions/checkout action to v4 (#2983)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 4, 2023
    Copy the full SHA
    3ed9a1a View commit details

Commits on Sep 5, 2023

  1. Copy the full SHA
    bb583a1 View commit details
  2. chore(deps): update dependency @babel/preset-typescript to v7.22.15 (#…

    …2982)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 5, 2023
    Copy the full SHA
    a618ad0 View commit details
  3. fix(deps): update envelop (#2980)

    * fix(deps): update envelop
    
    * chore(dependencies): updated changesets for modified dependencies
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Sep 5, 2023
    Copy the full SHA
    6fd67f7 View commit details
  4. chore(deps): update typescript-eslint monorepo to v6.6.0 (#2986)

    * chore(deps): update typescript-eslint monorepo to v6.6.0
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Sep 5, 2023
    Copy the full SHA
    c2c9357 View commit details
  5. chore(release): update monorepo packages versions (#2987)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    theguild-bot and github-actions[bot] authored Sep 5, 2023
    Copy the full SHA
    f4a69dd View commit details
  6. Update integration tests to test File.stream and File.arrayBuffer (

    …#2988)
    
    * Update integration tests to test `File.stream` and `File.arrayBuffer`
    
    * Go
    
    * Go
    ardatan authored Sep 5, 2023
    Copy the full SHA
    968eb01 View commit details
  7. APQ: Follow Apollo's implementation more & integration tests for Apol…

    …lo Client (#2985)
    
    * Integration tests for APQ plugin and Apollo Client
    
    * Skip v15
    
    * Go
    
    * Go
    
    * Lint
    
    * Follow Apollo's implementation
    
    * Fix tests
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    ardatan and github-actions[bot] authored Sep 5, 2023
    Copy the full SHA
    75ee852 View commit details

Commits on Sep 7, 2023

  1. chore(deps): update apollographql/federation-subgraph-compatibility a…

    …ction to v2 (#2990)
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 7, 2023
    Copy the full SHA
    69ce2bf View commit details

Commits on Sep 8, 2023

  1. Copy the full SHA
    f180d87 View commit details
  2. Copy the full SHA
    a043514 View commit details
  3. fix(deps): update dependency bun-types to v1 (#2994)

    * fix(deps): update dependency bun-types to v1
    
    * Update package.json
    
    ---------
    
    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 Sep 8, 2023
    Copy the full SHA
    4128771 View commit details

Commits on Sep 12, 2023

  1. Copy the full SHA
    28395b8 View commit details

Commits on Sep 14, 2023

  1. Copy the full SHA
    faf59f1 View commit details

Commits on Sep 18, 2023

  1. chore(deps): update typescript-eslint monorepo to v6.7.2 (#2995)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 18, 2023
    Copy the full SHA
    9129db3 View commit details

Commits on Sep 20, 2023

  1. fix(deps): update dependency @theguild/components to v5.2.3 (#3001)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Sep 20, 2023
    Copy the full SHA
    8eb1d80 View commit details

Commits on Sep 24, 2023

  1. fix(deps): update dependency nextra to v2.13.0 (#3011)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 24, 2023
    Copy the full SHA
    7237bd2 View commit details

Commits on Sep 26, 2023

  1. fix(deps): update dependency nextra to v2.13.1 (#3014)

    * fix(deps): update dependency nextra to v2.13.1
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Sep 26, 2023
    Copy the full SHA
    3543869 View commit details
  2. chore(deps): update typescript-eslint monorepo to v6.7.3 (#3013)

    * chore(deps): update typescript-eslint monorepo to v6.7.3
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Sep 26, 2023
    Copy the full SHA
    049c54b View commit details
  3. chore(deps): update dependency ts-morph to v20 (#3008)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 26, 2023
    Copy the full SHA
    31df14b View commit details

Commits on Sep 27, 2023

  1. chore(deps): update dependency @azure/functions to v4 (#3017)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 27, 2023
    Copy the full SHA
    c5233d1 View commit details
  2. fix(deps): update dependency @theguild/components to v5.2.4 (#3010)

    * fix(deps): update dependency @theguild/components to v5.2.4
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Sep 27, 2023
    Copy the full SHA
    cf77a9a View commit details
  3. fix type for in memory cache factory (#3000)

    * fix type for in memory cache factory
    
    * changeset
    
    * make TypeScript happy with a cast instead of nested function
    EmrysMyrddin authored Sep 27, 2023
    Copy the full SHA
    caf7588 View commit details
  4. fix type and documentation for dynamic schema function (#3004)

    * fix type and documentation for dynamic schema function
    
    * fix schema tests
    
    * changeset
    
    * fix type for generic auth
    
    * fix createSchema type
    
    * fix createSchema tests
    EmrysMyrddin authored Sep 27, 2023
    Copy the full SHA
    bf602ed View commit details
  5. [response-cache] update @envelop/response-cache with support of scope…

    …, defer and stream (#2993)
    
    * [response-cache] support @CacheControl(scope: CacheControlScope)
    
    * chore(dependencies): updated changesets for modified dependencies
    
    * use metadata helper
    
    * chore(dependencies): updated changesets for modified dependencies
    
    * add tests for stream and defer directives
    
    * changeset
    
    * update envelop plugin to stable release
    
    * chore(dependencies): updated changesets for modified dependencies
    
    * add documentation
    
    * fix typo
    
    * chore(dependencies): updated changesets for modified dependencies
    
    * give access to request instead of context in cache key factory
    
    * Update packages/plugins/response-cache/package.json
    
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    
    * update lockfile
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    3 people authored Sep 27, 2023
    Copy the full SHA
    0c6625a View commit details
  6. fix(deps): update dependency next-sitemap to v4.2.3 (#2991)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 27, 2023
    Copy the full SHA
    725deb0 View commit details
  7. Copy the full SHA
    1cfcd02 View commit details

Commits on Sep 28, 2023

  1. fix(deps): update envelop (#3025)

    * fix(deps): update envelop
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Sep 28, 2023
    Copy the full SHA
    4d3544f View commit details
  2. fix(deps): update envelop (#3026)

    * fix(deps): update envelop
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Sep 28, 2023
    Copy the full SHA
    365d028 View commit details
  3. chore(deps): update dependency @babel/preset-typescript to v7.23.0 (#…

    …3012)
    
    * chore(deps): update dependency @babel/preset-typescript to v7.23.0
    
    * chore(dependencies): updated changesets for modified dependencies
    
    ---------
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    renovate[bot] and github-actions[bot] authored Sep 28, 2023
    Copy the full SHA
    03974d7 View commit details
  4. chore(deps): update actions/checkout digest to 8ade135 (#3009)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Sep 28, 2023
    Copy the full SHA
    a1bc217 View commit details
  5. fix response cache usage with subscriptions (#3006)

    Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    3 people authored Sep 28, 2023
    Copy the full SHA
    2a12236 View commit details
  6. [JWT] allow getToken to return a promise (#3029)

    * [JWT] allow getToken to return a promise
    
    * changeset
    EmrysMyrddin authored Sep 28, 2023
    Copy the full SHA
    2d0cd18 View commit details
Showing with 4,270 additions and 1,702 deletions.
  1. +1 −1 .github/workflows/benchmark.yml
  2. +7 −7 .github/workflows/ci.yml
  3. +2 −2 .github/workflows/deployment-e2e.yml
  4. +1 −1 .github/workflows/website-integrity.yml
  5. +1 −1 .github/workflows/website.yml
  6. +1 −0 .gitignore
  7. +14 −0 benchmark/CHANGELOG.md
  8. +4 −4 benchmark/package.json
  9. +5 −1 benchmark/start-server.ts
  10. +2 −2 examples/apollo-federation-compatibility/package.json
  11. +8 −0 examples/apollo-federation/gateway/CHANGELOG.md
  12. +3 −3 examples/apollo-federation/gateway/package.json
  13. +8 −0 examples/apollo-federation/service/CHANGELOG.md
  14. +2 −2 examples/apollo-federation/service/package.json
  15. +8 −0 examples/aws-lambda/lambda/CHANGELOG.md
  16. +2 −2 examples/aws-lambda/lambda/package.json
  17. +2 −2 examples/azure-function/package.json
  18. +3 −3 examples/bun/package.json
  19. +8 −0 examples/cloudflare-advanced/CHANGELOG.md
  20. +2 −2 examples/cloudflare-advanced/package.json
  21. +8 −0 examples/cloudflare-modules/CHANGELOG.md
  22. +2 −2 examples/cloudflare-modules/package.json
  23. +1 −1 examples/cookies/package.json
  24. +3 −3 examples/defer-stream/package.json
  25. +1 −1 examples/error-handling/package.json
  26. +1 −1 examples/express-helmet/package.json
  27. +1 −1 examples/express/package.json
  28. +2 −2 examples/fastify-modules/package.json
  29. +1 −1 examples/fastify/package.json
  30. +1 −1 examples/file-upload-nextjs-pothos/package.json
  31. +1 −1 examples/file-upload-nexus/package.json
  32. +1 −1 examples/file-upload/package.json
  33. +8 −0 examples/firebase/functions/CHANGELOG.md
  34. +1 −1 examples/firebase/functions/package.json
  35. +8 −0 examples/gcp-cloud-run/CHANGELOG.md
  36. +2 −2 examples/gcp-cloud-run/package.json
  37. +1 −1 examples/gcp-functions/package.json
  38. +2 −2 examples/generic-auth/package.json
  39. +1 −1 examples/graphql-armor/package.json
  40. +2 −2 examples/graphql-sse/package.json
  41. +1 −1 examples/graphql-ws/package.json
  42. +8 −0 examples/hackernews/CHANGELOG.md
  43. +2 −2 examples/hackernews/package.json
  44. +12 −0 examples/hapi/__integration-tests__/hapi.spec.ts
  45. +1 −1 examples/hapi/package.json
  46. +8 −9 examples/hapi/src/app.ts
  47. +2 −2 examples/hello-world/package.json
  48. +1 −1 examples/issue-template/package.json
  49. +1 −1 examples/koa/package.json
  50. +2 −2 examples/live-query/package.json
  51. +2 −2 examples/nestjs-apollo-federation-compatibility/package.json
  52. +2 −2 examples/netlify-edge/package.json
  53. +8 −0 examples/nextjs-app/CHANGELOG.md
  54. +2 −2 examples/nextjs-app/package.json
  55. +2 −2 examples/nextjs-auth/package.json
  56. +1 −1 examples/nextjs-legacy-pages/package.json
  57. +1 −1 examples/nextjs-ws/package.json
  58. +1 −1 examples/node-esm/package.json
  59. +1 −1 examples/node-ts/package.json
  60. +1 −1 examples/pothos/package.json
  61. +1 −1 examples/redis-pub-sub/package.json
  62. +2 −2 examples/response-cache/package.json
  63. +1 −1 examples/service-worker/package.json
  64. +2 −2 examples/sofa/package.json
  65. +1 −1 examples/subscriptions/package.json
  66. +7 −7 examples/sveltekit/package.json
  67. +1 −1 examples/uwebsockets/package.json
  68. +1 −0 jest.config.js
  69. +2 −2 package.json
  70. +2 −0 packages/client/apollo-link/CHANGELOG.md
  71. +2 −2 packages/client/apollo-link/package.json
  72. +2 −0 packages/client/urql-exchange/CHANGELOG.md
  73. +2 −2 packages/client/urql-exchange/package.json
  74. +9 −0 packages/graphql-yoga/CHANGELOG.md
  75. +73 −75 packages/graphql-yoga/__integration-tests__/file-uploads.spec.ts
  76. BIN packages/graphql-yoga/__integration-tests__/fixtures/image.png
  77. +108 −0 packages/graphql-yoga/__tests__/custom-serializer.spec.ts
  78. +16 −17 packages/graphql-yoga/__tests__/schema.spec.ts
  79. +5 −4 packages/graphql-yoga/package.json
  80. +21 −11 packages/graphql-yoga/src/plugins/result-processor/stringify.ts
  81. +9 −2 packages/graphql-yoga/src/plugins/types.ts
  82. +13 −9 packages/graphql-yoga/src/plugins/use-schema.ts
  83. +1 −1 packages/graphql-yoga/src/schema.ts
  84. +1 −1 packages/graphql-yoga/src/server.ts
  85. +25 −0 packages/nestjs-federation/CHANGELOG.md
  86. +3 −3 packages/nestjs-federation/package.json
  87. +28 −4 packages/nestjs-federation/src/index.ts
  88. +17 −0 packages/nestjs/CHANGELOG.md
  89. +13 −0 packages/nestjs/__tests__/fixtures/graphql/cats/cats.resolvers.ts
  90. +1 −0 packages/nestjs/__tests__/fixtures/graphql/cats/cats.types.graphql
  91. +2 −1 packages/nestjs/__tests__/graphql-http.spec.ts
  92. +30 −0 packages/nestjs/__tests__/subscriptions.spec.ts
  93. +3 −3 packages/nestjs/package.json
  94. +23 −1 packages/nestjs/src/index.ts
  95. +8 −0 packages/plugins/apollo-inline-trace/CHANGELOG.md
  96. +3 −3 packages/plugins/apollo-inline-trace/package.json
  97. +13 −0 packages/plugins/apq/CHANGELOG.md
  98. +91 −0 packages/plugins/apq/__integration-tests__/apollo-client.test.ts
  99. +3 −1 packages/plugins/apq/__tests__/apq.spec.ts
  100. +5 −3 packages/plugins/apq/package.json
  101. +2 −0 packages/plugins/apq/src/index.ts
  102. +8 −0 packages/plugins/csrf-prevention/CHANGELOG.md
  103. +3 −3 packages/plugins/csrf-prevention/package.json
  104. +8 −0 packages/plugins/defer-stream/CHANGELOG.md
  105. +13 −18 packages/plugins/defer-stream/__tests__/defer-stream.spec.ts
  106. +2 −2 packages/plugins/defer-stream/package.json
  107. +8 −0 packages/plugins/disable-introspection/CHANGELOG.md
  108. +2 −2 packages/plugins/disable-introspection/package.json
  109. +8 −0 packages/plugins/graphql-sse/CHANGELOG.md
  110. +3 −3 packages/plugins/graphql-sse/package.json
  111. +14 −0 packages/plugins/jwt/CHANGELOG.md
  112. +2 −2 packages/plugins/jwt/package.json
  113. +2 −2 packages/plugins/jwt/src/index.ts
  114. +8 −0 packages/plugins/persisted-operations/CHANGELOG.md
  115. +3 −3 packages/plugins/persisted-operations/package.json
  116. +33 −0 packages/plugins/prometheus/CHANGELOG.md
  117. +3 −3 packages/plugins/prometheus/package.json
  118. +41 −0 packages/plugins/response-cache/CHANGELOG.md
  119. +505 −2 packages/plugins/response-cache/__tests__/response-cache.spec.ts
  120. +5 −4 packages/plugins/response-cache/package.json
  121. +35 −21 packages/plugins/response-cache/src/index.ts
  122. +8 −0 packages/plugins/sofa/CHANGELOG.md
  123. +2 −2 packages/plugins/sofa/package.json
  124. +8 −0 packages/render-graphiql/CHANGELOG.md
  125. +2 −2 packages/render-graphiql/package.json
  126. +2,743 −1,366 pnpm-lock.yaml
  127. +3 −3 website/package.json
  128. +1 −1 website/src/pages/docs/_meta.json
  129. +41 −0 website/src/pages/docs/features/response-caching.mdx
  130. +1 −1 website/src/pages/docs/features/schema.mdx
  131. +4 −4 website/src/pages/docs/integrations/integration-with-deno.mdx
  132. +8 −9 website/src/pages/docs/integrations/integration-with-hapi.mdx
  133. 0 website/src/pages/docs/{preparing-for-production.mdx → prepare-for-production.mdx}
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4

- name: Setup env
uses: the-guild-org/shared-config/setup@main
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ jobs:
graphql-version: ['15.8.0', '16.6.0']
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4

- name: Install Node
uses: actions/setup-node@v3
@@ -70,7 +70,7 @@ jobs:
graphql-version: ['15.8.0', '16.6.0']
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4

- name: Install Node
uses: actions/setup-node@v3
@@ -120,7 +120,7 @@ jobs:
graphql-version: ['15.8.0', '16.6.0']
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4

- name: Install Node
uses: actions/setup-node@v3
@@ -164,7 +164,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4

- name: Setup env
uses: the-guild-org/shared-config/setup@main
@@ -182,7 +182,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4

- name: Setup env
uses: the-guild-org/shared-config/setup@main
@@ -214,7 +214,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Install Node
uses: actions/setup-node@v3
with:
@@ -244,7 +244,7 @@ jobs:
- name: Add Rover to PATH
run: echo "$HOME/.rover/bin" >> $GITHUB_PATH
- name: Apollo Federation Subgraph Compatibility
uses: apollographql/federation-subgraph-compatibility@v1
uses: apollographql/federation-subgraph-compatibility@v2
with:
workingDirectory: examples/apollo-federation-compatibility
compose: docker-compose.yaml
4 changes: 2 additions & 2 deletions .github/workflows/deployment-e2e.yml
Original file line number Diff line number Diff line change
@@ -9,14 +9,14 @@ jobs:
strategy:
fail-fast: false
matrix:
plan: ['cf-worker', 'cf-modules', 'azure-function', 'aws-lambda', 'vercel-function']
plan: ['cf-worker', 'cf-modules', 'azure-function', 'aws-lambda']
name: e2e / ${{ matrix.plan }}

runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4

- name: Setup env
uses: the-guild-org/shared-config/setup@main
2 changes: 1 addition & 1 deletion .github/workflows/website-integrity.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Fetch
run: git fetch origin main

2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ jobs:
'push'
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
with:
fetch-depth: 0

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -15,3 +15,4 @@ out/

packages/graphql-yoga/src/landing-page-html.ts
packages/graphql-yoga/src/graphiql-html.ts
.tool-versions
14 changes: 14 additions & 0 deletions benchmark/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# hello-world-benchmark

## 2.2.0

### Patch Changes

- Updated dependencies
[[`0c6625ad`](https://github.com/dotansimha/graphql-yoga/commit/0c6625ad362db284e26b526e508d8506e1aa3a10),
[`2a122360`](https://github.com/dotansimha/graphql-yoga/commit/2a1223601d24d8f5589a0a7be639a5ff2929d7f0),
[`0c6625ad`](https://github.com/dotansimha/graphql-yoga/commit/0c6625ad362db284e26b526e508d8506e1aa3a10),
[`0c6625ad`](https://github.com/dotansimha/graphql-yoga/commit/0c6625ad362db284e26b526e508d8506e1aa3a10),
[`caf75884`](https://github.com/dotansimha/graphql-yoga/commit/caf758844064ddcbbb1becfd1ff444b639c2fa13),
[`bf602edf`](https://github.com/dotansimha/graphql-yoga/commit/bf602edf790590de1db26b5f3fc39f895104055c)]:
- @graphql-yoga/plugin-response-cache@2.2.0
- graphql-yoga@4.0.5

## 2.1.1

### Patch Changes
8 changes: 4 additions & 4 deletions benchmark/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hello-world-benchmark",
"version": "2.1.1",
"version": "2.2.0",
"type": "module",
"private": true,
"scripts": {
@@ -12,11 +12,11 @@
"test": "start-server-and-test start http://127.0.0.1:4000/ping loadtest"
},
"dependencies": {
"@envelop/graphql-jit": "6.0.1",
"@envelop/graphql-jit": "6.0.5",
"@faker-js/faker": "8.0.2",
"@graphql-yoga/plugin-response-cache": "2.1.1",
"@graphql-yoga/plugin-response-cache": "2.2.0",
"graphql": "16.6.0",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
},
"devDependencies": {
"start-server-and-test": "2.0.0"
6 changes: 5 additions & 1 deletion benchmark/start-server.ts
Original file line number Diff line number Diff line change
@@ -15,7 +15,11 @@ const yogaMap: Record<string, RequestListener> = {
schema,
logging: false,
multipart: false,
plugins: [useGraphQlJit()],
plugins: [
useGraphQlJit({
customJSONSerializer: true,
}),
],
graphqlEndpoint: '/graphql-jit',
}),
'/graphql-response-cache': createYoga<Context>({
4 changes: 2 additions & 2 deletions examples/apollo-federation-compatibility/package.json
Original file line number Diff line number Diff line change
@@ -14,10 +14,10 @@
},
"dependencies": {
"@apollo/subgraph": "^2.4.0",
"@graphql-yoga/plugin-apollo-inline-trace": "2.0.4",
"@graphql-yoga/plugin-apollo-inline-trace": "2.0.5",
"graphql": "16.6.0",
"graphql-tag": "2.12.6",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.0",
8 changes: 8 additions & 0 deletions examples/apollo-federation/gateway/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# apollo-federation-gateway-with-yoga

## 2.0.5

### Patch Changes

- Updated dependencies
[[`bf602edf`](https://github.com/dotansimha/graphql-yoga/commit/bf602edf790590de1db26b5f3fc39f895104055c)]:
- graphql-yoga@4.0.5

## 2.0.4

### Patch Changes
6 changes: 3 additions & 3 deletions examples/apollo-federation/gateway/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "apollo-federation-gateway-with-yoga",
"version": "2.0.4",
"version": "2.0.5",
"private": true,
"scripts": {
"check": "exit 0",
"start": "node index.js"
},
"dependencies": {
"@apollo/gateway": "2.4.7",
"@envelop/apollo-federation": "4.0.0",
"@envelop/apollo-federation": "4.0.3",
"graphql": "16.6.0",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
}
}
8 changes: 8 additions & 0 deletions examples/apollo-federation/service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# apollo-subgraph-with-yoga

## 2.0.5

### Patch Changes

- Updated dependencies
[[`bf602edf`](https://github.com/dotansimha/graphql-yoga/commit/bf602edf790590de1db26b5f3fc39f895104055c)]:
- graphql-yoga@4.0.5

## 2.0.4

### Patch Changes
4 changes: 2 additions & 2 deletions examples/apollo-federation/service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "apollo-subgraph-with-yoga",
"version": "2.0.4",
"version": "2.0.5",
"private": true,
"scripts": {
"check": "exit 0",
@@ -9,6 +9,6 @@
"dependencies": {
"@apollo/subgraph": "^2.4.0",
"graphql": "16.6.0",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
}
}
8 changes: 8 additions & 0 deletions examples/aws-lambda/lambda/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# graphql-lambda

## 2.0.5

### Patch Changes

- Updated dependencies
[[`bf602edf`](https://github.com/dotansimha/graphql-yoga/commit/bf602edf790590de1db26b5f3fc39f895104055c)]:
- graphql-yoga@4.0.5

## 2.0.4

### Patch Changes
4 changes: 2 additions & 2 deletions examples/aws-lambda/lambda/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-lambda",
"version": "2.0.4",
"version": "2.0.5",
"description": "",
"author": "",
"license": "ISC",
@@ -13,6 +13,6 @@
},
"dependencies": {
"graphql": "^16.3.0",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
}
}
4 changes: 2 additions & 2 deletions examples/azure-function/package.json
Original file line number Diff line number Diff line change
@@ -7,10 +7,10 @@
"check": "tsc --pretty --noEmit"
},
"dependencies": {
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
},
"devDependencies": {
"@azure/functions": "3.5.1",
"@azure/functions": "4.0.0",
"esbuild": "0.17.19",
"tslib": "2.5.3",
"typescript": "5.1.6"
6 changes: 3 additions & 3 deletions examples/bun/package.json
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
"version": "0.0.0",
"license": "MIT",
"scripts": {
"check": "bun wiptest",
"check": "bun test",
"start": "bun src/index.ts"
},
"dependencies": {
"bun-types": "^0.6.0",
"bun-types": "^1.0.0",
"graphql": "^16.6.0",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
},
"devDependencies": {
"@whatwg-node/fetch": "^0.9.0"
8 changes: 8 additions & 0 deletions examples/cloudflare-advanced/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# cloudflare-advanced

## 2.0.5

### Patch Changes

- Updated dependencies
[[`bf602edf`](https://github.com/dotansimha/graphql-yoga/commit/bf602edf790590de1db26b5f3fc39f895104055c)]:
- graphql-yoga@4.0.5

## 2.0.4

### Patch Changes
4 changes: 2 additions & 2 deletions examples/cloudflare-advanced/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudflare-advanced",
"version": "2.0.4",
"version": "2.0.5",
"private": true,
"scripts": {
"check": "tsc --pretty --noEmit",
@@ -9,7 +9,7 @@
"dependencies": {
"@cloudflare/workers-types": "^4.0.0",
"graphql": "16.6.0",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
},
"devDependencies": {
"ts-loader": "9.4.3",
8 changes: 8 additions & 0 deletions examples/cloudflare-modules/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# cloudflare

## 2.0.5

### Patch Changes

- Updated dependencies
[[`bf602edf`](https://github.com/dotansimha/graphql-yoga/commit/bf602edf790590de1db26b5f3fc39f895104055c)]:
- graphql-yoga@4.0.5

## 2.0.4

### Patch Changes
4 changes: 2 additions & 2 deletions examples/cloudflare-modules/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudflare",
"version": "2.0.4",
"version": "2.0.5",
"type": "module",
"private": true,
"module": "./dist/index.mjs",
@@ -11,7 +11,7 @@
},
"dependencies": {
"graphql": "16.6.0",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
},
"devDependencies": {
"@cloudflare/workers-types": "4.20230518.0",
2 changes: 1 addition & 1 deletion examples/cookies/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"dependencies": {
"@whatwg-node/server-plugin-cookies": "^1.0.0",
"graphql": "16.6.0",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
},
"devDependencies": {
"@types/node": "18.16.16",
6 changes: 3 additions & 3 deletions examples/defer-stream/package.json
Original file line number Diff line number Diff line change
@@ -7,10 +7,10 @@
"start": "ts-node src/index.ts"
},
"dependencies": {
"@graphql-yoga/plugin-defer-stream": "2.0.4",
"@graphql-yoga/render-graphiql": "4.0.4",
"@graphql-yoga/plugin-defer-stream": "2.0.5",
"@graphql-yoga/render-graphiql": "4.0.5",
"graphql": "16.6.0",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
},
"devDependencies": {
"ts-node": "10.9.1",
2 changes: 1 addition & 1 deletion examples/error-handling/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"dependencies": {
"@whatwg-node/fetch": "^0.9.7",
"graphql": "^16.1.0",
"graphql-yoga": "4.0.4"
"graphql-yoga": "4.0.5"
},
"devDependencies": {
"ts-node": "10.9.1",
Loading