release: bump version to 0.84.2
This commit is contained in:
1 parent
5e6352f524
commit
30b44ec00d
77 files changed
+3312
-1039
No files matched your search
@@ -8,6 +8,23 @@ This project follows the repository versioning rule:
|
||||
- `improvement` -> `+0.0.1`(bugfix + 小功能混合)
|
||||
- `bugfix` -> `+0.0.1`
|
||||
|
||||
## [0.84.2] — 2026-12-05
|
||||
|
||||
Released: 2026-12-05
|
||||
|
||||
### Highlights
|
||||
|
||||
- 发布 Windows、Linux 和 macOS 桌面客户端安装包及 Earth 热更新包。
|
||||
|
||||
### Improved / Fixed
|
||||
|
||||
- 后台优化仪表盘、工作流和数据台账的布局与控件,补齐数据台账的英文界面,并显示实际运行版本。
|
||||
- Earth 统一按钮与来源链接的图标对齐,卫星目录刷新后保留仍有效的选中目标和轨道。
|
||||
- 降低云图合成与高清底图瓦片的内存压力,减少并发请求造成的重复加载。
|
||||
- 轻量 Earth 热更新改由 OCI 发布清单分发,保留下载页的完整客户端安装包。前端冒烟补齐地形瓦片模拟。
|
||||
|
||||
---
|
||||
|
||||
## [0.84.1] — 2026-12-04
|
||||
|
||||
Released: 2026-12-04
|
||||
|
||||
+8
-7
@@ -332,13 +332,14 @@ Use `.codex/skills/release/SKILL.md`, `scripts/release_scope.py`,
|
||||
`scripts/release_publish.py`, and `.gitea/workflows/` files. Tagged releases
|
||||
classify changed paths into scoped images (`admin`, `backend`, `aiprovider`)
|
||||
and client modes (`none`, `hotfix`, `full`) recorded in OCI
|
||||
`release-manifest:<tag>` (and `release-manifest.json` when a client Release is
|
||||
created). Releases with `client.mode == "none"` push only changed service
|
||||
images + OCI `release-manifest:<tag>` without creating a Gitea Release or
|
||||
rebuilding desktop clients; only `hotfix` / `full` client releases create a
|
||||
Gitea Release. Harness validation can smoke-check Helm and Docker locally,
|
||||
and `scripts/harness/test_production_release.py` covers scoped release/deploy
|
||||
logic without replacing the release process.
|
||||
`release-manifest:<tag>` (and `release-manifest.json` when a full desktop
|
||||
Release is created). Releases with `client.mode == "none"` or `"hotfix"` push
|
||||
changed service images + OCI `release-manifest:<tag>` (embedding the L1 hotfix
|
||||
bundle in OCI for `hotfix`) without creating a Gitea Release or rebuilding
|
||||
desktop installers; only `full` client releases create a Gitea Release so
|
||||
`/releases/latest` always holds full desktop packages. Harness validation can
|
||||
smoke-check Helm and Docker locally, and `scripts/harness/test_production_release.py`
|
||||
covers scoped release/deploy logic without replacing the release process.
|
||||
|
||||
## Implementation Notes
|
||||
|
||||
|
||||
@@ -487,9 +487,9 @@ Run the following command from the tagged commit.
|
||||
python3 scripts/release_publish.py --tag "$(git describe --tags --exact-match)" --use-git-credential
|
||||
```
|
||||
|
||||
The publisher classifies changed files from the tag commit (`scripts/release_scope.py`), builds Linux amd64 images only for changed services, and pushes OCI `release-manifest:<tag>` as the canonical deployment manifest. When a release contains no client or Earth hotfix update (`client.mode == "none"`), it skips desktop packaging and **does not create a Gitea Release**; Gitea Releases are created only for releases with L1 hotfixes (`hotfix`) or full desktop packages (`full`). Pass `--assets-dir client/release` to reuse complete packages and a hotfix built for that tag. Repeat the same command after an interrupted upload to reuse the original build and verified attachments. The workstation can go offline once publication succeeds.
|
||||
The publisher classifies changed files from the tag commit (`scripts/release_scope.py`), builds Linux amd64 images only for changed services, and pushes OCI `release-manifest:<tag>` as the canonical deployment manifest. When a release contains no desktop shell update (`client.mode == "none"` or `"hotfix"`), it **does not create a Gitea Release** (for `hotfix`, the L1 Earth hotfix bundle and release notes are embedded directly inside OCI `release-manifest:<tag>` so Gitea `/releases/latest` always preserves full desktop installers); Gitea Releases are created only for full desktop client updates (`client.mode == "full"`). Pass `--assets-dir client/release` to reuse complete packages and a hotfix built for that tag. Repeat the same command after an interrupted upload to reuse the original build and verified attachments. The workstation can go offline once publication succeeds.
|
||||
|
||||
The production host checks the latest stable Git tags and OCI `release-manifest:<tag>` (plus Gitea Releases when client updates exist) approximately every two minutes using `planet-release-deploy.timer`. Once the manifest and digests are verified, it pulls only changed images by digest, backs up PostgreSQL, rolls out changed services, verifies endpoints, and publishes/verifies the Earth hotfix only when `client.mode != "none"`. The host retains its Compose configuration, memory limits, and data volumes. Apply the release-specific infrastructure migration first when a release requires new mounts, services, or incompatible database changes.
|
||||
The production host checks the latest stable Git tags and OCI `release-manifest:<tag>` (plus Gitea Releases for full-shell or legacy releases) approximately every two minutes using `planet-release-deploy.timer`. Once the manifest and digests are verified, it pulls only changed images by digest, backs up PostgreSQL, rolls out changed services, verifies endpoints, and publishes/verifies the Earth hotfix from OCI or Gitea Release whenever `client.mode != "none"`. The host retains its Compose configuration, memory limits, and data volumes. Apply the release-specific infrastructure migration first when a release requires new mounts, services, or incompatible database changes.
|
||||
|
||||
A failed rollout restores the previous application images and hotfix manifest while preserving database writes. An interrupted rollout resumes recovery on the next check. A failed version waits for an explicit retry or a newer release. The most recent pre-change database backups and version records are under `/var/lib/planet-release-deploy/last-success/` and `last-failed/`. Retry after resolving the underlying error.
|
||||
|
||||
|
||||
@@ -487,9 +487,9 @@ docker --config "${XDG_CONFIG_HOME:-$HOME/.config}/planet/registry" login gitea.
|
||||
python3 scripts/release_publish.py --tag "$(git describe --tags --exact-match)" --use-git-credential
|
||||
```
|
||||
|
||||
发布器从标签提交识别改动范围(`scripts/release_scope.py`),仅构建变更服务的 Linux amd64 镜像,并把完整部署清单写入 OCI `release-manifest:<tag>`。当版本不包含客户端或 Earth 热更变更(`client.mode == "none"`)时,不构建桌面客户端且**不创建新的 Gitea Release**;仅当包含 L1 热更或桌面客户端更新(`hotfix` / `full`)时才创建 Gitea Release 并附带 `release-manifest.json` 与对应安装包/热更包。已经备好该标签的各平台安装包和热更新包时可加 `--assets-dir client/release`。上传中断后重复同一命令即可复用已构建的镜像和已校验的附件。发布命令成功后可以关闭本机。
|
||||
发布器从标签提交识别改动范围(`scripts/release_scope.py`),仅构建变更服务的 Linux amd64 镜像,并把完整部署清单写入 OCI `release-manifest:<tag>`。当版本不包含桌面客户端壳包更新(`client.mode == "none"` 或 `"hotfix"`)时,**不创建新的 Gitea Release**(其中 `hotfix` 会把 L1 Earth 热更包与变更说明直接打入 OCI `release-manifest:<tag>`,从而让 Gitea `/releases/latest` 始终保留全平台桌面安装包);仅当包含全平台桌面客户端更新(`client.mode == "full"`)时才创建 Gitea Release 并附带 `release-manifest.json` 与对应安装包/热更包。已经备好该标签的各平台安装包和热更新包时可加 `--assets-dir client/release`。上传中断后重复同一命令即可复用已构建的镜像和已校验的附件。发布命令成功后可以关闭本机。
|
||||
|
||||
生产机的 `planet-release-deploy.timer` 约每两分钟检查 Gitea 最新正式标签、OCI `release-manifest:<tag>`(及客户端更新版本对应的 Gitea Release)。确认清单与摘要齐全后,服务按不可变摘要仅拉取并滚动更新有变动的容器,备份 PostgreSQL,验证健康接口;仅在 `client.mode != "none"` 时发布并回读 Earth 热更新包。主机沿用当前生产 Compose、内存限制和数据卷。需要新增挂载、服务或数据库不兼容变更时,先按该版本的迁移方案调整主机配置。
|
||||
生产机的 `planet-release-deploy.timer` 约每两分钟检查 Gitea 最新正式标签、OCI `release-manifest:<tag>`(及客户端全量/历史版本对应的 Gitea Release)。确认清单与摘要齐全后,服务按不可变摘要仅拉取并滚动更新有变动的容器,备份 PostgreSQL,验证健康接口;当 `client.mode != "none"` 时自动从 OCI 或 Release 读取并发布、回读 Earth 热更新包。主机沿用当前生产 Compose、内存限制和数据卷。需要新增挂载、服务或数据库不兼容变更时,先按该版本的迁移方案调整主机配置。
|
||||
|
||||
上线失败时,服务恢复上一版的镜像摘要和热更新清单,保留数据库里的业务写入。事务记录在重启后仍可恢复。失败的版本会暂停自动重试,较新的正式版仍可上线。`/var/lib/planet-release-deploy/last-success/` 和 `last-failed/` 分别保留最近一次成功或失败切换前的数据库备份和版本信息。确认故障已排除后可以单独重试该版本。
|
||||
|
||||
|
||||
@@ -16,12 +16,13 @@
|
||||
## Current Version
|
||||
|
||||
- `main` 当前主线历史推导到:`0.16.5`
|
||||
- `dev` 当前开发分支历史推导到:`0.84.1`
|
||||
- `dev` 当前开发分支历史推导到:`0.84.2`
|
||||
|
||||
## Timeline
|
||||
|
||||
| Version | Type | Branch | Commit | Summary |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| `0.84.2` | improvement | `dev` | `v0.84.2` | 后台数据台账英文和控件改进、Earth 图标对齐与卫星刷新、云图和底图内存优化、OCI 热更新与全平台客户端发布 |
|
||||
| `0.84.1` | bugfix | `dev` | `v0.84.1` | 在 backend/Dockerfile 补齐 OpenCV 运行时共享库(libxcb1/libgl1/libglib2.0-0 等),修复生产容器启动导入 cv2 失败并完成 v0.84 线上发布与 L1 热更上线 |
|
||||
| `0.84.0` | feature | `dev` | `v0.84.0` | 算力台账不可变修订/双时间轴/只读血缘、全球实时云图与风场/高清底图瓦片、高精度中国 POV 边界 PMTiles 与 3D 城市分级标注、图层数据台账与 9 节点位置 DAG 统一、修复线上独立 Admin 默认品牌/云图预览裂图及文档清理 |
|
||||
| `0.83.0` | feature | `dev` | `v0.83.0` | Earth Phase 1–4 贴地影响范围与三维视觉升级、聚合分色环与优先一折连线、AI 参谋自进化加固与数据源连通性修复、桌面客户端启动与资源包更新及代码文档清理 |
|
||||
|
||||
Reference in new issue
Block a user