
























Today, I’d like to announce Homebrew 4.5.0.
The most significant changes since 4.4.0 are major improvements to brew bundle/services, preliminary Linux support for casks, official Support Tiers, Tier 2 ARM64 Linux support, Ruby 3.4 and several deprecations.
Major changes and deprecations since 4.4.0:
brew bundle and brew servicesbrew bundle and Brewfile
has been hugely improved.
It also documents the many new brew bundle features and changes in this release.brew bundle
and
brew services
are built-in commands instead of being provided by an external tap.brew bundle (exec|env|sh) no longer filter the user’s environment (like other brew commands do)brew services supports passing multiple formulaeBrewfiles have a version_file: DSL that allows brew bundle to write to e.g. a .ruby-version file based on the installed versionbrew bundle no longer includes ${HOMEBREW_PREFIX}/bin in the $PATH by default.
You can do this in your Brewfile with ENV["PATH"] = "#{HOMEBREW_PREFIX}/bin:#{ENV["PATH"]}".brew bump-cask-pr allows bumping multi-platform casks on Linuxbrew doctor links to Support Tiersbrew doctor checks for OpenCore Legacy Patcherbrew much faster.Other changes since 4.4.0 I’d like to highlight are the following:
brew install --ask and HOMEBREW_ASK allow viewing the packages, dependencies and sizes in a prompt before installationbrew install --skip-link allows installation without running brew linkbrew update-if-needed provides a much faster possible replacement for brew update that does nothing if no auto-update is requiredbrew install --as-dependency allows installation of formulae as dependencies rather than “on request”brew allows being run by root in podman containersHOMEBREW_TEMP defaults to /var/tmp on Linux, assuming it exists, is readable and is writablebrew install --cask produces fewer GitHub Actions warningsbrew pyenv-sync creates major version symlinks to fix pyenv support.pkg installer will upgrade existing installationsHOMEBREW_UPGRADE_GREEDY_CASKS allows specifying a list of casks that should always be upgraded with --greedypwsh)
or
clap
completions.@@HOMEBREW_PREFIX@@ can be replaced with the value of HOMEBREW_PREFIX in external patchesbrew alias and brew unalias commands are part of Homebrew/brew rather than an external tapbrew edit and brew bundle edit look for VSCode variants, e.g. Cursorbrew bump* can bump synced formulae togetherbrew *env-sync has a HOMEBREW_ENV_SYNC_STRICT mode for stricter version handlingdeprecate!/disable! support specifying replacement software
and
can specify replacement typebrew bump-* only warns, rather than errors, on duplicate PRs for non-official tapsbrew verify allows verifying package attributionsbrew audit flags pkg-config dependencies in core tap.
We have fully moved to using pkgconf in Homebrew/homebrew-core instead.jq instead of Homebrew’sbrew config prints the current Homebrew/brew branchINSTALL_RECEIPT.json include the bottle_rebuild in runtime_dependencieslockf where availablebrew tests on macOS 13.
It was too slow and we’re dropping macOS 13 support later this year.Finally:
Thanks to all our hard-working maintainers, contributors, sponsors and supporters for getting us this far.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。