Fixes
- Refactor hook script execution to handle platform-specific argument parsing; update typing imports. a46b63d
New
-
Add
allow_shell_hooksoption for safe hook execution; improve shell syntax handling. 036ee1a- Introduce
allow_shell_hooksconfiguration to control shell metacharacters in hooks. - Change default behavior to disallow shell syntax (
shell=False) unless explicitly enabled. - Add regex detection for shell syntax and migrate affected hooks.
- Update tests and fixtures to cover new functionality.
- Enhance documentation with migration guidance and best practices.
- Introduce
Other
-
Standardize formatting, spacing, and indentation across documentation and templates for consistency. 1b9eb42
-
Modularize CLI commands into individual files:
bump,replace,show,show-bump, andsample-config; add corresponding tests and shared options file. c35c431 -
Make
--regexoption nullable; add tests for precedence between CLI flags and config. c78bbef
Updates
-
Update pre-commit, improve
is_subpathlogic, and enhance documentation. 919c66b- Update
ruff-pre-committo v0.15.1 in pre-commit config. - Refine
is_subpathlogic to handle edge cases and add path resolution. - Add security test cases for path traversal in
test_is_subpath. - Extend
AGENTS.mdwith pytest execution instructions.
- Update