Skip to content

Commit 001df18

Browse files
Version Packages (alpha) (#13139)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-4.2, this PR will be updated. ⚠️⚠️⚠️⚠️⚠️⚠️ `release-4.2` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `release-4.2`. ⚠️⚠️⚠️⚠️⚠️⚠️ # Releases ## @apollo/[email protected] ### Minor Changes - [#13130](#13130) [`dd12231`](dd12231) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Improve the accuracy of `client.query` return type to better detect the current `errorPolicy`. The `data` property is no longer nullable when the `errorPolicy` is `none`. This makes it possible to remove the `undefined` checks or optional chaining in most cases. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b5d1765 commit 001df18

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

.changeset/pre.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@
66
"@apollo/client-graphql-codegen": "2.0.0",
77
"@apollo/client-codemod-migrate-3-to-4": "1.0.2"
88
},
9-
"changesets": []
9+
"changesets": [
10+
"chilly-ravens-agree"
11+
]
1012
}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @apollo/client
22

3+
## 4.2.0-alpha.0
4+
5+
### Minor Changes
6+
7+
- [#13130](https://github.com/apollographql/apollo-client/pull/13130) [`dd12231`](https://github.com/apollographql/apollo-client/commit/dd122316028b55307de4a40335512307c8fa916a) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Improve the accuracy of `client.query` return type to better detect the current `errorPolicy`. The `data` property is no longer nullable when the `errorPolicy` is `none`. This makes it possible to remove the `undefined` checks or optional chaining in most cases.
8+
39
## 4.1.4
410

511
### Patch Changes

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/client",
3-
"version": "4.1.4",
3+
"version": "4.2.0-alpha.0",
44
"description": "A fully-featured caching GraphQL client.",
55
"private": true,
66
"keywords": [

0 commit comments

Comments
 (0)