🛵 The stylish Node.js middleware engine for AWS Lambda 🛵
MIT License
Published by willfarrell about 2 years ago
Full Changelog: https://github.com/middyjs/middy/compare/3.1.1...3.2.0
Published by willfarrell about 2 years ago
module
to package.json files @willfarrellFull Changelog: https://github.com/middyjs/middy/compare/3.1.0...3.1.1
Published by willfarrell over 2 years ago
handler
in the MiddyfiedHandler
by @lucduong in https://github.com/middyjs/middy/pull/854
wrapNumbers
option for dynamodb events @willfarrellfast-uri
for uriResolver
by default @willfarrellFull Changelog: https://github.com/middyjs/middy/compare/3.0.4...3.1.0
Published by willfarrell over 2 years ago
Full Changelog: https://github.com/middyjs/middy/compare/3.0.3...3.0.4
Published by willfarrell over 2 years ago
export default
to exports.default
for CommonJS. require('@middy/core')
should now work as expectedFull Changelog: https://github.com/middyjs/middy/compare/3.0.2...3.0.3
Published by willfarrell over 2 years ago
Full Changelog: https://github.com/middyjs/middy/compare/3.0.1...3.0.2
Published by willfarrell over 2 years ago
Full Changelog: https://github.com/middyjs/middy/compare/3.0.0...3.0.1
Published by willfarrell over 2 years ago
Checkout UPGRADE.md
to see what are the main breaking changes and how to migrate to this new version if coming from 2.x
.
Version 3.x of Middy no longer supports Node.js versions 12.x. You are highly encouraged to move to Node.js 16.x.
With the Node.js version change all packages are now ECMAScript Modules along side CommonJS Modules.
{ cause }
for better contexthttp-content-encoding
, http-router
, service-discovery
, ws-json-body-parser
, ws-response
, ws-router
)core
.handler()
method to allow easier understanding of the execution cycleAbortController
signalProxy
util
getInternal
error now includes cause
set to an array of ErrorsX-Ray
is applied outside of handler invocation scopecore
onError
being called is now reversed to match after
@middy/*
middlewares no change should be requiredreturn response
, additional testing is high recommendedapplyMiddleware()
and __middlewares
util
normalizeHttpResponse
now takes request
and mutates responsegetCache
will return {}
instead of undefined
when not foundsetToEnv
option from all middlewarehttp-event-normalizer
binary
/latin1
to utf-8
within http-multipart-body-parser
default
option to defaultContentType
to improve maintainability in http-response-serializer
expectCt
in http-security-headers
sqs-partial-batch-failure
completely rewrittendefault
option to defaultContentType
http-response-serializer
normalizeHttpResponse
now takes request
and mutates responserequest.error.details
to request.error.cause
in validator
s3-key-normalizer
in favour of event-normalizer
sqs-json-body-parser
in favour of event-normalizer
Full Changelog: https://github.com/middyjs/middy/compare/2.5.7...3.0.0
Published by willfarrell almost 3 years ago
Fix publishing transpiling error in 2.5.6
. Thanks to @maximepichou and @rreubenreyes for reporting.
Published by willfarrell almost 3 years ago
fix: add types for non-callback use case #788 @markcarroll
Full Changelog: https://github.com/middyjs/middy/compare/2.5.5...2.5.6
Published by willfarrell almost 3 years ago
ssm
response errors are now caught and thrownvalidator
@metrue in https://github.com/middyjs/middy/pull/764
http-cors
@lucasvieirasilva in https://github.com/middyjs/middy/pull/775
validator
@randomhash in https://github.com/middyjs/middy/pull/771
Full Changelog: https://github.com/middyjs/middy/compare/2.5.4...2.5.5
Published by willfarrell almost 3 years ago
middy-event-loop-tracer
, middy-console-logger
and middy-invocation
plugins into README by @serkan-ozal in https://github.com/middyjs/middy/pull/753
middy-event-loop-tracer
, middy-console-logger
and middy-invocation
middlewares into Version 2.x
section in README by @serkan-ozal in https://github.com/middyjs/middy/pull/754
middy-profiler
middleware into community middlewares section in README by @serkan-ozal in https://github.com/middyjs/middy/pull/755
Full Changelog: https://github.com/middyjs/middy/compare/2.5.3...2.5.4
Published by willfarrell almost 3 years ago
Full Changelog: https://github.com/middyjs/middy/compare/2.5.2...2.5.3
Published by willfarrell about 3 years ago
http-cors
not supporting API Gateway v2 @ellucianBretPublished by willfarrell about 3 years ago
Published by willfarrell about 3 years ago
warmup
middleware. There are some use cases not covered by lambda provisional concurrency, thus, we're bring it back. Thanks to everyone that reached out and shared their use case with us.Published by willfarrell over 3 years ago
Published by willfarrell over 3 years ago
Published by willfarrell over 3 years ago
util
@willfarrellPublished by willfarrell over 3 years ago
rds-signer
fails silently and small refactor @willfarrellundefined
instead of null
to be consistent @willfarrellAPIGatewayEventIdentity
typed definition. @willfarrellhttp-errors
internally for a slimmed down version @willfarrell