Skip to content

Conversation

Grmiade
Copy link
Contributor

@Grmiade Grmiade commented Sep 15, 2025

Summary

The @aws-lambda-powertools/commons dependency was not declared in the batch package.
It seems that this regression has been introduced with #4465.
See https://github.com/aws-powertools/powertools-lambda-typescript/pull/4465/files#diff-179ff02baca1caba368814f8214b5dbdf33c3e9bf7cebe51014d0dfb54c59dadR1

Changes

  • We declare @aws-lambda-powertools/commons as dependency for batch
  • We use the commons package instead of ../../commons/lib/esm/types/GenericLogger.js imports.
  • We delete the useless BatchProcessor import in types.

fixes #4485


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@pull-request-size pull-request-size bot added the size/XS PR between 0-9 LOC label Sep 15, 2025
@boring-cyborg boring-cyborg bot added batch This item relates to the Batch Processing Utility dependencies Changes that touch dependencies, e.g. Dependabot, etc. labels Sep 15, 2025
Copy link

boring-cyborg bot commented Sep 15, 2025

Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need.
In the meantime, check out the #typescript channel on our Powertools for AWS Lambda Discord: Invite link

Copy link
Contributor

@sdangol sdangol left a comment

Choose a reason for hiding this comment

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

Thank you for the changes @Grmiade. Just a small comment.

@pull-request-size pull-request-size bot added size/S PR between 10-29 LOC and removed size/XS PR between 0-9 LOC labels Sep 15, 2025
@pull-request-size pull-request-size bot added size/XS PR between 0-9 LOC and removed size/S PR between 10-29 LOC labels Sep 15, 2025
sdangol
sdangol previously approved these changes Sep 15, 2025
@pull-request-size pull-request-size bot added size/L PRs between 100-499 LOC and removed size/XS PR between 0-9 LOC labels Sep 15, 2025
@pull-request-size pull-request-size bot added size/S PR between 10-29 LOC and removed size/L PRs between 100-499 LOC labels Sep 15, 2025
@pull-request-size pull-request-size bot added size/XS PR between 0-9 LOC and removed size/S PR between 10-29 LOC labels Sep 15, 2025
Copy link

@dreamorosi dreamorosi merged commit 8cfcccd into aws-powertools:main Sep 15, 2025
37 checks passed
Copy link

boring-cyborg bot commented Sep 15, 2025

Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience!

Copy link
Contributor

@aws-powertools/lambda-typescript No related issues found. Please ensure 'pending-release' label is applied before releasing.

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

Labels

batch This item relates to the Batch Processing Utility dependencies Changes that touch dependencies, e.g. Dependabot, etc. size/XS PR between 0-9 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: @aws-lambda-powertools/commons is not declared in batch package

3 participants