diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 250269f..7b34a03 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -9,7 +9,7 @@ assignees: '' ## Environment - **Package Version**: (e.g., 0.2.0) -- **VS Code Version**: (e.g., 1.136.0) +- **VS Code Version**: (e.g., 1.137.0) - **Node.js Version**: (e.g., 20.0.0) - **OS**: (e.g., Windows 11, macOS 14, Ubuntu 24.04) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c6e63c..c421b2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,25 @@ Pre-1.0 releases followed it in spirit; their breaking changes are marked **Brea ## [Unreleased] +## [6.0.0] - 2026-09-14 + +**A major for one reason: the VS Code floor.** `engines.vscode` moves from +`^1.136.0` to `^1.137.0`, which every extension built on this package inherits — +that is the whole of the breaking change. The API is byte-for-byte what `5.0.0` +exposed: no export was added, removed or altered, and no behaviour changed. + +### Changed + +- **Breaking:** `engines.vscode` raised from `^1.136.0` to `^1.137.0`, in step + with `@types/vscode` moving to `~1.137.0`. The two have to move together — + `vsce` refuses to package an extension whose `@types/vscode` outruns its + `engines.vscode`, and raising only the types would let code compile against an + API the declared floor does not have. Extensions built on this package inherit + the floor and must declare at least `^1.137.0` themselves. + + The contract lanes were run against the real hosts at this floor: the + Extension Host and web fixtures both report VS Code `1.137.0`. + ## [5.0.0] - 2026-09-07 **A major for one reason: the VS Code floor.** `engines.vscode` moves from @@ -1220,7 +1239,8 @@ platform support, toolchain currency, and release supply chain. Initial public release. -[Unreleased]: https://github.com/kkdev92/vscode-ext-kit/compare/v5.0.0...HEAD +[Unreleased]: https://github.com/kkdev92/vscode-ext-kit/compare/v6.0.0...HEAD +[6.0.0]: https://github.com/kkdev92/vscode-ext-kit/compare/v5.0.0...v6.0.0 [5.0.0]: https://github.com/kkdev92/vscode-ext-kit/compare/v4.1.1...v5.0.0 [4.1.1]: https://github.com/kkdev92/vscode-ext-kit/compare/v4.1.0...v4.1.1 [4.1.0]: https://github.com/kkdev92/vscode-ext-kit/compare/v4.0.1...v4.1.0 diff --git a/README.md b/README.md index cb33382..0b9f278 100644 --- a/README.md +++ b/README.md @@ -398,7 +398,7 @@ Host, the manifest check and an Extension Host lane. | | | | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -| VS Code | `^1.136.0` — your extension declares the same `engines.vscode`; CI tests stable | +| VS Code | `^1.137.0` — your extension declares the same `engines.vscode`; CI tests stable | | Extension hosts | desktop and web, both covered by CI | | Node (to build) | `>=22.12.0` | | Module format | **ESM only** — `require()` of any subpath fails by design; bundle as extensions normally do | diff --git a/docs/migration-from-2x.md b/docs/migration-from-2x.md index ba3210b..dc41a32 100644 --- a/docs/migration-from-2x.md +++ b/docs/migration-from-2x.md @@ -11,7 +11,7 @@ not repeated here. Migrate straight to 4.x. The API is the one 3.0.0 exposed; 4.0.0 raised the VS Code floor and changed nothing else. Before you start, your extension needs what the [platform requirements](https://github.com/kkdev92/vscode-ext-kit#platform-requirements) list: -`engines.vscode` of `^1.136.0` or later, ESM, and `ESNext.Disposable` plus an +`engines.vscode` of `^1.137.0` or later, ESM, and `ESNext.Disposable` plus an `AbortSignal` lib in `tsconfig`. Typed storage keeps the 2.x envelope, so there is no data migration; values a 2.x build wrote are read as they are. diff --git a/fixtures/README.md b/fixtures/README.md index 2ac9fa5..ce86ec2 100644 --- a/fixtures/README.md +++ b/fixtures/README.md @@ -30,7 +30,7 @@ framework hands it, rather than on what it hands back, it belongs here. ```bash npm run test:eh # from the repository root -VSCODE_VERSION=1.136.0 npm run test:eh +VSCODE_VERSION=1.137.0 npm run test:eh ``` Launches a real VS Code (Electron), activates the fixture, invokes a command, diff --git a/fixtures/extension-host/package.json b/fixtures/extension-host/package.json index ea9cfa8..1043e49 100644 --- a/fixtures/extension-host/package.json +++ b/fixtures/extension-host/package.json @@ -6,7 +6,7 @@ "version": "0.0.0", "private": true, "engines": { - "vscode": "^1.136.0" + "vscode": "^1.137.0" }, "main": "./out/extension.js", "activationEvents": [], diff --git a/fixtures/web-extension/package.json b/fixtures/web-extension/package.json index 88f19e6..e002848 100644 --- a/fixtures/web-extension/package.json +++ b/fixtures/web-extension/package.json @@ -6,7 +6,7 @@ "version": "0.0.0", "private": true, "engines": { - "vscode": "^1.136.0" + "vscode": "^1.137.0" }, "browser": "./out/extension.js", "activationEvents": [], diff --git a/package-lock.json b/package-lock.json index f10c578..b4e49b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kkdev92/vscode-ext-kit", - "version": "5.0.0", + "version": "6.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@kkdev92/vscode-ext-kit", - "version": "5.0.0", + "version": "6.0.0", "license": "MIT", "bin": { "vscode-ext-kit": "bin/vscode-ext-kit.mjs" @@ -14,7 +14,7 @@ "devDependencies": { "@eslint/js": "^10.0.1", "@types/node": "^26.1.1", - "@types/vscode": "~1.136.0", + "@types/vscode": "~1.137.0", "@vitest/coverage-v8": "^5.0.0", "@vscode/test-electron": "^3.1.0", "@vscode/test-web": "^0.0.81", @@ -33,7 +33,7 @@ }, "engines": { "node": ">=22.12.0", - "vscode": "^1.136.0" + "vscode": "^1.137.0" }, "peerDependencies": { "vitest": ">=4" @@ -2012,9 +2012,9 @@ "license": "MIT" }, "node_modules/@types/vscode": { - "version": "1.136.0", - "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.136.0.tgz", - "integrity": "sha512-DO746VAfnHk8+Y8CsUKYMm2rjWD0mxEuYBZI+ssaqJY7yvLJPf9lcwxSSz9W60gbdvdcGyvHQxHTyByfF9mVqg==", + "version": "1.137.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.137.0.tgz", + "integrity": "sha512-0dc/BBWxkyUsJzXIZ7PkKSalThmS4xiBT+8YEDiWdCefRKHGVV5ZNkM5NB5ULYamallYJujIfncNoXWFlyzL8A==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index 106e37b..a47c666 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kkdev92/vscode-ext-kit", - "version": "5.0.0", + "version": "6.0.0", "description": "A type-safe application framework for VS Code extension development", "author": { "name": "kkdev92", @@ -78,13 +78,13 @@ } }, "engines": { - "vscode": "^1.136.0", + "vscode": "^1.137.0", "node": ">=22.12.0" }, "devDependencies": { "@eslint/js": "^10.0.1", "@types/node": "^26.1.1", - "@types/vscode": "~1.136.0", + "@types/vscode": "~1.137.0", "@vitest/coverage-v8": "^5.0.0", "@vscode/test-electron": "^3.1.0", "@vscode/test-web": "^0.0.81",