diff --git a/.codex/skills/release/SKILL.md b/.codex/skills/release/SKILL.md index cd02b3fd..070903d1 100644 --- a/.codex/skills/release/SKILL.md +++ b/.codex/skills/release/SKILL.md @@ -18,7 +18,7 @@ Do not use this skill for ordinary commits that are not being released. ## Versioning Rules -- `feature` -> bump `+0.1.0` +- `feature` -> bump minor and reset patch to `0` (`x.y.z` → `x.(y+1).0`; for example `0.41.2` → `0.42.0`) - `bugfix` -> bump `+0.0.1` - `docs`, `maintenance`, and `refactor` do not bump by default unless the user explicitly wants a release @@ -53,7 +53,9 @@ If unrelated uncommitted changes exist, list them and ask the user whether to in - If the user provided an explicit type (`feature` / `bugfix`), use it - Otherwise infer from `git diff HEAD` and recent `git log` -- Compute the next version (e.g. `0.26.2` → bugfix → `0.26.3`) +- Compute the next version: + - `feature`: increment minor and reset patch to `0` (e.g. `0.41.2` → `0.42.0`) + - `bugfix`: increment patch only (e.g. `0.26.2` → `0.26.3`) - **Show the release plan before making any changes:** ``` diff --git a/VERSION b/VERSION index 787ffc30..339fd080 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.42.0 +0.42.1 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 930d4250..b4769681 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -8,6 +8,13 @@ This project follows the repository versioning rule: - `improvement` -> `+0.0.1`(bugfix + 小功能混合) - `bugfix` -> `+0.0.1` +## [0.42.1] — 2026-04-28 + +### 🐛 Fixes +- 修正 release skill 的 feature 版本计算规则:minor 进位时 patch 必须重置为 `0`,例如 `0.41.2` 应发布为 `0.42.0` + +--- + ## [0.42.0] — 2026-04-28 ### ✨ Highlights diff --git a/docs/version-history.md b/docs/version-history.md index d8b843ce..561c8c24 100644 --- a/docs/version-history.md +++ b/docs/version-history.md @@ -16,12 +16,13 @@ ## Current Version - `main` 当前主线历史推导到:`0.16.5` -- `dev` 当前开发分支历史推导到:`0.42.0` +- `dev` 当前开发分支历史推导到:`0.42.1` ## Timeline | Version | Type | Branch | Commit | Summary | | --- | --- | --- | --- | --- | +| `0.42.1` | bugfix | `dev` | `pending` | 修正 release skill 的 feature 版本计算规则,minor 进位时重置 patch 为 0 | | `0.42.0` | feature | `dev` | `pending` | 新增公开 `/docs` 文档站、中英文技术/使用文档、搜索与主题切换,并补充公共组件复用和 Earth 无高清材质边缘提示 | | `0.41.2` | improvement | `dev` | `pending` | 启动脚本新增 verbose 滚动日志与端口占用诊断,Docker 构建支持镜像源覆盖,并修复 Earth 登陆点遮挡判断 | | `0.41.1` | improvement | `dev` | `pending` | 修复新闻直播持久化失效、pin 边缘遮挡;图标抽取为 SVG 并建立规范 | diff --git a/frontend/package.json b/frontend/package.json index 36a851f6..5b31c428 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "planet-frontend", - "version": "0.42.0", + "version": "0.42.1", "private": true, "packageManager": "bun@1", "dependencies": { diff --git a/pyproject.toml b/pyproject.toml index de05abff..c6a00873 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "planet" -version = "0.42.0" +version = "0.42.1" description = "智能星球计划 - 态势感知系统" requires-python = ">=3.14" dependencies = [ diff --git a/uv.lock b/uv.lock index 5d2ddeb4..ca9da24b 100644 --- a/uv.lock +++ b/uv.lock @@ -475,7 +475,7 @@ wheels = [ [[package]] name = "planet" -version = "0.42.0" +version = "0.42.1" source = { virtual = "." } dependencies = [ { name = "aiofiles" },