chore: bump version to 2.8.0

- Update package.json version from 2.7.23 to 2.8.0
- Update README.md test count from 1,182 to 1,356 tests
- Add comprehensive CHANGELOG entry for v2.8.0
- Document all test improvements and fixes from PR #104

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-07-30 15:43:48 +02:00
parent b8dc9a037c
commit c36567875a
3 changed files with 44 additions and 6 deletions

View File

@@ -2,10 +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.23-blue.svg)](https://github.com/czlonkowski/n8n-mcp)
[![Version](https://img.shields.io/badge/version-2.8.0-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)
[![Tests](https://img.shields.io/badge/tests-1356%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)
@@ -700,7 +700,7 @@ docker run --rm ghcr.io/czlonkowski/n8n-mcp:latest --version
## 🧪 Testing
The project includes a comprehensive test suite with **1,182 tests** ensuring code quality and reliability:
The project includes a comprehensive test suite with **1,356 tests** ensuring code quality and reliability:
```bash
# Run all tests
@@ -720,8 +720,8 @@ npm run test:bench # Performance benchmarks
### Test Suite Overview
- **Total Tests**: 1,182 (99.5% passing)
- **Unit Tests**: 933 tests across 30 files
- **Total Tests**: 1,356 (100% passing)
- **Unit Tests**: 1,107 tests across 44 files
- **Integration Tests**: 249 tests across 14 files
- **Execution Time**: ~2.5 minutes in CI
- **Test Framework**: Vitest (for speed and TypeScript support)

View File

@@ -5,6 +5,44 @@ 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.8.0] - 2025-07-30
### Added
- **Enhanced Test Suite**: Expanded test coverage from 1,182 to 1,356 tests
- **Unit Tests**: Increased from 933 to 1,107 tests across 44 files (was 30)
- Added comprehensive edge case testing for all validators
- Split large test files for better organization and maintainability
- Added test documentation for common patterns and edge cases
- Improved test factory patterns for better test data generation
### Fixed
- **All Test Failures**: Achieved 100% test pass rate (was 99.5%)
- Fixed logger tests by properly setting DEBUG environment variable
- Fixed MSW configuration tests with proper environment restoration
- Fixed workflow validator tests by adding proper connections between nodes
- Fixed TypeScript compilation errors with explicit type annotations
- Fixed ValidationResult mocks to include all required properties
- Fixed environment variable handling in tests for better isolation
### Enhanced
- **Test Organization**: Restructured test files for better maintainability
- Split config-validator tests into 4 focused files: basic, edge-cases, node-specific, security
- Added dedicated edge case test files for all validators
- Improved test naming convention to "should X when Y" pattern
- Better test isolation with proper setup/teardown
### Documentation
- **Test Documentation**: Added comprehensive test guides
- Created test documentation files for common patterns
- Updated test counts in README.md to reflect new test suite
- Added edge case testing guidelines
### CI/CD
- **GitHub Actions**: Fixed permission issues
- Added proper permissions for test, benchmark-pr, and publish workflows
- Fixed status write permissions for benchmark comparisons
- Note: Full permissions will take effect after merge to main branch
## [2.7.23] - 2025-07-30
### Added

View File

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