Skip to content

Releases: achendev/justcommit

v1.0.2

18 Jan 15:13

Choose a tag to compare

Just Commit v1.0.2 - Robust Privacy & Auto-Masking

✨ What's New

  • 🛡️ Robust Auto-Masking: Automatically detect and replace sensitive information in your code changes before sending them to the AI. This ensures privacy while maintaining context for accurate commit messages.
    • IP Addresses: Smart masking for IPv4 and IPv6 addresses.
    • Email Addresses: Replaces real emails with consistent, realistic placeholders.
    • Domains (FQDNs): Hierarchical masking for domains (e.g., api.staging.example.coma.dom-b.com), preserving structural relationships in the diff.
  • 🔄 Intelligent Two-Way Sync: All masked data is automatically unmasked in the generated commit message, so your final commit text contains the correct original values.
  • ⚙️ Granular Configuration: New settings added to toggle each masking type individually (autoMaskIPs, autoMaskEmails, autoMaskFQDNs) alongside the existing custom replacement rules.

v1.0.1

14 Nov 18:32

Choose a tag to compare

Just Commit v1.0.1 - Multi-Repo Support

✨ What's New

  • Multi-Repo Selection UI: When multiple repositories are detected, a quick pick dialog lets you choose the right one by name and path for targeted commit messages.
  • Repository Context Argument: Pass the source control context directly to the command for precise repo handling in automated or scripted workflows.

v1.0.0

11 Nov 19:53

Choose a tag to compare

Just Commit v1.0.0 - Initial Release 🚀

Just Commit is a minimal yet powerful VSCode extension designed to streamline your commit workflow using the power of Google's Gemini AI.

With Just Commit, you can automatically generate clear, concise, and relevant commit messages based on your staged, unstaged, and new file changes. Spend less time writing messages and more time coding!

✨ Key Features

  • AI-Powered Commit Messages: Leverages Google's Gemini models to analyze your code changes (git diff) and generate a suitable commit message.
  • Seamless Integration: Adds a convenient icon directly to the Source Control Management (SCM) view in VSCode for one-click message generation.
  • Works Everywhere: Fully compatible with both VSCode Desktop and VSCode for the Web.
  • Highly Configurable: Easily set your Gemini API key, choose your preferred model (e.g., gemini-flash-lite-latest), and provide custom instructions to tailor the AI's output to your needs.
  • Smart Change Detection: Intelligently combines staged changes, unstaged modifications, and untracked (new) files into a single context for a comprehensive commit message.
  • Resilient by Design: Includes an automatic retry mechanism to handle intermittent network or API issues, ensuring a smoother experience.

🚀 Getting Started

  1. Install the Extension: Grab it from the VSCode Marketplace.
  2. Configure Your API Key:
    • Open VSCode Settings (Ctrl/Cmd + ,).
    • Search for "Just Commit".
    • Enter your Google Gemini API Key in the justcommit.gemini.apiKey field. You can get one from Google AI Studio.
  3. Generate a Commit:
    • Make some changes in your Git repository.
    • Navigate to the Source Control view.
    • Click the "Just Commit" (🚀) icon in the title bar.
    • Watch as the commit message is generated and populated for you!

A huge thank you to all future contributors and users. I hope this tool enhances your productivity and makes your development process just a little bit easier.