Skip to content

Commit 4b0285c

Browse files
committed
Align version to 1.3.0 and add CI version consistency check
Synchronize version across package.json (was 1.0.0), config.ts (was 1.2.0), and CHANGELOG.md to 1.3.0. Add a check-versions CI job that extracts the version from all three sources and fails if they disagree, preventing future drift.
1 parent df40712 commit 4b0285c

4 files changed

Lines changed: 50 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@ on:
77
branches: [main]
88

99
jobs:
10+
check-versions:
11+
name: Version consistency check
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
with:
16+
persist-credentials: false
17+
18+
- name: Verify package.json, config.ts, and CHANGELOG.md versions match
19+
run: |
20+
PKG_VERSION=$(node -p "require('./package.json').version")
21+
CONFIG_VERSION=$(node -p "require('fs').readFileSync('src/config.ts','utf8').match(/version: \"([^\"]+)\"/)[1]")
22+
CHANGELOG_VERSION=$(node -p "require('fs').readFileSync('CHANGELOG.md','utf8').match(/^## \\[([^\\]]+)\\]/m)[1]")
23+
24+
echo "package.json: $PKG_VERSION"
25+
echo "config.ts: $CONFIG_VERSION"
26+
echo "CHANGELOG.md: $CHANGELOG_VERSION"
27+
28+
if [ "$PKG_VERSION" != "$CONFIG_VERSION" ]; then
29+
echo "::error::package.json ($PKG_VERSION) and config.ts ($CONFIG_VERSION) versions differ"
30+
exit 1
31+
fi
32+
if [ "$PKG_VERSION" != "$CHANGELOG_VERSION" ]; then
33+
echo "::error::package.json ($PKG_VERSION) and CHANGELOG.md ($CHANGELOG_VERSION) versions differ"
34+
exit 1
35+
fi
36+
echo "All versions match: $PKG_VERSION"
37+
1038
test-protocol:
1139
name: Protocol tests
1240
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ All notable changes to the official InfluxDB MCP Server will be documented in th
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.3.0] - 2026-03-24
9+
10+
### Added
11+
12+
- **E2E test suite**: Protocol compliance tests (vitest) that verify server startup, MCP handshake, tool/resource/prompt registration, and error handling — no InfluxDB required
13+
- **Integration tests**: Live InfluxDB tests for `health_check`, `list_databases`, and `execute_query`, gated behind `INFLUX_TEST_ENABLED`
14+
- **CI workflow**: GitHub Actions with protocol tests on every PR and integration tests against InfluxDB 3 Core via Docker
15+
- **Docker test infrastructure**: `docker-compose.test.yml` for local Core testing with preconfigured admin token
16+
- **CLAUDE.md**: Architecture overview and codebase conventions for Claude Code
17+
- **Claude Code skills**: Build/run workflow for Core/Enterprise and testing workflow
18+
19+
### Fixed
20+
21+
- Server-level error catch now sets `isError: true`, consistent with handler-level error responses
22+
23+
### Changed
24+
25+
- Minimum Node.js version raised to v20.11 (Node 18 is EOL; vitest 4.x and `import.meta.dirname` require v20.11+)
26+
- `@modelcontextprotocol/sdk` updated from `^1.12.1` to `^1.27.1`
27+
828
## [1.2.0] - 2025-11-05
929

1030
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "influxdb-mcp-server",
3-
"version": "1.0.0",
3+
"version": "1.3.0",
44
"description": "Official InfluxDB MCP server for Model Context Protocol integration",
55
"license": "(Apache-2.0 OR MIT)",
66
"private": false,

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function loadConfig(): McpServerConfig {
4545
},
4646
server: {
4747
name: "influxdb-mcp-server",
48-
version: "1.2.0",
48+
version: "1.3.0",
4949
},
5050
};
5151
}

0 commit comments

Comments
 (0)