docs(changelog): refine 1.9.0 release notes

This commit is contained in:
若麒
2026-07-17 15:04:50 +08:00
parent 00b4d095ed
commit 4b504a1a52
2 changed files with 10 additions and 24 deletions
+5 -12
View File
@@ -10,21 +10,14 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
### Added
- **CLI access-token automation** — added `bl auth generate-access-token`; OpenAPI login can obtain and persist a Console access token, and Console requests can refresh an expired token with stored AK/SK credentials.
- **`bl workspace init`** — initializes a Bailian workspace, creates the Console user, and activates required postpaid services in one workflow.
- **Named Config Profiles** — added isolated named profiles, persistent activation, and `bl config list`, `bl config use`, and `bl config ui` for profile management.
- **Token Plan model Profile** — `bl auth login --config token-plan --api-key ...` materializes the built-in Token Plan endpoint and default model settings for model calls.
- **STS credentials** — OpenAPI authentication now accepts and signs requests with an optional security token.
### Changed
- Successful `bl auth login --config <name>` now activates that Profile automatically; failed validation and dry runs leave the active Profile unchanged.
- Model Base URLs are normalized consistently across flags, environment variables, and Config Profiles.
- **Token Plan support** — log in and call supported models directly without manually configuring the endpoint.
- **Named Config Profiles** — create, switch, and manage isolated configurations; logging in to a named Profile activates it automatically.
- **Console Access Token automation** — generate and automatically refresh Console Access Tokens.
- **`bl workspace init`** — initialize a Bailian workspace and activate the required services in one workflow.
### Fixed
- `bl config show` now masks all supported secret fields.
- Config updates preserve unmanaged fields, and logout clears the complete OpenAPI credential set including STS security tokens.
- Improved configuration safety and consistency, including secret masking and preservation of custom configuration fields.
## [1.8.3] - 2026-07-16
+5 -12
View File
@@ -10,21 +10,14 @@
### 新增
- **CLI Access Token 自动化** —— 新增 `bl auth generate-access-token`OpenAPI 登录可获取并保存 Console Access TokenConsole 请求可使用已保存的 AK/SK 自动刷新过期 Token
- **`bl workspace init`** —— 通过一条工作流初始化百炼工作空间、创建控制台用户并开通所需的后付费服务
- **命名 Config Profile** —— 新增相互隔离的命名 Profile、持久化激活状态以及用于管理 Profile 的 `bl config list``bl config use``bl config ui`
- **Token Plan 模型 Profile** —— `bl auth login --config token-plan --api-key ...` 会物化 Token Plan 内置接入地址与默认模型配置,供模型命令直接使用
- **STS 凭证** —— OpenAPI 鉴权现支持可选 Security Token并在签名请求中自动携带。
### 变更
- `bl auth login --config <name>` 成功后会自动激活该 Profile验证失败和 dry-run 不改变当前激活项。
- 模型 Base URL 现在会在命令行参数、环境变量和 Config Profile 各来源中统一归一化。
- **支持 Token Plan** —— 登录后即可直接调用支持的模型,无需手动配置接入地址
- **命名 Config Profile** —— 支持创建、切换和管理相互隔离的配置,登录后会自动激活当前 Profile
- **Console Access Token 自动化** —— 支持生成并自动刷新 Console Access Token
- **`bl workspace init`** —— 一站式完成百炼工作空间初始化和所需服务开通
### 修复
- `bl config show` 现在会脱敏全部支持的密钥字段
- 配置更新会保留未管理字段,退出登录会完整清理包括 STS Security Token 在内的 OpenAPI 凭证。
- 提升配置安全性与一致性,包括密钥脱敏和自定义配置字段保留
## [1.8.3] - 2026-07-16