
























Today, I’d like to announce Homebrew 4.1.0. The most significant changes since 4.0.0 are significant improvements to the security/reliability/performance/usability of Homebrew 4.0.0’s new JSON API, the completion of the migration of analytics from Google Analytics in the US to InfluxDB in the EU and groundwork for later macOS Sonoma (14) support.
Major changes and deprecations since 4.0.0:
brew downloads of formula/cask APIs use a signed API endpoint with client signature verification.HOMEBREW_NO_AUTO_UPDATE, HOMEBREW_NO_INSTALL_FROM_API or HOMEBREW_AUTO_UPDATE_SECS to work around bugs or annoyances: please consider unsetting these and tweaking the values based on the new behaviour. Under some circumstances, you may see a one-time message nudging you do to this.brew doctor warns if Homebrew/homebrew-core or Homebrew/homebrew-cask seem to be tapped unnecessarily so you can brew untap them to save time and disk space.HOMEBREW_NO_ANALYTICS because you didn’t like Google Analytics and/or data being sent to the US: please consider unsetting this allowing analytics data to be sent to our new InfluxDB host. Again, under some circumstances, you may see a one-time message nudging you do to this.HOMEBREW_NO_ENV_FILTERING no longer fails but is silently a no-op.brew rbenv-sync, brew nodenv-sync and brew pyenv-sync commands will automatically sync Homebrew-installed Ruby, NodeJS and Python versions with rbenv, nodenv and pyenv respectively to avoid needing to build these from source.brew command performance.brew fetching bottles is significantly faster.brew install with no post_install is significantly faster.Other changes since 4.0.0 I’d like to highlight are the following:
brew commands will only auto-update from the API for commands that auto-updated from Git pre-4.0.0.brew update reports new/deleted formulae/casks when installing from the API.brew update will automatically update Homebrew/homebrew-core and Homebrew/homebrew-cask local taps for users who have run developer commands.brew install build failures only recommend open issues rather than pull requests.brew install will use cached bottles if the request to check if bottles are up-to-date fails.brew install sets OPENSSL_NO_VENDOR to use Homebrew’s relevant openssl* formula rather than the vendored OpenSSL from the openssl crate.brew install --skip-post-install will skip post-installation steps when installing a formula.brew search no longer searches remotely instead using Homebrew’s new JSON API.brew cleanup --quiet omits outputting some warnings.brew deps --missing provides the inverse output to brew deps --installedbrew fetch, brew --cache, brew audit and brew readall has --os and --arch flags to simulate different operating systems and CPU architectures.brew shellenv accepts a shell name parameter for when auto-detection is unreliable.brew commands auto-update less frequently for users who have run Homebrew developer commands.brew audit verifies the correct signing of .pkg installers.brew bump and brew bump-formula-pr will update a local Homebrew/homebrew-core tap (if present) and brew bump and brew bump-cask-pr will do the same for Homebrew/homebrew-cask.HOMEBREW_NO_INSTALL_FROM_API is set automatically for commands that need it.cask_renames.json file in taps allows casks to be renamed./home/linuxbrew/.linuxbrew) works as expected on Fedora Silverblue and other configurations where /home is symlinked elsewhere.gh CLI (when available).texinfoRUSTFLAGS to the appropriate target CPU on installation.Finally:
Thanks to all our hard-working maintainers, contributors, sponsors and supporters for getting us this far.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。