Releases: licht1stein/brepl
Releases · licht1stein/brepl
v1.3.1
What's Changed
Features
- Improved hook mode: Changed to return continue:true on errors, enabling automatic error correction workflows in Claude Code
- Better error reporting: Now uses Clojure's built-in (load-file) for accurate file names and line numbers in error messages
- Fixed CLI parsing: The -e option now correctly takes only one argument instead of concatenating all remaining arguments
Bug Fixes
- Fixed CLI argument parsing that was preventing proper error messages for invalid option combinations
- Fixed exit codes to follow standard conventions (0 for success, 2 for evaluation errors)
Testing
- Added comprehensive hook mode tests
- Updated entire test suite to match new behavior
- All tests now passing
Other Changes
- Renamed internal load-file function to eval-file for clarity
- Updated version regex matching in tests for future compatibility
The most significant change is in hook mode behavior. When brepl detects an error, it now returns continue:true which allows Claude Code to see the error, fix it, and retry automatically rather than stopping completely.
Full Changelog: v1.3.0...v1.3.1
v1.1.0
What's Changed
New Features
- Exit with code 1 on evaluation errors
- Track evaluation errors from nREPL responses for proper error handling in shell scripts and CI pipelines
Bug Fixes
- Fixed error detection for both exceptions and eval-error status
Installation
Download directly:
curl -sSL https://raw.githubusercontent.com/licht1stein/brepl/v1.1.0/brepl -o brepl
chmod +x breplUsing Nix:
brepl = pkgs.callPackage (pkgs.fetchFromGitHub {
owner = "licht1stein";
repo = "brepl";
rev = "v1.1.0";
hash = "sha256-<hash-will-be-updated>";
} + "/package.nix") {};Full Changelog: v1.0.0...v1.1.0