Skip to content

Commit cb4e5a4

Browse files
authored
Fixes for v2.24.2 release prep (#75)
* Upgrade NodeJS dependencies to latest * Add vscode extension to update-release-version.sh * Update .github/ references for vscode extension versioning
1 parent 258ba81 commit cb4e5a4

File tree

8 files changed

+107
-79
lines changed

8 files changed

+107
-79
lines changed

.github/skills/upgrade-codeql-cli-and-packs/SKILL.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ This skill guides you through upgrading the CodeQL CLI version used by the MCP s
2424

2525
This repository uses a **CLI-aligned versioning strategy** across all version-bearing files:
2626

27-
1. **`.codeql-version`**: Contains the target CLI version (e.g., `v2.24.1`)
28-
2. **`package.json` versions**: All `package.json` files (root, client, server) use the CLI version number without the "v" prefix (e.g., `2.24.1`)
29-
3. **`ql-mcp-*` pack versions**: Use the CLI version number without the "v" prefix (e.g., `2.24.1`)
27+
1. **`.codeql-version`**: Contains the target CLI version (e.g., `vX.Y.Z`)
28+
2. **`package.json` versions**: All `package.json` files (root, client, extensions/vscode, server) use the CLI version number without the "v" prefix (e.g., `X.Y.Z`)
29+
3. **`ql-mcp-*` pack versions**: Use the CLI version number without the "v" prefix (e.g., `X.Y.Z`)
3030
4. **`codeql/*-all` dependencies**: Must have `cliVersion <= target CLI version`
3131

3232
### Why Database Compatibility Matters
@@ -77,7 +77,7 @@ Use the `update-release-version.sh` script to deterministically update `.codeql-
7777
./server/scripts/update-release-version.sh X.XX.Y
7878
```
7979

80-
This updates all 22 version-bearing files. Preview changes first with `--dry-run`:
80+
This updates all version-bearing files. Preview changes first with `--dry-run`:
8181

8282
```bash
8383
./server/scripts/update-release-version.sh --dry-run X.XX.Y
@@ -229,13 +229,13 @@ dependencies:
229229
230230
# Good - explicit compatible version
231231
dependencies:
232-
codeql/cpp-all: 6.1.4
232+
codeql/cpp-all: 1.2.3
233233
```
234234

235235
### Pack cliVersion Rules
236236

237237
- Pack `cliVersion` must be **≤** target CLI version
238-
- Packs built for the same minor version (e.g., 2.23.x) are usually compatible
238+
- Packs built for the same minor version (e.g., X.Y.x) are usually compatible
239239
- Different languages may require different pack versions due to independent release cycles
240240

241241
### Test Output Changes

.github/workflows/update-codeql.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
147147
**Changes made:**
148148
- Updated `.codeql-version` to `${{ needs.detect-update.outputs.version }}`
149-
- Updated all version-bearing files (package.json, codeql-pack.yml) to `${{ needs.detect-update.outputs.latest_version }}`
149+
- Updated all version-bearing files (package.json, extensions/vscode/package.json, codeql-pack.yml) to `${{ needs.detect-update.outputs.latest_version }}`
150150
- Regenerated `package-lock.json`
151151
- Installed CodeQL pack dependencies
152152
- Build and tests passed ✅
@@ -167,6 +167,7 @@ jobs:
167167
echo "| -------- | --------- | --------- |" >> $GITHUB_STEP_SUMMARY
168168
echo "| .codeql-version | v${CURRENT} | ${VERSION} |" >> $GITHUB_STEP_SUMMARY
169169
echo "| package.json versions | ${CURRENT} | ${LATEST} |" >> $GITHUB_STEP_SUMMARY
170+
echo "| extensions/vscode/package.json | ${CURRENT} | ${LATEST} |" >> $GITHUB_STEP_SUMMARY
170171
echo "| codeql-pack.yml versions | ${CURRENT} | ${LATEST} |" >> $GITHUB_STEP_SUMMARY
171172
echo "" >> $GITHUB_STEP_SUMMARY
172173
echo "A pull request has been created with these changes." >> $GITHUB_STEP_SUMMARY

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"devDependencies": {
3535
"@eslint/js": "^10.0.1",
36-
"eslint": "^10.0.0",
36+
"eslint": "^10.0.1",
3737
"eslint-config-prettier": "^10.1.8",
3838
"eslint-plugin-prettier": "^5.5.5",
3939
"prettier": "^3.8.1"

extensions/vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-codeql-development-mcp-server",
33
"displayName": "CodeQL Development MCP Server",
44
"description": "LLM-assisted development of CodeQL queries, libraries, and tests via #ql-mcp prompts, resources, and tools.",
5-
"version": "2.24.1",
5+
"version": "2.24.2",
66
"publisher": "advanced-security",
77
"license": "SEE LICENSE IN LICENSE",
88
"icon": "media/codeql-icon.png",
@@ -159,7 +159,7 @@
159159
"@vscode/test-electron": "^2.5.2",
160160
"@vscode/vsce": "^3.7.1",
161161
"esbuild": "^0.27.3",
162-
"eslint": "^10.0.0",
162+
"eslint": "^10.0.1",
163163
"eslint-config-prettier": "^10.1.8",
164164
"eslint-plugin-prettier": "^5.5.5",
165165
"glob": "^13.0.6",

0 commit comments

Comments
 (0)