From 592d0d16afc4db2dadeed78869db6c0d9d999953 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 28 Oct 2026 13:17:10 +0000 Subject: [PATCH] Version Packages --- .changeset/check-project-run-external-code.md | 5 ----- .changeset/check-project-typescript-7.md | 5 ----- .changeset/language-server-session-typescript-7.md | 5 ----- packages/graphqlsp/CHANGELOG.md | 14 ++++++++++++++ packages/graphqlsp/package.json | 2 +- 5 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 .changeset/check-project-run-external-code.md delete mode 100644 .changeset/check-project-typescript-7.md delete mode 100644 .changeset/language-server-session-typescript-7.md diff --git a/.changeset/check-project-run-external-code.md b/.changeset/check-project-run-external-code.md deleted file mode 100644 index a9924bd..0000000 --- a/.changeset/check-project-run-external-code.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@0no-co/graphqlsp': patch ---- - -Add a `runExternalCode` option to `checkProject`, which runs a project's content mappers (like `tsc --runExternalCode`), so documents imported from content-mapped files (e.g. `.graphql` files mapped by `@gql.tada/content-mapper`) are resolved. Content-mapped files themselves aren't checked, since their mappers report their diagnostics. Also compute persisted document hashes from string literals' values rather than their source text, which failed to parse documents written with escape sequences. diff --git a/.changeset/check-project-typescript-7.md b/.changeset/check-project-typescript-7.md deleted file mode 100644 index d53377d..0000000 --- a/.changeset/check-project-typescript-7.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@0no-co/graphqlsp': minor ---- - -Add `checkProject` (`@0no-co/graphqlsp/check`), which reports GraphQLSP's diagnostics for a whole project without a language service. It runs on the TypeScript 7.1 API (`typescript@>=7.1` or `tsrs`), where language service plugins aren't loaded, and on the compiler API of TypeScript 5/6. To support this, the diagnostics now only depend on a small host interface rather than tsserver's plugin API, and identifiers are compared by their `text` instead of their `escapedText`. diff --git a/.changeset/language-server-session-typescript-7.md b/.changeset/language-server-session-typescript-7.md deleted file mode 100644 index b56e88e..0000000 --- a/.changeset/language-server-session-typescript-7.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@0no-co/graphqlsp': minor ---- - -Add `createLanguageServerSession` to `@0no-co/graphqlsp/check`, which reports GraphQLSP's diagnostics for files in a TypeScript 7.1 language server's projects, including editors' unsaved changes, through an API session of the language server diff --git a/packages/graphqlsp/CHANGELOG.md b/packages/graphqlsp/CHANGELOG.md index a0031f0..5fe98e4 100644 --- a/packages/graphqlsp/CHANGELOG.md +++ b/packages/graphqlsp/CHANGELOG.md @@ -1,5 +1,19 @@ # @0no-co/graphqlsp +## 1.19.0 + +### Minor Changes + +- Add `checkProject` (`@0no-co/graphqlsp/check`), which reports GraphQLSP's diagnostics for a whole project without a language service. It runs on the TypeScript 7.1 API (`typescript@>=7.1` or `tsrs`), where language service plugins aren't loaded, and on the compiler API of TypeScript 5/6. To support this, the diagnostics now only depend on a small host interface rather than tsserver's plugin API, and identifiers are compared by their `text` instead of their `escapedText` + Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#438](https://github.com/0no-co/GraphQLSP/pull/438)) +- Add `createLanguageServerSession` to `@0no-co/graphqlsp/check`, which reports GraphQLSP's diagnostics for files in a TypeScript 7.1 language server's projects, including editors' unsaved changes, through an API session of the language server + Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#439](https://github.com/0no-co/GraphQLSP/pull/439)) + +### Patch Changes + +- Add a `runExternalCode` option to `checkProject`, which runs a project's content mappers (like `tsc --runExternalCode`), so documents imported from content-mapped files (e.g. `.graphql` files mapped by `@gql.tada/content-mapper`) are resolved. Content-mapped files themselves aren't checked, since their mappers report their diagnostics. Also compute persisted document hashes from string literals' values rather than their source text, which failed to parse documents written with escape sequences + Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#438](https://github.com/0no-co/GraphQLSP/pull/438)) + ## 1.18.0 ### Minor Changes diff --git a/packages/graphqlsp/package.json b/packages/graphqlsp/package.json index bbf2feb..b08ddb7 100644 --- a/packages/graphqlsp/package.json +++ b/packages/graphqlsp/package.json @@ -1,6 +1,6 @@ { "name": "@0no-co/graphqlsp", - "version": "1.18.0", + "version": "1.19.0", "description": "TypeScript LSP plugin that finds GraphQL documents in your code and provides hints and auto-generates types.", "main": "./dist/graphqlsp", "module": "./dist/graphqlsp.mjs",