chore(deps): update dependency @middy/core to v3 #110
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.5.7
->3.0.3
Release Notes
middyjs/middy
v3.0.3
Compare Source
What's Changed
export default
toexports.default
for CommonJS.require('@​middy/core')
should now work as expectedNew Contributors
Full Changelog: middyjs/middy@3.0.2...3.0.3
v3.0.2
Compare Source
What's Changed
New Contributors
Full Changelog: middyjs/middy@3.0.1...3.0.2
v3.0.1
Compare Source
What's Changed
Full Changelog: middyjs/middy@3.0.0...3.0.1
v3.0.0
Compare Source
Checkout
UPGRADE.md
to see what are the main breaking changes and how to migrate to this new version if coming from2.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.
Notable changes
{ cause }
for better contextAdditions
http-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 includescause
set to an array of ErrorsX-Ray
is applied outside of handler invocation scopeBreaking Changes
core
onError
being called is now reversed to matchafter
@middy/*
middlewares no change should be requiredreturn response
, additional testing is high recommendedapplyMiddleware()
and__middlewares
util
normalizeHttpResponse
now takesrequest
and mutates responsegetCache
will return{}
instead ofundefined
when not foundsetToEnv
option from all middlewarehttp-event-normalizer
binary
/latin1
toutf-8
withinhttp-multipart-body-parser
default
option todefaultContentType
to improve maintainability inhttp-response-serializer
expectCt
inhttp-security-headers
sqs-partial-batch-failure
completely rewrittendefault
option todefaultContentType
http-response-serializer
normalizeHttpResponse
now takesrequest
and mutates responserequest.error.details
torequest.error.cause
invalidator
Removed
s3-key-normalizer
in favour ofevent-normalizer
sqs-json-body-parser
in favour ofevent-normalizer
Maintenance
Full Changelog: middyjs/middy@2.5.7...3.0.0
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.