Repository navigation
chore(release): prepare 1.4.0 — version bump, CHANGELOG, packaging slim-down, release notes draft - #498
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.4.0 发布准备(draft)
只做发布准备:不打 tag、不跑
cargo publish。在途 PR(#462/#485 等)的合并时序由协调者另行处理。版本变更
Cargo.tomlversion 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),与既有条目去重合并、不重复计数:--version构建元数据([infra] --version 输出缺 build 元数据:dev 构建以假乱真导致 AI 代理假基线(三起事故根因) #488)、GNUcp移植、history -d start-end范围删除。$?时序(fix(executor): propagate command-substitution status to in-word $? (rubash#485) #491/fix(executor): comsub reap publishes its status to $? before the enclosing command runs (rubash#485) #494)、[engine] 交互挂起族:U 字节注入(#434 同族)与 continuation 误判——eco 审计 HANG 集群 #451 source 边界中止、[P2] PS1 \[ \] markers render literally in some paths (inretio theme; bash-it themes leak <=4 fragments) #431 PS1\[ \]标记、[bug] complete rejects dashed function names: complete '_dirs-complete' — GNU accepts (breaks 16 oh-my-bash completion assets) #427/[bug] coproc 子进程丢失函数表,DEBUG trap 引用的 preexec 函数报 command not found #441/[engine] 语法误拒族:extglob @(/for hash/函数定义——官方资产 54 例被拒而 GNU 接受 #452-1/[parse] terminator-less 'then' after ]] inside a function body rejected — GNU accepts (breaks shell_function_n_shortcuts/.shortcut) #460–[parse] word-attached multi-line process substitution word<( NL ... NL ) rejected — GNU accepts (breaks json.bash jb-cli example) #463/[parse] compound-group state leaks into later nested function-definition brace tracking: EOF from '{' — GNU accepts (breaks mirkop.sh) #465 解析与执行修复,ERR trap/procsub fd/coproc 函数表/整词默认展开,以及 dbg-support/rsh/invocation/trap/func/complete 全族归零、history/globstar/array/assoc 收敛、fix(executor): broken-pipe writes no longer abort the interpreter (rubash#440) #455 SIGPIPE、fix(input): normalize C0 control bytes on bridge-delivered interactive lines #458 粘贴输入规范化。$(cd && pwd)×5000−11%)、perf-suite 24 probes 基线。ulimitmusl/OpenHarmony(fix(ulimit): compile against musl and OpenHarmony libcs #449)、信号编号统一 Linux 表。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_THREADSenv,无本地路径[patch](niubash patch 不在本仓,对发布无影响)。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 草稿
docs/release-notes-1.4.0-draft.md:中英双语。要点齐全——login shell、真 readline REPL、粘贴语义(fix(input): normalize C0 control bytes on bridge-delivered interactive lines #458)、Android/OH 目标、性能三连([perf] 数组追加与算术循环是脚本执行的热点(micro-benchmark 报告) #437/[perf] Incremental reader deep system: batch tokenizer re-lexes O(buffer) per appended line (nvm -n 720x / OpenSSH -n timeout residual) #281/[perf] 执行器热路径残余(#156/#157/#158/#186 关闭后):read 循环 106x / fn 调用 94x / s+=x 77x / 展开 76x / 算术 50x / 内建循环 52x / 启动 13x #242 部分)、android 信号表(audit(platform-cfg): full platform-gate inventory; fix android signal-table legs (kill/trap) #492)、全部 bug 修复清单;打 tag 前定稿。本 PR 不做
v1.4.0,不跑正式cargo publish,不合在途 PR。