Releases: nizos/tdd-guard
TDD Guard v0.6.0
Breaking Changes
- Split into separate language-specific packages
- Vitest:
npm install tdd-guard-vitest
- Pytest:
pip install tdd-guard-pytest
- Vitest:
Features
- Add
projectRoot
config option for consistent data storage across workspaces
Improvements
- Enable TypeScript composite builds for faster compilation
- Export shared functionality (Storage, Config, contracts) from main package
Migration Guide
Update your imports:
// Before
import { VitestReporter } from 'tdd-guard'
// After
import { VitestReporter } from 'tdd-guard-vitest'
For Python:
# Before
pip install tdd-guard
# After
pip install tdd-guard-pytest
tdd-guard-vitest v0.1.0
Initial Release
First standalone release of the Vitest reporter for TDD Guard.
Installation
npm install --save-dev tdd-guard-vitest
Usage
import { VitestReporter } from 'tdd-guard-vitest'
export default defineConfig({
test: {
reporters: [new VitestReporter()]
}
})
Features
- Seamless integration with Vitest test runner
- Automatic test result reporting to TDD Guard
- TypeScript support with full type definitions
tdd-guard-pytest v0.1.0
Initial Release
First standalone release of the Pytest plugin for TDD Guard.
Installation
pip install tdd-guard-pytest
Usage
Simply install the package - it automatically registers with Pytest:
pytest --tdd-guard
Features
v0.5.3
TDD Guard v0.5.3
Bug Fixes
- Fixed pytest plugin import error: Resolved
ModuleNotFoundError: No module named 'src.reporters'
on Windows/WSL2 and other environments by using proper Python package naming (#12) - Added Python 3.13 support: Updated package metadata to include Python 3.13 in supported versions
Technical Details
- Changed Python package structure to use
tdd_guard_pytest
module name instead of genericsrc
- Configured setuptools package mapping to maintain source file locations while providing proper import paths
Installation
TDD Guard requires the npm package for the CLI:
npm install -g tdd-guard@0.5.3
For Python projects, also install the pytest reporter:
pip install tdd-guard==0.5.3
This release ensures the pytest plugin loads correctly across all platforms, fixing a critical issue that prevented some users from using TDD Guard with Python projects.
v0.5.2
TDD Guard v0.5.2
Bug Fixes
- Fixed Guard Command Processing: Resolved issue where 'tdd-guard on' and 'tdd-guard off' commands were being sent to Claude as regular prompts
- Proper Command Interception: Guard control commands now correctly stop execution and prevent reaching the agent
Technical Details
- Added
continue: false
andstopReason
to ValidationResult for proper hook control - Modified UserPromptHandler to return blocking results for guard commands
- Enhanced processHookData to handle command interception results
Installation
TDD Guard requires the npm package for the CLI:
npm install -g tdd-guard@0.5.2
For Python projects, also install the pytest reporter:
pip install tdd-guard==0.5.2
This release ensures that TDD Guard control commands work silently without confusing Claude, providing a cleaner user experience.
v0.5.1
TDD Guard v0.5.1
New Distribution Channel
- PyPI Package: Python developers can now install the pytest reporter directly from PyPI with
pip install tdd-guard
- Simplified Python Setup: No more cloning the repository - the pytest reporter is available as a standalone package
Documentation
- Demo Screenshot: Added a still image that links to a short demo video showing TDD Guard in action
- Improved Clarity: Cleaned up documentation throughout for better readability
- Enhanced Badges: Added PyPI version badge for package visibility
Improvements
- Better ignore patterns for Python development (.venv, pycache)
- Refined package distribution files for both npm and PyPI
- Cleaned up development environment configurations
Installation
TDD Guard requires the npm package for the CLI:
npm install -g tdd-guard@0.5.1
For Python projects, also install the pytest reporter:
pip install tdd-guard==0.5.1
This release focuses on making TDD Guard more accessible to Python developers through simplified installation while maintaining full compatibility with JavaScript/TypeScript projects.
v0.5.0
TDD Guard v0.5.0
Features
- Quick Commands: Enable/disable TDD Guard without leaving your session using simple commands
- Smart File Filtering: Automatically skip validation for non-code files (docs, configs, etc.)
- Test Result Expiry: 20-minute expiry prevents stale validation results
Fixes
- Resolved validation timeouts for complex scenarios
- Fixed vitest worker timeout errors
Improvements
The main highlight of this release is the ability to quickly toggle TDD Guard on/off using commands, making it more convenient to work with the tool during different phases of development. Additionally, validation is now more reliable with timeout fixes and performance is improved by skipping non-code files.
Contributors
Special thanks to our contributors:
- @Durafen - Non-code file filtering, test result expiry, enhanced error messages, and reliability improvements
Install with: npm install -g tdd-guard@0.5.0
v0.4.0
What's Changed
Features
- Add comprehensive Python/pytest support (by @Durafen)
- Add multi-language support for integration tests
Improvements
- Ensure VitestReporter loads environment configuration
- Update documentation to highlight multi-language support
- Add LINTER_TYPE configuration to .env.example
Refactoring
- Reorganize test data factories for multi-language support
Contributors
- @Durafen - Python/pytest implementation
Full Changelog: v0.3.4...v0.4.0
v0.3.4
What's Changed
Features
- Make ESLint optional with opt-in linting support
Refactoring
- Replace eslintRunner with dependency injection architecture
- Separate ESLint output schema from application state
- Merge runESLint function into ESLint.lint method
- Reorganize ESLint.ts for better readability
Documentation
- Update configuration guide for opt-in ESLint refactoring support
Full Changelog: v0.3.3...v0.3.4
v0.3.3
What's Changed
Bug Fixes
-
fix: capture import errors to provide context when tests fail to run
- When a test module fails to run due to import errors (e.g., missing dependencies), the validator now properly captures and displays these errors
- Shows modules with 0 tests as "failed" when the test run failed
- Adds clear explanation when tests couldn't be collected due to import errors
-
fix: improve error message when model returns no response
- Provides a more actionable message "No response from model, try again" instead of generic "Error during validation"
- Makes it clear the issue is temporary and retryable
- Improves user experience when encountering intermittent model availability issues
Installation
npm install -g tdd-guard@0.3.3
Full Changelog: v0.3.2...v0.3.3