Repository navigation
v0.2.0
·
31 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Requires hypervel/components 0.4.x-dev, which also sets the PHP version.
Breaking for custom auditors. Ipsocode\Auditing\Contracts\Auditor gains actingAs() and currentCauser(), so a class that implements the contract itself must add both. Applications that use the package's own Auditor need no change.
New: Auditor::actingAs($user, fn () => ...) names the causer of every audit written inside the callback, and Auditor::fake() records audits in tests and offers assertions on them.
What's Changed
Breaking changes
- feat: Auditor::actingAs() and Auditor::fake() (#17) by @dangerdd1 in #23
Bug fixes
Full Changelog: v0.1.4...v0.2.0