Releases: middyjs/middy
Releases · middyjs/middy
5.0.1
What's Changed
- ci: Add in missing types file @lbevilacqua #1136
- chore(website): Update website-publish.yml by @lmammino in #1135
Full Changelog: 5.0.0...5.0.1
5.0.0
For full details and upgrade guide see https://middy.js.org/docs/upgrade/4-5
Notable changes
- Middy no longer support Common JS modules.
- Deprecate Node.js v16.x.
- Add support for Node.js v20.x.
- Update to use TypeScript v5 along with a refactor to most packages
- Update all errors to be consistent
new Error('message', { cause: { package:'@middy/***', data:*** } })
- If using multiple
http-*-body-parsers
on the same endpoint you'll need to set{ disableContentTypeError: true }
What's Changed
- fix(appconfig): #1009 rewrite to not use deprecated appconfig getConfiguration command by @mju-spyrosoft in #1029
- Green CI for 5.0 by @lmammino in #1090
- feat(json-body-parser): allow specifying versioned APIGW events by @naorpeled in #1100
- feat(typescript): getInternal type safety + other type improvements by @m-radzikowski in #1093
- Fix typo by @michael-k in #1110
- docs: add Powertools idempotency + fix typo by @dreamorosi in #1115
- fix(http-error-handler): non http errors will always be handled by @qoomon in #1117
- feat: add
@iress/middy-http-path-router
to third-party middleware docs by @RodneyMarsh in #1124 - fix(website): extra padding on mobile by @lmammino in #1126
- Feat: improve TS docs, mention Middeware-first, Handler-last pattern by @lmammino in #1130
- Update website to docusaurus3 by @lmammino in #1129
- fix(middlewares/http-json-body-parser): narrow body type to string by @naorpeled in #1131
- fix: don't throw error for non http event by @robertbeal in #1133
New Contributors
- @mju-spyrosoft made their first contribution in #1029
- @michael-k made their first contribution in #1110
- @qoomon made their first contribution in #1117
- @RodneyMarsh made their first contribution in #1124
- @robertbeal made their first contribution in #1133
Big tanks to everyone who made this release possible!
Full Changelog: 4.7.0...5.0.0
4.7.0
What's Changed
- Add ability to set default headers in
http-header-normalizer
/ http-json-body-parser - json as default content type #1120 @qoomon
Full Changelog: 4.6.6...4.7.0
4.6.6
What's Changed
- Fix typo by @michael-k in #1110
- docs: add Powertools idempotency + fix typo by @dreamorosi in #1115
- TypeError: Cannot read properties of undefined (reading 'Accept') @phawxby #1121
New Contributors
- @michael-k made their first contribution in #1110
Full Changelog: 4.6.5...4.6.6
4.6.5
What's Changed
- SSM: fix: some mixes of named/paths results in undefined named param values by @WillGresham in #1108
- fix: validator benchmark by @aztalbot in #1105
New Contributors
- @WillGresham made their first contribution in #1108
Full Changelog: 4.6.4...4.6.5
4.6.4
4.6.3
What's Changed
- Fixed s3 headers[headerName].trim is not a function #1097 @carrickkv2
Full Changelog: 4.6.2...4.6.3
4.6.2
What's Changed
http-*-pody-parser
now throws proper error when no headers are passed in.
Full Changelog: 4.6.1...4.6.2
4.6.1
What's Changed
- chore: fix website search by @lmammino in #1091
- fix: Update http-content-encoding.md by @cjbt in #1094
- fix: type for new AWS SDK Clients with optional config parameter by @m-radzikowski in #1092
New Contributors
- @cjbt made their first contribution in #1094
- @m-radzikowski made their first contribution in #1092
Full Changelog: 4.6.0...4.6.1
4.6.0
What's Changed
- [secret-manager]: Add in support for secret rotation date by @KillDozerX2 in #1064
- docs: update
01-intro.md
'svalidator
usage by @aqaengineering in #1081
New Contributors
- @aqaengineering made their first contribution in #1081
Full Changelog: 4.5.5...4.6.0