Skip to content

Releases: vuejs/apollo

v3.0.0-beta.10

11 May 14:00
Compare
Choose a tag to compare
v3.0.0-beta.10 Pre-release
Pre-release

New

  • <ApolloMutation/> component added (docs)
  • Events added for <ApolloQuery/> component (docs)
  • times scoped slot prop added for <ApolloQuery/>
  • result hook on subscribeToMore in 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

12 Feb 15:46
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

Fixed

  • If query is a function, call it in prefetchAll - fix #153
  • SmartSubscription: bind updateQuery to vm - fix #154
  • npm ignore babel/eslint configs - fix #211

Fixed in previous release

  • Don't require the key to match the query name #186 by @nachocab
  • fix TypeScript error when multiple clients are used #193 @azulite

v3.0.0-beta.1

11 Feb 21:31
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

Breaking change

  • For Vue 2.x, ApolloProvider now uses the inject/provide feature of Vue to inject itself into any child component in the app. Migration path: replace apolloProvider, with provide: 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

  • willPrefetch now 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).
  • willPrefetch is now exposed on window or global as vueApolloWillPrefetch. This can be useful when authoring 3rd-party libraries using vue-apollo.

v3.0.0-alpha.3

22 Dec 14:08
4c5a70a
Compare
Choose a tag to compare
v3.0.0-alpha.3 Pre-release
Pre-release

New

v3.0.0-alpha.2next

01 Nov 20:07
Compare
Choose a tag to compare
v3.0.0-alpha.2next Pre-release
Pre-release

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

28 Oct 14:40
Compare
Choose a tag to compare
v3.0.0-alpha.1 Pre-release
Pre-release

New

  • Supports Apollo Client 2.x

v2.1.0-rc.5

14 Sep 10:06
Compare
Choose a tag to compare
v2.1.0-rc.5 Pre-release
Pre-release

New

  • Manual mode (doc).

Improved

  • Subscriptions don't rerun if variables didn't change #116 (thanks @Frizi)

v2.1.0-rc.4

29 Aug 12:00
Compare
Choose a tag to compare
v2.1.0-rc.4 Pre-release
Pre-release

Fixed

  • (SSR) Issue with apolloProvider.exportStates default options

v2.1.0-rc.3

29 Aug 11:42
Compare
Choose a tag to compare
v2.1.0-rc.3 Pre-release
Pre-release

Fixed

  • SSR crash (Error: You must wrap the query string in a "gql" tag.)
  • Reverted to old behavior for this.$apollo so it can be used in components that don't have an apollo option.

v2.1.0-rc.2

28 Aug 17:41
Compare
Choose a tag to compare
v2.1.0-rc.2 Pre-release
Pre-release

New

  • Apollo definition (see doc):
    • $loadingKey: default value for the component
    • $error: extra error handler for the component
    • $watchLoading: extra loading watcher
  • Apollo Provider Constructor options (see doc):
    • defaultOptions: default object for all the apollo definitions
    • watchLoading: global loading watcher
    • errorHandler: global error handler

Improved

Fixed

  • #101 SSR variables is now undefined if prefetch is true and no variables option is present on the smart query