Skip to content

Releases: vuejs/apollo

v4.0.0-alpha.18

23 Jun 13:32
Compare
Choose a tag to compare
v4.0.0-alpha.18 Pre-release
Pre-release

Bug Fixes

v4.0.0-alpha.17

03 May 15:12
Compare
Choose a tag to compare
v4.0.0-alpha.17 Pre-release
Pre-release

Bug Fixes

Features

  • allow providing multiple apolloClients outside of setup/vue context in vue-apollo-composable (#1340) (64491ce)
  • deprecate useResult (0e9fb48)
  • update vue-demi (af9f20f)

v4.0.0-alpha.16

29 Nov 10:06
Compare
Choose a tag to compare
v4.0.0-alpha.16 Pre-release
Pre-release

Bug Fixes

  • destruction of $apollo in vue-apollo-option (#1273) (e2dad14)
  • duplicate call to catchError, closes #1133 (eaf1da7)
  • improve peerDeps declaration, closes #1263 (3c8545b)
  • useMutation outside setup (#1262) (9b3af01)
  • useQuery: improve error handling with errorPolicy set to 'all' (04ab9f6)
  • useSubscription outside of component (a37a560)

Features

v3.1.0

18 Nov 13:28
Compare
Choose a tag to compare

Fixed

  • Fixed subscription error handling to work around some Apollo Client inconsistencies, errors should now be correctly handled by vue-apollo
  • Subscriptions now automatically restart on error just like queries, closes #877
  • $skipAllQueries and $skipAllSubscriptions now work on initial component mount

v3.0.8

20 Sep 18:39
Compare
Choose a tag to compare

Fixed

  • fix(smart apollo): ensure SmartQuery variables still function when watched expression evaluated (#1161)
  • fix(types): add throttle and debounce options #1257

v3.0.7

11 Feb 18:06
Compare
Choose a tag to compare

Fixed

  • fix(smart query): initial data not retrieved from cache if query was fetched already once (only on Apollo Client 3)

v3.0.6

11 Feb 12:13
Compare
Choose a tag to compare

Fixed

  • ApolloQuery: null error in isDataFilled, closes #933
  • removed unnecessary loading check (#1111)

New

  • types: allow pass generic type to ObservableQuery (#1103)

v3.0.5

15 Oct 15:38
Compare
Choose a tag to compare

Fixed

  • smartquery: pass through error to rejection (#874)
  • ApolloMutation: missing context prop
  • ApolloMutation: return promise from mutate
  • typings improvements

v3.0.4

27 Jul 15:22
Compare
Choose a tag to compare

Fixed

For Typescript users, if you get errors with your .gql files, you can add a gql.d.ts file in your sources folder with the following content:

declare module '*.gql' {
  import { DocumentNode } from 'graphql'

  const content: DocumentNode
  export default content

}

declare module '*.graphql' {
  import { DocumentNode } from 'graphql'

  const content: DocumentNode
  export default content
}

v3.0.3

24 Jan 22:07
Compare
Choose a tag to compare

Fixed

  • ssr: components with inline templates crashing, closes #879