Skip to content

Releases: 0no-co/GraphQLSP

@0no-co/graphqlsp@1.12.5

27 May 09:58
178858a
Compare
Choose a tag to compare

Patch Changes

  • Support property-access-chain in binary-expression assignment
    Submitted by @JoviDeCroock (See #324)

@0no-co/graphqlsp@1.12.4

27 May 09:31
f700878
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix fragments not being resolved when they're assigned to a property on an arbitrary identifier as an identifier
    Submitted by @kitten (See #322)

@0no-co/graphqlsp@1.12.3

13 May 17:49
b6fab06
Compare
Choose a tag to compare

Patch Changes

  • Remove unused node-fetch dependency
    Submitted by @kitten (See #318)
  • Support finding graphql() invocations within call-expressions
    Submitted by @JoviDeCroock (See #319)
  • Upgrade @gql.tada/internal to ^1.0.0
    Submitted by @kitten (See #317)

@0no-co/graphqlsp@1.12.2

03 May 05:58
af466b7
Compare
Choose a tag to compare

Patch Changes

  • Update graphql to variably support ^15.5.0 and include future support for v17. The graphql package is now marked as a peer dependency in addition to a regular dependency
    Submitted by @kitten (See #314)

@0no-co/graphqlsp@1.12.1

26 Apr 13:35
73665d0
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix schema name being determined incorrectly when calling graphql from namespace/property-access
    Submitted by @kitten (See #312)

@0no-co/graphqlsp@1.12.0

26 Apr 09:54
847a476
Compare
Choose a tag to compare

Minor Changes

  • Add support for defining multiple indepenent schemas through a new config property called schemas, you can
    pass a config like the following:
    {
      "name": "@0no-co/graphqlsp",
      "schemas": [
        {
          "name": "pokemons",
          "schema": "./pokemons.graphql",
          "tadaOutputLocation": "./pokemons-introspection.d.ts"
        },
        {
          "name": "weather",
          "schema": "./weather.graphql",
          "tadaOutputLocation": "./weather-introspection.d.ts"
        }
      ]
    }
    The LSP will depending on what graphql() template you use figure out what API you are reaching out to.
    Submitted by @JoviDeCroock (See #303)
  • Expose findAllCallExpressions on @0no-co/graphqlsp/api
    Submitted by @kitten (See #308)
  • Expand support for gql.tada API. GraphQLSP will now recognize graphql()/graphql.persisted() calls regardless of variable naming and support more obscure usage patterns
    Submitted by @kitten (See #309)

@0no-co/graphqlsp@1.11.0

22 Apr 11:03
de97db6
Compare
Choose a tag to compare

Minor Changes

  • Add validation step to check that the persisted-operations hash has been updated when the document changes
    Submitted by @JoviDeCroock (See #301)

@0no-co/graphqlsp@1.10.3

20 Apr 09:44
4718107
Compare
Choose a tag to compare

Patch Changes

  • Correctly identify unused fields on a fragment-definition, these have no parent to group by so we display them as unused leaves
    Submitted by @JoviDeCroock (See #299)

@0no-co/graphqlsp@1.10.2

20 Apr 09:06
4ca851c
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix crash due to typeArguments being undefined
    Submitted by @JoviDeCroock (See #297)

@0no-co/graphqlsp@1.10.1

16 Apr 10:52
875b752
Compare
Choose a tag to compare

Patch Changes

  • switch error message for missing operation-name to not allude to typegen
    Submitted by @JoviDeCroock (See #290)
  • Swap-write introspection file instead of overwriting it directly
    Submitted by @kitten (See #291)
  • ⚠️ Fix directives being misreported due to globally declared regex maintaining state
    Submitted by @JoviDeCroock (See #293)