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
9 changes: 9 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"four-toes-serve",
"fresh-moose-hope",
"fresh-swans-remain",
"friendly-news-drive",
"friendly-olives-refuse",
"friendly-walls-think",
"funny-boats-wink",
Expand Down Expand Up @@ -110,6 +111,7 @@
"late-bottles-add",
"late-trainers-peel",
"lazy-baboons-rescue",
"lemon-carrots-breathe",
"lemon-pans-sit",
"light-apes-rescue",
"light-dolphins-taste",
Expand All @@ -127,6 +129,7 @@
"mean-beans-agree",
"mean-lizards-think",
"metal-needles-search",
"mighty-buckets-hide",
"mighty-carrots-bathe",
"mighty-jobs-drum",
"mighty-penguins-wink",
Expand Down Expand Up @@ -154,6 +157,7 @@
"perfect-vans-give",
"pink-ladybugs-cough",
"plenty-deers-clean",
"plenty-flies-relate",
"polite-bees-care",
"poor-eels-punch",
"poor-spiders-hunt",
Expand All @@ -162,6 +166,7 @@
"proud-walls-shave",
"purple-balloons-accept",
"purple-bears-flash",
"purple-eyes-divide",
"purple-lions-cough",
"rare-apes-drive",
"rare-dingos-doubt",
Expand All @@ -186,6 +191,7 @@
"shaggy-pugs-add",
"shaggy-singers-tickle",
"sharp-glasses-sneeze",
"sharp-lemons-bathe",
"shiny-carrots-invent",
"short-jokes-jam",
"short-months-complain",
Expand Down Expand Up @@ -221,6 +227,7 @@
"sour-guests-poke",
"sour-kids-deliver",
"sour-pillows-guess",
"sour-wombats-shout",
"spotty-days-compete",
"spotty-mugs-poke",
"stale-games-live",
Expand All @@ -244,10 +251,12 @@
"thirty-pens-jump",
"tidy-pandas-punch",
"tidy-squids-poke",
"tough-hairs-develop",
"tough-olives-fry",
"tough-rockets-allow",
"tough-taxis-smoke",
"tough-tips-drop",
"tricky-glasses-reply",
"tricky-tables-shave",
"twelve-mangos-dance",
"twenty-numbers-perform",
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @apollo/client

## 4.0.0-rc.8

### Major Changes

- [#12825](https://github.com/apollographql/apollo-client/pull/12825) [`292b949`](https://github.com/apollographql/apollo-client/commit/292b949e9e1d10a715e0fd403737361f91432fbf) Thanks [@jerelmiller](https://github.com/jerelmiller)! - The `serializeFetchParameter` helper is no longer exported and `JSON.stringify` is used directly. As such, the `ClientParseError` type has also been removed in favor of throwing any JSON serialize errors directly.

- [#12824](https://github.com/apollographql/apollo-client/pull/12824) [`0506f12`](https://github.com/apollographql/apollo-client/commit/0506f12936d3fe7c840e5d56a5efa20bbce1525e) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Ensure the `error` argument for the `delay` and `attempts` functions on `RetryLink` are an `ErrorLike`.

- [#12823](https://github.com/apollographql/apollo-client/pull/12823) [`19e315e`](https://github.com/apollographql/apollo-client/commit/19e315e316ae458913f4d11961b0a2a365df0a19) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Move all 1st party link types into a namespace.

- [#12823](https://github.com/apollographql/apollo-client/pull/12823) [`19e315e`](https://github.com/apollographql/apollo-client/commit/19e315e316ae458913f4d11961b0a2a365df0a19) Thanks [@jerelmiller](https://github.com/jerelmiller)! - The `OperationBatcher` class is no longer exported from `@apollo/client/link/batch`. It is an implementation detail of `BatchLink` and should not be relied on directly.

### Patch Changes

- [#12824](https://github.com/apollographql/apollo-client/pull/12824) [`0506f12`](https://github.com/apollographql/apollo-client/commit/0506f12936d3fe7c840e5d56a5efa20bbce1525e) Thanks [@jerelmiller](https://github.com/jerelmiller)! - `RetryLink` now emits a `next` event instead of an `error` event when encountering a protocol errors for multipart subscriptions when the operation is not retried. This ensures the observable notification remains the same as when `RetryLink` is not used.

- [#12819](https://github.com/apollographql/apollo-client/pull/12819) [`7ff548d`](https://github.com/apollographql/apollo-client/commit/7ff548dab0f38bfe315fce6cc51105c93d112271) Thanks [@jerelmiller](https://github.com/jerelmiller)! - update type of `HttpLink.Options.fetchOptions` to `RequestInit`

- [#12820](https://github.com/apollographql/apollo-client/pull/12820) [`fba3d9e`](https://github.com/apollographql/apollo-client/commit/fba3d9ec96cce9f1a89908e4f33361e27d1f52b4) Thanks [@jerelmiller](https://github.com/jerelmiller)! - The `fetchOptions` option provided to `HttpLink` and `BatchHttpLink` is now `RequestInit` instead of `any`. The `credentials` option is now a `RequestCredentials` type instead of a `string`.

- [#12823](https://github.com/apollographql/apollo-client/pull/12823) [`19e315e`](https://github.com/apollographql/apollo-client/commit/19e315e316ae458913f4d11961b0a2a365df0a19) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix the type of the argument for the `sha256` function for `PersistedQueryLink` from `...any[]` to `string`.

- [#12821](https://github.com/apollographql/apollo-client/pull/12821) [`223a409`](https://github.com/apollographql/apollo-client/commit/223a4094f401bbe7fd3e4c249fa405843b63ba2e) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Add a deprecation warning to `WebSocketLink`.

## 4.0.0-rc.7

### 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-rc.7",
"version": "4.0.0-rc.8",
"description": "A fully-featured caching GraphQL client.",
"private": true,
"keywords": [
Expand Down
Loading