Skip to content

chore(deps): update aws-lambda-powertools requirement from >=3.25.0 to >=3.27.0 in /unicorn_approvals#192

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

chore(deps): update aws-lambda-powertools requirement from >=3.25.0 to >=3.27.0 in /unicorn_approvals#192
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/pip/unicorn_approvals/aws-lambda-powertools-gte-3.27.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Updates the requirements on aws-lambda-powertools to permit the latest version.

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

Maintenance

  • version bump

[v3.26.0] - 2026-03-20

Bug Fixes

  • ci: add ty check to dataclasses utility (#8038)
  • ci: add ty check to parser folder (#8037)
  • ci: add ty check to parameters folder (#8035)
  • openapi: correct response validation for falsy objects (#7990)

Features

  • add ldms feature (#8051)
  • batch: add Kafka/MSK batch processing support (#7941)
  • buffer-handler: add buffering support for external loggers (#7994)

Maintenance

  • version bump
  • deps: bump aws-encryption-sdk from 4.0.3 to 4.0.4 (#8027)
  • deps: bump valkey-glide from 2.2.5 to 2.2.7 (#8030)
  • deps-dev: bump types-python-dateutil from 2.9.0.20260124 to 2.9.0.20260305 (#8029)
  • deps-dev: bump ijson from 3.4.0.post0 to 3.5.0 (#8028)
  • deps-dev: bump aws-cdk from 2.1108.0 to 2.1110.0 in the aws-cdk group (#8023)

[v3.25.0] - 2026-03-12

Bug Fixes

  • ci: remove DUB region (#8031)
  • event-handler: prevent OpenAPI schema bleed when reusing response dictionaries (#7952)
  • event_handler: add middleware validation per route (#8020)
  • event_handler: fix bug regression in Annotated field (#7904)
  • event_handler: return 415 status_code for unsupported content-type headers (#7980)
  • event_handler: sync alias and validation_alias for Pydantic 2.12+ compatibility (#7901)
  • event_handler: preserve openapi_examples on Body (#7862)
  • logger: preserve percent-style formatting args in flush_buffer (#8009)
  • parameters: fix variable shadowing in SSM parameter chunking (#8006)
  • typing: resolve ty diagnostics in logging and metrics modules (#7953)
  • typing: accept Mapping type in resolve() for event parameter (#7909)

Code Refactoring

  • batch: improve type annotation for event parameter (#7924)

... (truncated)

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 will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [aws-lambda-powertools](https://github.com/aws-powertools/powertools-lambda-python) to permit the latest version.
- [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.25.0...v3.27.0)

---
updated-dependencies:
- dependency-name: aws-lambda-powertools
  dependency-version: 3.27.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 13, 2026
@dependabot dependabot bot requested a review from a team as a code owner April 13, 2026 17:34
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 13, 2026
@github-actions github-actions bot requested a review from igorlg April 13, 2026 17:34
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