Skip to content

Upgrade: [dependabot] - bump @middy/core from 7.1.2 to 7.1.3#2833

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/middy/core-7.1.3
Closed

Upgrade: [dependabot] - bump @middy/core from 7.1.2 to 7.1.3#2833
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/middy/core-7.1.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 6, 2026

Bumps @middy/core from 7.1.2 to 7.1.3.

Release notes

Sourced from @​middy/core's releases.

7.1.3

What's Changed

  • validator: Fix type definition regression (#1580)
  • http-multipart-body-parser, http-urlencode-body-parser, http-urlencode-path-parser, http-security-headers: Fix HTTP status code handling in type definitions and runtime
  • Performance improvements across core and multiple middleware packages (core, event-normalizer, http-content-encoding, http-cors, http-error-handler, http-header-normalizer, http-security-headers, input-output-logger, secrets-manager, ssm, util, and others)
  • Add missing type definitions for http-content-negotiation, service-discovery, sts, secrets-manager, ws-router
  • Improve type definitions across core, cloudformation-router, http-router, http-event-normalizer, s3-object-response, sqs-partial-batch-failure, warmup, error-logger, and others
  • Simplify s3-object-response type definitions
  • Add comprehensive type tests across all packages

Full Changelog: middyjs/middy@7.1.2...7.1.3

Commits

Dependabot compatibility score

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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 6, 2026

This PR is raised by Dependabot to update a dependency.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/middy/core-7.1.3 branch 3 times, most recently from 1efe99e to 96af56c Compare March 6, 2026 19:24
@tstephen-nhs
Copy link
Copy Markdown
Contributor

@dependabot recreate

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/middy/core-7.1.3 branch 2 times, most recently from fbdb66b to f695676 Compare March 10, 2026 08:44
@tstephen-nhs
Copy link
Copy Markdown
Contributor

This is a breaking change due to a type contract mismatch between Middy and Powertools middleware types.

  1. In @middy/core@7.1.3, Request changed to use undefined:
  • node_modules/@middy/core/index.d.ts:42 -> response: TResult | undefined
  • node_modules/@middy/core/index.d.ts:44 -> error: TErr | undefined
  • Source link: @middy/core@7.1.3 index.d.ts
  1. Powertools MiddlewareLikeObj still models Request with null:
  1. Why 7.1.2 works:

Because .use(...) expects Middy middleware typed with the 7.1.3 contract (undefined), but receives middleware typed with the Powertools contract (null), TypeScript reports incompatibility on request.error/request.response.

Pinning to @middy/core@7.1.2 restores contract compatibility until upstream type definitions converge.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 10, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@anthony-nhs
Copy link
Copy Markdown
Contributor

@dependabot recreate

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/middy/core-7.1.3 branch from b677367 to 118df78 Compare March 13, 2026 11:41
@anthony-nhs
Copy link
Copy Markdown
Contributor

middyjs/middy#1594 raised for this

@anthony-nhs
Copy link
Copy Markdown
Contributor

@dependabot recreate

Bumps [@middy/core](https://github.com/middyjs/middy/tree/HEAD/packages/core) from 7.1.2 to 7.1.3.
- [Release notes](https://github.com/middyjs/middy/releases)
- [Changelog](https://github.com/middyjs/middy/blob/main/docs/RELEASE.md)
- [Commits](https://github.com/middyjs/middy/commits/7.1.3/packages/core)

---
updated-dependencies:
- dependency-name: "@middy/core"
  dependency-version: 7.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/middy/core-7.1.3 branch from 118df78 to beae30e Compare March 13, 2026 12:49
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 13, 2026

Superseded by #2875.

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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants