Skip to content

Releases: lukaszaleckas/laravel-correlation-id

v2.4.0

11 Apr 06:34
47070f5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.3.0...v2.4.0

v2.3.0

07 Feb 13:12
de22851
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.2.0...v2.3.0

v2.2.0

20 Apr 14:17
7d601fb
Compare
Choose a tag to compare

What's Changed

Laravel 11 support

v2.1.0

29 Jan 11:00
ff23be9
Compare
Choose a tag to compare

What's Changed

Added

  • Correlation ID is randomly generated if internal value is null on access via CorrelationIdService::getCurrentCorrelationId()
  • Configuration calls have default values in CorrelationIdService constructor, this allows the package to work out of the box without publishing the configuration files.

Full Changelog: v2.0.0...v2.1.0

v2.0.0

26 Jan 08:26
3f28736
Compare
Choose a tag to compare

What's Changed

  • 2.0 Rewrite by @aurimasbutkus in #9
    • Add a RecallsCorrelationId trait
    • Add GuzzleUtils class to easily pass current correlation ID to guzzle and Laravel's HTTP clients
    • Add SetCorrelationId event listener that listens for JobProcessing events and retrieves correlation ID from jobs with RecallsCorrelationId traits
    • Add correlation_id.include_route_middleware configuration option that allows to disable pushing of the route middleware globally
    • Update JobDispatcher class to check for RecallsCorrelationId trait instead of AbstractCorrelatableJob class
    • Update CorrelationIdServiceProvider to automatically add CorrelationIdMiddleware to the global middleware stack
    • Deprecate AbstractCorrelatableJob class and replace its logic to use the RecallsCorrelationId trait
    • Deprecate RecallsCorrelationIdMiddleware job middleware
    • Drop support for PHP <8.1
    • Drop support for Laravel <9.0
    • Require guzzlehttp/guzzle:^7.5, most Laravel projects will have this by default due to one of the dependencies requiring it

New Contributors

Full Changelog: v1.2.0...v2.0.0

v1.2.0

20 Mar 11:05
9adbb47
Compare
Choose a tag to compare

Add Laravel ^10.0 support

v1.1.0

16 Jun 13:21
e3704dc
Compare
Choose a tag to compare

Fix instances where old correlation id was used in JobDispatcher #7

v1.0.0

13 Jun 09:45
4173f8d
Compare
Choose a tag to compare

Add correlation id to response headers

v0.1.5

19 Feb 10:41
26c9fa8
Compare
Choose a tag to compare

Add Laravel ^9.0 support

v0.1.4

11 Jan 07:45
e8c157b
Compare
Choose a tag to compare

Set correlation id to log context