Skip to content

Releases: 0no-co/gql.tada

gql.tada@1.4.0

21 Mar 12:42
4abdfc0
Compare
Choose a tag to compare

Minor Changes

  • Accept a pre-processed schema when setting up gql.tada for the AbstractSetupSchema.introspection option. This allows us to map an IntrospectionQuery ahead of time
    Submitted by @kitten (See #147)
  • Add @gql.tada/internal package to extract common logic between the CLI and the LSP
    Submitted by @JoviDeCroock (See #149)
  • Change the default scalar type of ID to be string, as the GraphQL spec recommends it to serialize to a string
    Submitted by @JoviDeCroock (See #146)

Patch Changes

  • Remove stringLiteral generic constraint, causing errors depending on TypeScript version
    Submitted by @kitten (See #151)
  • Updated dependencies (See #155, #150, and #149)
    • @gql.tada/cli-utils@0.3.0
    • @gql.tada/internal@0.1.0

@gql.tada/internal@0.1.0

21 Mar 12:43
4abdfc0
Compare
Choose a tag to compare

Minor Changes

  • Expose introspection output format generation from @gql.tada/internal and implement a new pre-processed output format, which pre-computes the output of the mapIntrospection type
    Submitted by @kitten (See #150)
  • Add @gql.tada/internal package to extract common logic between the CLI and the LSP
    Submitted by @JoviDeCroock (See #149)

@gql.tada/cli-utils@0.3.0

21 Mar 12:43
4abdfc0
Compare
Choose a tag to compare

Minor Changes

  • Enable pre-processed introspection output by default (since it only applies to d.ts outputs)
    Submitted by @kitten (See #155)
  • Expose introspection output format generation from @gql.tada/internal and implement a new pre-processed output format, which pre-computes the output of the mapIntrospection type
    Submitted by @kitten (See #150)
  • Add @gql.tada/internal package to extract common logic between the CLI and the LSP
    Submitted by @JoviDeCroock (See #149)

Patch Changes

  • Updated dependencies (See #150 and #149)
    • @gql.tada/internal@0.1.0

gql.tada@1.3.6

18 Mar 15:12
e882036
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix tokenizer not handling repeated digits for floats
    Submitted by @kitten (See #140)

gql.tada@1.3.5

15 Mar 12:35
82744b6
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies (See #135)
    • @gql.tada/cli-utils@0.2.0

@gql.tada/cli-utils@0.2.0

15 Mar 12:35
82744b6
Compare
Choose a tag to compare

Minor Changes

  • Abstract core logic for generate-schema and generate-output CLI commands into importable Node.js API's
    Submitted by @matthewvolk (See #135)

gql.tada@1.3.4

11 Mar 21:18
843e49d
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies (See #131)
    • @gql.tada/cli-utils@0.1.2

gql.tada@1.3.3

11 Mar 15:27
d4afacd
Compare
Choose a tag to compare

Patch Changes

  • Replace redundant $tada.ref value on $tada.fragmentRefs definitions for masked fragments with typename string literal. The record for fragment masks is already namespaced, so there wasn't a need to use a symbol value here, and this further increases readability and usefulness
    Submitted by @kitten (See #126)
  • Allow readFragment() to accept the document as a generic rather than a (runtime value) argument. This replaces the complex mapping type for input arguments, and hence drops the (undocumented) support for nested arrays being passed to it
    Submitted by @kitten (See #128)

@gql.tada/cli-utils@0.1.2

11 Mar 21:18
843e49d
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix generate-schema not forwarding single header
    Submitted by @deini (See #131)

gql.tada@1.3.2

08 Mar 23:44
16c4e0b
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix tokenizer hitting tail recursion limit by recursing on each ignored token
    Submitted by @kitten (See #125)
  • Allow readFragment to be called again on an already unmasked fragment
    Submitted by @kitten (See #124)
  • Re-export DocumentDecoration
    Submitted by @kitten (See #113)
  • Updated dependencies (See #120)
    • @gql.tada/cli-utils@0.1.1