Skip to content

Releases: piglovesyou/graphql-let

v0.10.0

28 Apr 16:23
Compare
Choose a tag to compare

Migration from 0.9.x to 0.10.x

The diff.

To migrate from 0.9.x or older, please do these three:

  1. Modify .gitignore: erase __generated__ and add *.graphql.d.ts (and *.graphqls.d.ts, if you use Resolver Types feature)
  2. Erase generateDir property from your .graphql-let.yml. It's not in use anymore. (Tip: The intermediate .tsxs are now generated in node_modules/graphql-let/__generated__)
  3. If you specify local files in schema in .graphql-let.yml, point to a single schema file, like lib/type-defs.graphqls. Glob pattern (**/*.graphqls) is not supported anymore.

Changes

  • fix: It writes d.ts in the same directory of corresponding .graphqls so they never conflict, fixes #82, thanks @freshollie for reporting
  • feat: You can jump from import "./a.graphql" to a.graphql.d.ts in IDE, fixes #25

This release includes a breaking change on the experimental feature.

  • Pointing schema file in .graphql-let now should a single file, because generating .graphqls.d.ts has to have a name

There're several spec changes as well.

  • Intermediate files of .tsx are written always in node_modules/graphql-let/__generated__
  • generateDir in graphql-let.yml gets obsolete
  • Let schema.graphql.d.ts have default export of DocumentNode for those who uses graphql-tag/loader after graphql-let/schema/loader

v0.9.6

28 Apr 09:34
Compare
Choose a tag to compare
  • Optimize TypeScript options and it become 3x faster. Thank you for reporting #83, @aarnej

v0.9.3

15 Mar 09:26
Compare
Choose a tag to compare

Fixes #64. Big thanks for the issue and PR that fixed it by @deanslamajr 😄

v0.9.1

15 Mar 09:23
Compare
Choose a tag to compare

Fixes #67. Thank you for reporting, @lukasluecke 😄

v0.9.0

27 Feb 13:36
Compare
Choose a tag to compare

Breaking change: now the @graphql-codegen/cli and @graphql-codegen/plugin-helpers are in peerDependencies. Please run the following:

yarn add --dev @graphql-codegen/cli @graphql-codegen/plugin-helpers

v0.8.0

22 Feb 04:19
Compare
Choose a tag to compare
  • Resolver Types #47

v0.6.2

30 Jan 23:36
Compare
Choose a tag to compare
0.6.2