Releases: vuejs/apollo
Releases · vuejs/apollo
v3.0.0-rc.6
Fixed
- types: allow typing
thisin theapollooption in decorator, closes #780 - types: allow typing the variables for
VueApolloQueryDefinition, closes #787
Known issues
- types: Using the array notation for
subscribeToMoremay not inferthiscorrectly because of an issue in TypeScript. Workaround: use a function to return the whole query definition and use arrow functions (example).
v3.0.0-rc.5
Fixed
- types: apollo methods generics, fixes #773
v3.0.0-rc.4
Fixed
- Types: missing
clientoption on$subscribe
v3.0.0-rc.3
Potential breaking changes
- TypeScript users please read : Types have been almost entirely rewritten, which fixes a lot of issues with typing. But it may also throw errors that weren't catched before, especially if you don't annotate return types in reactive functions, see example. I'm very sorry for the potential breaking changes in a Release Candidate, but it's a necessary evil for the upcoming stable release.
New
Fixed
- Externalize apollo and graphql libraries (#722)
v3.0.0-rc.2
New
- ApolloQuery: new options prop
Fixed
- result not called with notifyOnNetworkStatusChange, closes #263
- apply throttle on query, document, context
v3.0.0-rc.1
Fixed
- SSR: add serialize-javascript for removing xss from javascript delivered to client when exporting apollo states. (#624)
- types: add client to mutation options (#644)
- types: optimisticResponse typing issue (#627)
- types: use ApolloQueryResult & FetchResult
- mark apollo-link as peer dependency (some types are used from
apollo-link)
v3.0.0-beta.30
New
- ApolloQuery:
updateprop - ApolloQuery & ApolloMutation:
loadingevent
Fixed
- uncaught in promise on client-side, closes #572
v3.0.0-beta.29
New
- ApolloQuery: prefetch prop, closes #594
- Apollo components: allow usage of
gqlin template
Fixed
- Check for provided truthiness, closes #532 (#533)
- updateQuery with result hook (#589)
- ssr: ssr blocking when
skipis true (#511) - Invoke loadingDone when stopping SmartQuery (#559)
- ts: skip
andprefetch` query options definitions (#556) - ts: prefetch type (#517)
- ts: VueApolloSubscriptionOptions typing (#499)
- ts: Add missing declarations to $apolloProvider (#493)
Docs
- new ApolloQuery docs with gql tag (now recommended)
- new fragments docs
- A lot of fixes and improvements (thank you contributors! 😻)
v3.0.0-beta.28
Breaking change
The SSR system has been completely reworked to use the brand new serverPrefetch system from Vue 2.6. This means a few things:
- The fake instance tree is no more!
- No vue-apollo specific caveats for SSR anymore.
- Full compability with SSR-compatible Vue plugins.
- Using an official public API from Vue means no breaking in future Vue 2.x versions!
Take a look at the updated SSR guide!