Homebrew 7.0.0 正式发布,这是该包管理器的一个重大版本更新。1新版本在性能、安全和功能方面进行了多项改进,其中 brew install、upgrade 和 bundle 命令通过并发下载和准备实现了更快的速度,brew config 能并发收集系统信息,brew cleanup 避免了重复的缓存扫描,brew fetch 则直接从 API 读取下载信息。1
在安全方面,该版本修复了包括 GHSA-5263-whxq-77hp 在内的多个安全问题,并通过 macOS 沙箱限制应用启动、Mach 服务和 Unix 套接字连接。1新增的 brew vulns 命令可以使用 OSV.dev 扫描已安装软件的已知漏洞,同时 Homebrew 发布了 OSV 格式的公开咨询数据库。1
版本更新还包含多项平台和功能调整。1macOS 10.15 已不再获得支持,Intel Mac 机器将在 2026 年 9 月移至第 3 级(无官方支持),Intel 用户被建议改用 MacPorts。1新发布的 BrewUI 是 Homebrew 的官方图形界面应用,支持 macOS Tahoe 26 或更新版本,可通过 brew install homebrew-app 安装。1Linux 平台上,Bubblewrap 沙箱已被 Landlock(Linux 6.1+)替换,无需额外依赖或 Docker 权限。1
此外,新版本新增了 brew install --dry-run、brew list --no-installed-on-request、brew deps --brewfile 等命令和功能,brew services 支持环境覆盖,brew info 改进了可视化效果。1Cask 方面,brew upgrade 现在可跳过不兼容的 cask,支持语言变体选择,API 包含 cask 语言变体元数据。1
Homebrew has released version 7.0.0, marking a significant update to the popular package manager with substantial performance enhancements, security upgrades, and platform support changes.1 The new version delivers faster installation and upgrade speeds through concurrent downloading and preparation mechanisms, with improvements across multiple core commands including brew install, brew upgrade, and brew bundle.1 Additionally, brew config now collects system information concurrently, while brew cleanup eliminates redundant cache scanning and brew fetch reads download information directly from the API.1
Security remains a central focus of this release, with multiple vulnerability fixes including GHSA-5263-whxq-77hp and enhanced sandboxing through macOS restrictions on application launching, Mach services, and Unix socket connections.1 A new brew vulns command enables users to scan installed software for known vulnerabilities using the OSV.dev database, while Homebrew has also published an open advisory database in OSV format.1 For Linux users, the Bubblewrap sandbox has been replaced with Landlock on systems running Linux 6.1 and later, removing the need for additional dependencies or Docker permissions.1
The update introduces BrewUI, an official graphical interface for Homebrew compatible with macOS Tahoe 26 or newer, installable via brew install homebrew-app.1 Additional command-line features include brew install --dry-run, brew list --no-installed-on-request, brew deps --brewfile, enhanced brew services with environment variable override support, and improved visualization in brew info.1 Cask handling has also been refined, with brew upgrade now skipping incompatible casks and supporting language variant selection, with API metadata reflecting these language options.1
Platform support has shifted significantly with this release: macOS 10.15 is no longer supported, while Intel Mac machines will be downgraded to tier 3 support (no official support) in September 2026, with Intel users recommended to use MacPorts as an alternative.1
评论
还没有评论,欢迎留下第一条。