Skip to content

Releases: janaz/lambda-request-handler

v0.6.0

31 Mar 12:59
Compare
Choose a tag to compare
  • Maintenance version
  • Upgraded dependencies
  • Build using the supported AWS Lambda Node.js versions

v0.5.2

12 Nov 05:19
Compare
Choose a tag to compare
  • Add the following hooks
    • beforeDispatch executed before the request is dispatched to handler. It takes an APIGW event and returns a modified event
    • beforeReturn executed before the response is sent. It takes a LambdaResponse object and returns a modified response
    • onError executed when an unexpected error occurred when processing the event. It takes the error object
  • Removed dependency on in-process-request

v0.5.1

01 Nov 05:04
Compare
Choose a tag to compare
  • Migrate to light-my-request

0.5.1-alpha1

15 Nov 02:06
Compare
Choose a tag to compare
0.5.1-alpha1 Pre-release
Pre-release
  • Trying to fix an API gateway HTTP API v1.0 error with compressed responses from Lambda

v0.5.0

07 Nov 12:18
Compare
Choose a tag to compare

v0.4.4

21 May 04:10
Compare
Choose a tag to compare
  • Added a helper function for deploying NestJS apps

v0.4.3

03 May 13:56
Compare
Choose a tag to compare
  • Fixed a bug when the response was a UTF-8 encoded text/html body, but the content-type header didn't explicitly specify it (text/html instead of text/html; charset=utf8). In that case the Lambda response object had isBase64Encoded set to false and the body was a base64 encoded string. Api Gateway REST API ignores the isBase64Encoded flag when the content-type is text-html and doesn't decode the base-64 body but returns it back to the user.

v0.4.2

03 May 12:20
Compare
Choose a tag to compare
  • Added support for Hapi framework

v0.4.1

02 May 15:01
Compare
Choose a tag to compare

v0.4.0

02 May 07:55
Compare
Choose a tag to compare