Releases: serviejs/servie-lambda
Releases · serviejs/servie-lambda
Omit Default Request Headers
Fixed
- Omit default headers in request instance
Promise Based
Changed
- Remove callback based API and expose promise-based, the callback API was resulting in
null
responses under node.js 10.x (but works on node.js 8.10)
Expose Event
Added
- Expose
event
onLambdaRequest
class
Servie 4
Changed
- Updated to Servie 4 node.js signature
AWS @types and Multi Value Headers
Changed
- Use
@types/aws-lambda
to standardize on the AWS Lambda request/response interface - Use multi-value headers to support things like
Set-Cookie
properly, instead ofbit-string-mask
Void Returns
Changed
- Remove promise return alongside callback handling, creates issues with some wrapper functions (e.g. Elastic APM Node.js)
Use `servie-http` request class
Added
- Extend request class from
servie-http
to define node.js-specific body
Servie 3.0
Changed
- Add support for latest Servie interface
Move to @serviejs org
Move to @serviejs org
Duplicate Headers
Fixed
- Enable sending the same header multiple times by abusing casing