All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Added
keep-a-changelog
pre-commit hook for CHANGELOG.md updates. - Added
pre-commit
hook for commit message generation.
- Updated project description and README.
- Changed contributing documentation to reflect the new project name.
- Adjusted installation guidance.
- Updated example hooks.
- Updated prerequisites and installation instructions.
- Improved commit message generation.
- Enhanced pre-commit hook functionality.
- Updated documentation for clarity.
- Added support for configuring the output directory.
- Included instructions for configuring the hook.
- Resolved an issue with hook execution.
- Corrected a typo in the configuration file.
- Updated pre-commit dependency to v1.1.0.
- Updated example usage and configuration information.
- Enhanced README with additional guides.
- Resolved potential conflict with keep-a-changelog.sh handling.
- Corrected a minor syntax error in the pre-commit configuration.
- Updated Discord link in CONTRIBUTING.md and README.md.
- Updated
pre-commit-hooks.yaml
to change the language ofGit Commit AI
andChangelog AI
hooks toscript
.
- Added fail_fast flag to Changelog AI hook.
- Enable passing filenames to commit-msg hook
- jq: Argument list too long #3
- Cleaned up temporary files after API call.
- prepare-commit-msg.sh: line 237: /usr/bin/curl: Argument list too long
- Fixed
git diff
command to ignore whitespace.
- Added
postCreateCommand
todevcontainer.json
forpre-commit
installation. - Modified
keep-a-changelog.sh
to usegit diff --cached --ignore-all-space
to reduce API call size. - Modified
prepare-commit-msg.sh
to handle whitespace discrepancies withgit diff --cached --ignore-all-space
. - Use temporary files to store user and system prompts.
- Added cleanup for temp files on script exit in keep-a-changelog.sh and prepare-commit-msg.sh.
- Renamed "Changelog AI" hooks to "PartCAD: Update CHANGELOG.md"
- Renamed "Git Commit AI" hooks to "PartCAD: Prepare Commit Message"
- Improved cleanup mechanism for temporary files
- Added $REQUEST_BODY_FILE for curl request and cleanup.
- Secure permissions on temporary files -
chmod 600
.
- Added transforms for improved results.
- Modified
keep-a-changelog.sh
andprepare-commit-msg.sh
for better results.