github CodeGenieApp/serverless-express v4.0.0

latest releases: v4.14.1, v4.14.0, v4.13.0...
3 years ago

4.0.0 (2021-02-01)

Bug Fixes

  • audit: npm audit fix (66b03e5)
  • add body parsing for lambda edge event source (116949d)
  • add Promise return type for proxy function (#332) (5b23f3c)
  • change logging to include a log key (542d473)
  • clean up sockets on EADDRINUSE server close (e768599)
  • dependabot alerts (df60394)
  • fix API Gateway V2 header response (90bad18), closes #352
  • fix getRequestValuesFromEvent headers (f915e94)
  • fix Lambda@Edge event source (95b0aa6)
  • fix Lambda@Edge headers and body (aabd9d3)
  • fix remoteAddress undefined on ALB event source (a092233)
  • log actual headers in SERVERLESS_EXPRESS:FORWARD_RESPONSE:EVENT_SOURCE_RESPONSE_PARAMS (72f2ef5)
  • make optional the property binarySettings of ConfigureParams in typings (b08ee87)
  • remove commitlint from travis (7b12e56)
  • remove Node.js 4 support (713ad14)
  • remove Node.js 4 support (e01c9af)
  • remove winston dependency and add basic logger (5bd6c2c)
  • transform lambda edge response headers to lower case (922fec0)
  • transform request header keys to lower case (daa656b)
  • update dependencies (e705bc6)
  • update dependencies (075e15b)
  • update dependencies (39c55eb)

Features

  • add additional event mapping logic (e5909b5)
  • add custom mapping example (fe99c85)
  • add HTTP API (APIGW-V2) event source (60cb8e1)
  • add lambda edge support and example (230c9c5)
  • add logger (e35a348)
  • add multiValueHeader and multiValueQueryStringParameters (7199aa5)
  • add respondWithErrors config (53cf974)
  • add stripBasePath for custom domain names (3a5c7ed)
  • auto-detect binary response and add binarySettings (64a99dc)
  • call Express directly instead of via a proxy server running on a local socket (a468c72)
  • lay groundwork for different event sources (2db86f2)
  • refactor and expose a new interface (7de5d45)
  • remove middleware and expose getCurrentLambdaInvoke method (b56c13b)
  • use multiValueHeaders for requests and responses (c5ce62f)
  • use promise resolution by default (a9c01a3)

BREAKING CHANGES

  • The new interface is backwards incompatible and includes new and simpler ways of configuring and using the package.

Don't miss a new serverless-express release

NewReleases is sending notifications on new releases.