Skip to content

feat!: raise the VS Code floor to 1.137 - #69

Merged
kkdev92 merged 2 commits into
mainfrom
feat/vscode-1.137-floor
Sep 14, 2026
Merged

kkdev92 merged 2 commits into
mainfrom
feat/vscode-1.137-floor

Conversation

@kkdev92

@kkdev92 kkdev92 commented Sep 14, 2026

Copy link
Copy Markdown
Owner

Releases 6.0.0. engines.vscode moves from ^1.136.0 to ^1.137.0; nothing
else about the package changes.

Why

@types/vscode published 1.137.0. This package's floor tracks it, because the
types decide the newest API the source may name, and vsce refuses to package
an extension whose @types/vscode outruns its engines.vscode. Raising only
the types would let code compile against an API the declared floor does not
have, so the two move together.

Extensions built on this package inherit the floor and must declare at least
^1.137.0 themselves. That inheritance is what makes this a major rather than a
minor.

The API did not change

dist/, src/ and bin/ are byte-for-byte what 5.0.0 shipped. This was
measured rather than asserted: the published 5.0.0 tarball was downloaded and
unpacked, a fresh npm pack was taken of this tree, and the two were compared
directory by directory. Only package.json and README.md differ.

The prose needed only renumbering

5.0.0 replaced the sentence that named a specific version as "the newest
@types/vscode there is" with the rule the floor follows, so there was no stale
fact to correct this time — only the numbers.

tests/readme-versions.test.ts earned its place here: run before the prose was
touched, it failed on exactly the two places that still said 1.136 — the
requirements table and the migration guide — and passed once both moved.

Verification

  • npm run quality — format, five typecheck projects, lint, 1087 tests with
    coverage, knip, TypeDoc
  • npm run verify:package — every subpath imports, require() is refused, the
    README samples typecheck against the packed types, the CLI runs from the
    installed package
  • Both real-host contract lanes at the new floor. The Extension Host and web
    fixtures each report VS Code 1.137.0, so the floor was exercised against a
    host that actually has it rather than only against fakes

🤖 Generated with Claude Code

kkdev92 and others added 2 commits September 14, 2026 13:46
`@types/vscode` published 1.137.0, and this package's floor tracks it: the types
decide the newest API the source may name, and `vsce` refuses to package an
extension whose `@types/vscode` outruns its `engines.vscode`. Raising only the
types would let code compile against an API the declared floor does not have, so
`engines.vscode` moves with them, from `^1.136.0` to `^1.137.0`.

That is the whole of the breaking change. Every extension built on this package
inherits the floor and must declare at least `^1.137.0` itself, which is why this
is a major rather than a minor -- the API is byte-for-byte what 5.0.0 exposed.
Verified by unpacking the published 5.0.0 tarball and diffing it against a fresh
pack of this tree: `dist/`, `src/` and `bin/` are identical, and only
`package.json` and `README.md` differ.

The prose needed only renumbering this time. Last release replaced the sentence
that claimed a specific version was "the newest `@types/vscode` there is" with
the rule the floor follows, so there was no stale fact left to correct -- and
`tests/readme-versions.test.ts` caught the two places that still named 1.136
(the requirements table and the migration guide) before they could ship.

Verified: `npm run quality` (format, five typecheck projects, lint, 1087 tests
with coverage, knip, TypeDoc), `verify:package`, and both real-host contract
lanes -- the Extension Host and web fixtures each report VS Code 1.137.0, so the
new floor was exercised against a host that actually has it.

BREAKING CHANGE: `engines.vscode` is now `^1.137.0`. An extension on an older
VS Code cannot install this version; it keeps 5.x, which is unaffected.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NeGat1Bq4vzkzFBgtuc46G
# Conflicts:
#	package-lock.json
#	package.json
@kkdev92
kkdev92 merged commit 252afd2 into main Sep 14, 2026
10 checks passed
@kkdev92
kkdev92 deleted the feat/vscode-1.137-floor branch September 14, 2026 05:10
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