Releases: vuejs/apollo
Releases Β· vuejs/apollo
v4.0.0-alpha.18
v4.0.0-alpha.17
Bug Fixes
- $apollo null error if smar obj is destroyed but has throttled/debounced calls (d6d4da1)
- added client options to error policy (#1318) (61261bc)
- avoid onServerPrefetch warning (#1281) (cf89b25)
- remove console.log (a79b790)
- subscriptions array leak (#1248) (f31fa15)
- useQuery loading and debounce issues (#1313) (082acf9), closes #1235 #1271
Features
v4.0.0-alpha.16
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
- upgrade dependencies (0595bd3)
v3.1.0
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
v3.0.7
v3.0.6
v3.0.5
v3.0.4
Fixed
- Security: Upgrade serialize-javascript to 4.0.0 to resolve https://nvd.nist.gov/vuln/detail/CVE-2020-7660 Fixes #993 (#1008)
- Apollo Client 3 support: use getCurrentResult (#981)
- Cannot Re-assign $apollo, closes #924 (#930)
- check errors.length on array (#984)
- SSR: ignore pollInterval on server (#908)
- SSR: reject serverPrefetch with error (#901)
- Remove .gql/.graphql types (#881)
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
}