·
9 commits
to main
since this release
0.2.0 (2025-10-02)
⚠ BREAKING CHANGES
- cli: Repository path is now a required positional argument instead of an optional --repo-path flag.
Before (v0.1.x):
claude-cleaner --files-only # defaulted to current directory
claude-cleaner --repo-path /path/to/repo --execute
After (v0.2.0):
claude-cleaner . --files-only # explicit path required
claude-cleaner /path/to/repo --execute
Changes:
- Remove --repo-path option flag
- Add required positional argument
- Update all tests to use isolated test repositories
- Fix critical bug where integration tests corrupted actual repository
- Add CHANGELOG.md documenting breaking change
- Update README.md with new syntax throughout
- Bump version to 0.2.0
Test Changes:
- Create test repository helpers in cli-options.test.ts
- All tests now use temporary test repos instead of operating on real repo
- All 52 tests pass (221 test steps)
Cleanup:
- Delete backup branches created by test corruption
- Fix error message referencing old --repo-path flag
Other:
- Add comprehensive ErrorCode type union with all error codes
- Consolidate NOT_GIT_REPOSITORY to NOT_GIT_REPO
- Delete HANDOFF.md development artifact
- Add tests for REPO_PATH_REQUIRED error path
✨ Features
- enable sticky comments for Claude code reviews (#12) (8813394)
- re-enable Windows tests to diagnose CI failures (#18) (d99a41b)
🐛 Bug Fixes
- add missing conventional-changelog-conventionalcommits dependency (#11) (b4422f9)
- release: configure semantic-release-jsr to use deno.json (51bfaef)
- release: prevent breaking changes from bumping to 1.0.0 (#22) (c5b6020)
- release: push version commit after JSR publish and GitHub release (38cf100)
- cli: require repository path as positional argument (#3) (a27a486)
- ci: use official Deno caching in release workflow (#21) (ed25572)
- ci: use official Deno caching instead of manual actions/cache (#19) (a144be6)
⚡ Performance Improvements
📝 Documentation
- Add jsr installation info (21e8fc1)
- improve pattern matching and basename logic clarity (#9) (e9f05e5)