Homebrew v6.0.22:formula_creator收紧网络权限
6.0.22
推荐理由
v6.0.22 对 formula_creator 的网络权限进行了实质性收紧(破坏性/弃用类变更),且修复了可能导致构建挂起的 shim 执行循环问题。建议开发者尽快升级以符合新的安全规范并提升构建稳定性。
What's Changed
变更内容
- Use quarterly reports for role suggestions by @MikeMcQuaid in #23726
- cask/audit: reject verified parameter on all casks by @AlternateRT in #23718
- doctor: remove grep_v(String) from JSON output by @hyuraku in #23727
- Target Intel Clang under Rosetta by @MikeMcQuaid in #23723
- formula: update cargo fetch example by @cho-m in #23728
- formula_creator: add deny network to some modes by @cho-m in #23730
- formula_creator: add deny network for go and rust by @cho-m in #23734
- bump-cask-pr: load modified contents with FromContentLoader by @p-linnane in #23738
- bump: avoid overwriting skip message with autobump by @samford in #23737
- formula_creator: add deny network for cabal and zig by @cho-m in #23739
- Use InfluxDB v3 API for analytics reporting by @SMillerDev in #23620
- vulns: correct upstream fix boundaries and add reviewed overrides by @p-linnane in #23736
- Fix two dead links in the docs by @rawsun007 in #23744
- Report invalid formulae in pr-pull by @MikeMcQuaid in #23746
- services: recognize both macOS service labels by @p-linnane in #23741
- cask/uninstall: don't quit or signal the host process by @bevanjkay in #23695
- sandbox: allow writing xcrun db by @cho-m in #23748
- bump-formula-pr: render added version stanzas as string literals by @dduugg in #23751
- keg_relocate: contain text relocation to the keg by @dduugg in #23749
- keg: fix remove_oldname_opt_records to avoid early return by @cho-m in #23753
- rubocops/formula_cop: match array dependency type values by @hyuraku in #23758
- generate-cask-ci-matrix: drop macOS Intel CI by @bevanjkay in #23757
- formula_creator: remove outdated comment, show resource only for perl by @cho-m in #23745
- Stop fetching bottle manifests when creating tabs by @MikeMcQuaid in #23760
- pkg: reset installer Git config by @dduugg in #23747
- services: default to canonical macOS service labels by @p-linnane in #23750
- Add Formula#python3 for the direct Python dependency by @p-linnane in #23754
- cask: do not follow a symlinked rmdir path by @dduugg in #23761
- Replace some T.nilable(T::Boolean) by @botantony in #23350
- cask/cask_loader: recover uninstall artifacts from the signed payload by @dduugg in #23762
- formula_creator: add deny network for ruby by @cho-m in #23763
- formula: handle --offline in std_cargo_args by @cho-m in #23764
- unpack_strategy/zip: move volume labels by basename by @dduugg in #23765
- Remove default branch sync workflow by @MikeMcQuaid in #23732
- test: cover Utils.safe_filename and .safe_filename? by @rawsun007 in #23773
- Install app_image by moving the AppImage, mirroring the app stanza by @waldyrious in #23771
- Replace deleted homebrew-cask helper scripts by @bevanjkay in #23672
- Add cask audit for versioned app_image targets by @waldyrious in #23777
- Move more methods into Utils by @MikeMcQuaid in #23774
- Slim down and tighten AGENTS.md by @MikeMcQuaid in #23778
- api/formula/formula_struct_generator: defer placeholder replacement by @cho-m in #23780
- services: resolve owner from the registered service file by @p-linnane in #23781
- Fix shim exec loops and reap timed-out commands by @MikeMcQuaid in #23776
- Stop fetching unsigned per-package API data by @MikeMcQuaid in #23772
- Remove aggregate test jobs by @MikeMcQuaid in #23785
- Move formula Bundler defaults to superenv by @cho-m in #23786
- utils/bottles: only trust a padded build prefix from the bottle manifest by @dduugg in #23788
- services: recognize both Linux service labels by @p-linnane in #23792
- Share Python dependency lookup with Formula#python3 by @p-linnane in #23794
- cask: skip cask loader when no casks are installed by @krehel in #23798
- pkg: seed the API cache as the install user by @dduugg in #23795
- Re-sign node-gyp addons after stripping them by @daeho-ro in #23801
- generate-cask-ci-matrix: skip runners the cask is disabled on by @bevanjkay in #23791
- 在 #23726 中,@MikeMcQuaid 使用季度报告进行角色建议
- cask/audit:在 #23718 中,@AlternateRT 拒绝所有 cask 的已验证参数
- doctor:在 #23727 中,@hyuraku 从 JSON 输出中移除 grep_v(String)
- 在 #23723 中,@MikeMcQuaid 在 Rosetta 下针对 Intel Clang
- formula:在 #23728 中,@cho-m 更新 cargo fetch 示例
- formula_creator:在 #23730 中,@cho-m 在某些模式下添加禁止网络
- formula_creator:在 #23734 中,@cho-m 为 go 和 rust 添加禁止网络
- bump-cask-pr:在 #23738 中,@p-linnane 使用 FromContentLoader 加载修改后的内容
- bump:在 #23737 中,@samford 避免用自动升级覆盖跳过消息
- formula_creator:在 #23739 中,@cho-m 为 cabal 和 zig 添加禁止网络
- 在 #23620 中,@SMillerDev 使用 InfluxDB v3 API 进行分析报告
- vulns:在 #23736 中,@p-linnane 更正上游修复边界并添加已审核的覆盖项
- 在 #23744 中,@rawsun007 修复文档中的两个死链
- 在 #23746 中,@MikeMcQuaid 在 pr-pull 中报告无效的 formulae
- services:在 #23741 中,@p-linnane 识别两种 macOS 服务标签
- cask/uninstall:在 #23695 中,@bevanjkay 不退出或向主机进程发送信号
- sandbox:在 #23748 中,@cho-m 允许写入 xcrun 数据库
- bump-formula-pr:在 #23751 中,@dduugg 将添加的版本段落渲染为字符串字面量
- keg_relocate:在 #23749 中,@dduugg 将文本重定位限制在 keg 内
- keg:在 #23753 中,@cho-m 修复 remove_oldname_opt_records 以避免提前返回
- rubocops/formula_cop:在 #23758 中,@hyuraku 匹配数组依赖类型值
- generate-cask-ci-matrix:在 #23757 中,@bevanjkay 移除 macOS Intel CI
- formula_creator:在 #23745 中,@cho-m 移除过时的注释,仅对 perl 显示资源
- 由 @MikeMcQuaid 在 #23760 中实现:创建标签页时停止获取 bottle 清单
- pkg:通过 @dduugg 在 #23747 中重置安装程序的 Git 配置
- services:默认使用标准的 macOS 服务标签,由 @p-linnane 在 #23750 中实现
- 为直接 Python 依赖添加 Formula#python3,由 @p-linnane 在 #23754 中实现
- cask:不要跟随符号链接的 rmdir 路径,由 @dduugg 在 #23761 中实现
- 用 @botantony 在 #23350 中将部分 T.nilable(T::Boolean) 替换掉
- cask/cask_loader:从签名负载中恢复卸载工件,由 @dduugg 在 #23762 中实现
- formula_creator:为 ruby 添加禁止网络访问,由 @cho-m 在 #23763 中实现
- formula:在 std_cargo_args 中处理 --offline,由 @cho-m 在 #23764 中实现
- unpack_strategy/zip:按基名移动卷标签,由 @dduugg 在 #23765 中实现
- 删除默认分支同步工作流,由 @MikeMcQuaid 在 #23732 中实现
- test:覆盖 Utils.safe_filename 和 .safe_filename?,由 @rawsun007 在 #23773 中实现
- 通过移动 AppImage 来安装 app_image,镜像 app 语句块,由 @waldyrious 在 #23771 中实现
- 替换已删除的 homebrew-cask 辅助脚本,由 @bevanjkay 在 #23672 中实现
- 为版本化的 app_image 目标添加 cask 审计,由 @waldyrious 在 #23777 中实现
- 将更多方法移至 Utils,由 @MikeMcQuaid 在 #23774 中实现
- 精简并收紧 AGENTS.md,由 @MikeMcQuaid 在 #23778 中实现
- api/formula/formula_struct_generator:延迟占位符替换,由 @cho-m 在 #23780 中实现
- services:从注册的服务文件中解析所有者,由 @p-linnane 在 #23781 中实现
- 修复 shim 执行循环并回收超时的命令,由 @MikeMcQuaid 在 #23776 中实现
- 停止获取未签名的每包 API 数据,由 @MikeMcQuaid 在 #23772 中实现
- 删除聚合测试作业,由 @MikeMcQuaid 在 #23785 中实现
- 将 formula Bundler 默认值移至 superenv,由 @cho-m 在 #23786 中实现
- utils/bottles:仅信任来自 bottle 清单的填充构建前缀,由 @dduugg 在 #23788 中实现
- 服务:通过 @p-linnane 在 #23792 中识别两种 Linux 服务标签
- 通过 @p-linnane 在 #23794 中与 Formula#python3 共享 Python 依赖查找
- cask:通过 @krehel 在 #23798 中在未安装任何 cask 时跳过 cask 加载器
- pkg:通过 @dduugg 在 #23795 中以安装用户身份填充 API 缓存
- 通过 @daeho-ro 在 #23801 中在剥离 node-gyp 插件后重新签名
- generate-cask-ci-matrix:通过 @bevanjkay 在 #23791 中跳过该 cask 被禁用的运行器
New Contributors
新贡献者
- @rawsun007 made their first contribution in #23744
- @rawsun007 在 #23744 中完成了首次贡献
Full Changelog: 6.0.21...6.0.22
完整更新日志:6.0.21...6.0.22
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力