Releases: 0no-co/gql.tada
Releases · 0no-co/gql.tada
gql.tada@1.8.10
@gql.tada/cli-utils@1.6.3
Patch Changes
⚠️ Fixturbo
command's cache disabling override not being effective. This was a regression that meant the cached outputs would be reused during the next run of theturbo
command
Submitted by @kitten (See #409)- Create target directories if they don't exist and the CLI is trying to write to them
Submitted by @kitten (See #401)
gql.tada@1.8.9
gql.tada@1.8.8
Patch Changes
- Add
loc
getter to parsedDocumentNode
fragment outputs to ensure that using fragments created bygql.tada
'sgraphql()
function withgraphql-tag
doesn't crash.graphql-tag
does not treat theDocumentNode.loc
property as optional on interpolations, which leads to intercompatibility issues
Submitted by @kitten (See #396)
gql.tada@1.8.7
Patch Changes
- Update internal type signature of
initGraphQLTada<>()
function and includeinitGraphQLTada<Setup>
alias type. This alias type makes it more intuitive to declare types the return type ofinitGraphQLTada()
, since it mirrors the same name
Submitted by @kitten (See #377) - Updated dependencies (See #386 and #388)
- @gql.tada/internal@1.0.8
- @gql.tada/cli-utils@1.6.2
@gql.tada/internal@1.0.8
Patch Changes
- Update the tsconfig resolver to better handle an array of "extends" values in tsconfig.json files when trying to locate the GraphQLSP plugin entry. Before, if you were using an array for "extends", e.g.
"extends: ["./file1.json", "./file2.json"]
, the first file loaded that did not have a GraphQLSP plugin entry defined would throw an error and prevent subsequent files from being loaded and evaluated. The implemented change now allows for the resolver to continue iterating overextends
values trying to locate a GraphQLSP plugin entry
Submitted by @aweber1 (See #386)
@gql.tada/cli-utils@1.6.2
Patch Changes
- Strip our internal
@_unmask
directive from fragment-definitions during persisted-operations generation
Submitted by @JoviDeCroock (See #388) - Updated dependencies (See #386)
- @gql.tada/internal@1.0.8
gql.tada@1.8.6
Patch Changes
- Remove redundant
never
default onreadFragment<Document>()
signature (explicit generic passed)
Submitted by @kitten (See #371) - Upgrade dependencies
Submitted by @kitten (See #373) - Allow
readFragment(doc, data)
to narrow output's__typename
s by the input type
Submitted by @kitten (See #372) - Add
__typename
narrowing of unmasked interface fragment spreads, which could otherwise lead to confusion. This usually is relevant when the parent selection set forgets to include a__typename
selection
Submitted by @kitten (See #368) - Improve type output readability for interfaces with narrowed types
Submitted by @kitten (See #370) - Updated dependencies (See #373)
- @gql.tada/cli-utils@1.6.1
- @gql.tada/internal@1.0.7