Summary
We are happy to announce the official support for Pydantic V2. ππππ
This offers you the flexibility to choose between Pydantic v1 and v2 with no breaking changes. This 3-week significant effort wouldnβt be possible without many Pydantic experts from our community, and the Pydantic team for fixing a regression - thank you!!
New public reference. A big thank you to @ovahal at Jit Security.
β Huge thanks to our new contributor: @tinti!
Support for Pydantic v2
Pydantic recently released version 2, bringing a plethora of exciting improvements and enhancements.
We did an extensive research on breaking changes between v1 and v2 to provide a smooth transition, when using Powertools for AWS Lambda (Python) Parser models and envelopes.
Changes
πNew features and non-breaking changes
- feat(parser): add support for Pydantic v2 (#2733) by @leandrodamascena
π Documentation updates
- feat(parser): add support for Pydantic v2 (#2733) by @leandrodamascena
- docs(customer-reference): add Jit Security as a customer reference (#2801) by @leandrodamascena
- fix(docs): remove redundant code in the tutorial section (#2796) by @tinti
- chore(deps): bump squidfunk/mkdocs-material from
a28ed81
to33e28bd
in /docs (#2797) by @dependabot
π Bug and hot fixes
π§ Maintenance
- feat(parser): add support for Pydantic v2 (#2733) by @leandrodamascena
- chore(deps-dev): bump aws-cdk from 2.87.0 to 2.88.0 (#2812) by @dependabot
- chore(deps-dev): bump types-requests from 2.31.0.1 to 2.31.0.2 (#2806) by @dependabot
- chore(deps-dev): bump mypy-boto3-s3 from 1.28.3.post2 to 1.28.8 (#2808) by @dependabot
- chore(deps-dev): bump types-python-dateutil from 2.8.19.13 to 2.8.19.14 (#2807) by @dependabot
- chore(deps-dev): bump mypy-boto3-secretsmanager from 1.28.3.post1 to 1.28.3.post2 (#2794) by @dependabot
- chore(deps): bump squidfunk/mkdocs-material from
a28ed81
to33e28bd
in /docs (#2797) by @dependabot - chore(deps-dev): bump mkdocs-material from 9.1.18 to 9.1.19 (#2798) by @dependabot
- chore(deps-dev): bump mypy-boto3-s3 from 1.28.3.post1 to 1.28.3.post2 (#2793) by @dependabot
- chore(security): improve debugging for provenance script (#2784) by @heitorlessa
- chore(deps-dev): bump mypy-boto3-secretsmanager from 1.28.3 to 1.28.3.post1 (#2785) by @dependabot
- chore(deps-dev): bump mypy-boto3-s3 from 1.28.3 to 1.28.3.post1 (#2786) by @dependabot
This release was made possible by the following contributors:
@dependabot, @dependabot[bot], @github-actions, @github-actions[bot], @heitorlessa, @leandrodamascena and @tinti