Skip to content

v0.1.0

Choose a tag to compare

@rshdhere rshdhere released this 06 Nov 09:24
· 195 commits to main since this release

Changelog

  • d0bed9a Add Ollama client support with environment variable fallback
  • 862ce2a Add Ollama support for commit message generation
  • e97d25d Add comment to clarify AI testing in commit function
  • 87bbbad Add comment to clarify AI testing in commit.go
  • a13c050 Add detailed description to commit command
  • c4b79e6 Add spinner package for better user experience during commit generation
  • a6b3f72 Automate commit messages using Ollama
  • f0c0613 Bump spinner dependency
  • 118c426 Remove git/diff.go
  • 97db266 Remove unused AI testing comment
  • b2a04a4 Update commit message generation spinner
  • 2889259 Update commit message spinner with color and ellipsis
  • 0a065c0 chore: better structuring the git-package
  • 9bba936 chore: initialize GoReleaser configuration and update .gitignore - Add .goreleaser.yaml configuration file for release management. - Include dist/ directory in .gitignore to prevent tracking of build artifacts. - Set up pre-build hooks for Go modules and generation. - Define build settings for multiple operating systems and architectures.
  • 97b8710 chore: project init
  • 3d0b920 chore: update spinner suffix text during commit message generation - Change suffix from "Generating commmit message..." to "vibechecking your commit..." - Improve user feedback during the commit process - Enhance visual consistency of CLI interactions - No functional changes to commit message generation logic
  • 96ec4b3 feat(cmd): update root and commit commands with custom descriptions and cleanup
  • ebbde31 feat(cmd): update root command with custom description and remove boilerplate
  • 9011e34 feat(commit): add support for multiple AI providers in commit message generation - Introduced a new flag to select the AI provider for message generation. - Supported providers include OpenAI and Ollama with respective functions. - Enhanced context management for message generation with a timeout of max 30secs. - Updated documentation for command-line flags related to AI provider selection.
  • 2a61b0b feat(git): add staged diff utility and integrate with commit command
  • 396a24a feat(llm): implement provider registration and selection for commit message generation - Enable dynamic selection of LLM providers for generating commit messages. - Refactor commit command to utilize the new provider interface for flexibility. - Register "ollama" and "openai" as providers within the LLM package. - Introduce a new provider management structure to allow future extensibility.
  • b62c4a6 feat: added commit subcommand to the command-line
  • 25ace5b feat: cobra-cli was initialized
  • 47cc555 feat: enhance commit message generation with additional context support 📝 - Introduced prompt flag to provide extra context for commit messages - Updated GenerateCommitMessage function to accept additionalContext parameter - Modified spinner suffix to indicate message generation process - Improved error handling while retrieving prompt flag value
  • 3968d5b feat: implement OpenAI client for commit message generation - Replace Ollama integration with OpenAI SDK for generating commit messages - Add .env file to manage environment variables securely - Introduce OpenAI client in a new module at internal/llm/openai - Update go.mod and go.sum to include OpenAI SDK and dotenv dependencies
  • b15e515 feat: update commit command long description for accuracy - Removed outdated model names and replaced with current versions. - Refined the long description to improve clarity and relevance. - Enhanced overall professionalism of the command description. - Maintained the original intent of the command while improving technical accuracy.
  • 2eb6dc2 fix(client): correct indentation and formatting issues in client.go 🛠️ - Adjusted indentation for improved code readability. - Removed redundant comments for cleaner code structure. - Standardized formatting according to project style guidelines. - Ensured functionality remains unaffected by these changes.
  • 6be114e fix(cmd): reduce context timeout for commit command to 10 seconds - Adjusted the timeout duration from 30 seconds to 10 seconds. - Aimed to improve command responsiveness and resource efficiency. - Ensured the change is consistent with expected execution time for commits. - Maintained existing functionality while optimizing performance.
  • a391e6c fix: improve error handling for OpenAI prompt execution - Enhanced error message to include context for better debugging. - Utilized fmt.Sprintf to format error output. - Maintained original error handling behavior by returning the error. - Ensured consistent error reporting across the function.
  • 5a9f1db fix: load environment variables from .env file in main function - Add support for loading environment variables using godotenv package - Log a message if no .env file is found to maintain user awareness - Ensure application continues execution even if .env is missing - Improve application configurability by using environment variables
  • adfabf9 fix: replace panic with error return in OpenAI client - Changed error handling from panic to returning an error. - Improved stability by preventing application crashes on API call failures. - Facilitated better error management for calling functions. - Updated function signature to reflect the new return type.
  • 6774f9b fix: update long description for vibecheck command - Removed references to outdated models such as GPT-5 and Sonnet-4.5. - Added clarification on the automation capabilities of commit messages. - Refined the long description for clarity and accuracy. - Ensured consistency in naming conventions for models.
  • c0c8c09 removed the changes.txt file

Released by GoReleaser.