Releases: vuejs/apollo
Releases Β· vuejs/apollo
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-router
orvuex
), 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
,startPolling
andstopPolling
on smart queries
Misc
- Tested with
apollo-client@1.0.1
- Better error messages
- Bumped
graphql-tag
to2.0.0
- Code cleaning
v2.0.0-beta.2
- [BREAKING]
subscribe
option is deprecated. Use the$subscribe
option instead. - [BREAKING]
watchLoading
was incorrectly namedloadingChangeCb
in the code. It is nowwatchLoading
as it was stated in the doc. - [BREAKING] Removed
addGraphQLSubscriptions
from the package, since it is now exposed insubscriptions-transport-ws
. - Compatibility with
apollo-client@1.0.0-rc.7
. - New
subscribeToMore
feature 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
throttle
anddebounce
options apply lodash throttle and debounce on the query when Vue variables change. Specify either a number of milliseconds or an object with thewait
option (in milliseconds) and the lodash options.
Fixes
- When the query was rerun after variables change, the apollo cache was not used; apollo
setVariables
has 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
fetchMore
documentation
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
data
hook.
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
v1.0.0-beta.8
- Fix data & loadingKey
- Apollo "hello world" example app