Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @apollo/client to v3.4.16 #186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 18, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/client (source) 3.4.7 -> 3.4.16 age adoption passing confidence

Release Notes

apollographql/apollo-client

v3.4.16

Compare Source

Improvements
  • Prevent webpack from misresolving the graphql package as the local @apollo/client/utilities/globals/graphql.js module when module.exports.resolve.preferRelative is enabled in webpack.config.js.

    Note: if you encounter strange module resolution errors like export 'isType' (imported as 'isType') was not found in 'graphql' (possible exports: removeTemporaryGlobals) please try removing preferRelative: true from your webpack.config.js file, or find a way to disable that resolution behavior for packages within node_modules.

    @​benjamn in #​8862

  • Avoid importing isType from the graphql package internally, to prevent bundlers from including as much as 3.4kB of unnecessary code.

    @​benjamn in #​8891

  • Make client.resetStore and client.clearStore pass appropriate discardWatches option to cache.reset.

    @​benjamn in #​8873

v3.4.15

Compare Source

Bug Fixes
  • Require calling cache.reset({ discardWatches: true }) to make cache.reset discard cache.watches, restoring behavior broken in v3.4.14 by #​8826.

    @​benjamn in #​8852

v3.4.14

Compare Source

Bug Fixes
  • Disable InMemoryCache result object canonization by default, to prevent unexpected memory growth and/or reuse of object references, with multiple ways to reenable it (per-cache, per-query, or a mixture of both).

    @​benjamn in #​8822

  • Clear InMemoryCache watches set when cache.reset() called.

    @​benjamn in #​8826

  • Stop excluding observerless queries from refetchQueries: [...] selection.

    @​benjamn in #​8825

  • Prevent optimistic cache evictions from evicting non-optimistic data.

    @​benjamn in #​8829

  • Ensure cache.broadcastWatch passes all relevant WatchOptions to cache.diff as DiffOptions.

    @​benjamn in #​8832

v3.4.13

Compare Source

Bug Fixes

v3.4.12

Compare Source

Bug Fixes
  • Improve handling of falsy existing and/or incoming parameters in relayStylePagination field policy helper function.

    @​bubba and @​benjamn in #​8733

  • Associate Apollo context with React.createContext (instead of using a local WeakMap) again, so multiple copies of @apollo/client (uncommon) can share the same context.

    @​benjamn in #​8798

v3.4.11

Compare Source

Bug Fixes
  • Fix Vite tree-shaking by calling the checkDEV() function (at least once) in the module that exports it, @apollo/client/utilities/globals/index.ts.

    @​benjamn in #​8767
Improvements
  • Export PersistedQueryLink namespace from @apollo/client/link/persisted-queries.

    @​vedrani in #​8761
Documentation

v3.4.10

Compare Source

Improvements
  • Warn when calling refetch({ variables }) instead of refetch(variables), except for queries that declare a variable named $variables (uncommon).

    @​benjamn in #​8702
Bug Fixes
  • Fix ObservableQuery.getCurrentResult() returning cached data with certain fetch policies.

    @​brainkim in #​8718

  • Prevent ssrMode/ssrForceFetchDelay from causing queries to hang.

    @​brainkim in #​8709

  • Import @apollo/client/utilities/globals internally wherever __DEV__ is used, not just in @apollo/client/**/index.js entry points.

    @​benjamn in #​8720

v3.4.9

Compare Source

Bug Fixes
  • Fix unhandled Promise rejection warnings/errors whose message is Observable cancelled prematurely.

    @​benjamn in #​8676

  • Enforce that __DEV__ is polyfilled by every @apollo/client/* entry point that uses it. This build step considers not only explicit __DEV__ usage but also __DEV__ references injected near invariant(...) and new InvariantError(...) expressions.

    @​benjamn in #​8689

v3.4.8

Compare Source

Bug Fixes
  • Fix error thrown by nested keyFields: ["a", ["b", "c"], "d"] type policies when writing results into the cache where any of the key fields (.a, .a.b, .a.c, or .d) have been renamed by query field alias syntax.

    @​benjamn in #​8643

  • Fix regression from PR #​8422 (first released in @apollo/client@3.4.0-rc.15) that caused result.data to be set to undefined in some cases after ObservableQuery#getCurrentResult reads an incomplete result from the cache.

    @​benjamn in #​8642


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant