v3.0.4
版本发布时间: 2020-07-27 23:22:06
vuejs/apollo最新发布版本:v4.2.1(2024-08-23 17:42:42)
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
}