Releases: nizos/tdd-guard
TDD Guard v1.0.0
First Stable Release
TDD Guard v1.0.0 is here - our first stable release, with over 1,000 GitHub stars and 15,000 npm downloads!
What's Changed
Major Improvements
Claude Code SDK as Default
- TDD Guard now uses the Claude Code SDK by default, working immediately after installation without any configuration
New Features
Go Language Support
- Support for Go projects with golangci-lint integration for automated refactoring
- Thanks to @sQVe and @wizzomafizzo for their contributions
Model Selection
- Choose between faster or more capable models based on your needs
- See Validation Model Configuration for details
Homebrew Installation
- Install via Homebrew:
brew install tdd-guard
Configuration Updates
- Updated configuration system:
VALIDATION_CLIENTreplacesMODEL_TYPE - Existing configurations continue to work, but we recommend updating
- Migration guide available: Configuration Migration
Maintenance
- All dependencies updated to latest versions
- Improved test infrastructure and error handling
- Enhanced documentation and examples
Installation
# npm
npm install -g tdd-guard@1.0.0Migration from Previous Versions
If you're upgrading from v0.x, please review the Configuration Migration Guide. We recommend updating to the new configuration format for access to all features.
Thank You
Thank you to everyone who has contributed, shared ideas, provided feedback, spread the word, and shown enthusiasm for this project. I couldn't have done this without you and I can't wait to see where TDD Guard goes from here.
Full Changelog
tdd-guard-vitest v0.1.4
What's Changed
New Features
- Capture unhandled errors from test environment
- Handle import errors as failed tests for better TDD enforcement
Improvements
- Module-level import errors now create synthetic failed tests instead of being reported as unhandled errors
- Better error handling for test environments with import issues
Installation
npm install --save-dev tdd-guard-vitest@0.1.4Full Changelog
TDD Guard v0.11.0
What's Changed
Improvements
- Reverted TDD validation prompts to their previous state, which were developed and refined through 500+ hours of real-world programming and dog-fooding
- The newer simplified prompts, while cleaner in structure, were overly strict about the TDD cycle in ways that became counter-productive, particularly when removing code or performing refactoring operations
- The previous prompts contain crucial edge cases and pragmatic exceptions discovered through extensive usage that make them more effective at enforcing TDD discipline while still allowing productive development
Important Upgrade Note
After upgrading, delete your custom instructions file at .claude/tdd-guard/data/instructions.md to use the improved default instructions. You can always recreate custom instructions later if needed.
Installation
npm install -g tdd-guard@0.11.0Full Changelog
TDD Guard v0.10.2
What's Changed
Bug Fixes
- Allow code removal operations in any TDD phase - makes TDD validation more practical as it shouldn't be necessary to write a test just to remove code, tests, or functionality
Contributors
- Thanks to @VilemP for reporting this issue and providing valuable feedback!
Installation
npm install -g tdd-guard@0.10.2Full Changelog
TDD Guard v0.10.1
What's Changed
Bug Fixes
- Fix Windows compatibility for process execution and file paths
- Add shell option for execFile/execFileSync calls on Windows platform
- Replace hardcoded path separators with path.join()
- Use os.homedir() instead of $HOME environment variable
Installation
npm install -g tdd-guard@0.10.1Full Changelog
TDD Guard v0.10.0
What's Changed
New Features
- Custom instructions support to adjust TDD validation rules to your needs
- Rust test reporter by @104hp6u - Thank you for your contribution!
Documentation
- Added custom instructions guide
- Added enforcement guide for strengthening TDD validation
- Added Support section with links to discussions and configuration
Improvements
- Refactored and modularized TDD validation prompts for better maintainability
- Updated keywords for better npm discoverability
Installation
npm install -g tdd-guard@0.10.0Full Changelog
tdd-guard-rust v0.1.0
What's Changed
New Features
- Initial release of Rust test reporter for TDD Guard
- Support for both cargo test and cargo-nextest runners
- JSON output parsing for detailed test results
- Compilation error detection and reporting
- Pass-through design maintains real-time test visibility
- Contributed by @104hp6u - Thank you for your first contribution!
Technical Details
- Supports Rust 1.70+
- Handles ANSI escape codes in terminal output
- Captures both test failures and compilation errors
- Provides structured output in TDD Guard format
Installation
# Install TDD Guard (for enforcement)
npm install -g tdd-guard
# Install the Rust reporter
cargo install tdd-guard-rustUsage
With cargo-nextest (Recommended)
cargo nextest run 2>&1 | tdd-guard-rust --project-root /path/to/projectWith cargo test
cargo test -- -Z unstable-options --format json 2>&1 | tdd-guard-rust --project-root /path/to/projectFull Changelog
TDD Guard v0.9.3
What's Changed
Performance Improvements
- Optimized Claude CLI validation speed by bypassing MCP server loading with
--strict-mcp-configflag - Disabled TodoWrite tool for faster validation model responses
- Thanks to @pshempel for identifying this performance issue (#43)
Bug Fixes
- Fixed Go reporter error message visibility in formatter output
- Build failures and test failures now display properly for better debugging
- Thanks to @wizzomafizzo for the fix
Installation
npm install -g tdd-guard@0.9.3Full Changelog
tdd-guard-go v0.2.1
What's Changed
Bug Fixes
- Restore error message visibility in formatter output (contributed by @wizzomafizzo)
Contributors
Thank you to @wizzomafizzo for contributing this fix!
Installation
go install github.com/nizos/tdd-guard/reporters/go/cmd/tdd-guard-go@v0.2.1Full Changelog
TDD Guard v0.9.2
What's Changed
Improvements
- Enhanced test results processor to support multiple error messages from all test reporters
- Fixed Go reporter to correctly detect build failures and compilation errors
- Improved Go reporter output formatting with standard test format conversion
Documentation
- Added comprehensive contribution guidelines by @SpiGAndromeda (#28) - Thank you for your first contribution!
Installation
npm install -g tdd-guard@0.9.2