Skip to content

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 08 Nov 04:09
· 261 commits to main since this release

中文 | English

0.5.1 补丁版本,汇总了自 v0.5.0 以来的主要变更,重点解决临时资源持续积累与 Niubash 每次调用的大量复制,并纳入已验证的工具、索引和安装修复。

新增功能

  • 新增磁盘归属与缓存诊断,以及安装残留、执行副本和结果缓存的显式回收命令;含快照数据和用户内容的目录不会被盲目删除。 @Thatgfsj
  • 新增跨平台索引与查询能力及 Windows、Linux、macOS 适配,Windows MFT 来源保持显式开启。 @Thatgfsj @T-Auto
  • ops_grep 新增声明查找模式,按声明类型返回匹配位置,并明确区分匹配行数与返回的声明数。 @yanfei0725

体验优化

  • Niubash 执行树优先使用硬链接与只读封印,并在调用前采用 stat 校验,减少重复复制与全树哈希;仍可显式启用深度校验。 @Thatgfsj
  • Windows 默认执行根跟随载荷所在卷,减少跨盘导致的大体积复制回退。 @Nicholas023
  • 输出 spill 使用归属台账与有界保留,空结果缓存根支持延迟清理和有界回收,失败安装与 staging 残留获得可追踪生命周期。 @Thatgfsj

问题修复

  • 工作区内的执行副本不再与共享载荷硬链接,避免宿主 Low 完整性标签沿共享文件对象污染后续执行。 @Thatgfsj
  • 修复从已安装包重新打包时缺少仓库构建脚本的错误,同时保留源码检出的构建与载荷校验。 @Y-fyan
  • 修复索引重命名、根身份、期限及 Windows 部分完成状态等正确性问题。 @Thatgfsj @T-Auto

其他变更

  • 提供 CI 自诊断指南,统一跨平台验证与不可变发布门禁,发布产物仅在完整验证后生成。 @Thatgfsj

The 0.5.1 patch release summarizes the main changes since v0.5.0, focusing on accumulating temporary resources and large per-call Niubash copies, together with verified tool, index and installation fixes.

New Features

  • Add disk ownership and cache diagnostics plus explicit reclamation commands for installation leftovers, execution copies and result caches; directories containing snapshot data or user content are never blindly deleted. by @Thatgfsj
  • Add cross-platform index and query capabilities with Windows, Linux and macOS adapters, while keeping the Windows MFT source opt-in. by @Thatgfsj @T-Auto
  • Add a definitions mode to ops_grep, returning declaration kinds and distinguishing matching lines from returned declarations. by @yanfei0725

Improvements

  • Prefer hardlinked Niubash execution trees with a read-only seal and pre-call stat verification, reducing repeated copies and whole-tree hashing; explicit deep verification remains available. by @Thatgfsj
  • Keep the default Windows execution root on the payload volume to reduce large cross-volume copy fallbacks. by @Nicholas023
  • Track output spills with an ownership ledger and bounded retention, reclaim empty result-cache roots through deferred bounded cleanup, and track failed installations and staging leftovers throughout their lifecycle. by @Thatgfsj

Bug Fixes

  • Stop hardlinking workspace-rooted execution copies to the shared payload so host Low-integrity labels cannot contaminate later executions through shared file objects. by @Thatgfsj
  • Fix repacking an installed package without repository-only build scripts while retaining checkout builds and payload verification. by @Y-fyan
  • Fix index rename handling, root identity, deadlines and Windows partial-completion correctness. by @Thatgfsj @T-Auto

Chores

  • Add CI self-diagnosis documentation and consistent cross-platform validation and immutable release gates so artifacts are assembled only after full verification. by @Thatgfsj

Full Changelog: v0.5.0...v0.5.1