Skip to content

chore: upgrade to VS Code 1.106 / Electron 37 / Node 22#848

Open
EhabY wants to merge 3 commits intomainfrom
chore/upgrade-dependencies
Open

chore: upgrade to VS Code 1.106 / Electron 37 / Node 22#848
EhabY wants to merge 3 commits intomainfrom
chore/upgrade-dependencies

Conversation

@EhabY
Copy link
Collaborator

@EhabY EhabY commented Mar 18, 2026

Summary

  • Breaking: Minimum VS Code version bumped from 1.95 to 1.106
  • Upgrade all Node/TypeScript tooling to match Electron 35 (Node 22): @tsconfig/node22, @types/node@^22, @types/vscode@1.106.0, esbuild target node22, lib ES2024
  • Update all dependencies (pnpm update)

Workarounds removed

  • --experimental-require-module flag in test-electron.sh (native in Node 22)
  • Simplified pnpm test to a single vitest invocation instead of two sequential processes

CI changes

  • Updated Electron matrix minimum from 32 to 37, VS Code integration test minimum from 1.95.0 to 1.106.0

Release pipeline

  • Release tags (v*) now require the tagged commit to be on main
  • Pre-release tags (v*-pre) can be pushed from any branch
  • Updated CONTRIBUTING.md with stable and pre-release instructions

@EhabY EhabY self-assigned this Mar 18, 2026
@EhabY EhabY force-pushed the chore/upgrade-dependencies branch 2 times, most recently from 13b55fb to 8699d47 Compare March 19, 2026 11:51
@EhabY EhabY force-pushed the chore/upgrade-dependencies branch from 8699d47 to 782443d Compare March 19, 2026 12:02
- Pin electron and vscode to exact versions to stop Dependabot
churn; CI tests minimum (Electron 32) and latest via npx separately
- Split CI into extension tests (Electron matrix) and webview
  tests (own job) since Electron's patched fs.readFileSync
  crashes vitest's forks pool with jsdom
- Add version mapping reference (ewanharris/vscode-versions)
@EhabY EhabY force-pushed the chore/upgrade-dependencies branch from 782443d to cdb8f94 Compare March 19, 2026 12:03
@EhabY EhabY changed the title Upgrade dependencies chore: upgrade to VS Code 1.106 / Electron 35 / Node 22 Mar 19, 2026
@EhabY EhabY force-pushed the chore/upgrade-dependencies branch from ffc1309 to 8f1598c Compare March 19, 2026 14:34
- Bump engines.vscode to ^1.106.0, engines.node to >= 22
- Update @types/vscode to 1.106.0 (adds SecretStorage.keys())
- Switch to @tsconfig/node22, target node22 in esbuild, lib ES2024
- Unify CI test jobs into single Electron run, simplify pnpm test
- Remove --experimental-require-module workaround (native in Node 22)
- Run webview tests in Electron alongside extension tests
- Restrict release pipeline to tags on main, document pre-release flow
- Update CONTRIBUTING.md release instructions and version table
@EhabY EhabY force-pushed the chore/upgrade-dependencies branch from 8f1598c to 5f71b99 Compare March 19, 2026 14:38
@EhabY EhabY changed the title chore: upgrade to VS Code 1.106 / Electron 35 / Node 22 chore: upgrade to VS Code 1.106 / Electron 37 / Node 22 Mar 19, 2026
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.

2 participants