Skip to content

@gql.tada/cli-utils@1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Apr 15:52
· 130 commits to main since this release
aa47321

Read the full release announcement post at: https://gql-tada.0no.co/devlog/2024-04-15

Major Changes

  • Add stdout-piping support in some commands and adjust command arguments for consistency
    Submitted by @kitten (See #197)
  • Add stylised log output and threading to commands
    Submitted by @kitten (See #200)

Minor Changes

  • Add gql-tada turbo which will calculate all the types from graphql() calls so subsequent
    clones, ... won't have to calculate all the types
    Submitted by @JoviDeCroock (See #183)
  • Implement generate-persisted as a way to go through all of the codebase and generate a persisted operations manifest
    Submitted by @JoviDeCroock (See #176)
  • Support a second argument in graphql.persisted which accepts a TadaDocumentNode rather than passing a generic. This allows the document node to not be hidden, to still generate documentId via gql.tada without having to hide the document during runtime
    Submitted by @JoviDeCroock (See #188)
  • Expose internal generate commands as functions exported by @gql.tada/cli-utils (restoring prior functionality)
    Submitted by @kitten (See #207)
  • Add check as a way to run the GraphQLSP diagnostics as part of our CLI
    Submitted by @JoviDeCroock (See #170)
  • Add doctor command to diagnose common issues with the LSP and gql.tada
    Submitted by @JoviDeCroock (See #169)
  • Add the init command for the CLI
    Submitted by @JoviDeCroock (See #182)
  • Add --tsconfig option to the check command, update its log output, and add support for GitHub Actions annotations to it
    Submitted by @kitten (See #199)
  • Add annotations for GitHub actions to command outputs that report diagnostics
    Submitted by @kitten (See #200)

Patch Changes

  • Remove interactive output in non-interactive environments
    Submitted by @kitten (See #203)
  • ⚠️ Fix turbo command reusing previously cached turbo typings. Instead, we now set a flag to disable the cache temporarily inside the command
    Submitted by @kitten (See #208)
  • Add bundled licenses of internalized modules
    Submitted by @kitten (See #175)
  • ⚠️ Fix crash in generate turbo command when returnType.symbol is undefined
    Submitted by @kitten (See #205)
  • Improve log output of doctor command
    Submitted by @kitten (See #193)
  • Updated dependencies (See #184, #175, #170, #192, #185, and #200)
    • @gql.tada/internal@0.2.0