# Release Notes
## v0.4.2 - Type Safety Refactor (2026-06-18)
### Added
- 📁 `src/enums/` - Type-safe constants for actions and levels
- 📁 `src/interfaces/` - Centralized type definitions
- 🛡️ Improved TypeScript type safety throughout the codebase
### Changed
- 🔄 Refactored `security.ts` to use imported enums and interfaces
- 🔄 Better separation of concerns (types vs logic)
### Developer Experience
- 📚 Clearer code structure for contributors
- ✅ Better IDE autocomplete and type checking
- 🔧 Easier to maintain and extend
## v0.4.1 - Testing Infrastructure & Pre-commit (2026-06-17)
### Added
- 🛠️ Pre-commit validation script (`npm run precommit`)
- 🛠️ Pre-push validation script (`npm run prepush`)
- ⚡ Quick unit test script (`npm run test:unit`)
- 🔬 Full test suite script (`npm run test:full`)
- 🐳 `act` integration for local GitHub Actions testing
- 📚 Comprehensive test documentation
- 📦 VSIX packaging support
### Changed
- 🔄 Migrated from mocha to vitest (faster, better ESM support)
- 🔄 Improved security module logic
- 🔄 Updated test scripts and configuration
- 🔄 Improved `.vscodeignore` for cleaner VSIX packaging
### Fixed
- 🐛 Security test edge cases
- 🐛 shouldRedactOrBlock function logic
- 🐛 Docker detection in precommit script
- 🐛 VSIX packaging security warnings
## v0.4.0 - Security & Privacy (2026-06-17)
### Added
- 🔒 Sensitive data detection (passwords, API keys, tokens)
- 🔒 Auto-redaction with `[REDACTED]` placeholder
- 🔒 Command exclusion patterns
- 📊 Privacy dashboard
- ✅ 37 security tests (49 total passing)
- ⚙️ Configuration settings for all security features
### Changed
- 🔄 Security module decoupled from VS Code for testability
- 🔄 Improved error handling in config loading
## v0.3.0 - Testing Infrastructure (2026-06-16)
### Added
- ✅ Mocha test framework with BDD interface
- ✅ 49 unit tests (12 ANSI + 37 security)
- ✅ `cleaner.ts` - Pure function module
- ✅ Test fixtures for ANSI and security testing
- ✅ `npm test` script for running tests
### Changed
- 🔄 Separated ANSI cleaning logic into `cleaner.ts`
- 🔄 Updated `terminalHistoryProvider.ts` to import cleaner module
## v0.2.0 - Stable Release (2026-06-15)
### Added
- 🟢 Colored emoji status indicators
- 📝 Command output capture and cleaning
- 🔄 Command rerun functionality
- 📋 Copy output to clipboard
- 💾 Persistent history storage
- 🎨 ANSI code stripping
## v0.1.0 - Initial Prototype (2026-06-14)
### Added
- 🎉 First working prototype
- Basic command capture
- Tree view integration