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:
10
README.md
10
README.md
@@ -2,10 +2,10 @@
|
||||
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://github.com/czlonkowski/n8n-mcp)
|
||||
[](https://github.com/czlonkowski/n8n-mcp)
|
||||
[](https://github.com/czlonkowski/n8n-mcp)
|
||||
[](https://www.npmjs.com/package/n8n-mcp)
|
||||
[](https://codecov.io/gh/czlonkowski/n8n-mcp)
|
||||
[](https://github.com/czlonkowski/n8n-mcp/actions)
|
||||
[](https://github.com/czlonkowski/n8n-mcp/actions)
|
||||
[](https://github.com/n8n-io/n8n)
|
||||
[](https://github.com/czlonkowski/n8n-mcp/pkgs/container/n8n-mcp)
|
||||
[](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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user