github aws-powertools/powertools-lambda-python v1.28.0

latest releases: v3.2.0, v3.1.0, v3.0.0...
2 years ago

Summary

This release brings major updates: upcoming v2 to drop Python 3.6 support, Lambda Function URL support in Parser(Pydantic), and.... ๐Ÿฅ ๐Ÿฅ ๐Ÿฅ our new public Discord Server - join us

Oh hey, please welcome Leandro as our new full-time maintainer - @leandrodamascena๐ŸŽ‰

Lambda Function URL support in Parser

This release adds support for Lambda Function URL for Parser (Pydantic Model) - big thanks to @ran-isenberg. It extends the work previously done in v1.27.0 for Event Source Data Classes.

image

Upcoming v2 and breaking changes

Weโ€™ve got a new RFC for our first major version v2.0.0 - aiming to end of September. Weโ€™re striving to make the bare minimum breaking changes given the timeframe we have. Please get acquainted with the breaking changes (e.g., legacy sqs_batch_processor, Event Handler to support multi-value headers) and do share your feedback.

Improved documentation code snippets

We know that a good documentation is critical for adopting any open-source project. We continue to make progress in rewriting code snippets to be more realistic, and apply our code quality standards like we do for any other change.

In this release, we've refactored the JMESPath Functions,, Validation, Typing, and Middleware factory documentation to include real examples of using these features. You can follow progress on upcoming refactoring in our board of activities.

๐Ÿ‘€ Take a look at this gigantic yet realistic all-in-one middleware combining Powertools features.

Hereโ€™s a sneak peek:

image

image

End-to-testing (E2E)

Weโ€™ve published our internal framework to create and run E2E testing via GitHub Actions. This allow us to start working on further complement our functional testing, and soon begin wider coverage on integration tests. Weโ€™ll be documenting how customers can contribute E2E soon - you can find the internal details here.

image

Changes

๐ŸŒŸNew features and non-breaking changes

๐Ÿ“œ Documentation updates

๐Ÿ› Bug and hot fixes

  • fix(ci): calculate parallel jobs based on infrastructure needs (#1475) by @heitorlessa

๐Ÿ”ง Maintenance

This release was made possible by the following contributors:

@am29d, @dependabot, @dependabot[bot], @heitorlessa, @leandrodamascena, @peterschutt, @ran-isenberg, @rubenfonseca, @sthuber90 and Release bot

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

NewReleases is sending notifications on new releases.