1.19
Summary
This release addresses a regression introduced in version 1.6.0 of the Logging utility. The bug prevented the Service property from being updated after the initial Logger instantiation, even when set through the Handler.
Special thanks to @nCubed for reporting this issue (#702) and huge thanks to our first-time contributor @ankitdhaka07!
We greatly appreciate your contributions!
Service Property Priority Resolution
The root level Service property now correctly follows this priority order:
- LoggingAttribute.Service (property value set in the decorator)
POWERTOOLS_SERVICE_NAME
(environment variable)
Previously, if the Logger was initialized before the handler execution and the POWERTOOLS_SERVICE_NAME
environment variable was set, the service value would remain unchanged even when the handler decorator specified a different value.
This release ensures that the Service property is correctly updated according to the priority resolution order, allowing the decorator's value to take precedence when specified.
Changes
📜 Documentation updates
- chore: add Logging Service property priority to docs (#728) by @hjgraca
- chore(ci): add dependabot file (#706) by @leandrodamascena
🐛 Bug and hot fixes
- fix: pin FluentAssertions NuGet version to prevent license issues (#698) by @ankitdhaka07
🔧 Maintenance
- chore: Update Logging version for release 1.19 (#724) by @hjgraca
- chore: Fix Service override on decorator (#704) by @hjgraca
- chore(deps): bump codecov/codecov-action from 5.3.0 to 5.3.1 (#722) by @dependabot[bot]
- chore(deps): bump github/codeql-action from 3.28.4 to 3.28.5 (#721) by @dependabot[bot]
- chore(deps): bump codecov/codecov-action from 4.5.0 to 5.3.0 (#714) by @dependabot[bot]
- chore(deps): bump release-drafter/release-drafter from 5.21.1 to 6.1.0 (#715) by @dependabot[bot]
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 1.3.0 to 3.0.20 (#716) by @dependabot[bot]
- chore(deps): bump actions/checkout from 4.1.7 to 4.2.2 (#717) by @dependabot[bot]
- chore: Only run on libraries folder changes (#720) by @hjgraca
- chore(deps): bump actions/upload-artifact from 4.5.0 to 4.6.0 (#718) by @dependabot[bot]
- chore: Add concurrency to e2e workflow (#713) by @hjgraca
- chore(deps): bump actions/setup-dotnet from 3.0.3 to 4.2.0 (#707) by @dependabot[bot]
- chore(deps): bump aws-actions/configure-aws-credentials from 2.0.0 to 4.0.2 (#708) by @dependabot[bot]
- chore(deps): bump actions/github-script from 6 to 7 (#711) by @dependabot[bot]
- chore(deps): bump github/codeql-action from 2.1.18 to 3.28.4 (#710) by @dependabot[bot]
- chore(deps): bump actions/upload-artifact from 3 to 4 (#709) by @dependabot[bot]
- chore(ci): add dependabot file (#706) by @leandrodamascena
- chore: Fix arm e2e aot (#700) by @hjgraca
- chore: Update dependencies for examples release 1.17 (#679) by @hjgraca
- chore: Bump jinja2 from 3.1.4 to 3.1.5 (#682) by @dependabot[bot]
- chore: Add Aot e2e tests for x86 (#699) by @hjgraca
This release was made possible by the following contributors:
@ankitdhaka07, @dependabot[bot], @hjgraca, @leandrodamascena, dependabot[bot]