Releases: tiny-blocks/http-correlation-id
Releases · tiny-blocks/http-correlation-id
Release list
v1.0.0
- PSR-15 correlation ID middleware. Reuses the inbound
Correlation-Idrequest header when present, otherwise generates a new identifier. Exposes it as thecorrelationIdrequest attribute and echoes it on theCorrelation-Idresponse header for end-to-end tracing. - UUID v7 generation, pluggable. Time-ordered UUID v7 by default via
ramsey/uuid, swappable through theCorrelationIdProvidercontract and the fluentCorrelationIdMiddleware::create()->withProvider(...)->build()builder. CorrelatedLogger. A PSR-3 logger decorator that attaches the request's correlation ID to every log entry's context under thecorrelation_idkey, with zero extra plumbing at call sites.- Framework-agnostic, PHP 8.5. Depends only on PSR-7/15/3 interfaces and keeps a clean public API behind an
Internal/boundary.