diff --git a/CHANGELOG.md b/CHANGELOG.md index 05743a8..701e2ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,49 @@ 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.14.1] - 2025-09-26 + +### Changed +- **BREAKING**: Refactored telemetry system with major architectural improvements + - Split 636-line TelemetryManager into 7 focused modules (event-tracker, batch-processor, event-validator, rate-limiter, circuit-breaker, workflow-sanitizer, config-manager) + - Changed TelemetryManager constructor to private, use `getInstance()` method now + - Implemented lazy initialization pattern to avoid early singleton creation + +### Added +- Security & Privacy enhancements for telemetry: + - Comprehensive input validation with Zod schemas + - Enhanced sanitization of sensitive data (URLs, API keys, emails) + - Expanded sensitive key detection patterns (25+ patterns) + - Row Level Security on Supabase backend + - Data deletion contact info (romuald@n8n-mcp.com) +- Performance & Reliability improvements: + - Sliding window rate limiter (100 events/minute) + - Circuit breaker pattern for network failures + - Dead letter queue for failed events + - Exponential backoff with jitter for retries + - Performance monitoring with overhead tracking (<5%) + - Memory-safe array limits in rate limiter +- Comprehensive test coverage enhancements: + - Added 662 lines of new telemetry tests + - Enhanced config-manager tests with 17 new edge cases + - Enhanced workflow-sanitizer tests with 19 new edge cases + - Improved coverage from 63% to 91% for telemetry module + - Branch coverage improved from 69% to 87% + +### Fixed +- TypeScript lint errors in telemetry test files + - Corrected variable name conflicts in integration tests + - Fixed process.exit mock implementation in batch-processor tests + - Fixed tuple type annotations for workflow node positions + - Resolved MockInstance type import issues +- Test failures in CI pipeline + - Fixed test timeouts caused by improper fake timer usage + - Resolved Timer.unref() compatibility issues + - Fixed event validator filtering standalone 'key' property + - Corrected batch processor circuit breaker behavior +- TypeScript error in telemetry test preventing CI build +- Added @supabase/supabase-js to Docker builder stage and runtime dependencies + ## [2.14.0] - 2025-09-26 ### Added