Skip to content

v3.7.0

Choose a tag to compare

@yordadev yordadev released this 28 Feb 03:05
· 6 commits to main since this release
db07619

What's Changed

  • Add SensitiveDataDetected event dispatched on pattern matches, opt-in via scrubber.events.enabled config
  • Add scrubber:validate artisan command to verify all loaded regex patterns match their testable strings
  • Add getReplacementValue(): ?string to RegexCollectionInterface and all implementations, allowing per-pattern custom redaction values (returns null to use the default)
  • Update stub template to reflect the new nullable replacement value convention
  • Track scrubbing context (log vs manual) in ScrubberService and ScrubberTap so 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