From a0c881d26a34be3027f8c3828159c18add25d6ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=95=85=E7=92=83?= Date: Mon, 23 Nov 2026 11:14:32 +0800 Subject: [PATCH] chore(release): complete 2.10.5 changelogs --- CHANGELOG.md | 18 ++++++++++++++++++ CHANGELOG.zh.md | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23bd086e..fe98292e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,24 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and [中文版](CHANGELOG.zh.md) · [README](README.md) · [Contributing](CONTRIBUTING.md) +## [2.10.5] - 2026-11-23 + +### Added + +- **Model router command group**: New `bl deploy router` group for postpaid model routing (`plan=mr`). + - `bl deploy router versions` lists available routing versions, supported strategies and candidate models with pagination. + - `bl deploy router create` creates a router from `--name`, `--route-version`, `--strategy` (`EFFECT_FIRST` / `COST_FIRST`) and `--candidates`; it starts RUNNING immediately and is gated by dry-run → confirmation → `--yes`. + - `bl deploy router list` / `get` query routers; `get` verifies the deployment is `plan=mr`. + - `bl deploy router update` updates selected fields of a RUNNING router while preserving unspecified fields; `--candidates` replaces the entire candidate list. + - `bl deploy router delete` permanently deletes a router after confirmation; a RUNNING router does not need to be stopped first. +- **Capacity automatic renewal**: New `bl deploy capacity auto-renew enable` / `disable` toggle automatic renewal for one prepaid capacity instance using `--cycle Day` and `--auto-renewal-duration`. Both are high-risk billing operations with dry-run preview and instance capability prechecks; 8-hour off-peak instances are not supported. +- **8-hour off-peak capacity**: `bl deploy capacity create` and `bl deploy text create --plan ptu` support the prepaid 8-hour off-peak window via `--pricing-cycle Hour --duration 8 --auto-renewal false`; PTU also requires `--service-tier ptu_default`. The selling window (22:00–24:00 Beijing time) and model support are validated server-side. Off-peak instances cannot be scaled, renewed, auto-renewed, released or unsubscribed and expire automatically. + +### Changed + +- **PTU thinking-output capacity**: `bl deploy text create --thinking-output-tpm` is no longer rejected locally for PTU; support is model-specific and validated server-side. +- **Deployment deletion**: `bl deploy delete` recognizes model routers (`plan=mr`) and allows deleting a RUNNING router without stopping it first. + ## [2.10.4] - 2026-11-20 ### Added diff --git a/CHANGELOG.zh.md b/CHANGELOG.zh.md index c39dee5a..37cba805 100644 --- a/CHANGELOG.zh.md +++ b/CHANGELOG.zh.md @@ -6,6 +6,24 @@ [English](CHANGELOG.md) · [README](README.zh.md) · [参与贡献](CONTRIBUTING.zh.md) +## [2.10.5] - 2026-11-23 + +### 新增 + +- **模型路由命令组**:新增 `bl deploy router` 组,管理后付费模型路由(`plan=mr`)。 + - `bl deploy router versions` 分页列出可用路由版本、支持策略与候选模型。 + - `bl deploy router create` 通过 `--name`、`--route-version`、`--strategy`(`EFFECT_FIRST` / `COST_FIRST`)与 `--candidates` 创建路由;创建后立即进入 RUNNING 状态,遵循试运行 → 确认 → `--yes` 闸门。 + - `bl deploy router list` / `get` 查询路由;`get` 会校验部署为 `plan=mr`。 + - `bl deploy router update` 更新 RUNNING 路由的指定配置项并保留未提供字段;`--candidates` 会替换整个候选模型列表。 + - `bl deploy router delete` 确认后永久删除路由;RUNNING 路由无需先停机。 +- **容量自动续费**:新增 `bl deploy capacity auto-renew enable` / `disable`,通过 `--cycle Day` 与 `--auto-renewal-duration` 开启或关闭单个预付费容量实例的自动续费。两者均为高风险计费操作,支持试运行预览与实例能力预检;8 小时闲时实例不支持。 +- **8 小时闲时容量**:`bl deploy capacity create` 与 `bl deploy text create --plan ptu` 支持通过 `--pricing-cycle Hour --duration 8 --auto-renewal false` 购买预付费 8 小时闲时窗口;PTU 还须显式指定 `--service-tier ptu_default`。售卖时段(北京时间 22:00–24:00)与模型支持由服务端校验。闲时实例不可变配、续订、自动续费、释放或退订,到期自动失效。 + +### 变更 + +- **PTU 思考输出容量**:`bl deploy text create --thinking-output-tpm` 不再在本地对 PTU 直接拒绝;是否支持由模型决定并由服务端校验。 +- **部署删除**:`bl deploy delete` 识别模型路由(`plan=mr`),允许 RUNNING 路由无需停机即可删除。 + ## [2.10.4] - 2026-11-20 ### 新增