From 7ec05e3e6cc702097c0286a24eeab7c919fbb572 Mon Sep 17 00:00:00 2001 From: Andrew Goldis Date: Mon, 18 May 2026 12:55:40 -0700 Subject: [PATCH 1/2] chore: update release-it configuration and improve npm pack command - Modified the release-it configuration to allow releases from both the main and release branches. - Updated the npm pack command in integration tests to ignore scripts during packaging, ensuring a cleaner build process. --- mcp-server/.release-it.json | 2 +- mcp-server/package-lock.json | 9 --------- mcp-server/src/cli-bin.integration.test.ts | 2 +- mcp-server/src/package-published-esm.integration.test.ts | 2 +- 4 files changed, 3 insertions(+), 12 deletions(-) diff --git a/mcp-server/.release-it.json b/mcp-server/.release-it.json index 9840534..24e5676 100644 --- a/mcp-server/.release-it.json +++ b/mcp-server/.release-it.json @@ -3,7 +3,7 @@ "commitMessage": "chore: release v${version}", "tagName": "v${version}", "requireCleanWorkingDir": true, - "requireBranch": "main" + "requireBranch": ["main", "release/*"] }, "github": { "release": true, diff --git a/mcp-server/package-lock.json b/mcp-server/package-lock.json index 3d36e07..474f9a1 100644 --- a/mcp-server/package-lock.json +++ b/mcp-server/package-lock.json @@ -10,7 +10,6 @@ "license": "Apache-2.0", "dependencies": { "@modelcontextprotocol/sdk": "^1.28.0", - "audit": "^0.0.6", "commander": "^12.1.0", "pino": "^9.9.5", "pino-pretty": "^13.1.1", @@ -1804,14 +1803,6 @@ "node": ">=8.0.0" } }, - "node_modules/audit": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/audit/-/audit-0.0.6.tgz", - "integrity": "sha512-xgv3Y3RIYE00N2/xk10VLlwFd1kjc7FRaX1vC8+CsOfDRe53a06vOSkp91BOSNijZfddYum47a1Fvju/2+JPcw==", - "engines": { - "node": ">= 0.5.0" - } - }, "node_modules/balanced-match": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", diff --git a/mcp-server/src/cli-bin.integration.test.ts b/mcp-server/src/cli-bin.integration.test.ts index 6ed7b7a..a2953cd 100644 --- a/mcp-server/src/cli-bin.integration.test.ts +++ b/mcp-server/src/cli-bin.integration.test.ts @@ -24,7 +24,7 @@ const buildIndex = path.join(root, "build", "index.js"); function packTarball(packDest: string): string { // Respect `files` and standard pack rules; do not mutate package.json (unlike release `publish.cjs`). - execFileSync("npm", ["pack", "--pack-destination", packDest], { + execFileSync("npm", ["pack", "--ignore-scripts", "--pack-destination", packDest], { cwd: root, stdio: ["ignore", "pipe", "pipe"], }); diff --git a/mcp-server/src/package-published-esm.integration.test.ts b/mcp-server/src/package-published-esm.integration.test.ts index 3d16589..28e2db8 100644 --- a/mcp-server/src/package-published-esm.integration.test.ts +++ b/mcp-server/src/package-published-esm.integration.test.ts @@ -41,7 +41,7 @@ const buildIndex = path.join(root, "build", "index.js"); /** Run `npm pack` from the package root and return the path to the single `.tgz` in `packDest`. */ function packTarball(packDest: string): string { // Respect `files` and standard pack rules; do not mutate package.json (unlike release `publish.cjs`). - execFileSync("npm", ["pack", "--pack-destination", packDest], { + execFileSync("npm", ["pack", "--ignore-scripts", "--pack-destination", packDest], { cwd: root, stdio: ["ignore", "pipe", "pipe"], }); From 847ccb4ad5a812ab443d86ff348123e4db0465f6 Mon Sep 17 00:00:00 2001 From: Andrew Goldis Date: Mon, 18 May 2026 12:55:49 -0700 Subject: [PATCH 2/2] chore: release v2.3.0 --- mcp-server/CHANGELOG.md | 28 ++++++++++++++++++++++++++++ mcp-server/package-lock.json | 4 ++-- mcp-server/package.json | 2 +- 3 files changed, 31 insertions(+), 3 deletions(-) diff --git a/mcp-server/CHANGELOG.md b/mcp-server/CHANGELOG.md index 471ff8b..13596ac 100644 --- a/mcp-server/CHANGELOG.md +++ b/mcp-server/CHANGELOG.md @@ -1,5 +1,33 @@ # Changelog +# [2.3.0](https://github.com/currents-dev/currents-mcp/compare/v2.2.4...v2.3.0) (2026-05-18) + + +### Bug Fixes + +* add missing annotations param to get-test-results, enforce integer type on githubRunAttempt ([3c5c1ba](https://github.com/currents-dev/currents-mcp/commit/3c5c1ba0d85b3ca3eda8d1579a8a19faf23d4ec2)) +* add nullable to webhook headers and label fields to match OpenAPI spec ([1e9223a](https://github.com/currents-dev/currents-mcp/commit/1e9223ab20c6a13aeac002cbf3e5cee76b2231de)) +* add nullable() to webhook headers and label to match OpenAPI spec ([4cecfe3](https://github.com/currents-dev/currents-mcp/commit/4cecfe318fdc01c2ce5e38963e53f08fa96722d9)) +* align affected-tests tools with OpenAPI spec and add missing endpoint ([#110](https://github.com/currents-dev/currents-mcp/issues/110)) ([287cd65](https://github.com/currents-dev/currents-mcp/commit/287cd652ffa2c60cc4157b935249c242d463504c)) +* align list-affected-tests status param with OpenAPI spec ([#106](https://github.com/currents-dev/currents-mcp/issues/106)) ([5fc9716](https://github.com/currents-dev/currents-mcp/commit/5fc9716b064318e6925b594ff53874fca5c3984e)) +* align MCP tools with OpenAPI spec ([#47](https://github.com/currents-dev/currents-mcp/issues/47)) ([2820c7c](https://github.com/currents-dev/currents-mcp/commit/2820c7c4db4a24d9f731c1e67d3744a52ddd00f8)) +* align Zod validation constraints with OpenAPI spec ([3e31002](https://github.com/currents-dev/currents-mcp/commit/3e310020c9148a2f8c8f9140fd785c149e1f0bee)) +* correct PR existence check to handle empty results ([1f435e0](https://github.com/currents-dev/currents-mcp/commit/1f435e07381770cee4eaace067ee16c97d0d98db)) +* model name ([326302e](https://github.com/currents-dev/currents-mcp/commit/326302ebe121e6e6dcccc37d35554fb6770c524b)) +* use admin merge or auto-merge fallback for release PRs ([1c0e32a](https://github.com/currents-dev/currents-mcp/commit/1c0e32a41ccdd7d6f0a299265358d73835db7fe6)) + + +### Features + +* add errors explorer tool ([#63](https://github.com/currents-dev/currents-mcp/issues/63)) ([4bbb123](https://github.com/currents-dev/currents-mcp/commit/4bbb123271f1ab4f515ddee991563ba7def38e0b)) +* add listAffectedTests and getAffectedTestExecutions MCP tools ([#98](https://github.com/currents-dev/currents-mcp/issues/98)) ([630006c](https://github.com/currents-dev/currents-mcp/commit/630006c8888c39aedd991ab70ac9dedb0cee5c4f)) +* add missing annotations parameter to get-tests-performance tool ([#89](https://github.com/currents-dev/currents-mcp/issues/89)) ([28844ff](https://github.com/currents-dev/currents-mcp/commit/28844ffe112c364618ac25d7c35826ffa1bc3f9d)) +* add package.json and package-lock.json for dependency management ([e6fddba](https://github.com/currents-dev/currents-mcp/commit/e6fddba24c76e438fd8e7e831efdfda2e6db148a)) +* added cursor cloud agent dependabot analysis workflow ([1ee1522](https://github.com/currents-dev/currents-mcp/commit/1ee15227f33bc0268f1ab1278fb4fa09c3811440)) +* **docs:** automate README tools table synchronization and enhance validation tests ([5572e3e](https://github.com/currents-dev/currents-mcp/commit/5572e3e955e6a72548ec801d162f93253496efd3)) +* **tests:** add unit tests for MCP tool registration and validation ([42c11a7](https://github.com/currents-dev/currents-mcp/commit/42c11a757d1e15e3763573f768b4f48fa857d16d)) +* **tests:** enhance MCP tool validation with combined name length check ([cfb14e1](https://github.com/currents-dev/currents-mcp/commit/cfb14e1c5762ef12be7eb8af140ca79143a2662e)) + ## Unreleased (2026-04-20) ### Added diff --git a/mcp-server/package-lock.json b/mcp-server/package-lock.json index 474f9a1..e818405 100644 --- a/mcp-server/package-lock.json +++ b/mcp-server/package-lock.json @@ -1,12 +1,12 @@ { "name": "@currents/mcp", - "version": "2.2.18", + "version": "2.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@currents/mcp", - "version": "2.2.18", + "version": "2.3.0", "license": "Apache-2.0", "dependencies": { "@modelcontextprotocol/sdk": "^1.28.0", diff --git a/mcp-server/package.json b/mcp-server/package.json index ce04946..41f78e8 100644 --- a/mcp-server/package.json +++ b/mcp-server/package.json @@ -13,7 +13,7 @@ "reporting" ], "bin": "./build/index.js", - "version": "2.2.18", + "version": "2.3.0", "description": "Currents MCP server", "main": "./build/cjs/api.js", "module": "./build/api.js",