All Versions
225
Latest Version
Avg Release Cycle
35 days
Latest Release
1495 days ago

Changelog History
Page 16

  • v2.3.3 Changes

    June 13, 2018
    • Typescript improvements. Made observable query parameterized on data and variables: ObservableQuery<TData, TVariables> (@excitement-engineer in #3140)
    • โž• Added optional generics to cache manipulation methods (typescript). (@mvestergaard in #3541)
    • Typescript improvements. Created a new QueryOptions interface that is now used by ApolloClient.query options, instead of the previous WatchQueryOptions interface. This helps reduce confusion (especially in the docs) that made it look like ApolloClient.query accepted ApolloClient.watchQuery only options, like pollingInterval. (@hwillson in #3569)
  • v2.3.2 Changes

    May 29, 2018
    • ๐Ÿ›  Fix SSR and cache-and-network fetch policy (@dastoori in #3372)
    • ๐Ÿ›  Fixed an issue where the updateQuery method passed to ObservableQuery.fetchMore was receiving the original query variables, instead of the new variables that it used to fetch more data. (@abhiaiyer91 in #3500)
    • ๐Ÿ›  Fixed an issue involving Object.setPrototypeOf() not working on JSC (Android), by instead setting the prototype of this manually. (@seklyza in #3306)
    • โž• Added safeguards to make sure QueryStore.initQuery and QueryStore.markQueryResult don't try to set the network status of a fetchMoreForQueryId query, if it does not exist in the store. This was happening when a query component was unmounted while a fetchMore was still in flight. (@conrad-vanl in #3367, @doomsower in #3469)
  • v1.6.6

    May 09, 2020
  • v1.6.5

    December 14, 2019
  • v1.6.3

    August 10, 2019
  • v1.6.2

    June 06, 2019
  • v1.4.1 Changes

    • โšก๏ธ The optimism npm package has been updated to a version (0.6.9) that provides its own TypeScript declarations, which should fix problems like Issue #4327. PR #4331

    • ๐Ÿ–จ Error messages involving GraphQL queries now print the queries using JSON.stringify instead of the print function exported by the graphql package, to avoid pulling unnecessary printing logic into your JavaScript bundle. PR #4234

    • ๐Ÿšš The QueryKeyMaker abstraction has been removed, meaning that cache results for non-identical queries (or sub-queries) with equivalent structure will no longer be cached together. This feature was a nice optimization in certain specific use cases, but it was not worth the additional complexity or bundle size. PR #4245

  • v1.4.0 Changes

    • The speed and memory usage of optimistic reads and writes has been improved dramatically using a new layering technique that does not require copying the non-optimistic contents of the cache. PR #4319

    • ๐Ÿšš The RecordingCache abstraction has been removed, and thus is no longer exported from apollo-cache-inmemory. PR #4319

    • Export the optimism wrap function using ES2015 export syntax, instead of CommonJS. @ardatan in #4158

  • v1.3.12 Changes

    • Avoid using DepTrackingCache for optimistic reads. PR #4521

    • When creating an InMemoryCache object, it's now possible to disable the result caching behavior introduced in #3394, either for diagnostic purposes or because the benefit of caching repeated reads is not worth the extra memory usage in your application:

      new InMemoryCache({
      resultCaching: false
      })
      

      Part of PR #4521.

  • v1.3.11 Changes

    • No changes.