diff --git a/CHANGELOG.md b/CHANGELOG.md index 2412b1bd..26d2f511 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,54 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.11.1] - 2026-10-12 + +### Added + +- **Presets**: Add 88API presets and align the preset ordering with README sponsors, keeping former sponsors available at the end of the list. Includes [#504](https://github.com/SaladDay/cc-switch-cli/pull/504). +- **Documentation**: Add a Japanese README. Includes [#502](https://github.com/SaladDay/cc-switch-cli/pull/502). + +### Changed + +- **Configuration / Provider Switching**: Replace provider-owned routing, authentication, and model fields while preserving other live settings. Claude and Gemini switching, proxy restoration, and temporary Claude launches use the shared key-field write mechanism; Codex includes the top-level `base_url` compatibility fix. Interrupted writes use durable recovery. Includes [#506](https://github.com/SaladDay/cc-switch-cli/pull/506). + +### Fixed + +- **Codex / Shared Workspace Accounts**: Keep members of the same ChatGPT workspace in separate managed accounts instead of overwriting credentials. Targeted reauthentication preserves the local account ID and provider bindings, and proxy, model, and quota requests use the selected member's credentials and workspace. Includes [#509](https://github.com/SaladDay/cc-switch-cli/pull/509), fixing [#493](https://github.com/SaladDay/cc-switch-cli/issues/493). +- **Proxy / Daemon Shutdown**: Stop daemon-owned proxy workers even when runtime metadata is missing, allowing WebDAV restore to proceed. Includes [#508](https://github.com/SaladDay/cc-switch-cli/pull/508), fixing [#497](https://github.com/SaladDay/cc-switch-cli/issues/497). +- **macOS / Build Compatibility**: Restore daemon linking on Apple targets with libc 0.2.190. Includes [#505](https://github.com/SaladDay/cc-switch-cli/pull/505), fixing [#499](https://github.com/SaladDay/cc-switch-cli/issues/499). + +### Upgrade notes + +- Existing managed Codex OAuth accounts require reauthentication after upgrading. Use **Reauthenticate** in the account menu or `cc-switch auth login --account-id ` with the original user and workspace to preserve provider bindings. Accounts requiring reauthentication cannot supply credentials until confirmed. +- Ordinary provider switching preserves live user settings and no longer replays saved common snippets or reprojects MCP configuration. Explicit common-config editing remains available. +- For Homebrew installations, use `brew upgrade cc-switch-cli` once the formula is updated. + +### Thanks + +Thank you to everyone who reported problems, proposed changes, shared diagnostics, reviewed code, or joined the discussions. The list below covers issues and pull requests active since v5.11.0, including earlier participants in those discussions and contributions that have not been merged. Being listed here does not mean a proposed feature is included in this release. + +| Contributor | Issues and pull requests | +| --- | --- | +| [@3aKHP](https://github.com/3aKHP) | [#496](https://github.com/SaladDay/cc-switch-cli/issues/496) | +| [@denghongcai](https://github.com/denghongcai) | [#507](https://github.com/SaladDay/cc-switch-cli/issues/507) | +| [@genmlite](https://github.com/genmlite) | [#497](https://github.com/SaladDay/cc-switch-cli/issues/497) | +| [@jellyjelly814](https://github.com/jellyjelly814) | [#502](https://github.com/SaladDay/cc-switch-cli/pull/502), [#503](https://github.com/SaladDay/cc-switch-cli/pull/503) | +| [@kelvkhiu](https://github.com/kelvkhiu) | [#495](https://github.com/SaladDay/cc-switch-cli/issues/495) | +| [@liuyang8903](https://github.com/liuyang8903) | [#499](https://github.com/SaladDay/cc-switch-cli/issues/499) | +| [@mosongnan](https://github.com/mosongnan) | [#493](https://github.com/SaladDay/cc-switch-cli/issues/493) | +| [@neverdie0710](https://github.com/neverdie0710) | [#451](https://github.com/SaladDay/cc-switch-cli/pull/451) | +| [@RGB-loop](https://github.com/RGB-loop) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481), [#496](https://github.com/SaladDay/cc-switch-cli/issues/496) | +| [@SaladDay](https://github.com/SaladDay) | [#451](https://github.com/SaladDay/cc-switch-cli/pull/451), [#464](https://github.com/SaladDay/cc-switch-cli/issues/464), [#493](https://github.com/SaladDay/cc-switch-cli/issues/493), [#496](https://github.com/SaladDay/cc-switch-cli/issues/496), [#497](https://github.com/SaladDay/cc-switch-cli/issues/497), [#502](https://github.com/SaladDay/cc-switch-cli/pull/502), [#504](https://github.com/SaladDay/cc-switch-cli/pull/504), [#505](https://github.com/SaladDay/cc-switch-cli/pull/505), [#506](https://github.com/SaladDay/cc-switch-cli/pull/506), [#507](https://github.com/SaladDay/cc-switch-cli/issues/507), [#508](https://github.com/SaladDay/cc-switch-cli/pull/508), [#509](https://github.com/SaladDay/cc-switch-cli/pull/509) | +| [@sean0407](https://github.com/sean0407) | [#505](https://github.com/SaladDay/cc-switch-cli/pull/505) | +| [@stone-w4tch3r](https://github.com/stone-w4tch3r) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481) | +| [@tao-deng](https://github.com/tao-deng) | [#498](https://github.com/SaladDay/cc-switch-cli/pull/498) | +| [@timeuser4](https://github.com/timeuser4) | [#500](https://github.com/SaladDay/cc-switch-cli/pull/500), [#501](https://github.com/SaladDay/cc-switch-cli/issues/501) | +| [@wongsinglam](https://github.com/wongsinglam) | [#494](https://github.com/SaladDay/cc-switch-cli/issues/494) | +| [@ybin2024](https://github.com/ybin2024) | [#464](https://github.com/SaladDay/cc-switch-cli/issues/464) | + +Thanks also to our sponsors, everyone supporting and using the project, and the CC-Switch maintainers and contributors whose shared implementations underpin these improvements. + ## [5.11.0] - 2026-10-07 ### Added diff --git a/README.md b/README.md index 44b1c1ed..289c6a02 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ **Manage Claude Code, Codex, Gemini, OpenCode, Hermes, OpenClaw, and Pi from one interactive TUI or scriptable CLI.** -[![Version](https://img.shields.io/badge/version-5.11.0-blue.svg)](https://github.com/saladday/cc-switch-cli/releases) +[![Version](https://img.shields.io/badge/version-5.11.1-blue.svg)](https://github.com/saladday/cc-switch-cli/releases) [![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](https://github.com/saladday/cc-switch-cli/releases) [![Built with Rust](https://img.shields.io/badge/built%20with-Rust-orange.svg)](https://www.rust-lang.org/) [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) diff --git a/README_JA.md b/README_JA.md index 5d695f05..7848edac 100644 --- a/README_JA.md +++ b/README_JA.md @@ -6,7 +6,7 @@ **対話型 TUI またはスクリプトで利用できる CLI から、Claude Code、Codex、Gemini、OpenCode、Hermes、OpenClaw、Pi を一元管理できます。** -[![バージョン](https://img.shields.io/badge/version-5.11.0-blue.svg)](https://github.com/saladday/cc-switch-cli/releases) +[![バージョン](https://img.shields.io/badge/version-5.11.1-blue.svg)](https://github.com/saladday/cc-switch-cli/releases) [![対応プラットフォーム](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](https://github.com/saladday/cc-switch-cli/releases) [![Rust 製](https://img.shields.io/badge/built%20with-Rust-orange.svg)](https://www.rust-lang.org/) [![ライセンス](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) diff --git a/README_ZH.md b/README_ZH.md index 6b4e089f..2168d907 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -6,7 +6,7 @@ **通过交互式 TUI 或脚本化 CLI,统一管理 Claude Code、Codex、Gemini、OpenCode、Hermes、OpenClaw 和 Pi。** -[![Version](https://img.shields.io/badge/version-5.11.0-blue.svg)](https://github.com/saladday/cc-switch-cli/releases) +[![Version](https://img.shields.io/badge/version-5.11.1-blue.svg)](https://github.com/saladday/cc-switch-cli/releases) [![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)](https://github.com/saladday/cc-switch-cli/releases) [![Built with Rust](https://img.shields.io/badge/built%20with-Rust-orange.svg)](https://www.rust-lang.org/) [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 2412b1bd..26d2f511 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -9,6 +9,54 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.11.1] - 2026-10-12 + +### Added + +- **Presets**: Add 88API presets and align the preset ordering with README sponsors, keeping former sponsors available at the end of the list. Includes [#504](https://github.com/SaladDay/cc-switch-cli/pull/504). +- **Documentation**: Add a Japanese README. Includes [#502](https://github.com/SaladDay/cc-switch-cli/pull/502). + +### Changed + +- **Configuration / Provider Switching**: Replace provider-owned routing, authentication, and model fields while preserving other live settings. Claude and Gemini switching, proxy restoration, and temporary Claude launches use the shared key-field write mechanism; Codex includes the top-level `base_url` compatibility fix. Interrupted writes use durable recovery. Includes [#506](https://github.com/SaladDay/cc-switch-cli/pull/506). + +### Fixed + +- **Codex / Shared Workspace Accounts**: Keep members of the same ChatGPT workspace in separate managed accounts instead of overwriting credentials. Targeted reauthentication preserves the local account ID and provider bindings, and proxy, model, and quota requests use the selected member's credentials and workspace. Includes [#509](https://github.com/SaladDay/cc-switch-cli/pull/509), fixing [#493](https://github.com/SaladDay/cc-switch-cli/issues/493). +- **Proxy / Daemon Shutdown**: Stop daemon-owned proxy workers even when runtime metadata is missing, allowing WebDAV restore to proceed. Includes [#508](https://github.com/SaladDay/cc-switch-cli/pull/508), fixing [#497](https://github.com/SaladDay/cc-switch-cli/issues/497). +- **macOS / Build Compatibility**: Restore daemon linking on Apple targets with libc 0.2.190. Includes [#505](https://github.com/SaladDay/cc-switch-cli/pull/505), fixing [#499](https://github.com/SaladDay/cc-switch-cli/issues/499). + +### Upgrade notes + +- Existing managed Codex OAuth accounts require reauthentication after upgrading. Use **Reauthenticate** in the account menu or `cc-switch auth login --account-id ` with the original user and workspace to preserve provider bindings. Accounts requiring reauthentication cannot supply credentials until confirmed. +- Ordinary provider switching preserves live user settings and no longer replays saved common snippets or reprojects MCP configuration. Explicit common-config editing remains available. +- For Homebrew installations, use `brew upgrade cc-switch-cli` once the formula is updated. + +### Thanks + +Thank you to everyone who reported problems, proposed changes, shared diagnostics, reviewed code, or joined the discussions. The list below covers issues and pull requests active since v5.11.0, including earlier participants in those discussions and contributions that have not been merged. Being listed here does not mean a proposed feature is included in this release. + +| Contributor | Issues and pull requests | +| --- | --- | +| [@3aKHP](https://github.com/3aKHP) | [#496](https://github.com/SaladDay/cc-switch-cli/issues/496) | +| [@denghongcai](https://github.com/denghongcai) | [#507](https://github.com/SaladDay/cc-switch-cli/issues/507) | +| [@genmlite](https://github.com/genmlite) | [#497](https://github.com/SaladDay/cc-switch-cli/issues/497) | +| [@jellyjelly814](https://github.com/jellyjelly814) | [#502](https://github.com/SaladDay/cc-switch-cli/pull/502), [#503](https://github.com/SaladDay/cc-switch-cli/pull/503) | +| [@kelvkhiu](https://github.com/kelvkhiu) | [#495](https://github.com/SaladDay/cc-switch-cli/issues/495) | +| [@liuyang8903](https://github.com/liuyang8903) | [#499](https://github.com/SaladDay/cc-switch-cli/issues/499) | +| [@mosongnan](https://github.com/mosongnan) | [#493](https://github.com/SaladDay/cc-switch-cli/issues/493) | +| [@neverdie0710](https://github.com/neverdie0710) | [#451](https://github.com/SaladDay/cc-switch-cli/pull/451) | +| [@RGB-loop](https://github.com/RGB-loop) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481), [#496](https://github.com/SaladDay/cc-switch-cli/issues/496) | +| [@SaladDay](https://github.com/SaladDay) | [#451](https://github.com/SaladDay/cc-switch-cli/pull/451), [#464](https://github.com/SaladDay/cc-switch-cli/issues/464), [#493](https://github.com/SaladDay/cc-switch-cli/issues/493), [#496](https://github.com/SaladDay/cc-switch-cli/issues/496), [#497](https://github.com/SaladDay/cc-switch-cli/issues/497), [#502](https://github.com/SaladDay/cc-switch-cli/pull/502), [#504](https://github.com/SaladDay/cc-switch-cli/pull/504), [#505](https://github.com/SaladDay/cc-switch-cli/pull/505), [#506](https://github.com/SaladDay/cc-switch-cli/pull/506), [#507](https://github.com/SaladDay/cc-switch-cli/issues/507), [#508](https://github.com/SaladDay/cc-switch-cli/pull/508), [#509](https://github.com/SaladDay/cc-switch-cli/pull/509) | +| [@sean0407](https://github.com/sean0407) | [#505](https://github.com/SaladDay/cc-switch-cli/pull/505) | +| [@stone-w4tch3r](https://github.com/stone-w4tch3r) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481) | +| [@tao-deng](https://github.com/tao-deng) | [#498](https://github.com/SaladDay/cc-switch-cli/pull/498) | +| [@timeuser4](https://github.com/timeuser4) | [#500](https://github.com/SaladDay/cc-switch-cli/pull/500), [#501](https://github.com/SaladDay/cc-switch-cli/issues/501) | +| [@wongsinglam](https://github.com/wongsinglam) | [#494](https://github.com/SaladDay/cc-switch-cli/issues/494) | +| [@ybin2024](https://github.com/ybin2024) | [#464](https://github.com/SaladDay/cc-switch-cli/issues/464) | + +Thanks also to our sponsors, everyone supporting and using the project, and the CC-Switch maintainers and contributors whose shared implementations underpin these improvements. + ## [5.11.0] - 2026-10-07 ### Added diff --git a/docs/releases/v5.11.1.md b/docs/releases/v5.11.1.md new file mode 100644 index 00000000..290c4069 --- /dev/null +++ b/docs/releases/v5.11.1.md @@ -0,0 +1,59 @@ +# CC Switch CLI v5.11.1 + +This patch release fixes shared-workspace Codex OAuth accounts, daemon shutdown, and macOS builds, and improves provider configuration preservation. + +## Added + +- **Presets**: Add 88API presets and align the preset ordering with README sponsors, keeping former sponsors available at the end of the list. Includes [#504](https://github.com/SaladDay/cc-switch-cli/pull/504). +- **Documentation**: Add a Japanese README. Includes [#502](https://github.com/SaladDay/cc-switch-cli/pull/502). + +## Changed + +- **Configuration / Provider Switching**: Replace provider-owned routing, authentication, and model fields while preserving other live settings. Claude and Gemini switching, proxy restoration, and temporary Claude launches use the shared key-field write mechanism; Codex includes the top-level `base_url` compatibility fix. Interrupted writes use durable recovery. Includes [#506](https://github.com/SaladDay/cc-switch-cli/pull/506). + +## Fixed + +- **Codex / Shared Workspace Accounts**: Keep members of the same ChatGPT workspace in separate managed accounts instead of overwriting credentials. Targeted reauthentication preserves the local account ID and provider bindings, and proxy, model, and quota requests use the selected member's credentials and workspace. Includes [#509](https://github.com/SaladDay/cc-switch-cli/pull/509), fixing [#493](https://github.com/SaladDay/cc-switch-cli/issues/493). +- **Proxy / Daemon Shutdown**: Stop daemon-owned proxy workers even when runtime metadata is missing, allowing WebDAV restore to proceed. Includes [#508](https://github.com/SaladDay/cc-switch-cli/pull/508), fixing [#497](https://github.com/SaladDay/cc-switch-cli/issues/497). +- **macOS / Build Compatibility**: Restore daemon linking on Apple targets with libc 0.2.190. Includes [#505](https://github.com/SaladDay/cc-switch-cli/pull/505), fixing [#499](https://github.com/SaladDay/cc-switch-cli/issues/499). + +## Upgrade notes + +- Existing managed Codex OAuth accounts require reauthentication after upgrading. Use **Reauthenticate** in the account menu or `cc-switch auth login --account-id ` with the original user and workspace to preserve provider bindings. Accounts requiring reauthentication cannot supply credentials until confirmed. +- Ordinary provider switching preserves live user settings and no longer replays saved common snippets or reprojects MCP configuration. Explicit common-config editing remains available. +- For Homebrew installations, use `brew upgrade cc-switch-cli` once the formula is updated. + +## Thanks + +Thank you to everyone who reported problems, proposed changes, shared diagnostics, reviewed code, or joined the discussions. The list below covers issues and pull requests active since v5.11.0, including earlier participants in those discussions and contributions that have not been merged. Being listed here does not mean a proposed feature is included in this release. + +| Contributor | Issues and pull requests | +| --- | --- | +| [@3aKHP](https://github.com/3aKHP) | [#496](https://github.com/SaladDay/cc-switch-cli/issues/496) | +| [@denghongcai](https://github.com/denghongcai) | [#507](https://github.com/SaladDay/cc-switch-cli/issues/507) | +| [@genmlite](https://github.com/genmlite) | [#497](https://github.com/SaladDay/cc-switch-cli/issues/497) | +| [@jellyjelly814](https://github.com/jellyjelly814) | [#502](https://github.com/SaladDay/cc-switch-cli/pull/502), [#503](https://github.com/SaladDay/cc-switch-cli/pull/503) | +| [@kelvkhiu](https://github.com/kelvkhiu) | [#495](https://github.com/SaladDay/cc-switch-cli/issues/495) | +| [@liuyang8903](https://github.com/liuyang8903) | [#499](https://github.com/SaladDay/cc-switch-cli/issues/499) | +| [@mosongnan](https://github.com/mosongnan) | [#493](https://github.com/SaladDay/cc-switch-cli/issues/493) | +| [@neverdie0710](https://github.com/neverdie0710) | [#451](https://github.com/SaladDay/cc-switch-cli/pull/451) | +| [@RGB-loop](https://github.com/RGB-loop) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481), [#496](https://github.com/SaladDay/cc-switch-cli/issues/496) | +| [@SaladDay](https://github.com/SaladDay) | [#451](https://github.com/SaladDay/cc-switch-cli/pull/451), [#464](https://github.com/SaladDay/cc-switch-cli/issues/464), [#493](https://github.com/SaladDay/cc-switch-cli/issues/493), [#496](https://github.com/SaladDay/cc-switch-cli/issues/496), [#497](https://github.com/SaladDay/cc-switch-cli/issues/497), [#502](https://github.com/SaladDay/cc-switch-cli/pull/502), [#504](https://github.com/SaladDay/cc-switch-cli/pull/504), [#505](https://github.com/SaladDay/cc-switch-cli/pull/505), [#506](https://github.com/SaladDay/cc-switch-cli/pull/506), [#507](https://github.com/SaladDay/cc-switch-cli/issues/507), [#508](https://github.com/SaladDay/cc-switch-cli/pull/508), [#509](https://github.com/SaladDay/cc-switch-cli/pull/509) | +| [@sean0407](https://github.com/sean0407) | [#505](https://github.com/SaladDay/cc-switch-cli/pull/505) | +| [@stone-w4tch3r](https://github.com/stone-w4tch3r) | [#481](https://github.com/SaladDay/cc-switch-cli/issues/481) | +| [@tao-deng](https://github.com/tao-deng) | [#498](https://github.com/SaladDay/cc-switch-cli/pull/498) | +| [@timeuser4](https://github.com/timeuser4) | [#500](https://github.com/SaladDay/cc-switch-cli/pull/500), [#501](https://github.com/SaladDay/cc-switch-cli/issues/501) | +| [@wongsinglam](https://github.com/wongsinglam) | [#494](https://github.com/SaladDay/cc-switch-cli/issues/494) | +| [@ybin2024](https://github.com/ybin2024) | [#464](https://github.com/SaladDay/cc-switch-cli/issues/464) | + +Thanks also to our sponsors, everyone supporting and using the project, and the CC-Switch maintainers and contributors whose shared implementations underpin these improvements. + +## Install or update + +For Homebrew installations, run `brew upgrade cc-switch-cli` once the formula is updated. Otherwise, use the platform packages below or the installer: + +```bash +curl -fsSL https://github.com/SaladDay/cc-switch-cli/releases/latest/download/install.sh | bash +``` + +[Full comparison](https://github.com/SaladDay/cc-switch-cli/compare/v5.11.0...v5.11.1) diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 82b4f7e7..13b36ac8 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "cc-switch" -version = "5.11.0" +version = "5.11.1" dependencies = [ "anyhow", "async-stream", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index e21c1dfa..de732932 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cc-switch" -version = "5.11.0" +version = "5.11.1" description = "All-in-One Assistant for Claude Code, Codex, Gemini, OpenCode & OpenClaw" authors = ["Jason Young", "saladday"] license = "MIT"