Skip to content

Commit

Permalink
Version Packages (rc)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 13, 2023
1 parent c0ca707 commit 6e9e889
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"changesets": [
"afraid-zebras-punch",
"chatty-experts-fly",
"cold-tips-accept",
"cool-dogs-applaud",
"curvy-dragons-talk",
Expand Down Expand Up @@ -57,6 +58,7 @@
"small-tomatoes-explode",
"smooth-clouds-sort",
"smooth-forks-shop",
"smooth-goats-cheat",
"sour-weeks-suffer",
"spotty-news-stare",
"strange-drinks-report",
Expand Down
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# @apollo/client

## 3.8.0-rc.0

### Minor Changes

- [#11040](https://github.com/apollographql/apollo-client/pull/11040) [`125ef5b2a`](https://github.com/apollographql/apollo-client/commit/125ef5b2a8fd2de1515b2bdd71785ebab3596cb2) Thanks [@phryneas](https://github.com/phryneas)! - `HttpLink`/`BatchHttpLink`: Abort the `AbortController` signal more granularly.
Before this change, when `HttpLink`/`BatchHttpLink` created an `AbortController`
internally, the signal would always be `.abort`ed after the request was completed. This could cause issues with Sentry Session Replay and Next.js App Router Cache invalidations, which just replayed the fetch with the same options - including the cancelled `AbortSignal`.

With this change, the `AbortController` will only be `.abort()`ed by outside events,
not as a consequence of the request completing.

### Patch Changes

- [#11053](https://github.com/apollographql/apollo-client/pull/11053) [`c0ca70720`](https://github.com/apollographql/apollo-client/commit/c0ca70720cf5fbedd6e4f128b460c1995d9c55a7) Thanks [@phryneas](https://github.com/phryneas)! - Add `SuspenseCache` as a lazy hidden property on ApolloClient.
This means that `SuspenseCache` is now an implementation details of Apollo Client
and you no longer need to manually instantiate it and no longer need to pass it
into `ApolloProvider`.
Trying to instantiate a `SuspenseCache` instance in your code will now throw an
error.

Migration:

```diff
-import { SuspenseCache } from '@apollo/client';

-const suspenseCache = new SuspenseCache();

-<ApolloProvider client={client} suspenseCache={suspenseCache} />;
+<ApolloProvider client={client} />;
```

## 3.8.0-beta.7

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

0 comments on commit 6e9e889

Please sign in to comment.