Releases: janaz/lambda-request-handler
Releases · janaz/lambda-request-handler
v0.6.0
v0.5.2
- Add the following hooks
beforeDispatchexecuted before the request is dispatched to handler. It takes an APIGW event and returns a modified eventbeforeReturnexecuted before the response is sent. It takes a LambdaResponse object and returns a modified responseonErrorexecuted when an unexpected error occurred when processing the event. It takes the error object
- Removed dependency on
in-process-request
v0.5.1
0.5.1-alpha1
- Trying to fix an API gateway HTTP API v1.0 error with compressed responses from Lambda
v0.5.0
v0.4.4
v0.4.3
- Fixed a bug when the response was a UTF-8 encoded
text/htmlbody, but thecontent-typeheader didn't explicitly specify it (text/htmlinstead oftext/html; charset=utf8). In that case the Lambda response object hadisBase64Encodedset tofalseand the body was a base64 encoded string. Api Gateway REST API ignores theisBase64Encodedflag when thecontent-typeistext-htmland doesn't decode the base-64 body but returns it back to the user.
v0.4.2
v0.4.1
- Use the latest
in-process-requestwhich fixes a small bug around the response object
v0.4.0
- Support for AWS API Gateway HTTP API payload 2.0