All Versions
111
Latest Version
Avg Release Cycle
18 days
Latest Release
192 days ago

Changelog History
Page 5

  • v2.4.0

    August 17, 2018
    • ➕ Add proper error handling for subscriptions. If you have defined an error handler on your subscription observer, it will now be called when an error comes back in a result, and the next handler will be skipped (similar to how we're handling errors with mutations). Previously, the error was just passed in the result to the next handler. If you don't have an error handler defined, the previous functionality is maintained, meaning the error is passed in the result, giving the next handler a chance to deal with it. This should help address backwards compatibility (and is the reason for the minor version bumo in this release). @clayne11 in #3800
    • 👍 Allow an optimistic param to be passed into ApolloClient.readQuery and ApolloClient.readFragment, that when set to true, will allow optimistic results to be returned. Is false by default. @jay1337 in #2429
    • ✅ Optimistic tests cleanup. @joshribakoff in #3713
    • 📦 Make sure each package has its own .npmignore, so they're taken into consideration when publishing via lerna. @hwillson in #3828
    • 📚 Documentation updates. @toolness in #3804 @pungggi in #3798 @lorensr in #3748 @joshribakoff in #3730 @yalamber in #3819 @pschreibs85 in #3812 @msreekm in #3808 @kamaltmo in #3806 @lorensr in #3739 @brainkim in #3680
  • v2.3.8

    August 09, 2018
  • v2.3.7

    July 24, 2018
    • 🚀 Release 2.3.6 broke Typescript compilation. QueryManager's getQueryWithPreviousResult method included an invalid variables return type in the auto-generated core/QueryManager.d.ts declaration file. The type definition had a locally referenced path, that appears to have been caused by the typescript compiler getting confused at compile/publish time. getQueryWithPreviousResult return types are now excplicity identified, which helps Typescript avoid the local type reference. For more details, see https://github.com/apollographql/apollo-client/issues/3729. @hwillson in #3731
  • v2.3.6

    July 24, 2018
  • v2.3.5

    June 19, 2018
  • v2.3.4

    June 13, 2018
    • Export the QueryOptions interface, to make sure it can be used by other projects (like apollo-angular).
    • 🛠 Fixed an issue caused by typescript changes to the constructor defaultOptions param, that prevented query defaults from passing type checks. (@hwillson in #3585)
  • v2.3.3

    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

    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.3

    August 10, 2019
  • v1.6.2

    June 06, 2019