Releases: vuejs/apollo
Releases Β· vuejs/apollo
v2.1.0-beta.2
Breaking changes
- Smart query:
resulthook parameter is now a full ApolloQueryResult object.
New
- SSR:
apolloProvider.collectnewwaitForLoadedoption (doc). This allow waiting for all queries to be loaded, even when they return partial results (for example, from cache).
Improved
- Better query loading state handling
Other
v2.1.0-beta.1
Breaking changes
- Starting with this release, you need to create an apollo provider and inject it into your root components (like
vue-routerorvuex), instead of passing the apollo client into the plugin directly. More info in the docs. This breaking change was necessary for the two main new features below.
New features
- Multiple clients support
- Work-in progress SSR
- Support for
refetch,setVariables,setOptions,startPollingandstopPollingon smart queries
Misc
- Tested with
apollo-client@1.0.1 - Better error messages
- Bumped
graphql-tagto2.0.0 - Code cleaning
v2.0.0-beta.2
- [BREAKING]
subscribeoption is deprecated. Use the$subscribeoption instead. - [BREAKING]
watchLoadingwas incorrectly namedloadingChangeCbin the code. It is nowwatchLoadingas it was stated in the doc. - [BREAKING] Removed
addGraphQLSubscriptionsfrom the package, since it is now exposed insubscriptions-transport-ws. - Compatibility with
apollo-client@1.0.0-rc.7. - New
subscribeToMorefeature on queries. - Data properties implicitly created in the apollo options are now shown in the vue devtools.
v1.4.0
v1.3.0
New
- The
throttleanddebounceoptions apply lodash throttle and debounce on the query when Vue variables change. Specify either a number of milliseconds or an object with thewaitoption (in milliseconds) and the lodash options.
Fixes
- When the query was rerun after variables change, the apollo cache was not used; apollo
setVariableshas been replaced withsetOptions. - Misc. loading count fix.
1.1.0-beta.2 - Pagination
- Access declarative queries with
this.$apollo.queries.<name> - Access declarative subscriptions with
this.$apollo.subscriptions.<name> - Pagniation with
fetchMoredocumentation
1.1.0-beta.1 - Subscriptions
- Basic graphql subscriptions support (doc)
1.0.0-rc.2
- Fix #10 (simple queries not working)
- Better compatibility with apollo-client@0.5.0
- It's no longer necessary to initialize the properties in the component
datahook.
1.0.0-rc.1
Bumped version to rc.1
v1.0.0-beta.11
- Compiled with babel before publishing to npm
- Fixes for compatibility with Vue 1.x