Homebrew 7.0.17
Homebrew 7.0.17 arrived on November 27, 2026, and I upgraded three machines the same evening. This release is mostly about making brew behave predictably on managed, scripted, and CI machines, with a few security fixes mixed into the changelog.
- Managed install detection —
brewnow recognises managed Homebrew installations and delayed package feeds, so MDM-provisioned machines stop pulling stale metadata without warning. - Interpolation hardening — line breaks are no longer allowed inside formula and cask interpolation, closing a path for smuggling extra directives into interpolated strings.
- Credential scoping on downloads — download credentials are now restricted to the source origin, so a redirect cannot hand your credentials to a third-party mirror.
- Option-like download domains rejected —
brew.shrefuses download domains that look like command-line options instead of hostnames. - Update revision validation —
brew update-reportnow validates update revisions before applying them. - Faster
brew info— installed kegs are looked up once when resolving dependents, which trims the slowest part of the command on machines with hundreds of formulae. - Retryable cask upgrades — a failed cask upgrade no longer leaves the cask in a state that blocks the next attempt.
- Self-updating casks — casks that update themselves are no longer upgraded redundantly, and cask records are refreshed after an app updates itself.
- Cleaner
brew cleanup— downloads are kept for casks whose names collide with another cask's URL. - Tap handling — tap migration loops stop recursing, and
brew untapnow copes with broken formulae and untrusted casks. - Offline Git cache checks — revision checks for the Git cache stay offline, so a flaky network no longer stalls installs.
Run brew update and the new behaviour is active on the next command.