Releases: heyodai/magic-commit
Releases · heyodai/magic-commit
v0.6.2 - Fix newlines bug (#44)
What's Changed
Full Changelog: v0.6.1...v0.6.2
v0.6.1 - Final submission state
Add remaining files (#43)
v0.5.2 - Alpha build of VSCode extension
What's Changed
Full Changelog: v0.5.1...v0.5.2
v0.5.1 - Add `--no-load` flag
What's Changed
- Refactor
run_magic_commit()
function to add optional parameter for showing loading message by @heyodai in #36
Full Changelog: v0.5.0...v0.5.1
v0.5.0 - More QoL improvements
v0.4.0 - QoL Improvements
v0.3.0 - Fix README on PyPi
Add `README.md` description on PyPi (#26) * Remove testing notebook * Update version to 0.3.0, include authors and email, add description and long description content type, and include URL - Updated the version in the setup.py file from 0.2.0 to 0.3.0 to reflect the current release. - Added the authors' names and email addresses to provide contact information. - Included a short description of the project, "Generate commit messages with OpenAI's GPT." - Specified the long description in the README.md file and set the content type to "text/markdown" for proper rendering on project platforms. - Provided the URL of the project repository, "https://github.com/heyodai/magic-commit", to give users easy access to the source code and project information.
v0.2.0 - Initial working PyPi release
Fix the prompt creation logic (#22) * Remove TODO comments (now tickets on GitHub repo) * Run `black` and `isort` on existing codebase * Add documentation comments * Implement unit testing * Rename `chat_completion.jinja` to `system.jinja` Renamed the `chat_completion.jinja` template file to `system.jinja` to better reflect its purpose and functionality. This change improves code organization and enhances the readability of the template file names. * Fix trailing whitespace and blank lines in `config.py` and `test_config.py` Removed trailing whitespace and blank lines in the `config.py` and `test_config.py` files to adhere to PEP 8 guidelines. This change improves the readability and maintainability of the code. * Include additional templates and package files in the setup configuration Modified the `setup.py` file to include additional templates and package files in the setup configuration. Changes: - Changed the line `from setuptools import setup` to `from setuptools import setup, find_packages` to use the `find_packages()` function for automatic package discovery. - Added the `include_package_data=True` line to include non-code files in the package. - Added the `package_data` dictionary to specify the file patterns to include in each package. This change ensures that additional templates and package files are included when the package is installed. * Refactor imports and improve path handling in `magic_commit/__main__.py` Updated the import statements in `magic_commit/__main__.py` to improve readability and adhere to PEP 8 style guidelines. Changes: - Grouped imports based on their source (standard library, third-party, local) - Removed unused imports Additionally, improved path handling by: - Expanding the user's home directory if the tilde symbol is used in the directory path - Converting relative paths to absolute paths using `os.path.abspath()` These changes make the code more organized and easier to understand. * Refactor commit message generation logic Refactored the `generate_commit_message` function to use the `run_git_diff` function to retrieve the git diff instead of relying on the `commit_messages` parameter. This simplifies the function as it no longer needs to process and split the commit messages. The `render_template` function was also added to handle rendering the commit message template. These changes improve code readability and maintainability.
v0.1.0 - Initial proof-of-concept
Rewrite as python cli tool (#5) * Remove old files * Update `.gitignore` with common Python usage * Update the README * Add proof-of-concept work The pipeline is assembled, but the generated responses aren't great. Prompt engineering is needed.