From 0dfa739e0029e59065e40e2721185fb1c8d87e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=B1=E9=B2=B2?= Date: Mon, 17 Aug 2026 18:47:47 +0800 Subject: [PATCH] chore(anolisa): bump version to 0.3.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Synchronize the Cargo workspace, npm root and native payload packages, and the RPM release boundary at 0.3.2. Curate the bilingual changelog from the five ANOLISA changes after 0.3.1, covering target-aware availability and Raw metadata, native DSH adapters, the logs alias, and systemd status reporting. The bump itself adds no new runtime behavior. The remaining 0.3.1 literals are historical release rows, status fixtures, and Node version examples, so this release leaves them unchanged. Assisted-by: Codex:0.147.0 Signed-off-by: 爱鲲 --- src/anolisa/CHANGELOG.md | 37 +++++++++++++++++++ src/anolisa/CHANGELOG_zh.md | 36 ++++++++++++++++++ src/anolisa/Cargo.lock | 10 ++--- src/anolisa/Cargo.toml | 2 +- src/anolisa/anolisa.spec.in | 9 ++++- src/anolisa/npm/package.json | 8 ++-- .../npm/platforms/darwin-arm64/package.json | 2 +- .../npm/platforms/linux-arm64/package.json | 2 +- .../npm/platforms/linux-x64/package.json | 2 +- 9 files changed, 94 insertions(+), 14 deletions(-) diff --git a/src/anolisa/CHANGELOG.md b/src/anolisa/CHANGELOG.md index d9229a82cf..2dd5b0aa83 100644 --- a/src/anolisa/CHANGELOG.md +++ b/src/anolisa/CHANGELOG.md @@ -9,6 +9,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.3.2] - 2026-08-17 + +### Added + +- ANOLISA now provides a native DSH adapter driver for plugin bundles. + `anolisa adapter enable dsh --profile ` accepts repeatable + profiles, validates the bundle identity, delegates profile changes to DSH, + and remembers the enable-time DSH home so status, disable, and re-enable keep + targeting the same profiles even if `DSH_HOME` or the working directory + changes. Disable DSH adapters before downgrading to an earlier ANOLISA release + ([#2580](https://github.com/alibaba/anolisa/pull/2580)). +- `anolisa logs --level ` is now a visible alias for the existing + `--severity` option, with the same validation and filtering behavior while + `severity` remains the canonical JSON field + ([#2558](https://github.com/alibaba/anolisa/pull/2558)). + +### Changed + +- `anolisa list` and `anolisa install --all` now evaluate component + availability against an exact OS and architecture target from schema v2 + `components-v2.toml`. JSON output replaces `platforms` and + `platform_available` with `targets` and `target_available`; repository + publishers must deploy the v2 index beside the unchanged v1 index + ([#2533](https://github.com/alibaba/anolisa/pull/2533)). + +### Fixed + +- `anolisa --dry-run install` now reads `meta.toml` beside the resolved Raw + artifact before falling back to version-level metadata only when the sibling + file is absent. Previews now validate the selected target's contract, reject + corrupt published metadata instead of masking it, and still avoid downloading + the artifact + ([#2551](https://github.com/alibaba/anolisa/pull/2551)). +- System-helper status now reports `unknown` when `systemctl` cannot be started + and reports `failed` only for a unit whose actual state is failed + ([#2604](https://github.com/alibaba/anolisa/pull/2604)). + ## [0.3.1] - 2026-08-13 ### Fixed diff --git a/src/anolisa/CHANGELOG_zh.md b/src/anolisa/CHANGELOG_zh.md index f432130d4a..84fa83c96f 100644 --- a/src/anolisa/CHANGELOG_zh.md +++ b/src/anolisa/CHANGELOG_zh.md @@ -9,6 +9,42 @@ ## [未发布] +## [0.3.2] - 2026-08-17 + +### 新增 + +- ANOLISA 现为 plugin bundle 提供原生 DSH adapter driver。 + `anolisa adapter enable dsh --profile ` 支持重复指定 + profile、验证 bundle identity、将 profile 变更委托给 DSH,并记录 enable + 时的 DSH home,使 status、disable 和 re-enable 在 `DSH_HOME` 或 working + directory 变化后仍针对相同 profile。降级到更早的 ANOLISA release 前需先 + disable DSH adapter + ([#2580](https://github.com/alibaba/anolisa/pull/2580))。 +- `anolisa logs --level ` 现为已有 `--severity` option 的可见别名, + 使用相同的 validation 和 filtering behavior,同时 `severity` 仍为 canonical + JSON field + ([#2558](https://github.com/alibaba/anolisa/pull/2558))。 + +### 变更 + +- `anolisa list` 和 `anolisa install --all` 现依据 schema v2 + `components-v2.toml` 中精确的 OS 与 architecture target 判断 component + availability。JSON output 以 `targets` 和 `target_available` 取代 + `platforms` 和 `platform_available`;repository publisher 必须在保持 v1 + index 不变的同时部署 v2 index + ([#2533](https://github.com/alibaba/anolisa/pull/2533))。 + +### 修复 + +- `anolisa --dry-run install` 现优先读取 resolved Raw artifact 旁的 + `meta.toml`,仅在该 sibling file 不存在时回退到 version-level metadata。 + Preview 现会验证所选 target 的 contract,并拒绝损坏的已发布 metadata, + 不再掩盖错误,同时仍不会下载 artifact + ([#2551](https://github.com/alibaba/anolisa/pull/2551))。 +- System-helper status 现会在 `systemctl` 无法启动时报告 `unknown`,仅在 unit + 的实际状态为 failed 时报告 `failed` + ([#2604](https://github.com/alibaba/anolisa/pull/2604))。 + ## [0.3.1] - 2026-08-13 ### 修复 diff --git a/src/anolisa/Cargo.lock b/src/anolisa/Cargo.lock index 311e0688f9..3867b7d491 100644 --- a/src/anolisa/Cargo.lock +++ b/src/anolisa/Cargo.lock @@ -19,7 +19,7 @@ dependencies = [ [[package]] name = "anolisa-build" -version = "0.3.1" +version = "0.3.2" dependencies = [ "anolisa-core", "anolisa-env", @@ -31,7 +31,7 @@ dependencies = [ [[package]] name = "anolisa-cli" -version = "0.3.1" +version = "0.3.2" dependencies = [ "anolisa-build", "anolisa-core", @@ -57,7 +57,7 @@ dependencies = [ [[package]] name = "anolisa-core" -version = "0.3.1" +version = "0.3.2" dependencies = [ "anolisa-env", "anolisa-platform", @@ -82,7 +82,7 @@ dependencies = [ [[package]] name = "anolisa-env" -version = "0.3.1" +version = "0.3.2" dependencies = [ "chrono", "dirs", @@ -95,7 +95,7 @@ dependencies = [ [[package]] name = "anolisa-platform" -version = "0.3.1" +version = "0.3.2" dependencies = [ "dirs", "nix", diff --git a/src/anolisa/Cargo.toml b/src/anolisa/Cargo.toml index b2ec82ea4a..c8cfa010c6 100644 --- a/src/anolisa/Cargo.toml +++ b/src/anolisa/Cargo.toml @@ -9,7 +9,7 @@ members = [ ] [workspace.package] -version = "0.3.1" +version = "0.3.2" edition = "2024" license = "Apache-2.0" rust-version = "1.88" diff --git a/src/anolisa/anolisa.spec.in b/src/anolisa/anolisa.spec.in index c5aadfaf14..e18e391074 100644 --- a/src/anolisa/anolisa.spec.in +++ b/src/anolisa/anolisa.spec.in @@ -143,7 +143,14 @@ if [ $1 -eq 0 ]; then fi %changelog -* Thu Aug 13 2026 Shangyuxin - @VERSION@-1 +* Mon Aug 17 2026 Shangyuxin - @VERSION@-1 +- Native DSH adapters now support explicit multi-profile lifecycle. +- Component availability and batch installs now match exact OS and architecture targets. +- Raw dry-runs now validate metadata for the resolved artifact target. +- Logs now accept --level as an alias for --severity. +- System-helper status now distinguishes unit failures from systemctl launch failures. + +* Thu Aug 13 2026 Shangyuxin - 0.3.1-1 - Adapter discovery now ignores undeclared shared resource directories. * Wed Aug 12 2026 Shangyuxin - 0.3.0-1 diff --git a/src/anolisa/npm/package.json b/src/anolisa/npm/package.json index e6d191c556..49fb994bfb 100644 --- a/src/anolisa/npm/package.json +++ b/src/anolisa/npm/package.json @@ -1,6 +1,6 @@ { "name": "@anolisa/cli", - "version": "0.3.1", + "version": "0.3.2", "description": "ANOLISA CLI — Agentic OS component lifecycle manager", "type": "module", "license": "Apache-2.0", @@ -37,8 +37,8 @@ "darwin" ], "optionalDependencies": { - "@anolisa/cli-linux-x64": "0.3.1", - "@anolisa/cli-linux-arm64": "0.3.1", - "@anolisa/cli-darwin-arm64": "0.3.1" + "@anolisa/cli-linux-x64": "0.3.2", + "@anolisa/cli-linux-arm64": "0.3.2", + "@anolisa/cli-darwin-arm64": "0.3.2" } } diff --git a/src/anolisa/npm/platforms/darwin-arm64/package.json b/src/anolisa/npm/platforms/darwin-arm64/package.json index 4eb57f2239..016f435f01 100644 --- a/src/anolisa/npm/platforms/darwin-arm64/package.json +++ b/src/anolisa/npm/platforms/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@anolisa/cli-darwin-arm64", - "version": "0.3.1", + "version": "0.3.2", "description": "ANOLISA CLI native binary for macOS arm64", "license": "Apache-2.0", "repository": { diff --git a/src/anolisa/npm/platforms/linux-arm64/package.json b/src/anolisa/npm/platforms/linux-arm64/package.json index d41e8261e1..a6437e5803 100644 --- a/src/anolisa/npm/platforms/linux-arm64/package.json +++ b/src/anolisa/npm/platforms/linux-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@anolisa/cli-linux-arm64", - "version": "0.3.1", + "version": "0.3.2", "description": "ANOLISA CLI native binary for Linux aarch64", "license": "Apache-2.0", "repository": { diff --git a/src/anolisa/npm/platforms/linux-x64/package.json b/src/anolisa/npm/platforms/linux-x64/package.json index e2c9f83404..5801cf0d6f 100644 --- a/src/anolisa/npm/platforms/linux-x64/package.json +++ b/src/anolisa/npm/platforms/linux-x64/package.json @@ -1,6 +1,6 @@ { "name": "@anolisa/cli-linux-x64", - "version": "0.3.1", + "version": "0.3.2", "description": "ANOLISA CLI native binary for Linux x86_64", "license": "Apache-2.0", "repository": {