@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
- 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
- new
Errors of the form
Invariant Violation: 42thrown in production can now be looked up much more easily, by consulting the auto-generated@apollo/client/invariantErrorCodes.jsfile specific to your@apollo/clientversion. - new
Make the
clientfield of theMutationResulttype non-optional, since it is always provided. - new
Allow passing an asynchronous
options.renderFunctiontogetMarkupFromTree. - new
Ergonomic improvements for
mergeandkeyArgsfunctions in cache field policies.
- new