v1.4.429
danielmiessler/Fabricv1.4.429Mar 5, 2026by github-actions[bot]
AI Summary
Refactored pattern loading logic to improve code structure and testability by encapsulating raw pattern retrieval.
Key Highlights
- Added `GetRaw` method to `PatternsEntity` for unprocessed pattern retrieval
- Simplified server handler by delegating storage access to the database layer
- Added test coverage for the new `GetRaw` functionality
Full Release Notes
## Changes ### PR [#2046](https://github.com/danielmiessler/Fabric/pull/2046) by [ksylvan](https://github.com/ksylvan): refactor: add `GetRaw` method to encapsulate raw pattern loading logic - Add `GetRaw` method to `PatternsEntity` for unprocessed pattern retrieval - Replace inline raw pattern loading logic in server handler with `GetRaw` - Remove manual `Pattern` struct construction from `PatternsHandler.Get` - Simplify server handler by delegating storage access to database layer - Add test coverage for `GetRaw` with custom patterns directory