Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"four-ghosts-watch",
"fresh-moose-hope",
"funny-jeans-invent",
"giant-bags-share",
"good-dolphins-peel",
"gorgeous-chefs-tap",
"grumpy-vans-type",
Expand All @@ -48,6 +49,7 @@
"mighty-penguins-wink",
"modern-feet-do",
"moody-lobsters-listen",
"nervous-fireants-bow",
"nervous-goats-allow",
"nice-donkeys-reflect",
"nice-waves-work",
Expand Down Expand Up @@ -81,6 +83,8 @@
"tall-bikes-develop",
"tall-cups-suffer",
"tame-doors-shop",
"tame-points-work",
"tender-swans-flash",
"thick-books-grin",
"tidy-squids-poke",
"tough-rockets-allow",
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# @apollo/client

## 4.0.0-alpha.6

### Major Changes

- [#12485](https://github.com/apollographql/apollo-client/pull/12485) [`d338303`](https://github.com/apollographql/apollo-client/commit/d3383033d306b7d66e90f5f3170c24453cd76464) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Throw an error for queries and mutations if the link chain completes without emitting a value.

- [#12484](https://github.com/apollographql/apollo-client/pull/12484) [`9a8b9ce`](https://github.com/apollographql/apollo-client/commit/9a8b9cebbcf290984a4f154f261a4090e636e50e) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Remove `loading`, `networkStatus`, and `partial` properties on all promise-based query APIs. These properties were mostly static and were unnecessary since promise resolution guaranteed that the query was not longer loading.

This affects the following APIs:

- `client.query`
- `client.refetchQueries`
- `client.reFetchObservableQueries`
- `client.resetStore`
- `observableQuery.fetchMore`
- `observableQuery.refetch`
- `observableQuery.reobserve`
- `observableQuery.setVariables`
- The `useLazyQuery` `execute` function

### Minor Changes

- [#12497](https://github.com/apollographql/apollo-client/pull/12497) [`ff2cbe1`](https://github.com/apollographql/apollo-client/commit/ff2cbe1db1815c30f5fda7f6c07091663e065582) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Add a `data` property to `CombinedGraphQLErrors` that captures any partial data returned by the GraphQL response when `errors` are also returned.

- [#12488](https://github.com/apollographql/apollo-client/pull/12488) [`c98b633`](https://github.com/apollographql/apollo-client/commit/c98b6335de5b15e546aa5db79a8cf2dc9d914dcf) Thanks [@phryneas](https://github.com/phryneas)! - Add a new method for static SSR of React components, `prerenderStatic`.
The old methods, `getDataFromTree`, `getMarkupFromTree` and `renderToStringWithData`
have been deprecated in favor of `prerenderStatic`.

If used with React 19 and the `prerender` or `prerenderToNodeStream` apis from
`react-dom/static`, this method can now be used to SSR-prerender suspense-enabled
hook APIs.

## 4.0.0-alpha.5

### Major Changes
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/client",
"version": "4.0.0-alpha.5",
"version": "4.0.0-alpha.6",
"description": "A fully-featured caching GraphQL client.",
"private": true,
"keywords": [
Expand Down
Loading