Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: apollographql/apollo-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.6.8
Choose a base ref
...
head repository: apollographql/apollo-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.6.9
Choose a head ref

Commits on Jun 10, 2022

  1. Copy the full SHA
    34f38a5 View commit details

Commits on Jun 11, 2022

  1. Copy the full SHA
    9ec09b3 View commit details
  2. Copy the full SHA
    962ee46 View commit details
  3. Copy the full SHA
    107e785 View commit details
  4. Copy the full SHA
    8bf7e0a View commit details
  5. Copy the full SHA
    7c00b03 View commit details

Commits on Jun 14, 2022

  1. Copy the full SHA
    d0c06fc View commit details
  2. Copy the full SHA
    b81faa3 View commit details
  3. TODOs

    benjamn committed Jun 14, 2022
    Copy the full SHA
    6b0b741 View commit details
  4. Copy the full SHA
    1d691f7 View commit details
  5. Copy the full SHA
    e6737c1 View commit details
  6. Copy the full SHA
    5377d2e View commit details
  7. Mention PR #9765 in CHANGELOG.md.

    benjamn committed Jun 14, 2022
    Copy the full SHA
    21b4f56 View commit details

Commits on Jun 15, 2022

  1. Copy the full SHA
    67a13b5 View commit details

Commits on Jun 19, 2022

  1. Copy the full SHA
    b6f6e22 View commit details
  2. Copy the full SHA
    61180a8 View commit details
  3. Copy the full SHA
    9fba919 View commit details
  4. Copy the full SHA
    20122d7 View commit details
  5. Copy the full SHA
    b2f8d5f View commit details
  6. Copy the full SHA
    eb48232 View commit details
  7. Merge pull request #9823 from apollographql/issue-9765-leave-fetchPol…

    …icy-unchanged-when-skip-true
    
    Leave `fetchPolicy` unchanged when `skip: true` (or in standby) and `nextFetchPolicy` is available
    benjamn authored Jun 19, 2022
    Copy the full SHA
    a3aefcb View commit details

Commits on Jun 21, 2022

  1. Welcome Alessia! 🚀

    hwillson authored Jun 21, 2022
    Copy the full SHA
    cae07a8 View commit details
  2. Copy the full SHA
    f75de97 View commit details
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
## Apollo Client 3.6.8 (unreleased)
## Apollo Client 3.6.9 (2022-06-21)

### Bug Fixes

- Leave `fetchPolicy` unchanged when `skip: true` (or in standby) and `nextFetchPolicy` is available, even if `variables` change. <br/>
[@benjamn](https://github.com/benjamn) in [#9823](https://github.com/apollographql/apollo-client/pull/9823)

## Apollo Client 3.6.8 (2022-06-10)

### Bug Fixes

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@ Learn how to use Apollo Client with self-paced hands-on training on Odyssey, Apo
## Apollo Maintainers

- [@benjamn](https://github.com/benjamn)
- [@alessbell](https://github.com/alessbell)
- [@hwillson](https://github.com/hwillson)
- [@jpvajda](https://github.com/jpvajda)

6 changes: 2 additions & 4 deletions docs/source/caching/cache-configuration.mdx
Original file line number Diff line number Diff line change
@@ -124,9 +124,7 @@ Each key in the object is the `__typename` of a type to customize, and the corre
</td>
<td>

**Deprecated.** A function that takes a response object and returns a unique identifier to be used when normalizing the data in the store.

Deprecated in favor of the `keyFields` option of the [`TypePolicy` object](#typepolicy-fields).
A function that takes a response object and returns a unique identifier to be used when normalizing the data in the store.

</td>
</tr>
@@ -208,7 +206,7 @@ const cache = new InMemoryCache({
});
```

> The `dataIdFromObject` API is included in Apollo Client 3 to ease the transition from Apollo Client 2.x. The API might be removed in a future version of `@apollo/client`.
> The `dataIdFromObject` API is included in Apollo Client 3 to ease the transition from Apollo Client 2.x.
Notice that the above function still uses different logic to generate keys based on an object's `__typename`. In a case like this, you should almost always define `keyFields` arrays for the `Product` and `Person` types via `typePolicies`.

Loading