v3.0.0
What's Changed
Upgrade guide
- Because the package now supports both
Correlation-ID
andRequest-ID
then two new database columns needs to be inserted into therequest_logs
table. See the table migration stub for the required changes. - The function
aggregate($request, $response, $date)
has been removed from theRequestLog
model. If you are using this function instead then use thebilfeldt/laravel-route-statistics
package for aggregated statistical logging if needed. - The config
log_context
has been removed. If you are using this config to add Log context, then apply theLogContextMiddleware
from the now required packagebilfeldt/laravel-correlation-id
package for the relevant routes. - The config
header
has been removed. If you are using this config to add the unique request id to the response in theRequest-ID
headerm then do so using your own middleware, or consider (recommended) to instead set theCorrelation-ID
header using theCorrelationIdMiddleware
from the now required packagebilfeldt/laravel-correlation-id
package for the relevant routes.
Full Changelog: v2.2.0...v3.0.0