github aws-powertools/powertools-lambda-python v1.25.3
1.25.3

latest releases: v2.40.1, v2.40.0, v2.39.1...
2 years ago

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

🐛 Bug and hot fixes

This release was made possible by the following contributors:

@dreamorosi and @heitorlessa

Don't miss a new powertools-lambda-python release

NewReleases is sending notifications on new releases.