Changelog
*Sourced from [apollo-cache-inmemory's changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md).*
> **Note:** This is a cumulative changelog that outlines all of the Apollo Client project child package changes that were bundled into a specific `apollo-client` release.
>
> ## Apollo Client (2.6.2)
>
> ### Apollo Utilities 1.3.2
>
> - Reimplement `isEqual` without pulling in massive `lodash.isequal`.
> [@benjamn](https://github.com/benjamn) in [#4924](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4924)
>
> ## Apollo Client (2.6.1)
>
> - In all Apollo Client packages, the compilation of `lib/bundle.esm.js` to `lib/bundle.cjs.js` and `lib/bundle.umd.js` now uses Babel instead of Rollup, since Babel correctly compiles some [edge cases](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/4843#issuecomment-495717720) that neither Rollup nor TypeScript compile correctly.
> [@benjamn](https://github.com/benjamn) in [#4911](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4911)
>
> ### Apollo Cache In-Memory 1.6.1
>
> - Pretend that `__typename` exists on the root Query when matching fragments.
> [@benjamn](https://github.com/benjamn) in [#4853](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4853)
>
> ### Apollo Utilities 1.3.1
>
> - The `isEqual` function has been reimplemented using the `lodash.isequal` npm package, to better support circular references. Since the `lodash.isequal` package is already used by `react-apollo`, this change is likely to decrease total bundle size.
> [@capaj](https://github.com/capaj) in [#4915](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4915)
>
> ## Apollo Client (2.6.0)
>
> - In production, `invariant(condition, message)` failures will now include
> a unique error code that can be used to trace the error back to the
> point of failure.
> [@benjamn](https://github.com/benjamn) in [#4521](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4521)
>
> ### Apollo Client 2.6.0
>
> - If you can be sure your application code does not modify cache result objects (see `freezeResults` note below), you can unlock substantial performance improvements by communicating this assumption via
> ```ts
> new ApolloClient({ assumeImmutableResults: true })
> ```
> which allows the client to avoid taking defensive snapshots of past results using `cloneDeep`, as explained by [@benjamn](https://github.com/benjamn) in [#4543](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4543).
>
> - Identical overlapping queries are now deduplicated internally by `apollo-client`, rather than using the `apollo-link-dedup` package.
> [@benjamn](https://github.com/benjamn) in commit [7cd8479f](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4586/commits/7cd8479f27ce38930f122e4f703c4081a75a63a7)
>
> - The `FetchPolicy` type has been split into two types, so that passing `cache-and-network` to `ApolloClient#query` is now forbidden at the type level, whereas previously it was forbidden by a runtime `invariant` assertion:
> ```ts
> export type FetchPolicy =
> | 'cache-first'
> | 'network-only'
> | 'cache-only'
> | 'no-cache'
> | 'standby';
> ... (truncated)
Commits
- [`656fd9f`](https://github.com/apollographql/apollo-client/commit/656fd9fbcf82df5cd6b9512e4c9b90b808e300ad) chore: Publish
- [`30f613f`](https://github.com/apollographql/apollo-client/commit/30f613ff3337719686f287870ad65a374a7d867d) Update root package-lock.json.
- [`26849a8`](https://github.com/apollographql/apollo-client/commit/26849a804a1be65071818285c9c31de8a8e4fb13) Reimplement isEqual without pulling in massive lodash.isequal. ([#4924](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/4924))
- [`b25e93a`](https://github.com/apollographql/apollo-client/commit/b25e93a47e26b2cee0f87f4f778c89546a2dd12a) chore(deps): update dependency webpack to v4.33.0
- [`4db0a73`](https://github.com/apollographql/apollo-client/commit/4db0a7394649d8b21eaa8d5ba06dc2c3b9ee2b3a) chore: Publish
- [`fe4c2ff`](https://github.com/apollographql/apollo-client/commit/fe4c2ff474eed15b214310210d7c40cdcb19445d) Update root package-lock.json after adding lodash.isequal.
- [`21cfe5d`](https://github.com/apollographql/apollo-client/commit/21cfe5d050b7a6674b26c3e6801e07fda787ffdf) Update CHANGELOG.md with new patch versions.
- [`2593f8f`](https://github.com/apollographql/apollo-client/commit/2593f8f62fbe87e5a3eebb8b44e0f5482a75c3f7) Reimplement custom isEqual apollo-utilities function using lodash.isequal ([#4](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/4)...
- [`5048b1b`](https://github.com/apollographql/apollo-client/commit/5048b1b731a878efea16fecb55e2038defb05fa8) Compile ESM bundle to CJS using Babel instead of Rollup. ([#4911](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/4911))
- [`4bd8237`](https://github.com/apollographql/apollo-client/commit/4bd82376a70abb49b2f1910afe07baea21294dfb) docs: fix typo in react-apollo-migration.md ([#4893](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/4893))
- Additional commits viewable in [compare view](https://github.com/apollographql/apollo-client/compare/apollo-cache-inmemory@1.6.0...apollo-cache-inmemory@1.6.2)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps apollo-cache-inmemory from 1.6.0 to 1.6.2.
Changelog
*Sourced from [apollo-cache-inmemory's changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md).* > **Note:** This is a cumulative changelog that outlines all of the Apollo Client project child package changes that were bundled into a specific `apollo-client` release. > > ## Apollo Client (2.6.2) > > ### Apollo Utilities 1.3.2 > > - Reimplement `isEqual` without pulling in massive `lodash.isequal`.> [@benjamn](https://github.com/benjamn) in [#4924](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4924) > > ## Apollo Client (2.6.1) > > - In all Apollo Client packages, the compilation of `lib/bundle.esm.js` to `lib/bundle.cjs.js` and `lib/bundle.umd.js` now uses Babel instead of Rollup, since Babel correctly compiles some [edge cases](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/4843#issuecomment-495717720) that neither Rollup nor TypeScript compile correctly.
> [@benjamn](https://github.com/benjamn) in [#4911](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4911) > > ### Apollo Cache In-Memory 1.6.1 > > - Pretend that `__typename` exists on the root Query when matching fragments.
> [@benjamn](https://github.com/benjamn) in [#4853](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4853) > > ### Apollo Utilities 1.3.1 > > - The `isEqual` function has been reimplemented using the `lodash.isequal` npm package, to better support circular references. Since the `lodash.isequal` package is already used by `react-apollo`, this change is likely to decrease total bundle size.
> [@capaj](https://github.com/capaj) in [#4915](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4915) > > ## Apollo Client (2.6.0) > > - In production, `invariant(condition, message)` failures will now include > a unique error code that can be used to trace the error back to the > point of failure.
> [@benjamn](https://github.com/benjamn) in [#4521](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4521) > > ### Apollo Client 2.6.0 > > - If you can be sure your application code does not modify cache result objects (see `freezeResults` note below), you can unlock substantial performance improvements by communicating this assumption via > ```ts > new ApolloClient({ assumeImmutableResults: true }) > ``` > which allows the client to avoid taking defensive snapshots of past results using `cloneDeep`, as explained by [@benjamn](https://github.com/benjamn) in [#4543](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4543). > > - Identical overlapping queries are now deduplicated internally by `apollo-client`, rather than using the `apollo-link-dedup` package.
> [@benjamn](https://github.com/benjamn) in commit [7cd8479f](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4586/commits/7cd8479f27ce38930f122e4f703c4081a75a63a7) > > - The `FetchPolicy` type has been split into two types, so that passing `cache-and-network` to `ApolloClient#query` is now forbidden at the type level, whereas previously it was forbidden by a runtime `invariant` assertion: > ```ts > export type FetchPolicy = > | 'cache-first' > | 'network-only' > | 'cache-only' > | 'no-cache' > | 'standby'; > ... (truncated)
Commits
- [`656fd9f`](https://github.com/apollographql/apollo-client/commit/656fd9fbcf82df5cd6b9512e4c9b90b808e300ad) chore: Publish - [`30f613f`](https://github.com/apollographql/apollo-client/commit/30f613ff3337719686f287870ad65a374a7d867d) Update root package-lock.json. - [`26849a8`](https://github.com/apollographql/apollo-client/commit/26849a804a1be65071818285c9c31de8a8e4fb13) Reimplement isEqual without pulling in massive lodash.isequal. ([#4924](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/4924)) - [`b25e93a`](https://github.com/apollographql/apollo-client/commit/b25e93a47e26b2cee0f87f4f778c89546a2dd12a) chore(deps): update dependency webpack to v4.33.0 - [`4db0a73`](https://github.com/apollographql/apollo-client/commit/4db0a7394649d8b21eaa8d5ba06dc2c3b9ee2b3a) chore: Publish - [`fe4c2ff`](https://github.com/apollographql/apollo-client/commit/fe4c2ff474eed15b214310210d7c40cdcb19445d) Update root package-lock.json after adding lodash.isequal. - [`21cfe5d`](https://github.com/apollographql/apollo-client/commit/21cfe5d050b7a6674b26c3e6801e07fda787ffdf) Update CHANGELOG.md with new patch versions. - [`2593f8f`](https://github.com/apollographql/apollo-client/commit/2593f8f62fbe87e5a3eebb8b44e0f5482a75c3f7) Reimplement custom isEqual apollo-utilities function using lodash.isequal ([#4](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/4)... - [`5048b1b`](https://github.com/apollographql/apollo-client/commit/5048b1b731a878efea16fecb55e2038defb05fa8) Compile ESM bundle to CJS using Babel instead of Rollup. ([#4911](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/4911)) - [`4bd8237`](https://github.com/apollographql/apollo-client/commit/4bd82376a70abb49b2f1910afe07baea21294dfb) docs: fix typo in react-apollo-migration.md ([#4893](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/4893)) - Additional commits viewable in [compare view](https://github.com/apollographql/apollo-client/compare/apollo-cache-inmemory@1.6.0...apollo-cache-inmemory@1.6.2)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.