Releases: H4ad/serverless-adapter
Releases · H4ad/serverless-adapter
v3.0.0
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