
























Today I’d like to announce Homebrew 1.2.0. The most significant change since 1.1.0 is that most Homebrew taps (package repositories) in the Homebrew GitHub organisation have been deprecated and the currently buildable software moved into Homebrew/homebrew-core. This will improve the quality and availability of all their software.
Additionally, as Homebrew/homebrew-versions has been moved into Homebrew/homebrew-core Homebrew provides better, official support for different versions. You can read more about this in the dedicated versions document. Please note our goal isn’t to support all versions of all software but to provide some versions and tooling such that you can easily maintain more in your own tap (package repository).
Since 1.1.0 the following deprecations have been made:
env :std and env :userpaths in formulaeOS.mac? and OS.linux? in formulaefails_with :llvm in formulae32-bit options in formulaego get usage in formulaedepends_on "pygments.rb" => :ruby)brew tap of deprecated, official tapsbrew cask update commandbrew linkapps and brew unlinkapps commandsENV. and elsewhereWhile all the functionality for these deprecations will be supported for the foreseeable future in Homebrew/brew for 3rd-party usage, Homebrew/homebrew-core will be removing the use of these APIs from formulae to improve the user experience.
Since 1.1.0 some new commands are available:
brew cask outdated shows outdated Casksbrew formula outputs the location of a formulabrew update-reset simplifies cleaning up broken repositoriesSome of the other changes since 1.1.0 I’d like to highlight are the following:
brew create uses GitHub metadata to populate fields when creating from a GitHub archivebrew audit provides --only and --except flags to allow selectively running brew audit methodsbrew search uses a single GitHub API call for searching all Homebrew and Caskroom tapsbrew install creates symlinks in opt for formulae aliases (such as versioned aliases)brew update will symlink shell completions provided by tapsbrew tests runs all cask tests (replacing brew cask-tests) and all tests use RSpec rather than MiniTestbrew info --json=v1. This is useful in differentiating between top installed packages based on user demand vs. based on large numbers of dependents. This is also used by brew bundle dump and brew bundle cleanup to handle dependencies more sensibly.brew reinstall, upgrade and install always output used optionsbrew tap-new uses our latest Travis CI recommended configuration providing zero-configuration CI for all formulae tapsbrew uninstall now refuses to uninstall a package if other packages that depend on it are still installeddesc audits and checking the order of methods in formulae rather than requiring brew audit be run. This also allows these checks to be run automatically in any editor with RuboCop integration.HOMEBREW_ENV_FILTERING will filter all custom user environment variables from brew. Eventually we hope to enable this by default.brew install and brew testbrew services provides better error reporting using new macOS APIsAnd finally:
Thanks to all our hard-working maintainers, contributors, sponsors and supporters for getting us this far. Enjoy using Homebrew!
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。