Skip to content

v3.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Nov 10:40
184575d

Summary

In this release we fixed a bug that caused correlation ids not to be captured due to case sensitive string matching. We also added a new API to get the correlation id from the Logging utility

Changes

Correlation ID extraction improvements

Enhanced the CaptureCorrelationId method to try multiple strategies for extracting the correlation ID: first by exact (case-sensitive) match, then by output case transformation, and finally by case-insensitive search. This makes correlation ID retrieval more reliable across various event shapes.

Public API enhancements

| Docs

  • Added a static CorrelationId property to the Logger class, allowing easy access to the current correlation ID from log context.
  • Introduced a new GetCorrelationId extension method for ILogger, providing a convenient way to access the correlation ID from any logger instance.

Bugs

🔧 Maintenance

This release was made possible by the following contributors:

@dependabot[bot], @hjgraca and dependabot[bot]