Skip to content

Releases: nizos/tdd-guard

TDD Guard v1.0.0

09 Sep 17:25
v1.0.0
a6d44b0

Choose a tag to compare

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

Homebrew Installation

  • Install via Homebrew: brew install tdd-guard

Configuration Updates

  • Updated configuration system: VALIDATION_CLIENT replaces MODEL_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.0

Migration 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

v0.11.0...v1.0.0

tdd-guard-vitest v0.1.4

05 Sep 13:57
vitest-v0.1.4
8679231

Choose a tag to compare

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.4

Full Changelog

vitest-v0.1.3...vitest-v0.1.4

TDD Guard v0.11.0

03 Sep 21:10
v0.11.0
c194881

Choose a tag to compare

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.0

Full Changelog

v0.10.2...v0.11.0

TDD Guard v0.10.2

01 Sep 15:37
v0.10.2
f3bcbe2

Choose a tag to compare

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.2

Full Changelog

v0.10.1...v0.10.2

TDD Guard v0.10.1

31 Aug 12:28
v0.10.1
985c034

Choose a tag to compare

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.1

Full Changelog

v0.10.0...v0.10.1

TDD Guard v0.10.0

30 Aug 17:42
v0.10.0
42cb2ec

Choose a tag to compare

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.0

Full Changelog

v0.9.3...v0.10.0

tdd-guard-rust v0.1.0

29 Aug 19:39
rust-v0.1.0
715f80b

Choose a tag to compare

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-rust

Usage

With cargo-nextest (Recommended)

cargo nextest run 2>&1 | tdd-guard-rust --project-root /path/to/project

With cargo test

cargo test -- -Z unstable-options --format json 2>&1 | tdd-guard-rust --project-root /path/to/project

Full Changelog

v0.9.3...rust-v0.1.0

TDD Guard v0.9.3

26 Aug 16:53
v0.9.3
d5384da

Choose a tag to compare

What's Changed

Performance Improvements

  • Optimized Claude CLI validation speed by bypassing MCP server loading with --strict-mcp-config flag
  • 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.3

Full Changelog

v0.9.2...v0.9.3

tdd-guard-go v0.2.1

25 Aug 18:51
reporters/go/v0.2.1

Choose a tag to compare

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.1

Full Changelog

reporters/go/v0.2.0...reporters/go/v0.2.1

TDD Guard v0.9.2

17 Aug 11:03
v0.9.2
ef749f5

Choose a tag to compare

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

Full Changelog

v0.9.1...v0.9.2