Skip to content

Commit f4ae684

Browse files
nullvariantclaude
andauthored
fix(git-id-switcher): revert engines.vscode to ^1.85.0 for fork editor compatibility (#367)
## Background Dependabot PR #308 bumped @types/vscode to 1.109.0, which forced engines.vscode up to ^1.109.0 (vsce requires @types/vscode ≤ engines). This made v0.16.20+ invisible on Cursor (1.105.1), Windsurf (1.108.2), Antigravity (1.107.0), TRAE (1.107.1), and other VS Code forks whose engine version lags behind VS Code stable. No APIs newer than 1.85.0 are actually used by this extension. ## Changes - Revert engines.vscode and @types/vscode to ^1.85.0 - Revert E2E test VS Code version to 1.85.0 - Add @types/vscode to dependabot.yml ignore list - Add @types/vscode to renovate.json ignoreDeps - Bump version to 0.17.1 🖥️ IDE: [Cursor](https://cursor.sh) 🔌 Extension: [Claude Code](https://claude.ai/download) Model-Raw: claude-opus-4-6 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 61cde05 commit f4ae684

7 files changed

Lines changed: 21 additions & 9 deletions

File tree

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ updates:
3434
- "npm"
3535
open-pull-requests-limit: 5
3636
rebase-strategy: "auto"
37+
# @types/vscode must match engines.vscode.
38+
# Bumping it forces engines.vscode up, cutting off fork editors
39+
# (Cursor, Windsurf, etc.) that lag behind VS Code stable.
40+
ignore:
41+
- dependency-name: "@types/vscode"
3742
# Group minor and patch updates together
3843
groups:
3944
dev-dependencies:

extensions/git-id-switcher/.vscode-test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default defineConfig({
2020
files: 'out/test/e2e/**/*.test.js',
2121

2222
// VS Code version to use for testing (matches engines.vscode in package.json)
23-
version: '1.109.0',
23+
version: '1.85.0',
2424

2525
// Mocha configuration
2626
mocha: {

extensions/git-id-switcher/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.17.1] - 2026-03-18
11+
12+
### Fixed
13+
14+
- **Restore fork editor compatibility**: Reverted `engines.vscode` from `^1.109.0` to `^1.85.0`. The 1.109.0 requirement was introduced by a Dependabot `@types/vscode` bump in v0.16.20, but no APIs newer than 1.85.0 are actually used. This made v0.16.20+ invisible on Cursor, Windsurf, Antigravity, TRAE, and other VS Code forks whose engine version lags behind VS Code stable
15+
- **Prevent future `@types/vscode` auto-bumps**: Added `@types/vscode` to both Dependabot ignore list and Renovate ignoreDeps to prevent `engines.vscode` from being silently raised again
16+
1017
## [0.17.0] - 2026-03-18
1118

1219
### Added

extensions/git-id-switcher/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"name": "git-id-switcher",
33
"displayName": "%extension.displayName%",
44
"description": "%extension.description%",
5-
"version": "0.17.0",
5+
"version": "0.17.1",
66
"publisher": "nullvariant",
77
"icon": "images/icon.png",
88
"engines": {
9-
"vscode": "^1.109.0"
9+
"vscode": "^1.85.0"
1010
},
1111
"categories": [
1212
"SCM Providers"
@@ -305,7 +305,7 @@
305305
"@eslint/js": "^10.0.1",
306306
"@types/mocha": "^10.0.10",
307307
"@types/node": "^25.3.5",
308-
"@types/vscode": "^1.109.0",
308+
"@types/vscode": "^1.85.0",
309309
"@vscode/test-cli": "^0.0.12",
310310
"@vscode/test-electron": "^2.5.2",
311311
"@vscode/vsce": "^3.0.0",

extensions/git-id-switcher/src/ui/documentationInternal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const DOCUMENT_HASHES: Record<string, string> = {
2525
'AGENTS.md': 'cb8170851742743e584cf21ff3427c78dc1c9471fd56d25a19abc174ed4fdd61',
2626
'CODE_OF_CONDUCT.md': 'a5eb286c902437bbe0f6d409894f20e51c172fa869fe2f151bfa388f9d911b54',
2727
'CONTRIBUTING.md': '4150f8810aec7b2e8eff9f3c69ee1bae1374843f50a812efa6778cba27a833cd',
28-
'extensions/git-id-switcher/CHANGELOG.md': '17586c20eab208757f6576eec7c0eac9238d9109af752aa2ec5a28682ae8adf0',
28+
'extensions/git-id-switcher/CHANGELOG.md': '326cf5ac023d81102d818b6567c0139724540f4da5a4e33bc81a37d31c22611d',
2929
'extensions/git-id-switcher/docs/ARCHITECTURE.md': 'db6ba2f7809b2c7aa831eda3a4b9bb80521577e4e267c7b6ccad17ffba847548',
3030
'extensions/git-id-switcher/docs/CONTRIBUTING.md': '7d6ad2bc4d8c838790754cb9df848cb65f9fdce7e1a13e5c965b83a3d5b6378c',
3131
'extensions/git-id-switcher/docs/DESIGN_PHILOSOPHY.md': 'f9718b61ac161cb466dbc76845688e7acacf4e5fdc4b8b9553269dba4a094f6b',

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"automerge": false
1111
}
1212
],
13-
"ignoreDeps": []
13+
"ignoreDeps": ["@types/vscode"]
1414
}

0 commit comments

Comments
 (0)