1.25.3
·
3614 commits
to develop
since this release
Summary
This patch release is strictly about customers bringing their own Logging Formatter.
This release ensures that when using Clear State with a custom formatter, all previously added keys will be cleared. It also guarantees that Lambda Context information will no longer be cleared abruptly before logs are printed (also for custom formatters).
There is no code change needed on customers end. We also improved the documentation to clarify the most common use cases on bringing your own formatter, and exceptional cases where you want to replace the entire Powertools Logger Formatter logic.
Huge thanks to @jacobdarrossi for spotting, and @ilias-at-adarma for confirming this bug.
Changes
📜 Documentation updates
- fix(logger): ensure state is cleared for custom formatters (#1072) by @heitorlessa
- docs(plugin): add mermaid to create diagram as code (#1070) by @dreamorosi
🐛 Bug and hot fixes
- fix(logger): ensure state is cleared for custom formatters (#1072) by @heitorlessa