
























Homebrew 5.1.0 has been released.
Homebrew’s most significant changes since 5.0.0 are expanded brew bundle support, brew version-install, new -full formula handling and installer updates.
Major changes and deprecations since 5.0.0:
brew bundle manages Rust Cargo packages from Brewfiles, uv tools and Flatpak remotes or apps.brew bundle fetches downloads in parallel before install, auto-taps formulae and casks from external taps, uses mas get for better fresh Apple ID handling, sets HOMEBREW_INSIDE_BUNDLE and adds --no-secrets for safer environment inspection.brew version-install creates, extracts and installs older formula versions in one step.Homebrew.pkg installer URL and uses Portable Ruby 4.0.1 with Ruby 4.0.ffmpeg-full, imagemagick-full, automatic linking for versioned or -full keg-only formulae when the unversioned sibling is absent and stricter rejection of dependencies on *-full formulae.Formula#needs and needs :openmp, option :cxx11 and option :universal and other APIs scheduled for the normal release-cycle removals.Upcoming changes:
glibc 2.39 and libstdc++ 6.0.33.master to main migration introduced in 4.6.0; some repositories stop updating master in 5.1.0 and the remaining compatibility branches are scheduled for removal in 5.2.0 in favour of main.Homebrew’s other changes since 5.0.0 worth highlighting are the following:
brew services supports nice priorities for services.brew services sets ThrottleInterval for LaunchAgents and LaunchDaemons on macOS.brew sh --ruby opens a shell with Homebrew’s bundled Ruby and Bundler preconfigured.brew shellenv uses simpler shell detection and is easier to override when auto-detection is wrong.brew lgtm is recommended in the PR template before submitting changes and brew lgtm --online covers checks that need network access.brew --taps prints Homebrew’s taps directory.brew source jumps straight to a formula’s source repository.brew tap-info exits with a failure status for unknown taps, which makes scripting more reliable.brew edit auto-taps Homebrew/core or Homebrew/cask when API-known formulae or casks are edited on tapless installs.brew config on macOS reports the detected Metal toolchain version.brew info marks installed and uninstalled formulae or casks more clearly.brew search labels deprecated and disabled formulae and casks directly in search results.brew outdated respects HOMEBREW_UPGRADE_GREEDY_CASKS.brew doctor warns early when Linux glibc is older than the upcoming CI baseline.brew uninstall refuses to uninstall casks that other installed casks depend on and keeps going when one requested formula or cask fails.brew upgrade and brew reinstall keep working through individual name-resolution failures instead of stopping early.CLAUDE.md guide alongside AGENTS.md.cache-homebrew-prefix for prefix caching in CI..setup-ruby for Ruby setup through Homebrew in CI.WSL_DISTRO_NAME, which keeps CLI tools launched from WSL behaving correctly.homebrew- prefix.livecheck blocks.x86_64 when Homebrew requires it.HOMEBREW_CURLRC paths through brew update.linuxbrew repository, removes the remaining automatic migration logic for old linuxbrew-core formulae and removes more obsolete linuxbrew-core migration entries.HOMEBREW_ARTIFACT_DOMAIN mirrors and uses the correct mirror links when building brew mirror URLs../bin/brew so local checks match CI more closely.appcast uninstall or upgrade again and filters broken Caskroom metadata out of installed-cask listings.brew doctor uses clearer wording about when to report issues from Tier 2 configurations.:cobra format and a built-in :typer format.revision and compatibility_version changes more strictly, which helps catch ABI mistakes earlier.std_npm_args disables package scripts by default, reducing exposure to malicious npm install hooks.HOMEBREW_DOCKER_REGISTRY_BASIC_AUTH_TOKEN=none.Finally:
Homebrew thanks all our hard-working maintainers, contributors, sponsors and supporters for getting us this far.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。