Skip to content

v3.0.0

Compare
Choose a tag to compare
@bilfeldt bilfeldt released this 29 Sep 07:48
· 15 commits to main since this release
95dfd9c

What's Changed

Upgrade guide

  • Because the package now supports both Correlation-ID and Request-ID then two new database columns needs to be inserted into the request_logs table. See the table migration stub for the required changes.
  • The function aggregate($request, $response, $date) has been removed from the RequestLog model. If you are using this function instead then use the bilfeldt/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 the LogContextMiddleware from the now required package bilfeldt/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 the Request-ID headerm then do so using your own middleware, or consider (recommended) to instead set the Correlation-ID header using the CorrelationIdMiddleware from the now required package bilfeldt/laravel-correlation-id package for the relevant routes.

Full Changelog: v2.2.0...v3.0.0