Skip to content

Releases: serviejs/servie-lambda

Sync Return

04 Apr 21:35
Compare
Choose a tag to compare

Changed

  • Allow synchronous Response to be returned

Final and Error Handler

15 Mar 00:26
Compare
Choose a tag to compare

Changed

  • Use finalhandler and errorhandler modules for server

Response Event

25 Jan 05:51
Compare
Choose a tag to compare

Added

  • Emit a response event when the function has run through

Servie 0.2

25 Jan 05:38
Compare
Choose a tag to compare

Changed

Update Middleware Pattern

23 Jan 19:21
Compare
Choose a tag to compare

Changed

  • Update the middleware pattern from (req: Request, res: Response, next: () => Promise<void>) => Promise<void> to (req: Request, next: () => Promise<Response>) => Promise<Response>
  • Map middleware errors to Lambda HTTP responses

Initial Release

20 Jan 22:48
Compare
Choose a tag to compare

The initial release of servie-lambda is based off internal code I was previously using to manage and route HTTP requests within an AWS Lambda instance.