Download Latest Version 7.2.1 source code.tar.gz (1.4 MB)
Email in envelope

Get an email when there's a new version of Middy

Home / 7.1.7
Name Modified Size InfoDownloads / Week
Parent folder
7.1.7 source code.tar.gz 2026-03-15 1.4 MB
7.1.7 source code.zip 2026-03-15 1.7 MB
README.md 2026-03-15 822 Bytes
Totals: 3 Items   3.2 MB 0

What's Changed

  • @middy/secrets-manager: Fixed crash when LastRotationDate or LastChangedDate is undefined during rotation-date-based cache expiry calculation. Previously, Math.max(undefined, ...) would produce NaN, breaking the cache logic. Now defaults to 0 when either date is missing.
  • @middy/cloudformation-response: Auto-populate PhysicalResourceId from context.logStreamName when not explicitly set. This prevents CloudFormation custom resource responses from failing due to a missing required field.
  • @middy/core (types): Widened the TErr generic in UseFn from Error to any, allowing middleware that uses custom error types to be passed to .use() without type errors.
  • Issue/1594 in https://github.com/middyjs/middy/pull/1597

Full Changelog: https://github.com/middyjs/middy/compare/7.1.6...7.1.7

Source: README.md, updated 2026-03-15