All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- BREAKING: Require Laravel 11.
- Accept header in audit job.
- BREAKING: Require Laravel 10.
- Laravel pint.
- Add type-hinting to ArrayAccess-methods in Audit to suppress deprecation notices.
- BREAKING: Require Laravel 9.
- "correlationTrail" in the audit request body.
- A "X-Correlation-Trail" header in the http macro
withCorrelation
.
- BREAKING: Renamed macro
withCorrelationId
towithCorrelation
. - BREAKING: Renamed class
WithCorrelationId
toWithCorrelation
. - BREAKING: Renamed class
SetCorrelationId
toSetCorrelation
.
- Make Auditor::initiatorResolver static
- BREAKING:: Handle correlation id for queued job by extending job "Dispatcher" and adding "WithCorrelationId" trait.
- BREAKING:: Registers a default "initiator resolver".
- BREAKING:: Require PHP 8.0.
- BREAKING:: Event and initiator context value must be null or scalar.
- Renamed
Auditor
toAudit
- The facade returns the new
Auditor
class instead ofAudit
- The correlation id is fetched from
Auditor
instead of container. - BREAKING: Moved
initiatorResolver
fromAudit
toAuditor
.
AuditorFake
- Support for PHP 8
AuditorFake
for smoother testing
- Moved macro "withCorrelationId" from
Http
toPendingRequest
.
- Initial commit