Skip to content

Upgrade: [dependabot] - bump aws-lambda-powertools from 3.26.0 to 3.27.0#543

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/aws-lambda-powertools-3.27.0
Open

Upgrade: [dependabot] - bump aws-lambda-powertools from 3.26.0 to 3.27.0#543
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/aws-lambda-powertools-3.27.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 17, 2026

Bumps aws-lambda-powertools from 3.26.0 to 3.27.0.

Release notes

Sourced from aws-lambda-powertools's releases.

v3.27.0

Summary

In this release, we focused on the Event Handler utility - we added three new features and shipped several important bug fixes across Event Handler and Idempotency.

  • File uploads - handle multipart/form-data uploads with full OpenAPI validation and Swagger UI file picker
  • Cookie parameters - use cookies as typed, validated parameters alongside Query(), Header(), and Form()
  • Request object - access the resolved route pattern, path parameters, and HTTP method in middleware and route handlers

A huge thanks to @​oyiz-michael, @​siwyd, @​abhu85, and @​danjhd for their contributions!

File upload support for OpenAPI

Docs

You can now handle file uploads in your API endpoints with full OpenAPI validation and Swagger UI support. If using Swagger, it renders a file picker automatically. A special thanks to @​oyiz-michael for starting the initial work on this feature.

from typing import Annotated
from aws_lambda_powertools.event_handler import APIGatewayRestResolver
from aws_lambda_powertools.event_handler.openapi.params import File, Form, UploadFile
app = APIGatewayRestResolver(enable_validation=True)
app.enable_swagger(path="/swagger")
@​app.post("/upload")
def upload(
file_data: Annotated[UploadFile, File(description="CSV file")],
separator: Annotated[str, Form(description="CSV separator")] = ",",
):
return {
"filename": file_data.filename,
"content_type": file_data.content_type,
"file_size": len(file_data),
}

You can receive files as raw bytes (Annotated[bytes, File()]) or as an UploadFile object with filename and content type metadata.

Cookie parameter support for OpenAPI

Docs

You can now use cookies as typed, validated parameters in your API endpoints - just like Query(), Header(), or Form(). The OpenAPI schema generates in: cookie parameters automatically, and validation works across all resolver types.

from typing import Annotated
</tr></table>

... (truncated)

Changelog

Sourced from aws-lambda-powertools's changelog.

[v3.27.0] - 2026-04-06

Bug Fixes

  • data_classes: support {proxy+} and path parameters in authorizer response (#8092)
  • event_handler: sync middleware receives real response in async ASGI context (#8089)
  • event_handler: support finding type annotated resolver when merging schemas (#8074)
  • event_handler: normalize Union and RootModel sequences in body validation (#8067)
  • idempotency: serialize Pydantic models with mode='json' for UUID/date support (#8075)

Documentation

  • adding docs to Request object (#8105)
  • fix ranthebuilder link in Update we_made_this.md (#8084)

Features

  • event_handler: add File parameter support for multipart/form-data uploads (#8093)
  • event_handler: add Cookie parameter support for OpenAPI utility (#8095)
  • event_handler: add Request object for middleware access to resolved route and args (#8036)

Maintenance

  • version bump
  • deps: bump valkey-glide from 2.2.7 to 2.3.0 (#8080)
  • deps: bump protobuf from 6.33.5 to 7.34.0 (#8046)
  • deps: bump mkdocs-material from 9.7.1 to 9.7.5 (#8045)
  • deps: bump requests from 2.32.4 to 2.33.0 in /docs (#8070)
  • deps: bump cryptography from 46.0.5 to 46.0.6 (#8072)
  • deps: bump squidfunk/mkdocs-material from 8f41b60 to 868ad4d in /docs (#8083)
  • deps: bump the github-actions group across 1 directory with 10 updates (#8081)
  • deps: bump mkdocs-material from 9.7.5 to 9.7.6 (#8079)
  • deps-dev: bump aws-cdk from 2.1111.0 to 2.1113.0 in the aws-cdk group (#8058)
  • deps-dev: bump sentry-sdk from 2.54.0 to 2.56.0 (#8082)
  • deps-dev: bump aws-cdk-aws-lambda-python-alpha from 2.243.0a0 to 2.248.0a0 (#8103)
  • deps-dev: bump the dev-dependencies group across 1 directory with 4 updates (#8086)
  • deps-dev: bump pygments from 2.19.2 to 2.20.0 (#8077)
  • deps-dev: bump requests from 2.32.5 to 2.33.0 (#8069)
  • deps-dev: bump ty from 0.0.23 to 0.0.26 (#8078)
  • deps-dev: bump cdklabs-generative-ai-cdk-constructs from 0.1.315 to 0.1.316 (#8061)
  • deps-dev: bump boto3-stubs from 1.42.73 to 1.42.74 (#8062)
  • deps-dev: bump requests from 2.33.0 to 2.33.1 (#8104)
  • deps-dev: bump boto3-stubs from 1.42.67 to 1.42.68 (#8043)
  • deps-dev: bump nox from 2025.11.12 to 2026.2.9 (#8044)
  • deps-dev: bump aws-cdk from 2.1110.0 to 2.1111.0 in the aws-cdk group (#8039)
  • deps-dev: bump ruff from 0.15.8 to 0.15.9 in the dev-dependencies group (#8100)
  • deps-dev: bump isort from 7.0.0 to 8.0.1 (#8101)
  • deps-dev: bump types-requests from 2.32.4.20260107 to 2.33.0.20260402 (#8102)

Commits
  • 31d0872 chore: version bump
  • a03795f ci: remove me-south-1 region (#8108)
  • bf7e555 docs: adding docs to Request object (#8105)
  • a26d64b feat(event_handler): add File parameter support for multipart/form-data uploa...
  • 7c9589c feat(event_handler): add Cookie parameter support for OpenAPI utility (#8095)
  • ccdc52e fix(data_classes): support {proxy+} and path parameters in authorizer respons...
  • 74fbcc5 fix(event_handler): sync middleware receives real response in async ASGI cont...
  • 2b95d7f chore(deps-dev): bump isort from 7.0.0 to 8.0.1 (#8101)
  • 30e43c1 chore(deps-dev): bump aws-cdk-aws-lambda-python-alpha from 2.243.0a0 to 2.248...
  • 779c85c chore(deps-dev): bump types-requests from 2.32.4.20260107 to 2.33.0.20260402 ...
  • Additional commits viewable in compare view

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 17, 2026
Copy link
Copy Markdown

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

Copy link
Copy Markdown

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

Copy link
Copy Markdown

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

Copy link
Copy Markdown

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

Copy link
Copy Markdown

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

@anthony-nhs
Copy link
Copy Markdown
Contributor

@dependabot recreaote

@anthony-nhs
Copy link
Copy Markdown
Contributor

@dependabot recreate

Bumps [aws-lambda-powertools](https://github.com/aws-powertools/powertools-lambda-python) from 3.26.0 to 3.27.0.
- [Release notes](https://github.com/aws-powertools/powertools-lambda-python/releases)
- [Changelog](https://github.com/aws-powertools/powertools-lambda-python/blob/develop/CHANGELOG.md)
- [Commits](aws-powertools/powertools-lambda-python@v3.26.0...v3.27.0)

---
updated-dependencies:
- dependency-name: aws-lambda-powertools
  dependency-version: 3.27.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/aws-lambda-powertools-3.27.0 branch from b0fa9ce to 56a5c59 Compare April 18, 2026 15:12
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant