v3.7.0
What's Changed
- Add
SensitiveDataDetectedevent dispatched on pattern matches, opt-in viascrubber.events.enabledconfig - Add
scrubber:validateartisan command to verify all loaded regex patterns match their testable strings - Add
getReplacementValue(): ?stringtoRegexCollectionInterfaceand all implementations, allowing per-pattern custom redaction values (returnsnullto use the default) - Update stub template to reflect the new nullable replacement value convention
- Track scrubbing context (log vs manual) in
ScrubberServiceandScrubberTapso event listeners can distinguish the source - Drop PHP 8.1 and Laravel 9 support, add PHPUnit 12 compatibility
- Clean up composer metadata and update dependency review action versions
Full Changelog: v3.6.1...v3.7.0