Skip to content

Feature request: Support @middy/core v7 #4920

Description

@coderbyheart

Use case

@middy/core v7 has been released: https://github.com/middyjs/middy/releases/tag/7.0.0

Solution/User Experience

Powertools cannot be used in projects that use @middy/core v7 when using NPM 11.6.2. Currently this fails when installing it using NPM:

npm warn Found: @middy/[email protected]
npm warn node_modules/@middy/core
npm warn   @middy/core@"7.x" from the root project
npm warn   1 more (@aws-lambda-powertools/metrics)
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional @middy/core@"4.x || 5.x || 6.x" from @aws-lambda-powertools/[email protected]
npm warn node_modules/@aws-lambda-powertools/metrics
npm warn   @aws-lambda-powertools/metrics@"2.30.1" from the root project

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Activity

  1. added
    triage
    feature-request
    on Jan 6, 2026
  2. boring-cyborg commented on Jan 6, 2026

    @boring-cyborg

    Thanks for opening your first issue here! We'll come back to you as soon as we can.
    In the meantime, check out the #typescript channel on our Powertools for AWS Lambda Discord: Invite link

  3. added
    confirmed
    and removed
    triage
    on Jan 6, 2026
  4. moved this from Triage to Working on it in Powertools for AWS Lambda (TypeScript)on Jan 6, 2026
  5. dreamorosi commented on Jan 6, 2026

    @dreamorosi
    Contributor

    Hi, we purposefully are conservative with version ranges since we want to make sure we're systematically testing peer dependencies before marking them as supported.

    As I discussed in the PR, once we have added Middy.js to our test suite and it's consistently green we're good to add the new version to the peer range.

  6. powertools-for-aws-oss-automation commented on Jan 6, 2026

    @powertools-for-aws-oss-automation

    Warning

    This issue is now closed. Please be mindful that future comments are hard for our team to see.
    If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
    If you wish to keep having a conversation with other community members under this issue feel free to do so.

  7. WtfJoke commented on Jan 12, 2026

    @WtfJoke

    Out of curiosity (dont feel pressured by this comment), when is the release planned, where this gets shipped? Thanks!

  8. sdangol commented on Jan 12, 2026

    @sdangol
    Contributor

    Hi @WtfJoke, we have actually decided to make the release today as discussed in #4934

  9. sdangol commented on Jan 12, 2026

    @sdangol
    Contributor
  10. WtfJoke commented on Jan 12, 2026

    @WtfJoke

    Hey @sdangol
    Nice! Thank you for the very fast release and the personal notification :D We've already updated as well 🫶

  11. moved this from Coming soon to Shipped in Powertools for AWS Lambda (TypeScript)on Jan 15, 2026
  12. removed
    feature-request
    confirmed
    on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions