Releases: piglovesyou/graphql-let
Releases · piglovesyou/graphql-let
v0.10.0
Migration from 0.9.x to 0.10.x
To migrate from 0.9.x or older, please do these three:
- Modify
.gitignore
: erase__generated__
and add*.graphql.d.ts
(and*.graphqls.d.ts
, if you use Resolver Types feature) - Erase
generateDir
property from your .graphql-let.yml. It's not in use anymore. (Tip: The intermediate.tsx
s are now generated innode_modules/graphql-let/__generated__
) - If you specify local files in
schema
in .graphql-let.yml, point to a single schema file, likelib/type-defs.graphqls
. Glob pattern (**/*.graphqls
) is not supported anymore.
Changes
- fix: It writes
d.ts
in the same directory of corresponding.graphql
s so they never conflict, fixes #82, thanks @freshollie for reporting - feat: You can jump from
import "./a.graphql"
toa.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 innode_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
aftergraphql-let/schema/loader
v0.9.6
v0.9.3
Fixes #64. Big thanks for the issue and PR that fixed it by @deanslamajr 😄
v0.9.1
Fixes #67. Thank you for reporting, @lukasluecke 😄
v0.9.0
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
v0.6.2
0.6.2