diff --git a/.changeset/good-experts-repair.md b/.changeset/good-experts-repair.md deleted file mode 100644 index 37aef92f934..00000000000 --- a/.changeset/good-experts-repair.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@apollo/client": patch ---- - -Add an explicit return type for the `useReadQuery` hook called `UseReadQueryResult`. Previously the return type of this hook was inferred from the return value. diff --git a/.changeset/stupid-chairs-wait.md b/.changeset/stupid-chairs-wait.md deleted file mode 100644 index fb7c32fd1be..00000000000 --- a/.changeset/stupid-chairs-wait.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@apollo/client": patch ---- - -#11206 used the TypeScript syntax `infer X extends Y` that was introduced in TS 4.8. -This caused some problems for some users, so we are rolling back to a more backwars-compatible (albeit slightly less performant) type. diff --git a/CHANGELOG.md b/CHANGELOG.md index fa43468947b..7db41c5d5a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # @apollo/client +## 3.8.7 + +### Patch Changes + +- [#11297](https://github.com/apollographql/apollo-client/pull/11297) [`c8c76a522`](https://github.com/apollographql/apollo-client/commit/c8c76a522e593de0d06cff73fde2d9e88152bed6) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Add an explicit return type for the `useReadQuery` hook called `UseReadQueryResult`. Previously the return type of this hook was inferred from the return value. + +- [#11337](https://github.com/apollographql/apollo-client/pull/11337) [`bb1da8349`](https://github.com/apollographql/apollo-client/commit/bb1da8349e785c54fb4030f269602c900adf23a0) Thanks [@phryneas](https://github.com/phryneas)! - #11206 used the TypeScript syntax `infer X extends Y` that was introduced in TS 4.8. + This caused some problems for some users, so we are rolling back to a more backwars-compatible (albeit slightly less performant) type. + ## 3.8.6 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index 41db6d1fd79..88665d8bd41 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/client", - "version": "3.8.6", + "version": "3.8.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apollo/client", - "version": "3.8.6", + "version": "3.8.7", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -100,7 +100,7 @@ "whatwg-fetch": "3.6.19" }, "engines": { - "npm": "^7.20.3 || ^8.0.0 || ^9.0.0" + "npm": "^7.20.3 || ^8.0.0 || ^9.0.0 || ^10.0.0" }, "peerDependencies": { "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0", diff --git a/package.json b/package.json index b5636e3c7b4..23178b8b3d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/client", - "version": "3.8.6", + "version": "3.8.7", "description": "A fully-featured caching GraphQL client.", "private": true, "keywords": [