Skip to content

Commit db6ee7a

Browse files
committed
feat(core): 增加CHANGELOG
1 parent 822c4e6 commit db6ee7a

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
66

77
[中文版](CHANGELOG.zh.md) · [README](README.md) · [Contributing](CONTRIBUTING.md)
88

9+
## [1.3.0] - 2026-06-10
10+
11+
### Added
12+
13+
- `bl knowledge retrieve` now supports API-Key authentication (DashScope gateway), in addition to AK/SK. API-Key is auto-detected and preferred when available.
14+
- New retrieval options: `--dense-similarity-top-k`, `--sparse-similarity-top-k`, `--rerank-model`, `--rerank-mode`, `--rerank-instruct` — supported on both API-Key and AK/SK paths.
15+
- `DashScopeKnowledgeRetrieveRequest` / `DashScopeKnowledgeRetrieveResponse` types and `knowledgeRetrieveEndpoint` added to `bailian-cli-core`.
16+
- Comprehensive E2E tests for knowledge retrieve covering both auth paths, dry-run, rerank flags, and error cases.
17+
18+
### Changed
19+
20+
- Credential resolution priority: explicit API-Key → explicit AK/SK flags → auto-detected API-Key → fallback AK/SK from config/env.
21+
- `--workspace-id` is now only required for AK/SK auth, no longer mandatory for API-Key mode.
22+
- `--top-k` deprecated in favor of `--rerank-top-n`; emits a warning and maps to `--rerank-top-n` when used.
23+
- `--access-key-id` / `--access-key-secret` flags marked as deprecated (API-Key is recommended).
24+
- API Key and console links updated to direct key management pages across all docs.
25+
26+
### Fixed
27+
28+
- `--rerank` flag in AK/SK path now correctly sets `EnableReranking` instead of the non-functional `Rerank: true` boolean.
29+
930
## [1.2.1] - 2026-06-09
1031

1132
### Changed

CHANGELOG.zh.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@
66

77
[English](CHANGELOG.md) · [README](README.zh.md) · [参与贡献](CONTRIBUTING.zh.md)
88

9+
## [1.3.0] - 2026-06-10
10+
11+
### 新增
12+
13+
- `bl knowledge retrieve` 新增 API-Key 鉴权(DashScope 网关),与原有 AK/SK 并存,可用时自动优先使用 API-Key。
14+
- 新增检索参数:`--dense-similarity-top-k``--sparse-similarity-top-k``--rerank-model``--rerank-mode``--rerank-instruct`,API-Key 与 AK/SK 两条链路均支持。
15+
- `bailian-cli-core` 新增 `DashScopeKnowledgeRetrieveRequest` / `DashScopeKnowledgeRetrieveResponse` 类型及 `knowledgeRetrieveEndpoint` 端点。
16+
- 知识库检索全面 E2E 测试,覆盖两种鉴权路径、dry-run、rerank 参数及错误场景。
17+
18+
### 变更
19+
20+
- 凭据解析优先级:显式 API-Key → 显式 AK/SK flag → 自动检测 API-Key → 回退至配置/环境变量中的 AK/SK。
21+
- `--workspace-id` 仅在 AK/SK 鉴权时必填,API-Key 模式下不再强制要求。
22+
- `--top-k` 标记为废弃,改用 `--rerank-top-n`;使用时输出警告并自动映射。
23+
- `--access-key-id` / `--access-key-secret` 标记为废弃(推荐使用 API-Key)。
24+
- 全部文档中的 API Key 和控制台链接更新为直达密钥管理页面。
25+
26+
### 修复
27+
28+
- AK/SK 链路 `--rerank` 现在正确设置 `EnableReranking`,而非之前无效的 `Rerank: true` 布尔值。
29+
930
## [1.2.1] - 2026-06-09
1031

1132
### 变更

0 commit comments

Comments
 (0)