Releases: eL1fe/smart-commit
v1.2.2
Smart Commit v1.2.1
What's new:
-
Updated README with detailed instructions on installing Smart Commit via Homebrew.
Now you can easily install the binary on macOS (and Linux with Homebrew) using:brew tap el1fe/homebrew-smart-commit brew install smart-commit -
Minor improvements and fixes in the interactive commit process.
Enjoy the improved experience!
Full Changelog: v1.2.1...v1.2.2
v1.2.1
This release provides the macOS binary for Smart Commit v1.2.0.
Built using pkg, this binary allows for easy installation via Homebrew.
Enjoy an improved interactive commit experience!
Full Changelog: v1.2.0...v1.2.1
v1.2.0
Smart Commit v1.2.0 Release Notes
-
Interactive Commit Process
Enhanced prompts for creating commit messages with improved linting support and auto-suggestions based on staged changes. -
Rollback Improvements
- Introduced an option in soft reset to choose a specific commit from the last 10 commits, giving you full control over which commit to rollback to (while keeping changes staged).
- Hard reset functionality remains available for discarding changes.
-
Rebase Helper Enhancements
An interactive rebase helper now launches with in-editor guidance and explanations on commands (pick, reword, edit, squash, fixup, drop, etc.), making the rebase process more user-friendly. -
Commit Statistics and History Search
- Added a new stats command that displays commit statistics as ASCII graphs, allowing you to view either a shortlog by author or an activity graph over a selected period.
- Improved the history command with input validation (especially for dates) and full pagination support, so you can browse your commit history page by page.
-
Configuration & Setup Enhancements
- New
--resetflag in the config command resets your configuration to the default settings instantly. - The interactive setup wizard now includes branch naming options with JSON support for branch types and placeholders, making it easier to customize your workflow.
- New
-
General Improvements
- Enhanced error handling and user prompts across all commands for a smoother experience.
- Minor performance improvements and code refinements for reliability.
P.S. Beware, too frequent rollbacks can turn your repository into a veritable 'Git Déjà Vu' - I think you've seen this bug before!
What's Changed
Full Changelog: v1.1.5...v1.2.0
v1.1.5
Fixed
- Resolved an issue where
npm warn exec The following package was not found and will be installed: diff-so-fancy@1.4.3was displayed during the commit process. The tool now properly uses the locally installed diff-so-fancy binary. - Fixed a bug that caused an unhelpful, large error message when attempting to commit in a directory that is not a Git repository. The CLI now checks for a Git repo and exits with a friendly error if not found.
- Prevented the creation of empty commits by checking for staged changes before proceeding. If no changes are staged, the commit is aborted.
- Added a final confirmation prompt ("Proceed with commit?") after previewing the commit message, ensuring that the commit is not executed immediately after the review.
Improvements
- Streamlined the commit process by removing redundant confirmation steps.
Full Changelog: v1.1.4...v1.1.5
v1.1.4
Just updated README. Enjoy!
Full Changelog: v1.1.3...v1.1.4
v1.1.3
Just updated README. Enjoy!
Full Changelog: v1.1.2...v1.1.3
v1.1.2
Smart Commit v1.1.2 Release
This release of Smart Commit builds upon our initial pre-release by enhancing the interactive commit workflow and refining diff previews. Key updates include:
• Improved Staging Flow: Changes are now staged immediately when "Stage all changes" is confirmed, ensuring the diff preview accurately reflects the modifications.
• Enhanced Diff Previews: Integrated local diff‑so‑fancy usage for more user-friendly and colorized diff output without modifying global Git settings.
• Commit Message Linting: Optionally enforce commit message rules (e.g., maximum summary length, lowercase start, ticket requirements) during the commit process.
• Minor Bug Fixes: Resolved issues with auto-add and diff preview synchronization to streamline the interactive commit experience.
• General Improvements: Updated configuration handling and overall code quality enhancements for a smoother, more reliable workflow.
Enjoy the improved experience!
Full Changelog: v0.1.0...v1.1.2
v0.1.0
Initial pre-release of Smart Commit – a highly customizable CLI tool for interactive Git commits. This release introduces:
• Interactive prompts with configurable options for commit type, scope, summary, body, footer, ticket, and CI tests.
• Template-based commit messages with customizable placeholders.
• Automatic commit type suggestions based on staged changes.
• Optional CI integration, push support, and GPG-signed commits.
• Commit statistics via the sc stats command.
• Global and local configuration with an interactive setup wizard.