Skip to content

gql.tada@1.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Mar 12:57
· 204 commits to main since this release
0c383ac

Minor Changes

  • Add CLI entrypoint gql-tada capable of generating the types file without the LSP running
    Submitted by @JoviDeCroock (See #58)
  • Add graphql.persisted() to create an API for persisted documents that omits a query’s definitions from the output bundle
    Submitted by @kitten (See #98)

Patch Changes

  • Allow graphql.scalar to resolve types for input objects
    Submitted by @kitten (See #97)
  • Address performance cliff for getDocumentNode inference and object-flattening utilities
    Submitted by @kitten (See #107)
  • Refactor type unwrapping for NON_NULL field types (with @_optional and @_required), input types, and variable types
    Submitted by @kitten (See #104)
  • ⚠️ Fix $tada not being exported, which can cause projects with isolatedModules: true set from building
    Submitted by @kitten (See #99)
  • ⚠️ Fix schema pathname resolution in CLI
    Submitted by @wyattades (See #82)
  • Add disableMasking flag to allow fragment masking to be disabled. When this is set to true on the setupSchema interface, fragments won’t be masked, which imitates the behaviour you’d see when adding @_unmask to every single one of your fragments. This is currently considered a preview feature
    Submitted by @kitten (See #69)
  • Keep the possible types that are iterated through narrow through repeated abstract type fragment spreads, and provide an optional __typename?: PossibleType field by default so the type checker has an exact property to merge types on
    Submitted by @kitten (See #102)
  • Handle inference of input object fields with missing defaultValue properties in introspection
    Submitted by @llllvvuu (See #101)
  • Add missing support for input object fields with default values. Previously, input object fields with default values were still marked as required in variables
    Submitted by @kitten (See #73)
  • Refactor several internal utility types
    Submitted by @kitten (See #68)
  • Updated dependencies (See #58)
    • @gql.tada/cli-utils@0.1.0