Commi

Latest version: v2.2.5

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.2.5

**Release Date:** Feb 16, 2024

**What's New:**

- Enhanced commit message validation with proper Git format checking
- Added support for merge commits and special commit types
- Improved handling of staged changes with better git diff integration
- Added validation for Gemini AI model selection CLI Improvements

---

**Contributors**
- **Mahmoud-Emad**
- Enhance commit message generation and validation 4
---

**How to Update**
You can now choose between two installation methods:

1. Using pre-built binaries (Recommended):
- Download the appropriate binary for your platform from the release assets
- Make it executable (Linux/macOS only)
- Move to a directory in your PATH

2. Using pip (Alternative):
bash
pip install --upgrade commi


**Note**: Pre-built binaries include all dependencies and don't require Python installation.


**Full Changelog**: https://github.com/Mahmoud-Emad/commi/compare/v2.2.4...v2.2.5

2.2.4

2.2.3

**Release Date:** Feb 1, 2024

**What's New:**

- Enhanced commit message validation with proper Git format checking
- Added support for merge commits and special commit types
- Improved handling of staged changes with better git diff integration
- Added validation for Gemini AI model selection CLI Improvements

---

**Contributors**
- **Mahmoud-Emad**
- Enhance commit message generation and validation 4
---

**How to Update**
You can now choose between two installation methods:

1. Using pre-built binaries (Recommended):
- Download the appropriate binary for your platform from the release assets
- Make it executable (Linux/macOS only)
- Move to a directory in your PATH

2. Using pip (Alternative):
bash
pip install --upgrade commi


**Note**: Pre-built binaries include all dependencies and don't require Python installation.

2.2.0

**Release Date:** March 19, 2024

**What's New:**

- **Multi-Platform Binary Support**:
Added automated builds for multiple platforms, providing ready-to-use binaries for easy installation.
- Pre-built binaries are now available for:
text
Linux: commi-linux
macOS: commi-macos
Windows: commi-windows.exe

- Installation is now as simple as downloading and adding to PATH:
bash
Linux/macOS
chmod +x commi-linux or commi-macos
sudo mv commi-linux /usr/local/bin/commi

---

**Contributors**
- **Mahmoud-Emad**
- Implemented multi-platform release workflow
- Added automated binary builds for Linux, macOS, and Windows

---

**How to Update**
You can now choose between two installation methods:

1. Using pre-built binaries (Recommended):
- Download the appropriate binary for your platform from the release assets
- Make it executable (Linux/macOS only)
- Move to a directory in your PATH

2. Using pip (Alternative):
bash
pip install --upgrade commi


**Note**: Pre-built binaries include all dependencies and don't require Python installation.

2.1.1

**Release Date:** January 6, 2025

**What's New:**

- **Co-author Support**:
Added the `--co-author` flag to specify a co-author's email address when generating commit messages.
- The co-author information is appended to the generated commit message in the format:
text
Co-authored-by: <co-author-email>

- Example usage:
bash
commi --co-author "john.doeexample.com"

---



**Contributors**
- **Mahmoud-Emad**
- Added the `--co-author` feature and bumped the version.

---

**How to Update**
To upgrade to the latest version, use the following command:
bash
pip install --upgrade commi

2.1.0

**Release Date:** December 25, 2024

**What's New:**
Commi v2.1.0 brings a range of new features, improvements, and fixes. This release introduces several enhancements, including new functionality for clipboard handling, improved error handling, and updated dependencies. We've also made some changes to improve compatibility with different environments and enhanced the overall user experience.

**New Features:**
- **Clipboard Tool Support:** We’ve added support for managing clipboard contents, improving the workflow for users who want to quickly copy commit messages.
- **Enhanced Diff Handling:** Improved Git diff parsing to handle more complex changes and edge cases with higher accuracy.
- **Expanded API Integration:** The integration with Google’s Gemini AI has been optimized for better performance and stability.

**Improvements:**
- **Error Handling Enhancements:** Several bug fixes related to error handling and better feedback for invalid configurations.
- **Updated Dependencies:** All dependencies have been updated to their latest versions, ensuring better security and performance. Notably, `google-generativeai`, `pyperclip`, `colorlog`, and `gitpython` are now running on the latest stable versions.
- **Platform Compatibility:** Additional checks for clipboard tools (`xclip`, `xsel`) on Linux platforms to ensure smooth installation and operation.

**Bug Fixes:**
- **Clipboard Handling on Linux:** Fixed issues where the clipboard tool (`xclip` or `xsel`) would fail in headless or non-graphical environments.
- **Git Command Failures:** Resolved problems with Git command errors during commit operations that could cause failures in certain scenarios.
- **Configuration Loading:** Improved handling of configuration files, especially with missing or incorrect API keys and environment variables.

**Breaking Changes:**
- **Removed Legacy Clipboard Support:** The previous clipboard handling method has been deprecated in favor of a more stable and maintainable solution using `xclip` and `pyperclip`. Users without these tools installed may need to manually install them.
- **Updated Minimum Python Version:** The minimum required Python version for this release is now Python 3.8.

**Upgrade Notes:**
- **API Key Configuration:** If you're using custom API keys, ensure that they are correctly configured in the environment or passed as parameters.
- **Reinstall Clipboard Tools (Linux Only):** On Linux systems, make sure `xclip` or `xsel` is installed to enable clipboard functionality. You can install them with the following command:
bash
sudo apt-get install xclip

Alternatively, `pyperclip` will automatically fall back to `xsel` if installed.
---

How to Upgrade:
To upgrade to the latest version, run the following command if you're using Poetry:
bash
poetry update commi

Page 1 of 2

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.