diff --git a/.changeset/big-tables-clean.md b/.changeset/big-tables-clean.md deleted file mode 100644 index 675a94688..000000000 --- a/.changeset/big-tables-clean.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@graphql-yoga/plugin-response-cache': minor ---- - -Add `servedFromResponseCache` symbol property to responses served from the response cache in order -to allow other plugins to determine, whether a response was served from the cache and apply custom -logic based on that. diff --git a/benchmark/CHANGELOG.md b/benchmark/CHANGELOG.md index 59c68652d..4a93aae1e 100644 --- a/benchmark/CHANGELOG.md +++ b/benchmark/CHANGELOG.md @@ -1,5 +1,13 @@ # hello-world-benchmark +## 3.3.0 + +### Patch Changes + +- Updated dependencies + [[`353c0fed`](https://github.com/dotansimha/graphql-yoga/commit/353c0fed9435e8e81d854e2d9986270af8d424f4)]: + - @graphql-yoga/plugin-response-cache@3.3.0 + ## 3.2.1 ### Patch Changes diff --git a/benchmark/package.json b/benchmark/package.json index 6c9239ad0..6b9240d7d 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -1,6 +1,6 @@ { "name": "hello-world-benchmark", - "version": "3.2.1", + "version": "3.3.0", "type": "module", "private": true, "scripts": { @@ -14,7 +14,7 @@ "dependencies": { "@envelop/graphql-jit": "8.0.0", "@faker-js/faker": "8.0.2", - "@graphql-yoga/plugin-response-cache": "3.2.1", + "@graphql-yoga/plugin-response-cache": "3.3.0", "graphql": "16.6.0", "graphql-yoga": "5.1.1" }, diff --git a/examples/response-cache/package.json b/examples/response-cache/package.json index f40e7ad8a..6b8e5773e 100644 --- a/examples/response-cache/package.json +++ b/examples/response-cache/package.json @@ -13,7 +13,7 @@ "start": "ts-node src/main.ts" }, "dependencies": { - "@graphql-yoga/plugin-response-cache": "3.2.1", + "@graphql-yoga/plugin-response-cache": "3.3.0", "graphql": "16.6.0", "graphql-yoga": "5.1.1" }, diff --git a/packages/plugins/response-cache/CHANGELOG.md b/packages/plugins/response-cache/CHANGELOG.md index d5132fd60..ca10d2542 100644 --- a/packages/plugins/response-cache/CHANGELOG.md +++ b/packages/plugins/response-cache/CHANGELOG.md @@ -1,5 +1,15 @@ # @graphql-yoga/plugin-response-cache +## 3.3.0 + +### Minor Changes + +- [#3164](https://github.com/dotansimha/graphql-yoga/pull/3164) + [`353c0fed`](https://github.com/dotansimha/graphql-yoga/commit/353c0fed9435e8e81d854e2d9986270af8d424f4) + Thanks [@n1ru4l](https://github.com/n1ru4l)! - Add `servedFromResponseCache` symbol property to + responses served from the response cache in order to allow other plugins to determine, whether a + response was served from the cache and apply custom logic based on that. + ## 3.2.1 ### Patch Changes diff --git a/packages/plugins/response-cache/package.json b/packages/plugins/response-cache/package.json index 67fc4fec4..5be3a19a1 100644 --- a/packages/plugins/response-cache/package.json +++ b/packages/plugins/response-cache/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-yoga/plugin-response-cache", - "version": "3.2.1", + "version": "3.3.0", "type": "module", "description": "", "repository": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b55b596fc..86b5b3834 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -137,7 +137,7 @@ importers: specifier: 8.0.2 version: 8.0.2 '@graphql-yoga/plugin-response-cache': - specifier: 3.2.1 + specifier: 3.3.0 version: link:../packages/plugins/response-cache/dist graphql: specifier: 16.6.0 @@ -1262,7 +1262,7 @@ importers: examples/response-cache: dependencies: '@graphql-yoga/plugin-response-cache': - specifier: 3.2.1 + specifier: 3.3.0 version: link:../../packages/plugins/response-cache/dist graphql: specifier: 16.6.0