Releases: middyjs/middy
Releases · middyjs/middy
5.2.3
What's Changed
- Do not throw error if event is not http (http-cors) by @sharifhh in #1160
- chore(deps): bump follow-redirects from 1.15.3 to 1.15.4 in /website by @dependabot in #1159
New Contributors
Full Changelog: 5.2.2...5.2.3
5.2.2
What's Changed
- Add the rest of the parameters in the http-multipart-body-parser middleware by @lopepardo in #1158
New Contributors
- @lopepardo made their first contribution in #1158
Full Changelog: 5.2.1...5.2.2
5.2.1
What's Changed
- Add in retry for expired signatures by @willfarrell in #1150
Full Changelog: 5.2.0...5.2.1
5.2.0
What's Changed
- input-output-logger: add in support for stream responses by @willfarrell in #1153
- Add in benchmarks (
npm run test:packages:benchmark
to see results) by @willfarrell - performance micro optimizations by @willfarrell
Full Changelog: 5.1.0...5.2.0
5.1.0
What's Changed
- feat: Add name property to MiddlewareObj typings by @daedal-knickerbockers in #1146
- feat: replace
busboy
with updated fastify version @skayo #1145
New Contributors
- @daedal-knickerbockers made their first contribution in #1146
Full Changelog: 5.0.3...5.1.0
5.0.3
What's Changed
- update typescript and testing documentation by @anthony-nhs in #1140
- Streamed responses giving 502 Bad Gateway when payload exceeds threshold (25kb+) @jjason685 #1137
- http-response-serializer documentation incorrect @karmaniverous #1141
New Contributors
- @anthony-nhs made their first contribution in #1140
Full Changelog: 5.0.2...5.0.3
5.0.2
What's Changed
- Validation error cause typo by @stepansib in #1138
- Update similar typo in other files
New Contributors
- @stepansib made their first contribution in #1138
Full Changelog: 5.0.1...5.0.2
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