Skip to content

chore(deps): vscode-ext-kit 4.0.0 - #31

Merged
kkdev92 merged 1 commit into
mainfrom
chore/kit-4.0.0
Aug 28, 2026
Merged

chore(deps): vscode-ext-kit 4.0.0#31
kkdev92 merged 1 commit into
mainfrom
chore/kit-4.0.0

Conversation

@kkdev92

@kkdev92 kkdev92 commented Aug 28, 2026

Copy link
Copy Markdown
Owner

@kkdev92/vscode-ext-kit ^3.0.0^4.0.0.

The framework raised its own engines.vscode to ^1.134.0 — which this extension already declares. ^3.0.0 does not pick up a major, so the two had drifted apart: the extension required a newer VS Code than the library it is built on.

Exactly one byte of the bundle changes, and it is meant to

Measured rather than asserted. The bundle was built against both kit versions and compared:

差分: 1 byte / 348,529

  kit3: var KIT_VERSION = true ? "3.0.0" : "unknown (unbundled)";
  kit4: var KIT_VERSION = true ? "4.0.0" : "unknown (unbundled)";

That is src/core/build.ts, which the build inlines through esbuild's define precisely so the state report names the kit a build was actually compiled against, rather than the semver range. It reported 3.0.0 before and now reports 4.0.0 — which is the value being correct, not drifting.

Nothing else moves: .d.ts is identical across all 105 files, and the only differing runtime files in the published kit are testing/fakes/fake-filewatcher, reached via the ./testing subpath and never bundled.

No release is needed — the entry sits under [Unreleased].

Verification

Local, all exit 0: lint, typecheck, check:l10n, 236 unit + 35 integration tests, vsce package, verify:vsix, and the real Extension Host lane — 13 cases on VS Code 1.135.0.

The framework raised its own engines.vscode to ^1.134.0, which this extension
already declares. `^3.0.0` does not pick up a major, so the two had drifted:
the extension required more than the library it is built on.

The bundle was built against both versions and compared: exactly one byte of
348,529 differs, and it is meant to. `KIT_VERSION` in src/core/build.ts is
inlined at bundle time so the state report can name the kit a build was
actually compiled against rather than the semver range -- it now correctly
reports 4.0.0. Nothing else moves.

Verified: lint, typecheck, check:l10n, 236 unit + 35 integration tests, vsce
package, verify:vsix, and the real Extension Host lane (13 cases, VS Code
1.135.0).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kkdev92
kkdev92 merged commit e7e6a1f into main Aug 28, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant