MyGit

v4.0.0-alpha.1

vuejs/apollo

版本发布时间: 2019-12-04 23:08:30

vuejs/apollo最新发布版本:v4.0.2(2024-03-08 18:56:30)

V4 Alpha is now live! It is full packed with changes, most notably an entirely new API based on the new Vue Composition API. This releases prepares the future full v4 release which will be streamlined and lighter.

Although the alpha is already quite extensively tested, it is not recommended to use it in production just yet. We will do our best to have the least number of breaking changes during the development cycle, but it can still happen until the beta when the API will be stable.

Documentation preview lives here: https://v4.apollo.vuejs.org/

BREAKING CHANGES

import VueApolloOption from '@vue/apollo-option'
import VueApolloComponents from '@vue/apollo-components'

Vue.use(VueApolloOption)
Vue.use(VueApolloComponents)

Before:

ApolloSSR.getStates(apolloProvider)

After:

ApolloSSR.getStates({
  defaultClient: apolloClient
})

Or:

ApolloSSR.getStates(apolloProvider.clients)

New

相关地址:原始地址 下载(tar) 下载(zip)

查看:2019-12-04发行的版本