diff --git a/.changeset/sour-feet-hear.md b/.changeset/sour-feet-hear.md deleted file mode 100644 index d0098e03..00000000 --- a/.changeset/sour-feet-hear.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@0no-co/graphqlsp': minor ---- - -Add a `message` diagnostic when we see an import from a file that has `fragment` exports we'll warn you when they are not imported, this because of the assumption that to use this file one would have to adhere to the data requirements of said file. -You can choose to disable this setting by setting `shouldCheckForColocatedFragments` to `false` diff --git a/packages/graphqlsp/CHANGELOG.md b/packages/graphqlsp/CHANGELOG.md index 4b99a6a5..0c234130 100644 --- a/packages/graphqlsp/CHANGELOG.md +++ b/packages/graphqlsp/CHANGELOG.md @@ -1,5 +1,13 @@ # @0no-co/graphqlsp +## 0.4.0 + +### Minor Changes + +- Add a `message` diagnostic when we see an import from a file that has `fragment` exports we'll warn you when they are not imported, this because of the assumption that to use this file one would have to adhere to the data requirements of said file. + You can choose to disable this setting by setting `shouldCheckForColocatedFragments` to `false` + Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#42](https://github.com/0no-co/GraphQLSP/pull/42)) + ## 0.3.0 ### Minor Changes diff --git a/packages/graphqlsp/package.json b/packages/graphqlsp/package.json index f60010d6..c74dc2ee 100644 --- a/packages/graphqlsp/package.json +++ b/packages/graphqlsp/package.json @@ -1,6 +1,6 @@ { "name": "@0no-co/graphqlsp", - "version": "0.3.0", + "version": "0.4.0", "description": "TypeScript LSP plugin that finds GraphQL documents in your code and provides hints and auto-generates types.", "main": "./dist/index.js", "module": "./dist/index.module.js",