
























Today, I’d like to announce Homebrew 4.2.0.
The most significant changes since 4.1.0 are some major performance upgrades (e.g. using Ruby 3.1, upgrading fewer dependencies), .env file configuration and macOS Sonoma support.
Major changes and deprecations since 4.1.0:
/usr/bin/ruby on macOS 🍻.brew upgrade foo upgraded everything on my system” problems.git and GitHub performance..env files.OS::Mac and MacOS usage in formulae on Linux is deprecated.
Please guard all uses in formulae with if OS.mac? or if OS.linux? as appropriate.brew audit --new-formula and --new-cask options are deprecated.
Please use brew audit --new instead.brew postgresql-upgrade-database is deprecated.
It is not longer needed now that we use versioned postgresql formulae.
Please use pg_upgrade directly instead.discontinued? in casks is deprecated.Other changes since 4.1.0 I’d like to highlight are the following:
.pkg installer is signed (by me!).brew list --full-names properly output Homebrew organisation names for casks.rc shell.curl or system certificates are too old.brew deps no longer passes options to formulae.brew desc has improved handling of--eval-all with formulae.brew install will upgrade already installed casks (to be consistent with formulae.)brew pin‘d formulae don’t cause as many warnings or errors.brew setup-ruby is a new command to just install Homebrew’s Ruby, if needed.brew edit will suggest tapping core repositories if untapped..pkg installer is a documented installation method.ENV.O3 again to allow passing -O3 compiler optimisations.brew install sets PIP_CACHE_DIR to cache more Python files when building bottles or from source.brew audit checks all relicensed HashiCorp formulae.sshpass has (finally?) been removed from the new formula deny list.service blocks now support multiple sockets.bootsnap is used more often, speeding up repeated brew invocations.XDG_CACHE_HOME is used correctly again for logs and Homebrew’s cache on Linux.Finally:
Thanks to all our hard-working maintainers, contributors, sponsors and supporters for getting us this far.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。