Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Bump apollo-client from 2.5.1 to 2.6.2 #381

Merged

Conversation

dependabot-preview[bot]
Copy link

@dependabot-preview dependabot-preview bot commented Jun 6, 2019

Bumps apollo-client from 2.5.1 to 2.6.2.

Changelog

Sourced from apollo-client's changelog.

Apollo Client (2.6.2)

Apollo Utilities 1.3.2

  • Reimplement isEqual without pulling in massive lodash.isequal.

    @​benjamn in #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 that neither Rollup nor TypeScript compile correctly.

    @​benjamn in #4911

Apollo Cache In-Memory 1.6.1

  • Pretend that __typename exists on the root Query when matching fragments.

    @​benjamn in #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 in #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 in #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

    new 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 the apollo-link-dedup package.

    @​benjamn in commit 7cd8479f

  • 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:

    export type FetchPolicy =
      | 'cache-first'
      | 'network-only'
      | 'cache-only'
      | 'no-cache'
      | 'standby';
    
    export type WatchQueryFetchPolicy =
... (truncated)
Commits
  • 656fd9f chore: Publish
  • 30f613f Update root package-lock.json.
  • 26849a8 Reimplement isEqual without pulling in massive lodash.isequal. (#4924)
  • b25e93a chore(deps): update dependency webpack to v4.33.0
  • 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)
  • Additional commits viewable in compare view

Dependabot compatibility score

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.

If all status checks pass Dependabot will automatically merge this pull request.


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.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 6, 2019
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/apollo-client-2.6.2 branch 2 times, most recently from 32dc2b0 to 20dec97 Compare June 6, 2019 15:10
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/apollo-client-2.6.2 branch from 20dec97 to 9888b30 Compare June 6, 2019 15:19
@dependabot-preview dependabot-preview bot merged commit 164c06e into dev Jun 6, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/apollo-client-2.6.2 branch June 6, 2019 15:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants