Skip to content

Releases: H4ad/serverless-adapter

v3.0.0

09 Jun 23:02
Compare
Choose a tag to compare

3.0.0 (2023-06-09)

Bug Fixes

  • api-gateway-v1: probably missing query string value when multiple (78b9f18)

Features

  • trpc: bump support for 10.x (5d3124a)

Performance Improvements

  • api-gateway-v1: faster getRequest (70f7020)
  • api-gateway-v2: faster getRequest method (3b08708)
  • api-gateway-v2: single pass when collecting headers and cookies on response (3d65895)
  • aws: optimized strip base path (f72967a)
  • default-handler: always log using fn (36950b3)
  • headers: use object.keys + reduce instead of entries (41339c6)
  • logger: faster logger (103817c)
  • optional: use strict equal instead of typeof (1fba12c)
  • tsconfig: do not use define because is slower (35ce7c7)

Tests

  • vitest: replaced jest for vitest (7505fad)

Other Changes

  • core: removed support for regex on binary validation and case-sensitive headers (4fb3a39)
  • nodejs: deprecate node 12.x, 14.x and 16.x (4c734d4)

BREAKING CHANGES

  • now we don't flatten the headers
  • now regex is not support anymore due the slow performance and we don't lower case
    all the headers, so the content-encoding and content-type must be lowercase
  • vitest: removed support for fastify 3.0.0 & hapi 20.x & firebase-admin < 11
  • Now we will no longer support old nodejs versions

v2.17.0

29 Apr 03:45
d98fddd
Compare
Choose a tag to compare

2.17.0 (2023-04-29)

Features

  • aws-stream: added support for aws lambda stream (6782563)

v2.16.0

04 Jan 23:39
1e1c89b
Compare
Choose a tag to compare

2.16.0 (2023-01-04)

Features

  • firebase-v2: added support for gen2 of firebase functions (90eba3f)

v2.15.1

31 Dec 19:30
e4d9806
Compare
Choose a tag to compare

2.15.1 (2022-12-31)

Performance Improvements

  • logging: add defer log for util inspect (2a7389e)

v2.15.0

26 Dec 20:36
148e835
Compare
Choose a tag to compare

2.15.0 (2022-12-26)

Features

v2.14.1

20 Dec 20:35
29b8320
Compare
Choose a tag to compare

2.14.1 (2022-12-20)

Bug Fixes

  • alb: alb not working when header value is not string (10d72ac)

v2.14.0

20 Dec 15:14
7ab7087
Compare
Choose a tag to compare

2.14.0 (2022-12-20)

Bug Fixes

  • docs: simple adapters now throw error when status is different than success (2cf72e5)

Features

  • batch-support: added aws simple adapter to abstract batch support to simple aws adapters (e6c17bb)

v2.13.1

14 Dec 00:47
066ae2d
Compare
Choose a tag to compare

2.13.1 (2022-12-14)

Bug Fixes

  • firebase: issue with body-parser internally in firebase environment (3ec9a6f)

v2.13.0

03 Dec 14:42
65f61ac
Compare
Choose a tag to compare

2.13.0 (2022-12-03)

Bug Fixes

  • http-trigger-v4: issue after upgrade typescript (b047b56)

Features

  • adapters: added apollo server mutation adapter (aa7e3e3)
  • apollo-server: added support for apollo server (4d6f35b)
  • draft-apollo-server: added initial implementation for apollo server (c2f2f11)

v2.12.0

26 Nov 15:27
92aca8b
Compare
Choose a tag to compare

2.12.0 (2022-11-26)

Features

  • body-parser: added body-parsers frameworks (69b746a)