Socket
Socket
Sign inDemoInstall

@apollo/client

Package Overview
Dependencies
Maintainers
1
Versions
575
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/client - npm Package Versions

1
58

3.2.0-beta.0

Diff

apollo-bot
published 3.1.2 •

Changelog

Source

Apollo Client 3.1.2

Bug Fixes

  • Avoid making network requests when skip is true. <br/> @hwillson in #6752

Improvements

  • Allow SchemaLink.Options.context function to be async (or return a Promise). <br/> @benjamn in #6735
apollo-bot
published 3.1.2-pre.0 •

apollo-bot
published 3.1.1 •

Changelog

Source

Apollo Client 3.1.1

Bug Fixes

  • Re-export cache types from @apollo/client/core (and thus also @apollo/client), again. <br/> @benjamn in #6725
apollo-bot
published 3.1.0 •

Changelog

Source

Apollo Client 3.1.0

Bug Fixes

  • Rework interdependencies between @apollo/client/* entry points, so that CommonJS and ESM modules are supported equally well, without any duplication of shared code. <br/> @benjamn in #6656 and #6657

  • Tolerate !== callback functions (like onCompleted and onError) in useQuery options, since those functions are almost always freshly evaluated each time useQuery is called. <br/> @hwillson and @benjamn in #6588

  • Respect context.queryDeduplication if provided, and otherwise fall back to client.deduplication (as before). <br/> @igaloly in #6261 and @Kujawadl in #6526

  • Refactor ObservableQuery#getCurrentResult to reenable immediate delivery of warm cache results. As part of this refactoring, the ApolloCurrentQueryResult type was eliminated in favor of ApolloQueryResult. <br/> @benjamn in #6710

  • Avoid clobbering defaultOptions with undefined values. <br/> @benjamn in #6715

Improvements

  • Apollo Client will no longer modify options.fetchPolicy unless you pass options.nextFetchPolicy to request an explicit change in FetchPolicy after the current request. Although this is technically a breaking change, options.nextFieldPolicy makes it easy to restore the old behavior (by passing cache-first). <br/> @benjamn in #6712, reverting #6353

  • Errors of the form Invariant Violation: 42 thrown in production can now be looked up much more easily, by consulting the auto-generated @apollo/client/invariantErrorCodes.js file specific to your @apollo/client version. <br/> @benjamn in #6665

  • Make the client field of the MutationResult type non-optional, since it is always provided. <br/> @glasser in #6617

  • Allow passing an asynchronous options.renderFunction to getMarkupFromTree. <br/> @richardscarrott in #6576

  • Ergonomic improvements for merge and keyArgs functions in cache field policies. <br/> @benjamn in #6714

apollo-bot
published 3.1.0-pre.4 •

apollo-bot
published 3.1.0-pre.3 •

apollo-bot
published 3.1.0-pre.2 •

apollo-bot
published 3.1.0-pre.1 •

apollo-bot
published 3.1.0-pre.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc