Skip to content

Releases: 0no-co/GraphQLSP

@0no-co/[email protected]

11 Mar 10:57
894be55
Compare
Choose a tag to compare

Minor Changes

  • Add a bail for fieldUsage where we return a property from a function
    Submitted by @JoviDeCroock (See #260)

Patch Changes

  • Bubble up unused fields to their closest parent
    Submitted by @JoviDeCroock (See #258)

@0no-co/[email protected]

08 Mar 09:20
7643610
Compare
Choose a tag to compare

Patch Changes

  • Add support for alternative root directories, when your tsconfig does not define GraphQLSP we'll traverse up until we find the extends that does and resolve the schema from there
    Submitted by @JoviDeCroock (See #257)
  • Change setInterval to setTimeout
    Submitted by @JoviDeCroock (See #255)

@0no-co/[email protected]

29 Feb 18:29
90d8b67
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ fix case where the hover-information would target the wrong TypeScript node by one character
    Submitted by @llllvvuu (See #244)
  • Update ESM build output to be written to a .mjs file extension rather than .js
    Submitted by @kitten (See #250)

@0no-co/[email protected]

24 Feb 09:55
f197471
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix unused fields detection not respecting field aliases in GraphQL documents
    Submitted by @kitten (See #238)

@0no-co/[email protected]

23 Feb 14:30
1c8f5c6
Compare
Choose a tag to compare

Minor Changes

  • Expand support of tracking field usage to more edge cases by matching a defined GraphQL document’s type against variables in-scope with said type
    Submitted by @kitten (See #235)

Patch Changes

  • Only warn for fragments that are exported
    Submitted by @JoviDeCroock (See #230)
  • ⚠️ Fix issue where a missing argument 2 for a call-expression would make us erase prior found fragment-definitions
    Submitted by @JoviDeCroock (See #233)

@0no-co/[email protected]

22 Feb 09:23
276a4ea
Compare
Choose a tag to compare

Patch Changes

  • Add bail for field-usage when we can't find anything
    Submitted by @JoviDeCroock (See #226)

@0no-co/[email protected]

11 Feb 09:38
99ec8cb
Compare
Choose a tag to compare

Patch Changes

@0no-co/[email protected]

02 Feb 17:05
fc1c331
Compare
Choose a tag to compare

Patch Changes

@0no-co/[email protected]

26 Jan 14:08
4fce7bd
Compare
Choose a tag to compare

Patch Changes

@0no-co/[email protected]

26 Jan 11:51
18c877c
Compare
Choose a tag to compare

Patch Changes

  • ⚠️ Fix case for call-expression where index would go out of bounds due to fragments being external to the document. In tagged-templates we resolve this by adding it in to the original text
    Submitted by @JoviDeCroock (See #207)