# Homebrew 6.0.5 - Product: Homebrew (https://whatsnew.fyi/product/homebrew) - Vendor: Homebrew - Date: 2026-06-26 - Version: 6.0.5 - Original notes: https://github.com/Homebrew/brew/releases/tag/6.0.5 - Permalink: https://whatsnew.fyi/product/homebrew/releases/6.0.5 - Labels: Platforms: macOS, Linux What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Add `formula_opt_include` method to rubocop formula_path_methods - **fixed** — Reject patch targets that escape the staged source tree - **changed** — Use Process.spawn in system_command to avoid fork-unsafe exec3 child - **changed** — Add prefix parameter and relative libdir support to formula `std_meson_args` - **fixed** — Expand deferred env in curl URLs ##### What's Changed * rubocop/formula_path_methods: add `formula_opt_include` method by @botantony in https://github.com/Homebrew/brew/pull/22867 * Reject patch targets that escape the staged source tree by @p-linnane in https://github.com/Homebrew/brew/pull/22881 * system_command: use Process.spawn to avoid fork-unsafe exec3 child by @p-linnane in https://github.com/Homebrew/brew/pull/22880 * formula: `std_meson_args` prefix param and relative libdir by @cho-m in https://github.com/Homebrew/brew/pull/22888 * Expand deferred env in curl URLs by @MikeMcQuaid in https://github.com/Homebrew/brew/pull/22886 **Full Changelog**: https://github.com/Homebrew/brew/compare/6.0.4...6.0.5