From 5b3ea679ce68839bd69b9c58743144bb09a7cd9b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Apr 2024 15:50:21 +0000 Subject: [PATCH] Version Packages --- .changeset/chatty-llamas-switch.md | 5 ----- .changeset/cold-dancers-call.md | 5 ----- .changeset/green-garlics-protect.md | 5 ----- .changeset/hungry-bobcats-battle.md | 5 ----- .changeset/kind-foxes-float.md | 5 ----- .changeset/old-onions-sleep.md | 5 ----- .changeset/spotty-garlics-knock.md | 5 ----- .changeset/strong-paws-kneel.md | 5 ----- .changeset/stupid-bears-cheat.md | 5 ----- .changeset/tasty-pillows-ring.md | 5 ----- .changeset/tiny-bugs-tap.md | 5 ----- .changeset/twelve-apples-vanish.md | 5 ----- .changeset/wet-plants-admire.md | 5 ----- CHANGELOG.md | 32 +++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 16 files changed, 35 insertions(+), 68 deletions(-) delete mode 100644 .changeset/chatty-llamas-switch.md delete mode 100644 .changeset/cold-dancers-call.md delete mode 100644 .changeset/green-garlics-protect.md delete mode 100644 .changeset/hungry-bobcats-battle.md delete mode 100644 .changeset/kind-foxes-float.md delete mode 100644 .changeset/old-onions-sleep.md delete mode 100644 .changeset/spotty-garlics-knock.md delete mode 100644 .changeset/strong-paws-kneel.md delete mode 100644 .changeset/stupid-bears-cheat.md delete mode 100644 .changeset/tasty-pillows-ring.md delete mode 100644 .changeset/tiny-bugs-tap.md delete mode 100644 .changeset/twelve-apples-vanish.md delete mode 100644 .changeset/wet-plants-admire.md diff --git a/.changeset/chatty-llamas-switch.md b/.changeset/chatty-llamas-switch.md deleted file mode 100644 index 334cb9a020c..00000000000 --- a/.changeset/chatty-llamas-switch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": minor ---- - -Adds `createMockFetch` utility for integration testing that includes the link chain diff --git a/.changeset/cold-dancers-call.md b/.changeset/cold-dancers-call.md deleted file mode 100644 index 08885f636e3..00000000000 --- a/.changeset/cold-dancers-call.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": minor ---- - -`createTestSchema` now uses graphql-tools `mergeResolvers` to merge resolvers instead of a shallow merge. diff --git a/.changeset/green-garlics-protect.md b/.changeset/green-garlics-protect.md deleted file mode 100644 index 53dbebb4f55..00000000000 --- a/.changeset/green-garlics-protect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": minor ---- - -Rename `createProxiedSchema` to `createTestSchema` and `createMockFetch` to `createSchemaFetch`. diff --git a/.changeset/hungry-bobcats-battle.md b/.changeset/hungry-bobcats-battle.md deleted file mode 100644 index c01bffc7356..00000000000 --- a/.changeset/hungry-bobcats-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Adjust `useReadQuery` wrapper logic to work with transported objects. diff --git a/.changeset/kind-foxes-float.md b/.changeset/kind-foxes-float.md deleted file mode 100644 index 0ecc3a14155..00000000000 --- a/.changeset/kind-foxes-float.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Wrap `useQueryRefHandlers` in `wrapHook`. diff --git a/.changeset/old-onions-sleep.md b/.changeset/old-onions-sleep.md deleted file mode 100644 index e7961c33261..00000000000 --- a/.changeset/old-onions-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Export `WatchFragmentOptions` and `WatchFragmentResult` from main entrypoint and fix bug where `this` wasn't bound to the `watchFragment` method on `ApolloClient`. diff --git a/.changeset/spotty-garlics-knock.md b/.changeset/spotty-garlics-knock.md deleted file mode 100644 index fa58c519668..00000000000 --- a/.changeset/spotty-garlics-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": minor ---- - -Call `createMockSchema` inside `createTestSchema`. diff --git a/.changeset/strong-paws-kneel.md b/.changeset/strong-paws-kneel.md deleted file mode 100644 index 85262ce36f4..00000000000 --- a/.changeset/strong-paws-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": minor ---- - -Add ability to set min and max delay in `createSchemaFetch` diff --git a/.changeset/stupid-bears-cheat.md b/.changeset/stupid-bears-cheat.md deleted file mode 100644 index 636298cae65..00000000000 --- a/.changeset/stupid-bears-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": minor ---- - -Adds proxiedSchema and createMockSchema testing utilities diff --git a/.changeset/tasty-pillows-ring.md b/.changeset/tasty-pillows-ring.md deleted file mode 100644 index 5c0f9643bb5..00000000000 --- a/.changeset/tasty-pillows-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": minor ---- - -Add `watchFragment` method to the cache and expose it on ApolloClient, refactor `useFragment` using `watchFragment`. diff --git a/.changeset/tiny-bugs-tap.md b/.changeset/tiny-bugs-tap.md deleted file mode 100644 index e45b27b7f56..00000000000 --- a/.changeset/tiny-bugs-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": minor ---- - -Remove alpha designation for `queryRef.toPromise()` to stabilize the API. diff --git a/.changeset/twelve-apples-vanish.md b/.changeset/twelve-apples-vanish.md deleted file mode 100644 index 99dc9cb6c5f..00000000000 --- a/.changeset/twelve-apples-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": minor ---- - -Remove alpha designation for `createQueryPreloader` to stabilize the API. diff --git a/.changeset/wet-plants-admire.md b/.changeset/wet-plants-admire.md deleted file mode 100644 index 4cfd15198e3..00000000000 --- a/.changeset/wet-plants-admire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": minor ---- - -Moves new testing utilities to their own entrypoint, `testing/experimental` diff --git a/CHANGELOG.md b/CHANGELOG.md index c7347cf2386..29faf90bc17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # @apollo/client +## 3.10.0 + +### Minor Changes + +- [#11605](https://github.com/apollographql/apollo-client/pull/11605) [`e2dd4c9`](https://github.com/apollographql/apollo-client/commit/e2dd4c95290cea604b548cc446826d89aafe8e11) Thanks [@alessbell](https://github.com/alessbell)! - Adds `createMockFetch` utility for integration testing that includes the link chain + +- [#11760](https://github.com/apollographql/apollo-client/pull/11760) [`acd1982`](https://github.com/apollographql/apollo-client/commit/acd1982a59ed66fc44fa9e70b08a31c69dac35a6) Thanks [@alessbell](https://github.com/alessbell)! - `createTestSchema` now uses graphql-tools `mergeResolvers` to merge resolvers instead of a shallow merge. + +- [#11764](https://github.com/apollographql/apollo-client/pull/11764) [`f046aa9`](https://github.com/apollographql/apollo-client/commit/f046aa9fc24ac197a797045d280811a3bbe05806) Thanks [@alessbell](https://github.com/alessbell)! - Rename `createProxiedSchema` to `createTestSchema` and `createMockFetch` to `createSchemaFetch`. + +- [#11777](https://github.com/apollographql/apollo-client/pull/11777) [`5dfc79f`](https://github.com/apollographql/apollo-client/commit/5dfc79fa6d974362f38361f7dffbe984a9546377) Thanks [@alessbell](https://github.com/alessbell)! - Call `createMockSchema` inside `createTestSchema`. + +- [#11774](https://github.com/apollographql/apollo-client/pull/11774) [`2583488`](https://github.com/apollographql/apollo-client/commit/2583488677912cb4500e5fb9e3f91b5c113c4cdb) Thanks [@alessbell](https://github.com/alessbell)! - Add ability to set min and max delay in `createSchemaFetch` + +- [#11605](https://github.com/apollographql/apollo-client/pull/11605) [`e2dd4c9`](https://github.com/apollographql/apollo-client/commit/e2dd4c95290cea604b548cc446826d89aafe8e11) Thanks [@alessbell](https://github.com/alessbell)! - Adds proxiedSchema and createMockSchema testing utilities + +- [#11465](https://github.com/apollographql/apollo-client/pull/11465) [`7623da7`](https://github.com/apollographql/apollo-client/commit/7623da7720855b0c19e13ff9124679f426a39725) Thanks [@alessbell](https://github.com/alessbell)! - Add `watchFragment` method to the cache and expose it on ApolloClient, refactor `useFragment` using `watchFragment`. + +- [#11743](https://github.com/apollographql/apollo-client/pull/11743) [`78891f9`](https://github.com/apollographql/apollo-client/commit/78891f9ec81c0b7a7e010f5550a91965fa33a958) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Remove alpha designation for `queryRef.toPromise()` to stabilize the API. + +- [#11743](https://github.com/apollographql/apollo-client/pull/11743) [`78891f9`](https://github.com/apollographql/apollo-client/commit/78891f9ec81c0b7a7e010f5550a91965fa33a958) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Remove alpha designation for `createQueryPreloader` to stabilize the API. + +- [#11783](https://github.com/apollographql/apollo-client/pull/11783) [`440563a`](https://github.com/apollographql/apollo-client/commit/440563ab2c47efcb9c7d08f52531ade33d753037) Thanks [@alessbell](https://github.com/alessbell)! - Moves new testing utilities to their own entrypoint, `testing/experimental` + +### Patch Changes + +- [#11757](https://github.com/apollographql/apollo-client/pull/11757) [`9825295`](https://github.com/apollographql/apollo-client/commit/982529530893f66a1d236f0fff53862e513fc9a8) Thanks [@phryneas](https://github.com/phryneas)! - Adjust `useReadQuery` wrapper logic to work with transported objects. + +- [#11771](https://github.com/apollographql/apollo-client/pull/11771) [`e72cbba`](https://github.com/apollographql/apollo-client/commit/e72cbba07e5caa6d75b44ca8c766846e855a6c93) Thanks [@phryneas](https://github.com/phryneas)! - Wrap `useQueryRefHandlers` in `wrapHook`. + +- [#11754](https://github.com/apollographql/apollo-client/pull/11754) [`80d2ba5`](https://github.com/apollographql/apollo-client/commit/80d2ba579fe6d2a2d102d1fe79d7d503f31cd931) Thanks [@alessbell](https://github.com/alessbell)! - Export `WatchFragmentOptions` and `WatchFragmentResult` from main entrypoint and fix bug where `this` wasn't bound to the `watchFragment` method on `ApolloClient`. + ## 3.10.0-rc.1 ### Minor Changes diff --git a/package-lock.json b/package-lock.json index cf58b3c008c..d17a45e2735 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/client", - "version": "3.9.11", + "version": "3.10.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apollo/client", - "version": "3.9.11", + "version": "3.10.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 206bafb5aec..e815d64a5d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/client", - "version": "3.9.11", + "version": "3.10.0", "description": "A fully-featured caching GraphQL client.", "private": true, "keywords": [