chore: bump version to 2.7.23 and update documentation

- Bump version from 2.7.22 to 2.7.23 in package.json
- Update version badge in README.md
- Add tests badge showing 1,182 passing tests
- Add comprehensive CHANGELOG entry for v2.7.23 documenting:
  - Complete testing infrastructure implementation
  - 933 unit tests and 249 integration tests
  - All CI test failures fixed
  - Test architecture enhancements
  - Documentation updates
  - Development artifact cleanup

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-07-30 09:45:42 +02:00
parent 6d614267af
commit f2eb344476
3 changed files with 48 additions and 2 deletions

View File

@@ -2,9 +2,10 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![GitHub stars](https://img.shields.io/github/stars/czlonkowski/n8n-mcp?style=social)](https://github.com/czlonkowski/n8n-mcp)
[![Version](https://img.shields.io/badge/version-2.7.22-blue.svg)](https://github.com/czlonkowski/n8n-mcp)
[![Version](https://img.shields.io/badge/version-2.7.23-blue.svg)](https://github.com/czlonkowski/n8n-mcp)
[![npm version](https://img.shields.io/npm/v/n8n-mcp.svg)](https://www.npmjs.com/package/n8n-mcp)
[![codecov](https://codecov.io/gh/czlonkowski/n8n-mcp/graph/badge.svg?token=YOUR_TOKEN)](https://codecov.io/gh/czlonkowski/n8n-mcp)
[![Tests](https://img.shields.io/badge/tests-1182%20passing-brightgreen.svg)](https://github.com/czlonkowski/n8n-mcp/actions)
[![n8n version](https://img.shields.io/badge/n8n-v1.103.2-orange.svg)](https://github.com/n8n-io/n8n)
[![Docker](https://img.shields.io/badge/docker-ghcr.io%2Fczlonkowski%2Fn8n--mcp-green.svg)](https://github.com/czlonkowski/n8n-mcp/pkgs/container/n8n-mcp)
[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/VY6UOG?referralCode=n8n-mcp)

View File

@@ -5,6 +5,51 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.7.23] - 2025-07-30
### Added
- **Comprehensive Testing Infrastructure**: Implemented complete test suite with 1,182 tests
- **933 Unit Tests** across 30 files covering all services, parsers, database, and MCP layers
- **249 Integration Tests** across 14 files for MCP protocol, database operations, and error handling
- **Test Framework**: Vitest with TypeScript, coverage reporting, parallel execution
- **Mock Strategy**: MSW for API mocking, database mocks, MCP SDK test utilities
- **CI/CD**: GitHub Actions workflow with automated testing on all PRs
- **Test Coverage**: Infrastructure in place with lcov, html, and Codecov integration
- **Performance Testing**: Environment-aware thresholds (CI vs local)
- **Database Isolation**: Each test gets its own database for parallel execution
### Fixed
- **CI Test Failures**: Resolved all 115 initially failing integration tests
- Fixed MCP response structure: `response.content[0].text` not `response[0].text`
- Fixed `process.exit(0)` in test setup causing Vitest failures
- Fixed database isolation issues for parallel test execution
- Fixed environment-aware performance thresholds
- Fixed MSW setup isolation preventing interference with unit tests
- Fixed empty database handling in CI environment
- Fixed TypeScript lint errors and strict mode compliance
### Enhanced
- **Test Architecture**: Complete rewrite for production readiness
- Proper test isolation with no shared state
- Comprehensive custom assertions for MCP responses
- Test data generators and builders for complex scenarios
- Environment configuration for test modes
- VSCode integration for debugging
- Meaningful test organization with AAA pattern
### Documentation
- **Testing Documentation**: Complete overhaul to reflect actual implementation
- `docs/testing-architecture.md`: Comprehensive testing guide with real examples
- Documented all 1,182 tests with distribution by component
- Added lessons learned and common issues/solutions
- Updated README with accurate test statistics and badges
### Maintenance
- **Cleanup**: Removed 53 development artifacts and test coordination files
- Deleted temporary agent briefings and coordination documents
- Updated .gitignore to prevent future accumulation
- Cleaned up all `FIX_*.md` and `AGENT_*.md` files
## [2.7.22] - 2025-07-28
### Security

View File

@@ -1,6 +1,6 @@
{
"name": "n8n-mcp",
"version": "2.7.22",
"version": "2.7.23",
"description": "Integration between n8n workflow automation and Model Context Protocol (MCP)",
"main": "dist/index.js",
"bin": {