Skip to content

chore(release): prepare 1.4.0 — version bump, CHANGELOG, packaging slim-down, release notes draft - #498

Merged
caomengxuan666 merged 1 commit into
masterfrom
release/1.4.0-prep
Oct 10, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
release/1.4.0-prep

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

1.4.0 发布准备(draft)

只做发布准备:不打 tag、不跑 cargo publish。在途 PR(#462/#485 等)的合并时序由协调者另行处理。

版本变更

  • Cargo.toml version 1.3.4 → 1.4.0(Cargo.lock 同步)。crates.io 现最新发布为 1.2.0(2026-09-25),1.2.1–1.3.x 均未发布到 crates.io。

CHANGELOG 摘要

Unreleased 段整理为 [1.4.0] - 2026-10-10 小节,按 新增 / 修复 / 性能 / 平台 / 构建 / 文档 分组;覆盖本窗口全部 merged PR(#453–#459、#464、#466–#469、#472–#476、#481、#483、#484、#486、#490–#495)与 #460–#465 issue 关联修复(#460→#475、#461→#473、#462→#476、#463→#483、#465→#472),与既有条目去重合并、不重复计数:

package 体检结果

  • cargo package --list --allow-dirty:调整 exclude 后 400 个文件 / 8.9 MB(解包后),回到 crates.io 10 MiB 上限之内;调整前 2053 个文件 / 15.6 MB,超限。
  • exclude 变更:新增 tests/**、third_party/**(参考源码与测试语料,编译不需要;third_party/bash 本就是已排除的 submodule),移除失效反规则 !third_party/bash/tests/*.right。
  • 内容检查:无绝对路径/盘符;无 .github/memory/target 泄漏;.cargo/config.toml 仅含 RUST_TEST_THREADS env,无本地路径 [patch](niubash patch 不在本仓,对发布无影响)。
  • 元数据与 crates.io 现有条目(rubash 1.2.0)逐项一致:description、homepage、repository、license、categories 相同;keywords 集合一致(bash/cli/posix/shell,crates.io 侧按字典序展示)。
  • cargo publish --dry-run --allow-dirty(带认证,凭证已配置):打包 + 编译验证通过,Uploading rubash v1.4.0 后按 dry-run 中止,exit 0;仅有 "ignoring test … not included in the published package" 信息级警告(tests 排除的预期结果)。

release notes 草稿

本 PR 不做

  • 不打 tag v1.4.0,不跑正式 cargo publish,不合在途 PR。

…m-down, notes draft)

- Cargo.toml: version 1.3.4 -> 1.4.0 (crates.io latest published is 1.2.0)
- CHANGELOG: regroup the Unreleased section into a 1.4.0 section
  (新增/修复/性能/平台/构建/文档), folding in the merged PR batch
  #453-#495 plus the #460-#465 issue fixes, deduplicated
- packaging: exclude tests/ and third_party/ from the published crate —
  2053 files / 15.6 MB -> 400 files / 8.9 MB unpacked, back under the
  crates.io 10 MiB cap; compile verified via cargo publish --dry-run
- docs: bilingual release-notes draft at docs/release-notes-1.4.0-draft.md
@caomengxuan666
caomengxuan666 merged commit 0d99ae2 into master Oct 10, 2026
7 of 8 checks passed
@caomengxuan666
caomengxuan666 deleted the release/1.4.0-prep branch October 10, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant