Skip to content

Releases: middyjs/middy

6.1.5

03 Mar 23:41
070ce4d
Compare
Choose a tag to compare

What's Changed

  • fix(http-json-body-parser): allow "undefined" body if disableContentTypeError:true by @apalchys in #1285

Full Changelog: 6.1.4...6.1.5

6.1.4

02 Mar 15:20
7dcead1
Compare
Choose a tag to compare

What's Changed

  • chore: update test fixture by @iiroj in #1279
  • fix: support Web API ReadableStream when streamifyResponse:true by @apalchys in #1280
  • fix: make request.earlyResponse an optional field in TypeScript type definitions by @iiroj in #1281
  • docs: update default origin for http-cors documentation by @connorreitz in #1282
  • chore: add missing input type supporting notFoundResponse in http-router by @andre2w in #1283

New Contributors

Full Changelog: 6.1.3...6.1.4

6.1.3

26 Feb 13:19
c74c4cd
Compare
Choose a tag to compare

What's Changed

  • fix: add TypeScript type definition for request.earlyResponse by @iiroj in #1277

New Contributors

Full Changelog: 6.1.2...6.1.3

6.1.2

25 Feb 19:56
c06ec2c
Compare
Choose a tag to compare

What's Changed

  • fix NPM is missing 6.1.x versions #1276

Full Changelog: 6.1.1...6.1.2

6.1.1

25 Feb 13:44
e835adc
Compare
Choose a tag to compare

What's Changed

  • Fix: http-header-normalizer types suggest it still returns rawHeaders @Crafoord #1274

Full Changelog: 6.1.0...6.1.1

6.1.0

15 Feb 15:38
3180d06
Compare
Choose a tag to compare

What's Changed

Full Changelog: 6.0.0...6.1.0

6.0.0

24 Nov 00:50
8dd5f55
Compare
Choose a tag to compare

For full details and upgrade guide see https://middy.js.org/docs/upgrade/5-6

Notable changes

  • Deprecate Node.js v18.x.
  • Add support for Node.js v22.x.
  • Add support for --experimental-require-module

What's Changed

  • feat(http-security-headers): support report only mode by @naorpeled in #1254

Thanks to @ehmicky for contributing to this release.

Full Changelog: 5.5.1...6.0.0

5.5.1

16 Oct 17:49
f50d235
Compare
Choose a tag to compare

What's Changed

  • 🏷️ ensures that handler return is properly typed by @canassa @ jerizm in #1244 #1241

Full Changelog: 5.5.0...5.5.1

5.5.0

17 Sep 00:01
4ad95ba
Compare
Choose a tag to compare

What's Changed

  • Add in notFoundResponse override to ws-router and http-router to allow returning a custom response. @willfarrell

Full Changelog: 5.4.7...5.5.0

5.4.7

01 Sep 14:27
d8e4d90
Compare
Choose a tag to compare

What's Changed

  • fix bug in http-content-encoding where stream responses were not encoding by @willfarrell
  • Update third-party.md by @zirkelc in #1234

New Contributors

Full Changelog: 5.4.6...5.4.7