v2.3.0 #1733
Closed
heitorlessa
started this conversation in
Show and tell
v2.3.0
#1733
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
This release features: (1) Extract CloudWatch Logs sent to Kinesis streams, (2) Handling multiple exceptions in Event Handler REST, and (3) Log uncaught exceptions in Logger.
Big thanks to new contributors: @ascopes (logger static typing), @bnsouza (expand testing docs in Event Handler), @kt-hr (bugfix multiple routes in Event Handler), @mangoes-git (bugfix for fetching SecretBinary)
Extracting CloudWatch Logs shipped to Kinesis Data Streams
This address a common use case of centralizing CloudWatch Logs from multiple regions or accounts using Kinesis Data Streams.
You can now easily extract CloudWatch Logs (decompress, decode, etc.) using either Event Source Data Classes or Parser. It also seamless integrates with Batch so you can benefit from partial failure handling among other benefits, when processing large batch of logs from Kinesis.
Event Source Data Classes
Parser
Handling multiple exceptions in Event Handler
You can now catch multiple exceptions when registering an exception handler.
This is useful when you have related exceptions you want to handle the same way.
Logging uncaught exceptions
You can now automatically log uncaught exceptions using Logger via
log_uncaught_exceptions=True
.Logger will use Python's exception hook to log such exception with your pre-configured Logger instance for maximum context.
This would generate the following output in CloudWatch Logs
Changes
🌟New features and non-breaking changes
📜 Documentation updates
POWERTOOLS_DEV
(docs(homepage): update default value forPOWERTOOLS_DEV
#1695) by @dreamorosi🐛 Bug and hot fixes
🔧 Maintenance
This release was made possible by the following contributors:
@ascopes, @bnsouza, @dependabot, @dependabot[bot], @dreamorosi, @heitorlessa, @kt-hr, @mangoes-git, @sprkem and Release bot
This discussion was created from the release v2.3.0.
Beta Was this translation helpful? Give feedback.
All reactions