v1.28.0
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.
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:
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.
Changes
🌟New features and non-breaking changes
- feat(parser): add support for Lambda Function URL (#1442) by @ran-isenberg
📜 Documentation updates
- docs(typing): snippets split, improved, and lint (#1465) by @leandrodamascena
- docs(middleware-factory): snippets split, improved, and lint (#1451) by @leandrodamascena
- chore(batch): deprecate sqs_batch_processor (#1463) by @rubenfonseca
- docs(validation): snippets split, improved, and lint (#1449) by @leandrodamascena
- feat(parser): add support for Lambda Function URL (#1442) by @ran-isenberg
- chore(deps): bump pydantic from 1.9.1 to 1.9.2 (#1448) by @dependabot
- docs(jmespath_util): snippets split, improved, and lint (#1419) by @leandrodamascena
🐛 Bug and hot fixes
- fix(ci): calculate parallel jobs based on infrastructure needs (#1475) by @heitorlessa
🔧 Maintenance
- chore(ci): prevent concurrent git update in critical workflows (#1478) by @heitorlessa
- fix(ci): calculate parallel jobs based on infrastructure needs (#1475) by @heitorlessa
- chore(deps-dev): bump flake8-bugbear from 22.8.22 to 22.8.23 (#1473) by @dependabot
- chore(tests): enable end-to-end test workflow (#1470) by @heitorlessa
- chore(governance): add Leandro as maintainer (#1468) by @leandrodamascena
- chore(tests): build and deploy Lambda Layer stack once (#1466) by @heitorlessa
- chore(batch): deprecate sqs_batch_processor (#1463) by @rubenfonseca
- chore(tests): refactor E2E logger to ease maintenance, writing tests and parallelization (#1460) by @heitorlessa
- docs(validation): snippets split, improved, and lint (#1449) by @leandrodamascena
- chore(tests): refactor E2E tracer to ease maintenance, writing tests and parallelization (#1457) by @heitorlessa
- chore(deps): bump release-drafter/release-drafter from 5.20.0 to 5.20.1 (#1458) by @dependabot
- chore(deps): bump pydantic from 1.9.1 to 1.9.2 (#1448) by @dependabot
This release was made possible by the following contributors:
@am29d, @dependabot, @dependabot[bot], @heitorlessa, @leandrodamascena, @peterschutt, @ran-isenberg, @rubenfonseca, @sthuber90 and Release bot