diff --git a/CHANGELOG.md b/CHANGELOG.md index eb02d9e..251cda7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ 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.4.0] - 2025-10-01 + +### ✨ Features +- Enable internationalization via i18next with a Chinese default and English fallback, plus an in-app language switcher +- Add Claude plugin sync alongside the existing VS Code integration controls +- Extend provider presets with optional API key URLs and updated models, including DeepSeek-V3.1-Terminus and Qwen3-Max +- Support portable mode launches and enforce a single running instance to avoid conflicts + +### 🔧 Improvements +- Allow minimizing the window to the system tray and add macOS Dock visibility management for tray workflows +- Refresh the Settings modal with a scrollable layout, save icon, and cleaner language section +- Smooth provider toggle states with consistent button widths/icons and prevent layout shifts when switching between Claude and Codex +- Adjust the Windows MSI installer to target per-user LocalAppData and improve component tracking reliability + +### 🐛 Fixes +- Remove the unnecessary OpenAI auth requirement from third-party provider configurations +- Fix layout shifts while switching app types with Claude plugin sync enabled +- Align Enable/In Use button states to avoid visual jank across VS Code and Codex views + ## [3.3.0] - 2025-09-22 ### ✨ Features diff --git a/README.md b/README.md index ddb537d..aae3e74 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ # Claude Code & Codex 供应商切换器 -[![Version](https://img.shields.io/badge/version-3.3.0-blue.svg)](https://github.com/farion1231/cc-switch/releases) +[![Version](https://img.shields.io/badge/version-3.4.0-blue.svg)](https://github.com/farion1231/cc-switch/releases) [![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](https://github.com/farion1231/cc-switch/releases) [![Built with Tauri](https://img.shields.io/badge/built%20with-Tauri%202-orange.svg)](https://tauri.app/) 一个用于管理和切换 Claude Code 与 Codex 不同供应商配置的桌面应用。 +> v3.4.0 :新增 i18next 国际化(还有部分未完成)、对新模型(qwen-3-max, GLM-4.6, DeepSeek-V3.2-Exp)的支持、Claude 插件、单实例守护、托盘最小化及安装器优化等。 + > v3.3.0 :VS Code Codex 插件一键配置/移除(默认自动同步)、Codex 通用配置片段与自定义向导增强、WSL 环境支持、跨平台托盘与 UI 优化。 > v3.2.0 :全新 UI、macOS系统托盘、内置更新器、原子写入与回滚、改进暗色样式、单一事实源(SSOT)与一次性迁移/归档。 @@ -14,14 +16,14 @@ > v3.0.0 重大更新:从 Electron 完全迁移到 Tauri 2.0,应用体积显著降低、启动性能大幅提升。 -## 功能特性(v3.3.0) +## 功能特性(v3.4.0) -- **VS Code Codex 插件一键配置**:供应商卡片支持「应用到 VS Code / 从 VS Code 移除」,默认开启自动同步,并可跨 Code / Insiders / VSCodium 写入 `settings.json` -- **通用配置片段**:Claude 与 Codex 共用 JSON/TOML 片段,提供编辑器 lint、内容校验、统一错误提示与本地持久化 -- **Codex 配置向导**:新增显示名称、专用 API Key URL、HTML5 校验与预设模板,方便快速配置第三方服务 -- **系统托盘与快捷操作**:窗口隐藏时仍可通过托盘切换供应商,并在自动同步开启时触发 VS Code 写入 -- **平台适配**:新增 Windows WSL 环境支持、Linux 自动禁用模态背景模糊解决白屏问题、macOS Dock 点击即可恢复窗口 -- **UI优化**:多处 UI 和使用体验优化 +- **国际化与语言切换**:内置 i18next,默认显示中文,可在设置中快速切换到英文,界面文文案自动实时刷新。 +- **Claude 插件同步**:在 VS Code 同步按钮旁新增 Claude 插件同步选项,与 Codex 同步互不冲突,切换供应商后立即应用。 +- **供应商预设扩展**:新增 DeepSeek--V3.2-Exp、Qwen3-Max、GLM-4.6 等最新模型。 +- **系统托盘与窗口行为**:窗口关闭可最小化到托盘,macOS 支持托盘模式下隐藏/显示 Dock,托盘切换时同步 Claude/Codex/插件状态。 +- **单实例**:保证同一时间仅运行一个实例,避免多开冲突。 +- **UI 与安装体验优化**:设置面板改为可滚动布局并加入保存图标,按钮宽度与状态一致性加强,Windows MSI 安装默认写入 per-user LocalAppData 并改进组件跟踪,Windows 便携版现在指向最新 release 页面,不再自动更为为安装版。 ## 界面预览 diff --git a/package.json b/package.json index ae5b4af..79e4ec2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cc-switch", - "version": "3.3.1", + "version": "3.4.0", "description": "Claude Code & Codex 供应商切换工具", "scripts": { "dev": "pnpm tauri dev", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 4a9ea6b..911b3b6 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -563,7 +563,7 @@ dependencies = [ [[package]] name = "cc-switch" -version = "3.3.1" +version = "3.4.0" dependencies = [ "dirs 5.0.1", "log", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index c80b2f0..2133db3 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cc-switch" -version = "3.3.1" +version = "3.4.0" description = "Claude Code & Codex 供应商配置管理工具" authors = ["Jason Young"] license = "MIT" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 8e312c7..4bf6571 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.3.1", + "version": "3.4.0", "identifier": "com.ccswitch.desktop", "build": { "frontendDist": "../dist",