Skip to content

v7.0.0

Compare
Choose a tag to compare
@Gomah Gomah released this 12 Sep 12:44
· 39 commits to master since this release

What's Changed

BREAKING CHANGES

  • Drop for Nuxt 2 support, to continue using nuxt-graphql-request with Nuxt 2, stick to v6: yarn add nuxt-graphql-request@v6.
  • Remove file uploads feature

Features:

  • Nuxt 3 support, thanks to @nicktrn #53
  • Bump graphql-request to v6
  • Bump cross-fetch to v4 (support for Node 18 and 20)
  • gql file imports are now vite and webpack compatible
  • automatic type generation
  • responses can be fully typed with TypedDocumentNode (used by two of the test pages as examples)

Fixes:

  • defining a client at runtime only now works as expected