Skip to content

Releases: 0no-co/gql.tada

[email protected]

04 Oct 15:33
b172ffe
Compare
Choose a tag to compare

Patch Changes

@gql.tada/[email protected]

04 Oct 15:33
b172ffe
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix turbo 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 the turbo 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)

[email protected]

20 Sep 17:35
c4ebc0d
Compare
Choose a tag to compare

Patch Changes

  • Add missing setter to loc property
    Submitted by @kitten (See #400)

[email protected]

19 Sep 14:01
331afc5
Compare
Choose a tag to compare

Patch Changes

  • Add loc getter to parsed DocumentNode fragment outputs to ensure that using fragments created by gql.tada's graphql() function with graphql-tag doesn't crash. graphql-tag does not treat the DocumentNode.loc property as optional on interpolations, which leads to intercompatibility issues
    Submitted by @kitten (See #396)

[email protected]

08 Sep 10:39
3c076c0
Compare
Choose a tag to compare

Patch Changes

  • Update internal type signature of initGraphQLTada<>() function and include initGraphQLTada<Setup> alias type. This alias type makes it more intuitive to declare types the return type of initGraphQLTada(), since it mirrors the same name
    Submitted by @kitten (See #377)
  • Updated dependencies (See #386 and #388)

@gql.tada/[email protected]

08 Sep 10:39
3c076c0
Compare
Choose a tag to compare

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 over extends values trying to locate a GraphQLSP plugin entry
    Submitted by @aweber1 (See #386)

@gql.tada/[email protected]

08 Sep 10:39
3c076c0
Compare
Choose a tag to compare

Patch Changes

  • Strip our internal @_unmask directive from fragment-definitions during persisted-operations generation
    Submitted by @JoviDeCroock (See #388)
  • Updated dependencies (See #386)

[email protected]

21 Aug 14:13
a9bf8b8
Compare
Choose a tag to compare

Patch Changes

  • Remove redundant never default on readFragment<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 __typenames 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/[email protected]

21 Aug 14:13
a9bf8b8
Compare
Choose a tag to compare

Patch Changes

@gql.tada/[email protected]

21 Aug 14:13
a9bf8b8
Compare
Choose a tag to compare

Patch Changes