Skip to content

Build(deps): Bump @apollo/client from 3.0.0-beta.49 to 3.2.5#378

Closed
dependabot-preview[bot] wants to merge 1 commit intodevfrom
dependabot/npm_and_yarn/apollo/client-3.2.5
Closed

Build(deps): Bump @apollo/client from 3.0.0-beta.49 to 3.2.5#378
dependabot-preview[bot] wants to merge 1 commit intodevfrom
dependabot/npm_and_yarn/apollo/client-3.2.5

Conversation

@dependabot-preview
Copy link
Contributor

Bumps @apollo/client from 3.0.0-beta.49 to 3.2.5.

Release notes

Sourced from @apollo/client's releases.

3.2.0

Apollo Client 3.2.0

Bug Fixes

  • Use options.nextFetchPolicy internally to restore original FetchPolicy after polling with fetchPolicy: "network-only", so that polling does not interfere with normal query watching. @benjamn in #6893

  • Initialize ObservableQuery in updateObservableQuery even if skip is true. @mu29 in #6999

  • Prevent full reobservation of queries affected by optimistic mutation updates, while still delivering results from the cache. @benjamn in #6854

Improvements

  • In TypeScript, all APIs that take DocumentNode parameters now may alternatively take TypeDocumentNode<Data, Variables>. This type has the same JavaScript representation but allows the APIs to infer the data and variable types instead of requiring you to specify types explicitly at the call site. @dotansimha in #6720

  • Bring back an improved form of heuristic fragment matching, by allowing possibleTypes to specify subtype regular expression strings, which count as matches if the written result object has all the fields expected for the fragment. @benjamn in #6901

  • Allow options.nextFetchPolicy to be a function that takes the current FetchPolicy and returns a new (or the same) FetchPolicy, making nextFetchPolicy more suitable for global use in defaultOptions.watchQuery. @benjamn in #6893

  • Implement useReactiveVar hook for consuming reactive variables in React components. @benjamn in #6867

  • Move apollo-link-persisted-queries implementation to @apollo/client/link/persisted-queries. Try running our automated imports transform to handle this conversion, if you're using apollo-link-persisted-queries. @hwillson in #6837

  • Disable feud-stopping logic after any cache.evict or cache.modify operation. @benjamn in #6817 and #6898

  • Throw if writeFragment cannot identify options.data when no options.id provided. @jcreighton in #6859

  • Provide options.storage object to cache.modify functions, as provided to read and merge functions. @benjamn in #6991

  • Allow cache.modify functions to return details.INVALIDATE (similar to details.DELETE) to invalidate the current field, causing affected queries to rerun, even if the field's value is unchanged. @benjamn in #6991

  • Support non-default ErrorPolicy values (that is, "ignore" and "all", in addition to the default value "none") for mutations and subscriptions, like we do for queries. @benjamn in #7003

  • Remove invariant forbidding a FetchPolicy of cache-only in ObservableQuery#refetch. @benjamn in ccb0a79a, fixing #6702

Changelog

Sourced from @apollo/client's changelog.

Apollo Client 3.2.5

Improvements

  • Move terser dependency from dependencies to devDependencies. @SimenB in #7188

  • Avoid all sub-package imports from the graphql npm package. @stoically in #7185

Apollo Client 3.2.4

Improvements

  • Update the optimism npm dependency to version 0.13.0 in order to use the new optimistic.forget method to fix a potential cache.watch memory leak. @benjamn in #7157

  • Consider cache.reset a destructive method, like cache.evict and cache.modify. @joshjg in #7150

  • Avoid refetching observerless queries with reFetchObservableQueries. @joshjg in #7146

Apollo Client 3.2.3

Improvements

  • Default args.offset to zero in offsetLimitPagination. @benjamn in #7141

Apollo Client 3.2.2

Bug Fixes

  • Undo TEdgeWrapper approach for relayStylePagination, introduced by f41e9efc in #7023, since it was an unintended breaking change for existing code that used cache.modify to interact with field data managed by relayStylePagination. @benjamn in #7103

Apollo Client 3.2.1

Bug Fixes

  • Fix relayStylePagination to handle the possibility that edges might be normalized Reference objects (uncommon). @anark and @benjamn in #7023

  • Disable "Missing cache result fields" warnings when returnPartialData is true. @hwillson in #7055

Improvements

  • Mark subscriptions-transport-ws peerDependency as optional.
Commits
  • 2d4f1ce Bump @apollo/client npm version to 3.2.5.
  • c63788e Update package-lock.json after #7188.
  • ad2a542 Mention PRs #7188 and #7185 in CHANGELOG.md.
  • e145a86 Avoid all sub-package imports from graphql npm package. (#7185)
  • 4159973 Move terser from deps to dev deps (#7188)
  • 1a67c95 chore(deps): update dependency recast to v0.20.4
  • 1e31f04 chore(deps): update dependency react-dom to v16.14.0
  • c3487d2 chore(deps): update dependency react to v16.14.0
  • 86419c8 chore(deps): update dependency gatsby to v2.24.80
  • 9bb4bf1 chore(deps): update dependency @types/node to v14.11.10
  • 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.


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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dependabot-preview
Copy link
Contributor Author

Superseded by #424.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/apollo/client-3.2.5 branch November 23, 2020 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants