Skip to content

v1.0.0

Latest

Choose a tag to compare

@kikkimo kikkimo released this 21 Jul 14:57

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[1.0.0] - 2025-07-21

Added

  • Initial release of Gemini Switcher.
  • Interactive menu with a beautiful Gemini-style blue interface.
  • Arrow key navigation with a fallback to number selection for non-TTY environments.
  • AES-256-CBC Encryption: Industry-standard encryption for API keys and Project IDs.
  • Machine-specific Encryption Keys: Keys are derived from machine-specific data for enhanced security.
  • Interactive Credential Setup: Guided setup for adding new Gemini authentications with validation and duplicate checking.
  • Multi-credential Management: Add, remove, and switch between multiple Gemini authentications.
  • Credential Switching: Activate a selected authentication by setting system-wide environment variables on Windows (setx).
  • Session-specific Setup: Generate shell commands to configure environment variables for the current terminal session.
  • Smart Configuration: Automatically creates and manages a .gemini-switcher.json file in the user's home directory.
  • Masked Display: API keys and Project IDs are masked in the interface to protect sensitive information.
  • Cross-platform Shell Support: Generates environment variable commands for PowerShell, CMD, Bash, Zsh, and Fish.
  • Global npm Installation: Designed for easy global installation and use from anywhere.
  • Tabular Data Display: View and manage credentials in a clean, organized table format.
  • User-friendly Confirmations: Includes a confirmation step before deleting credentials.
  • Multilingual Documentation: Support for both English and Chinese documentation.
  • Comprehensive Error Handling: Clear feedback for invalid inputs, errors, and user cancellations.

Changed

  • Simplified Configuration: Automatic and secure credential storage, removing the need for manual file editing.
  • Improved User Experience: A guided, interactive workflow for managing Gemini credentials.
  • Modernized Documentation: Includes a Quick Start guide and detailed usage instructions.

Fixed

  • Input Handling: Robust input processing for API keys and Project IDs, with support for copy-paste.
  • Environment Compatibility: Gracefully handles both TTY and non-TTY terminal environments.
  • Process Management: Ensures clean exit and provides clear instructions for setting shell variables.
  • Credential Validation: Implemented strict validation rules for API keys and Project IDs to prevent invalid data.

Security

  • Encrypted Storage: All credentials (API Key, Project ID) are encrypted using AES-256-CBC.
  • Machine Binding: Encryption keys are tied to machine-specific characteristics, preventing the configuration file from being used on other machines.
  • Local-only Decryption: Encrypted data can only be decrypted on the machine where it was created.
  • Secure Input Handling: Validates credentials and prevents storage of invalid or duplicate entries.
  • No Plaintext Storage: Sensitive credentials are never stored in plaintext.

Full Changelog: https://github.com/kikkimo/gemini-switcher/commits/v1.0.0