v1.4.507

danielmiessler/Fabricv1.4.507Oct 3, 2026by github-actions[bot]

Upgrading?

AI Summary

Enhanced error messaging when a pattern is derived from the binary name, providing clearer guidance to users on how to specify patterns explicitly.

Key Highlights

  • Added clearer error hints when a pattern is automatically derived from the binary name.
  • Introduced helper functions to track binary-derived pattern names.
  • Localized error messages across all ten non-English locale files.

New Features

  • Improved error messaging for binary fallback patterns
  • Localization of error hints

Full Release Notes

## Changes

### PR [#2173](https://github.com/danielmiessler/Fabric/pull/2173) by [OdinKral](https://github.com/OdinKral) and [ksylvan](https://github.com/ksylvan): fix: clearer error when binary name used as pattern fallback

- Added a clearer error hint when a pattern is derived from the binary name, explaining that the executable name was used as a fallback and how to specify a pattern explicitly with `-p`.
- Introduced a `patternFromBinaryName()` helper and explicit tracking of binary-derived pattern names during flag initialization, so fallback hints appear only when a pattern truly came from the binary name.
- Prevented `fabric-ai` from automatically selecting a pattern by binary name by centralizing the list of executable names that do not trigger pattern selection.
- Added the `pattern_from_binary_name_hint` key with localized text across all ten non-English locale files for a consistent i18n bundle.
- Simplified error wrapping, removed obsolete detection tests, and added coverage for default executable exclusion and extension-stripped pattern selection.

### Direct commits

- Merge branch 'main' into docs/sync-chinese-readme

Related Repositories