Releases: vuejs/apollo
Releases Β· vuejs/apollo
v3.0.0-beta.11
Improved
- Pass back
isLoadingto scoped-slot (#218) - Add default query options (#257)
- Remove lodash to reduce final size (#251)
Fixed
no-cache smart queries are throwing exceptions in optimistic UI updates (#280)- relax getter on loading (#237)
- Update typed apollo provider (#273)
- Add Typescript type for addSmartQuery() (#230)
- fix: #265 silent errors if catched
- refactor: watchers in start() fix #122
- refactor: callHandlers fix #108
- fix: #239 skip prop proxy if query is manual
v3.0.0-beta.10
New
<ApolloMutation/>component added (docs)- Events added for
<ApolloQuery/>component (docs) timesscoped slot prop added for<ApolloQuery/>resulthook onsubscribeToMorein smart queries
Improved
- You no longer need to declare and initialize the data props in
data()
Fixed
- The data props are now displayed correctly in the vue devtools
v3.0.0-beta.2
v3.0.0-beta.1
Breaking change
- For Vue 2.x,
ApolloProvidernow uses theinject/providefeature of Vue to inject itself into any child component in the app. Migration path: replaceapolloProvider,withprovide: apolloProvider.provide(),on you main Vue instance (doc).
New
- Query components (doc).
- Loading state (doc).
- Install vue-apollo in 2 minutes with the vue-cli 3.x plugin: repo
Improved
willPrefetchnow accepts a 2nd argument, which is a callback getting the context as argument and that should return a boolean indicating if the component will be prefetched or not (doc).willPrefetchis now exposed onwindoworglobalasvueApolloWillPrefetch. This can be useful when authoring 3rd-party libraries using vue-apollo.
v3.0.0-alpha.3
v3.0.0-alpha.2next
Fixed
- Component data was not updating is the variables changed and the data was in the cache (when apollo wasn't making a request).
v3.0.0-alpha.1
New
- Supports Apollo Client 2.x
v2.1.0-rc.5
v2.1.0-rc.4
Fixed
- (SSR) Issue with
apolloProvider.exportStatesdefault options
v2.1.0-rc.3
Fixed
- SSR crash (
Error: You must wrap the query string in a "gql" tag.) - Reverted to old behavior for
this.$apolloso it can be used in components that don't have anapollooption.