Skip to content

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

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

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

Conversation

@dependabot-preview
Copy link
Contributor

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

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.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. @MasterOdin in #7047

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

Commits
  • 458c8aa Bump @apollo/client npm version to 3.2.3.
  • 8e92be3 Default args.offset to 0 in offsetLimitPagination. (#7141)
  • 93d65e9 chore(deps): update dependency jest to v26.5.2
  • b6bad8a chore(deps): update dependency gatsby to v2.24.73
  • 7d3e04b chore(deps): update dependency @types/node to v14.11.8
  • ec5c2ed docs: Add missing closing brace to WebSocketLink example (#7090)
  • 6ff2b19 chore(deps): update dependency jest-junit to v12 (#7123)
  • 80dd2e2 docs: show NetworkStatus enum numbers (#7089)
  • cd5da46 chore(deps): update dependency gatsby-theme-apollo-docs to v4.5.3
  • 19f1feb Revert "chore(deps): update dependency @wry/equality to ^0.3.0"
  • 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 #378.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/apollo/client-3.2.3 branch October 19, 2020 20:32
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