All Versions
Latest Version
Avg Release Cycle
35 days
Latest Release
210 days ago

Changelog History
Page 5

  • v3.2.0

    September 14, 2020

    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

    Throw if writeFragment cannot identify when no provided.
    @jcreighton in #6859

    ๐Ÿ”€ Provide 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

    Apollo Client 3.1.5

    ๐Ÿ› Bug Fixes

    • ๐Ÿ‘‰ Make field non-optional again.
      @benjamn in #6997

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘ Allow querying Connection metadata without args in relayStylePagination.
      @anark in #6935

    Apollo Client 3.1.4

    ๐Ÿ› Bug Fixes

    Restrict root object identification to ROOT_QUERY (the ID corresponding to the root Query object), allowing Mutation and Subscription as user-defined types.
    @benjamn in #6914

    ๐Ÿ’… Prevent crash when pageInfo and empty edges are received by relayStylePagination.
    @fracmak in #6918

    Apollo Client 3.1.3

    ๐Ÿ› Bug Fixes

    • Consider only (rather than all properties of result) when settling cache feuds.
      @danReynolds in #6777

    ๐Ÿ‘Œ Improvements

    Apollo Client 3.1.2

    ๐Ÿ› Bug Fixes

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘ Allow SchemaLink.Options.context function to be async (or return a Promise).
      @benjamn in #6735

    Apollo Client 3.1.1

    ๐Ÿ› Bug Fixes

    • Re-export cache types from @apollo/client/core (and thus also @apollo/client), again.
      @benjamn in #6725
  • v3.2.0-rc.0

    September 11, 2020
  • v3.2.0-beta.9

    August 28, 2020
  • v3.2.0-beta.8

    August 28, 2020
  • v3.2.0-beta.7

    August 27, 2020
  • v3.2.0-beta.6

    August 25, 2020
  • v3.2.0-beta.5

    August 25, 2020
  • v3.2.0-beta.4

    August 20, 2020
  • v3.2.0-beta.3

    August 18, 2020
  • v3.2.0-beta.2

    August 10, 2020