Packages

@apollo/client

4.3.5 · 19 Oct 2026MIT5.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @apollo/client from 3.0.2 to 3.1.0

1 release in betweenevery note read

Other targets from 3.0.2Newest 3.x3.14.1Latest4.3.5
1
change to make
0
advisories fixed
4
new
5
fixes

Before you upgrade

Tick each one off as you go
  • breaking3.1.0

Release by release

  1. 3.1.0

    28 Jul 20204 new · 5 fixes
    • new

      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.

    • new

      Make the client field of the MutationResult type non-optional, since it is always provided.

    • new

      Allow passing an asynchronous options.renderFunction to getMarkupFromTree.

    • new

      Ergonomic improvements for merge and keyArgs functions in cache field policies.