Back

Show HN: Homebrew 6.0.0

136 points8 hoursbrew.sh

Today, I’m proud to announce Homebrew 6.0.0. The most significant changes since 5.1.0 are a new tap trust security mechanism, the new faster, smaller, default internal Homebrew JSON API, sandboxing on Linux, better defaults informed by our user survey, many brew bundle improvements, improved performance and initial support for macOS 27 (Golden Gate).

Happy to discuss any questions here!

broxit4 hours ago

Thanks for the update. Is there any chance we can get some kind of cooldown mechanism in Homebrew?

The only people I want to trust to quickly ship new code to my machine are Apple and my browser (which handles more untrusted input than anything else).

For everything else (vscode and its extensions, npm, homebrew, and all the apps that self-update), I prefer to err on the side of waiting a few days.

Some exceptional 0days might warrant a cooldown bypass, but even in its current form users are vulnerable to 0days until they run brew upgrade.

runjake4 hours ago

+1

For those who don't know what broxit is talking about, they're referring to something like --minimum-release-age/minimumReleaseAge in many pieces of software and package managers to reduce vulnerability to supply chain attacks. Often times, such attacks are detected within a few days of compromise.

Here's Bun's, as an example: https://bun.com/docs/pm/cli/install#minimum-release-age

cryo324 hours ago

100% need this.

0xbadcafebee3 hours ago

[delayed]

ansonhoyt4 hours ago

Is there a way to `brew trust` inside my Brewfile? That'd be nice for the handful of formulas I install from github repos via `brew bundle --global`.

usrme4 hours ago

This is described here (https://docs.brew.sh/Tap-Trust) if you scroll down a bit.

dpassen14 hours ago

`brew tap/recipe, trusted: true`

78392840235 hours ago

Awesome! Thank you for the update.

I noticed that homebrew updated _all_ my casks when running 'brew upgrade' (even those with "auto_updates: true" in their Cask JSON API).

Is this intended, new default behavior? This did not use to happen...

perryprog4 hours ago

You need to set HOMEBREW_NO_UPGRADE_AUTO_UPDATES_CASKS to 1, as alluded to by a hint when it (first?) occurs. This means if you have hints off (via HOMEBREW_NO_ENV_HINTS) then I suspect you can start getting this behavior without warning which is a bummer.

See also: https://docs.brew.sh/FAQ#why-arent-some-apps-included-during...

joshuat4 hours ago

Is the eventual goal to move most formula/cask behavior into declarative install steps and treat Ruby as an escape hatch?

reactordev4 hours ago

Hell yeah, tap trust!!!