@dptech-corp/bohr-cli 2.6.83 → 2.6.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,36 @@
|
|
|
16
16
|
|
|
17
17
|
## [Unreleased]
|
|
18
18
|
|
|
19
|
+
## [2.6.85] - 2026-09-04
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **`--choose-type` 三条 machine list 统一只收 `cpu`/`gpu`/`all`**:`sandbox` 那条此前对任何值放行,`banana` 也退 0 并返回全部机型。
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- **资源 ID 不合法在发请求前报 `VALIDATION_FAILED`**:此前位置参数那一侧不查正负,`bohr node get 0` 会真去请求那个 ID。
|
|
28
|
+
- **`-o json` 的失败不再同时往 stderr 打一份散文**:把两条流合起来读的调用方此前拿到解析不了的输出。
|
|
29
|
+
- **`dataset delete --dataset-id` 与 `image delete --image-id` 可以单独使用**:此前只给 flag 会报缺位置参数。
|
|
30
|
+
- **`batchjob machine list --choose-type all` 不再被拒**:`all` 正是这条 flag 帮助文案自己写的默认值。
|
|
31
|
+
- **`batchjob machine list --dry-run` 把过滤词报在 `params` 而非 `body`**:真调用发的是 query 参数,此前预览说错了地方。
|
|
32
|
+
|
|
33
|
+
### Deprecated
|
|
34
|
+
|
|
35
|
+
- **三个驼峰 flag 名改用连字符**:`--choose-type` / `--dataset-id` / `--image-id`;旧名仍可用但不再出现在 `--help`。
|
|
36
|
+
|
|
37
|
+
## [2.6.84] - 2026-09-04
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
|
|
41
|
+
- **`machine list` 的 `--sort` 在机读格式下不再无效**:`sandbox`/`batchjob` 两条此前只在 `-o human` 排序,而自带示例写的是 `--sort price -o json`。
|
|
42
|
+
- **`sandbox machine list --sort price` 不再按字典序排**:`144.00 RMB/h` 此前排在 `15.00 RMB/h` 前面,挑最便宜机型会挑错。
|
|
43
|
+
- **`-o yaml` 的键名与省略规则改为跟随 `-o json`**:此前键名取 Go 字段名小写(`requestid`),且 `omitempty` 失效、空字段全打出来。
|
|
44
|
+
|
|
45
|
+
### Deprecated
|
|
46
|
+
|
|
47
|
+
- **`-o pretty` 已废弃**:它与 `-o json` 输出逐字节相同,从来不是另一种格式。仍可用,但不再出现在 `--help` 与文档里,请改用 `-o json`。
|
|
48
|
+
|
|
19
49
|
## [2.6.83] - 2026-09-04
|
|
20
50
|
|
|
21
51
|
### Breaking
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dptech-corp/bohr-cli",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.85",
|
|
4
4
|
"description": "CLI tool for Bohrium scientific computing platform",
|
|
5
5
|
"bin": {
|
|
6
6
|
"bohr": "run.js"
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"CHANGELOG.md"
|
|
33
33
|
],
|
|
34
34
|
"optionalDependencies": {
|
|
35
|
-
"@dptech-corp/bohr-cli-darwin-arm64": "2.6.
|
|
36
|
-
"@dptech-corp/bohr-cli-darwin-amd64": "2.6.
|
|
37
|
-
"@dptech-corp/bohr-cli-linux-amd64": "2.6.
|
|
38
|
-
"@dptech-corp/bohr-cli-linux-arm64": "2.6.
|
|
39
|
-
"@dptech-corp/bohr-cli-windows-amd64": "2.6.
|
|
40
|
-
"@dptech-corp/bohr-cli-windows-arm64": "2.6.
|
|
35
|
+
"@dptech-corp/bohr-cli-darwin-arm64": "2.6.85",
|
|
36
|
+
"@dptech-corp/bohr-cli-darwin-amd64": "2.6.85",
|
|
37
|
+
"@dptech-corp/bohr-cli-linux-amd64": "2.6.85",
|
|
38
|
+
"@dptech-corp/bohr-cli-linux-arm64": "2.6.85",
|
|
39
|
+
"@dptech-corp/bohr-cli-windows-amd64": "2.6.85",
|
|
40
|
+
"@dptech-corp/bohr-cli-windows-arm64": "2.6.85"
|
|
41
41
|
}
|
|
42
42
|
}
|