All Versions
111
Latest Version
Avg Release Cycle
18 days
Latest Release
192 days ago
Changelog History
Page 5
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 thenext
handler will be skipped (similar to how we're handling errors with mutations). Previously, the error was just passed in the result to thenext
handler. If you don't have anerror
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 intoApolloClient.readQuery
andApolloClient.readFragment
, that when set totrue
, will allow optimistic results to be returned. Isfalse
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
- ➕ Add proper error handling for subscriptions. If you have defined an
-
v2.3.8
August 09, 2018- Adjusted the
graphql
peer dependency to cover explicit minor ranges. Since the ^ operator only covers any minor version if the major version is not 0 (since a major version of 0 is technically considered development by semver 2), the current 0.11.0 || 14.0.0 graphql range doesn't cover 0.12.* or 0.13.*. This fixes theapollo-client@X has incorrect peer dependency "graphql@^0.11.0 || ^14.0.0"
errors that people might have seen usinggraphql
0.12.x or 0.13.x. @hwillson in #3746 - Document
setVariables
internal API status. @PowerKiKi in #3692 - Corrected
ApolloClient.queryManager
typing as it may beundefined
. @danilobuerger in #3661 - 👉 Make sure using a
no-cache
fetch policy with subscriptions prevents data from being cached. @hwillson in #3773 - 🛠 Fixed an issue that sometimes caused empty query results, when using the
no-cache
fetch policy. @hwillson in #3777 - 📚 Documentation updates. @hwillson in #3750 @hwillson in #3754 @TheMightyPenguin in #3725 @bennypowers in #3668 @hwillson in #3762 @chentsulin in #3688 @chentsulin in #3687 @ardouglass in #3645 @hwillson in #3764 @hwillson in #3767 @hwillson in #3774 @hwillson in #3779
- Adjusted the
-
v2.3.7
July 24, 2018- 🚀 Release 2.3.6 broke Typescript compilation.
QueryManager
'sgetQueryWithPreviousResult
method included an invalidvariables
return type in the auto-generatedcore/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
- 🚀 Release 2.3.6 broke Typescript compilation.
-
v2.3.6
July 24, 2018- 📚 Documentation updates. @ananth99 in #3599 @hwillson in #3635 @JakeDawkins in #3642 @hwillson in #3644 @gbau in #3644 @chentsulin in #3608 @MikaelCarpenter in #3609 @Gamezpedia in #3612 @jinxac in #3647 @abernix in #3705 @dandv in #3703 @hwillson in #3580
- ⚡️ Updated
graphql
peerDependencies
to handle 14.x versions. @ivank in #3598 - ➕ Add optional generic type params for variables on low level methods. @mvestergaard in #3588
- ➕ Add a new
awaitRefetchQueries
config option to the Apollo Clientmutate
function, that when set totrue
will wait for allrefetchQueries
to be fully refetched, before resolving the mutation call.awaitRefetchQueries
isfalse
by default. @jzimmek in #3169
-
v2.3.5
June 19, 2018- ⚡️ Internal code formatting updates.
- @chentsulin in #3574
- 📚 Documentation updates.
- @andtos90 in #3596
- @serranoarevalo in #3554
- @cooperka in #3594
- @pravdomil in #3587
- @excitement-engineer in #3309
- ⚡️ Internal code formatting updates.
-
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 byApolloClient.query
options, instead of the previousWatchQueryOptions
interface. This helps reduce confusion (especially in the docs) that made it look likeApolloClient.query
acceptedApolloClient.watchQuery
only options, likepollingInterval
. (@hwillson in #3569)
- Typescript improvements. Made observable query parameterized on data and
variables:
-
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 toObservableQuery.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 theprototype
ofthis
manually. (@seklyza in #3306) - ➕ Added safeguards to make sure
QueryStore.initQuery
andQueryStore.markQueryResult
don't try to set the network status of afetchMoreForQueryId
query, if it does not exist in the store. This was happening when a query component was unmounted while afetchMore
was still in flight. (@conrad-vanl in #3367, @doomsower in #3469)
- 🛠 Fix SSR and
-
v1.6.3
August 10, 2019 -
v1.6.2
June 06, 2019