Releases: vuejs/apollo
Releases · vuejs/apollo
v3.0.0-rc.5
Fixed
- types: apollo methods generics, fixes #773
v3.0.0-rc.4
Fixed
- Types: missing
client
option 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:
update
prop - ApolloQuery & ApolloMutation:
loading
event
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
gql
in template
Fixed
- Check for provided truthiness, closes #532 (#533)
- updateQuery with result hook (#589)
- ssr: ssr blocking when
skip
is true (#511) - Invoke loadingDone when stopping SmartQuery (#559)
- ts: skip
and
prefetch` 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!
v3.0.0-beta.27
v3.0.0-beta.26
New
- ssr: provider default options
- ssr: config
- ssr: globalPrefetch
- ssr: mockInstance
Fixed
- fetching incorrect result from cache after an Apollo error (#343)
Others
- lots of docs improvements!