
























Today I’d like to announce Homebrew 3.6.0. The most significant changes since 3.5.0 are preliminary macOS Ventura support, the need for --eval-all/HOMEBREW_EVAL_ALL and a migration to Ubuntu 22.04 as our CI platform.
Major changes and deprecations since 3.5.0:
--eval-all to be passed or HOMEBREW_EVAL_ALL to be set to improve security in cases where it may evaluate formulae or casks that have not been installed, may not be trusted and will execute arbitrary Ruby code.brew no longer respects HOMEBREW_NO_ENV_FILTERING. Environment variables needed in formulae or casks need to have a HOMEBREW_ prefix to be passed through and then reassigned e.g. ENV["FOO"] = ENV["HOMEBREW_FOO"].brew linkage detects deprecated linkage to libnsl.so.1. and disabled linkage to libcrypt.so.1..Other changes since 3.5.0 I’d like to highlight are the following:
HOMEBREW_INSTALL_FROM_API is an opt-in flag added in 3.3.0 to install formulae and casks in homebrew/core and homebrew/cask taps using Homebrew’s API instead of needing the (large, slow) local checkouts of these repositories. HOMEBREW_INSTALL_FROM_API has had many improvements since 3.5.0. We encourage you to try setting it and reporting any issues you experience.postgresql formula was renamed to postgresql@14 to avoid repeated breakage on major/minor version upgrades.HOMEBREW_CURL_PATH and HOMEBREW_GIT_PATH are documented and supported for setting the location of curl or git on Linux. On macOS, the system versions will still always be used instead.HOMEBREW_ARTIFACT_DOMAIN only takes effect on bottles and not e.g. casks.brew cleanup is run after installing all packages rather than after the first package is installed.brew install --debug-symbols is available to build and retain debug symbols on macOS. This does not yet work on Linux but we’ll review a pull request to add it.brew install automatically installs glibc or gcc if they are too old.brew cleanup and brew uninstall automatically run brew autoremove if HOMEBREW_AUTOREMOVE is set.brew fetch --retry uses an exponential backoff.brew deps returns failing exit code when circular dependencies are detected.brew info --json includes a variations key. This provides information about how a formula or cask varies on OSs and CPU architectures other than the one it is being run on. Various additional DSLs e.g. on_system and arch have been added to formulae or casks to facilitate this.Formula DSL is available to more easily generate completions.Finally:
Thanks to all our hard-working maintainers, contributors, sponsors and supporters for getting us this far.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。