Bump apollo-cache-inmemory from 1.6.0 to 1.6.1 in /backend
Created by: Tirokk
Authored by dependabot-preview[bot] Merged
Bumps apollo-cache-inmemory from 1.6.0 to 1.6.1.
Changelog
Sourced from apollo-cache-inmemory's changelog.
Apollo Cache In-Memory 1.6.1
Apollo Utilities 1.3.1
- The
isEqual
function has been reimplemented using thelodash.isequal
npm package, to better support circular references. Since thelodash.isequal
package is already used byreact-apollo
, this change is likely to decrease total bundle size.
@capaj in #4915Apollo 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 in #4521Apollo Client 2.6.0
... (truncated)
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 vianew ApolloClient({ assumeImmutableResults: true })
which allows the client to avoid taking defensive snapshots of past results using
cloneDeep
, as explained by @benjamn in #4543.Identical overlapping queries are now deduplicated internally by
apollo-client
, rather than using theapollo-link-dedup
package.
@benjamn in commit 7cd8479fThe
FetchPolicy
type has been split into two types, so that passingcache-and-network
toApolloClient#query
is now forbidden at the type level, whereas previously it was forbidden by a runtimeinvariant
assertion:export type FetchPolicy = | 'cache-first' | 'network-only' | 'cache-only' | 'no-cache' | 'standby'; export type WatchQueryFetchPolicy = | FetchPolicy | 'cache-and-network';
The exception thrown if you ignore the type error has also been improved to explain the motivation behind this restriction.
[Issue #3130 (comment)](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/3130#issuecomment-478409066) and commit cf069bc7Avoid updating (and later invalidating) cache watches when
fetchPolicy
is'no-cache'
.
@bradleyayers in [PR #4573](https://github-redirect.dependabot.com/apollographql/apollo-client/pull/4573), part of [issue #3452](https://github-redirect.dependabot.com/apollographql/apollo-client/issues/3452)Remove temporary
queryId
afterfetchMore
completes.
@doomsower in #4440
Commits
-
4db0a73
chore: Publish -
fe4c2ff
Update root package-lock.json after adding lodash.isequal. -
21cfe5d
Update CHANGELOG.md with new patch versions. -
2593f8f
Reimplement custom isEqual apollo-utilities function using lodash.isequal (#4... -
5048b1b
Compile ESM bundle to CJS using Babel instead of Rollup. (#4911) -
4bd8237
docs: fix typo in react-apollo-migration.md (#4893) -
b927458
Merge pull request #4907 from apollographql/renovate/typescript-3.x -
b5af622
Fix TypeScript errors in tests/writeToStore.ts. -
bd0bd82
chore(deps): update dependency typescript to v3.5.1 -
f7ecafa
chore(deps): update dependency tslint to v5.17.0 - Additional commits viewable in compare view
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:
- 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.