Skip to content

Releases: 0no-co/GraphQLSP

@0no-co/graphqlsp@1.3.0

24 Jan 09:09
16dd046
Compare
Choose a tag to compare

Minor Changes

@0no-co/graphqlsp@1.2.0

23 Jan 08:58
aa5b356
Compare
Choose a tag to compare

Minor Changes

  • support property assignment/objectAccessPattern
    Submitted by @JoviDeCroock (See #202)

@0no-co/graphqlsp@1.1.2

22 Jan 17:17
f242b6f
Compare
Choose a tag to compare

Patch Changes

  • Automatically disable Prettier and ESLint on tadaOutputLocation output files
    Submitted by @kitten (See #199)

@0no-co/graphqlsp@1.1.1

22 Jan 15:51
f413cd7
Compare
Choose a tag to compare

Patch Changes

  • Add @_unmask to known client directive list
    Submitted by @kitten (See #197)

@0no-co/graphqlsp@1.1.0

22 Jan 07:39
fc3ed76
Compare
Choose a tag to compare

Minor Changes

  • Add way to provide additional reserved keys for field-usage tracking by means of the reservedKeys config property which accepts an array of strings
    Submitted by @JoviDeCroock (See #195)

@0no-co/graphqlsp@1.0.7

20 Jan 13:01
e98d1be
Compare
Choose a tag to compare

Patch Changes

  • Avoid bailing out of the cache for identical introspections
    Submitted by @JoviDeCroock (See #193)
  • Account for empty lines when asking for completions
    Submitted by @JoviDeCroock (See #191)

@0no-co/graphqlsp@1.0.6

19 Jan 08:09
f7ba271
Compare
Choose a tag to compare

Patch Changes

  • Catch errors in field-usage as we have been seeing TS fail to resolve references
    Submitted by @JoviDeCroock (See #188)

@0no-co/graphqlsp@1.0.5

18 Jan 21:57
e6588fb
Compare
Choose a tag to compare

Patch Changes

  • When creating a d.ts file, export the introspection type to make it reusable
    Submitted by @kitten (See #184)
  • Upgrade to @urql/introspection@1.0.3
    Submitted by @kitten (See #185)

@0no-co/graphqlsp@1.0.4

18 Jan 11:12
1dc48cf
Compare
Choose a tag to compare

Patch Changes

  • When we have a query like the following

    query {
      pokemon(id: 1) {
        id
        name
      }
      pokemons {
        id
        fleeRate
      }
    }

    and we perform

    const Pokemons = () => {
      const [result] = useQuery({
        query: PokemonQuery,
      });
    
      return result.data.pokemons.map(pokemon => pokemon.fleeRate);
    };

    Then it will see pokemon the variable inside our function closure as an
    allowed field due to Query.pokemon this PR fixes that by refining our search
    algorithm to only include valid built paths.
    Submitted by @JoviDeCroock (See #182)

@0no-co/graphqlsp@1.0.3

17 Jan 11:49
385b7bb
Compare
Choose a tag to compare

Patch Changes

  • Stop caching diagnostics for fragment imports and field-usage as these can be controlled externally
    Submitted by @JoviDeCroock (See #174)
  • Add fix for nonNullAssertion and using Array.at
    Submitted by @JoviDeCroock (See #177)