Summary
In this release, we are thrilled to announce new features and improvements:
- New Event Source Data Classes and Parser models for IoT Core Registry Events
- Support for OpenAPI examples within parameters fields
We also fixed a bug in the Logger utility's custom handlers and expanded Lambda layer support to Thailand (ap-southeast-7) and Mexico Central (mx-central-1) regions.
⭐ Huge thanks to our new contributors: @basvandriel and @DKurilo
Working with IoT Core Registry Events with Parser
We have improved the Parser utility by adding support for events from IoT Core Registry Events
Here are all the models we have added for IoT Core Registry Events:
- IoTCoreThingEvent - For Things Created/Updated/Deleted events
- IoTCoreThingTypeEvent - For Thing Type Created/Updated/Deprecated/Deleted events
- IoTCoreThingTypeAssociationEvent - For associating or disassociating a thing events
- IoTCoreThingGroupEvent - For Thing Group Created/Updated/Deleted events
- IoTCoreAddOrRemoveFromThingGroupEvent - For adding or removing a thing from a group events
- IoTCoreAddOrDeleteFromThingGroupEvent - For adding or deleting a group within another group events
Adding examples to the OpenAPI schema
You can now include specific examples of parameter values directly in the schema objects. These examples are rendered in API documentation tools like SwaggerUI and provide a better experience when reading the OpenAPI schema.
Using Logger custom handlers
Customers can now rely on a correct logger handler selection in compute environments or custom setups where a standard logging logger shares the same name as a Powertools logger.
Changes
🌟New features and non-breaking changes
- feat(parser): Event source dataclasses for IoT Core Registry Events (#6123) by @basvandriel
- feat(parser): Add IoT registry events models (#5892) by @basvandriel
- feat(event_handler): add support for defining OpenAPI examples in parameters (#6086) by @leandrodamascena
- feat(batch): raise exception for invalid batch event (#6088) by @anafalcao
- feat(layers): add new comercial region ap-southeast-7 and mx-central-1 (#6109) by @leandrodamascena
📜 Documentation updates
- docs(homepage): add sitemap to documentation website (#6103) by @hjgraca
- feat(parser): Add IoT registry events models (#5892) by @basvandriel
- docs(roadmap): update roadmap (#6077) by @leandrodamascena
🐛 Bug and hot fixes
- fix(parser): fix data types for
sourceIPAddress
andsequencer
fields in S3RecordModel Model (#6154) by @DKurilo - fix(parser): fix EventBridgeModel when working with scheduled events (#6134) by @leandrodamascena
- fix(openapi): validate response serialization when falsy (#6119) by @anafalcao
- fix(logger): correctly pick powertools or custom handler in custom environments (#6083) by @leandrodamascena
- fix(security): fix encryption_context handling in data masking operations (#6074) by @leandrodamascena
🔧 Maintenance
- chore(deps): bump slsa-framework/slsa-github-generator from 2.0.0 to 2.1.0 (#6155) by @dependabot[bot]
- chore(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 (#6143) by @dependabot[bot]
- chore(deps): bump pydantic-settings from 2.7.1 to 2.8.0 (#6147) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-lib from 2.179.0 to 2.180.0 (#6148) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.36.25 to 1.36.26 (#6146) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.179.0a0 to 2.180.0a0 (#6145) by @dependabot[bot]
- chore(deps): bump actions/upload-artifact from 4.6.0 to 4.6.1 (#6144) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.36.24 to 1.36.25 (#6137) by @dependabot[bot]
- chore(deps-dev): bump mkdocs-material from 9.6.4 to 9.6.5 (#6136) by @dependabot[bot]
- chore(deps-dev): bump ruff from 0.9.6 to 0.9.7 (#6138) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
f5bcec4
to2615302
in /docs (#6135) by @dependabot[bot] - chore(deps-dev): bump aws-cdk-lib from 2.178.2 to 2.179.0 (#6130) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.178.2a0 to 2.179.0a0 (#6127) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.178.2 to 2.1000.2 (#6126) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.36.22 to 1.36.24 (#6131) by @dependabot[bot]
- chore(deps-dev): bump cdklabs-generative-ai-cdk-constructs from 0.1.292 to 0.1.293 (#6129) by @dependabot[bot]
- chore(deps-dev): bump mkdocstrings-python from 1.16.0 to 1.16.1 (#6128) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.36.19 to 1.36.22 (#6116) by @dependabot[bot]
- chore(deps-dev): bump cfn-lint from 1.24.0 to 1.25.1 (#6115) by @dependabot[bot]
- chore(deps-dev): bump mkdocstrings-python from 1.15.0 to 1.16.0 (#6118) by @dependabot[bot]
- chore(deps-dev): bump bandit from 1.8.2 to 1.8.3 (#6117) by @dependabot[bot]
- chore(deps-dev): bump sentry-sdk from 2.21.0 to 2.22.0 (#6114) by @dependabot[bot]
- chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.21 to 3.0.22 (#6113) by @dependabot[bot]
- chore(ci): remove python3.8 runtime when bootstrapping a new region (#6101) by @leandrodamascena
- chore(deps-dev): bump sentry-sdk from 2.20.0 to 2.21.0 (#6096) by @dependabot[bot]
- chore(deps-dev): bump mkdocs-material from 9.6.3 to 9.6.4 (#6097) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.178.1a0 to 2.178.2a0 (#6095) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.36.17 to 1.36.19 (#6093) by @dependabot[bot]
- chore(deps-dev): bump aws-cdk from 2.178.1 to 2.178.2 (#6089) by @dependabot[bot]
- chore(deps): bump squidfunk/mkdocs-material from
c62453b
tof5bcec4
in /docs (#6087) by @dependabot[bot] - chore(deps): bump aws-actions/configure-aws-credentials from 4.0.3 to 4.1.0 (#6082) by @dependabot[bot]
- chore(deps-dev): bump coverage from 7.6.11 to 7.6.12 (#6080) by @dependabot[bot]
- chore(deps-dev): bump mkdocstrings-python from 1.14.6 to 1.15.0 (#6079) by @dependabot[bot]
- chore(deps-dev): bump boto3-stubs from 1.36.16 to 1.36.17 (#6078) by @dependabot[bot]
This release was made possible by the following contributors:
@DKurilo, @anafalcao, @basvandriel, @dependabot[bot], @github-actions[bot], @hjgraca, @leandrodamascena, dependabot[bot] and github-actions[bot]