diff --git a/CHANGELOG.md b/CHANGELOG.md index 9896c88..e27bcfd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,44 @@ All notable changes to CC Switch will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.1.1] - 2025-09-03 + +### 🐛 Bug Fixes +- Fixed the default codex config.toml to match the latest modifications +- Improved provider configuration UX with custom option + +### 📝 Documentation +- Updated README with latest information + +## [3.1.0] - 2025-09-01 + +### ✨ New Features +- **Added Codex application support** - Now supports both Claude Code and Codex configuration management + - Manage auth.json and config.toml for Codex + - Support for backup and restore operations + - Preset providers for Codex (Official, PackyCode) + - API Key auto-write to auth.json when using presets +- **New UI components** + - App switcher with segmented control design + - Dual editor form for Codex configuration + - Pills-style app switcher with consistent button widths +- **Enhanced configuration management** + - Multi-app config v2 structure (claude/codex) + - Automatic v1→v2 migration with backup + - OPENAI_API_KEY validation for non-official presets + - TOML syntax validation for config.toml + +### 🔧 Technical Improvements +- Unified Tauri command API with app_type parameter +- Backward compatibility for app/appType parameters +- Added get_config_status/open_config_folder/open_external commands +- Improved error handling for empty config.toml + +### 🐛 Bug Fixes +- Fixed config path reporting and folder opening for Codex +- Corrected default import behavior when main config is missing +- Fixed non_snake_case warnings in commands.rs + ## [3.0.0] - 2025-08-27 ### 🚀 Major Changes diff --git a/package.json b/package.json index 37e02eb..44eb421 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cc-switch", - "version": "3.0.0", - "description": "Claude Code 供应商切换工具", + "version": "3.1.1", + "description": "Claude Code & Codex 供应商切换工具", "scripts": { "dev": "pnpm tauri dev", "build": "pnpm tauri build", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index dcf7bb0..7591881 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "cc-switch" -version = "3.0.0" -description = "Claude Code MCP 服务器配置管理工具" +version = "3.1.1" +description = "Claude Code & Codex 供应商配置管理工具" authors = ["Jason Young"] license = "MIT" repository = "https://github.com/jasonyoung/cc-switch" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 24454ee..d784b49 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "CC Switch", - "version": "3.0.0", + "version": "3.1.1", "identifier": "com.ccswitch.desktop", "build": { "frontendDist": "../dist",