Skip to content

Latest commit

 

History

History
769 lines (484 loc) · 56.4 KB

CHANGELOG.md

File metadata and controls

769 lines (484 loc) · 56.4 KB

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

13.3.4 (2024-04-19)

Bug Fixes

13.3.3 (2024-01-20)

Bug Fixes

  • Custom Authorizer Lambda Request context missing accountId and apiId fields (#1640) (3a5fca9)

Maintenance Improvements

  • remove create unique id util function (4fbb9bf)
  • use default crypto import (3d1467d)

13.3.2 (2023-12-13)

Bug Fixes

  • Allow string values in provider.apiGateway.apiKeys (#1662) (d0b7606)

Maintenance Improvements

13.3.1 (2023-12-08)

Maintenance Improvements

13.3.0 (2023-11-16)

Features

13.2.1 (2023-11-06)

Maintenance Improvements

13.2.0 (2023-10-04)

Features

Maintenance Improvements

  • remove setTimeout promisify wrapper, use built-in (10d5f3b)

13.1.2 (2023-09-30)

Bug Fixes

  • LambdaProxyIntegrationEventV2 authorizer context (#1630) (5b82612)

13.1.1 (2023-09-26)

Bug Fixes

13.1.0 (2023-09-25)

Features

  • Adding handling for multiple identitySource headers in the REST API. (#1675) (6fceed3)

13.0.0 (2023-09-21)

⚠ BREAKING CHANGES

  • remove unsupported runtimes
  • remove node.js v16 support, remove node-fetch
  • remove node.js v14 support

Bug Fixes

  • InvocationsControllor: typo in error message (49d94f2)
  • support authorizer with no identity source specified (#1639) (43aaa2e)

chore

  • remove node.js v14 support (03e2745)
  • remove unsupported runtimes (d2d92fe)

Maintenance Improvements

  • bup eslint-plugin-unicorn, fix linting (c93dd98)
  • re-activate unicorn/no-array-push-push (69a1261)
  • re-activate unicorn/no-useless-promise-resolve-reject (3b88aa0)
  • re-activate unicorn/prefer-number-properties (46391f1)
  • re-activate unicorn/prefer-ternary (4606829)
  • remove node.js v16 support, remove node-fetch (8dbcfa6)
  • remove Object.hasOwn polyfill (8ea15b5)

12.0.4 (2023-01-04)

Maintenance Improvements

12.0.3 (2022-12-17)

Maintenance Improvements

12.0.2 (2022-12-12)

Bug Fixes

Maintenance Improvements

  • alb: remove unused last request options (cc5064c)
  • order nit (5fe57af)

12.0.1 (2022-12-07)

Bug Fixes

12.0.0 (2022-12-03)

Features

Maintenance Improvements

  • dont return result of resolver function (d0cba92)
  • use named import (6be0a1b)
  • use nullish coalescing (9404173)

11.6.0 (2022-11-26)

Features

  • request authorizers with null identitySource should return 401 (#1618) (48c5a18)

11.5.0 (2022-11-18)

Features

11.4.0 (2022-11-17)

Features

  • Add support for request authorizers to have a querystring identity source (#1610) (8d83e44)

11.3.0 (2022-11-08)

Features

11.2.3 (2022-11-01)

Bug Fixes

  • prevent overwriting host.docker.internal in wsl (#1605) (c7f6f6d)

Maintenance Improvements

  • call now from Date namespace (5342bec)
  • use Date.prototype.getTime instead of valueOf (0fdfff7)

11.2.2 (2022-10-31)

Bug Fixes

  • path access with trailing slash (#1606) (73b95bc)
  • remove redundant and faulty condition in hapi path generation (e756be6)

11.2.1 (2022-10-27)

Maintenance Improvements

  • remove default get method from fetch (8f40327)
  • replace aws-sdk lambda client with more lightweight @aws-sdk scoped package (1a482ad)
  • use array destructuring (97de51b)
  • use Array.prototype.map to iterate layers (6fc9e90)
  • use destructuring (414cf4a)

11.2.0 (2022-10-27)

Features

Bug Fixes

  • logging for unhandled exceptions in handler (#1604) (43dfea4)

11.1.3 (2022-10-18)

Maintenance Improvements

  • create http server (132dd7f)
  • remove typeof operator for undefined checks (312d4f0)
  • split get events for http and httpApi (51a30e9)

11.1.2 (2022-10-13)

11.1.1 (2022-10-10)

Bug Fixes

  • await cleanup in timer (f5b8c68)
  • empty complete pool on cleanup (3377e7a)
  • free memory, empty lambda function pool (b03cf79)

Maintenance Improvements

  • await cleanup, then empty map (f00383e)
  • use async function (d03194f)

11.1.0 (2022-10-09)

Features

  • remove noStripTrailingSlashInUrl option (71ee21d)

Maintenance Improvements

  • remove stripTrailingSlash from hapi config (22fd667)

11.0.3 (2022-10-06)

Bug Fixes

  • memory leak with lambda timeout (c9c8c14)

11.0.2 (2022-10-05)

Bug Fixes

11.0.1 (2022-10-01)

Bug Fixes

Performance Improvements

  • create api keys only when needed (again) (d614fc8)

11.0.0 (2022-09-29)

⚠ BREAKING CHANGES

  • remove apiKey option (#1585)
  • remove disableScheduledEvents option (#1582)

Bug Fixes

10.3.2 (2022-09-27)

Performance Improvements

  • create api keys set only when needed (a6df83a)

Maintenance Improvements

  • private endpoint with api keys (8638635)
  • private endpoint with api keys, Part 2 (9d57872)

10.3.1 (2022-09-27)

Bug Fixes

10.3.0 (2022-09-25)

Features

  • deprecate disableScheduledEvents option (e7ad109)

Bug Fixes

  • --disableCookieValidation flag throws error (7ebcc65)
  • set cookies to undefined (bf7fed6)

Maintenance Improvements

  • move private http event condition to http class (a2d3438)

10.2.1 (2022-09-23)

Bug Fixes

  • usage identifier key condition (c0b8d75)

Maintenance Improvements

10.2.0 (2022-09-22)

Features

Maintenance Improvements

  • http server instantation for websockets (4c7a034)
  • use node:fs/promises (b1a6121)
  • use optional chaining (0000ba7)
  • websocket server instantation (2843e86)
  • websocket servers instantiation (4788e04)

10.1.0 (2022-09-18)

Features

Performance Improvements

  • remove contributors from package.json (0b9f007)

10.0.2 (2022-09-11)

Performance Improvements

  • create instance in worker thread helper module scope (53a799e)

10.0.1 (2022-09-10)

Bug Fixes

  • await promise (335993e)
  • Support multiple of same query string for LambdaProxyIntegrationEventV2 (#1525) (7416c1c)

10.0.0 (2022-09-03)

⚠ BREAKING CHANGES

  • remove hide stack traces option
  • rename option to terminate lambda time
  • remove child process option (#1545)
  • remove print output option (#1559)

Features

Bug Fixes

  • add node.js v16 to unsupported docker runtimes (6ab3928)
  • remove child process option (#1545) (db395dd)
  • remove hide stack traces option (1820771)
  • remove print output option (#1559) (9f31825)

Maintenance Improvements

  • rename option to terminate lambda time (3b9e45f)
  • unsupported docker runtimes (c4a53d9)

9.3.1 (2022-09-01)

Bug Fixes

Maintenance Improvements

  • remove unsupported dotnet, dotnet core runtimes (b967b37)
  • rename time to millis (c1158b2)
  • simplify ruby runner (10e7e82)

9.3.0 (2022-08-28)

Features

  • add timeout feature, hookup noTimeout option (#1551) (0896acc)

Bug Fixes

Maintenance Improvements

9.2.6 (2022-08-21)

Bug Fixes

  • add handler exception logging (06d348d)
  • Log uncaught exceptions in worker thread handlers (#1544) (498ce29)

Maintenance Improvements

  • move child process deprecation to the end for more visibility (310a535)
  • rename variables (26f61a4)
  • simplify return (04d0ae0)

9.2.5 (2022-08-18)

Bug Fixes

  • lambda integration returning object with body (#1547) (b053f57)

9.2.4 (2022-08-18)

Bug Fixes

Maintenance Improvements

  • destructuring order nit (b44cf07)
  • fix color name, import from utils (ef17e31)
  • move colors to config (2cd3180)
  • move colors to separate file (6a32f29)

9.2.3 (2022-08-17)

Bug Fixes

  • [ERR_MISSING_ARGS]: The "message" argument must be specified when using --useChildProcesses (#1385) (91ae1e1)

Maintenance Improvements

  • path.resolve parameter (733dcdf)
  • path.resolve parameter, Part 2 (48ee32f)
  • remove default parameter (b657cbf)
  • use function statements (d213921)

9.2.2 (2022-08-16)

Bug Fixes

9.2.1 (2022-08-15)

Bug Fixes

Maintenance Improvements

  • make handler process private (df0c474)
  • pass function options (c1f3c1b)

9.2.0 (2022-08-11)

Features

Maintenance Improvements

  • in-process constructor (12ab4c9)
  • move splitHandlerPathAndName call to runners (690325b)
  • use named import (77f71cc)

9.1.7 (2022-08-08)

Bug Fixes

  • https protocol option default value (57f7d87)

Maintenance Improvements

  • declare fields, remove from constructor (0e82819)
  • declare fields, remove from constructor, part 2 (364ef2c)
  • https protocol ternary consistency (2b2a8fa)
  • load certs private method (33e4e01)
  • use conditional spread (5dfe577)

9.1.6 (2022-08-05)

Bug Fixes

9.1.5 (2022-08-04)

Bug Fixes

9.1.4 (2022-08-03)

Bug Fixes

  • make @serverless/utils a direct dependency (83a4885)

9.1.3 (2022-08-02)

Bug Fixes

  • change protectedRoutes type from array to string (38debc6)
  • remove unused parameter (7cd4a5a)

Maintenance Improvements

  • move create hapi handler into separate function (45454af)
  • move http server setup to separate function (6f03251)
  • move register plugins to create server (5e101a6)
  • nit (739273d)
  • remove corsAllowCredentials from default options (26a9567)
  • replace arrow functions (5e3e3d8)
  • use fs/promises (7019d28)

9.1.2 (2022-07-31)

Bug Fixes

  • Prevent logging undefined for event schedule (#1520) (3042bc2)
  • remove unsupported stageVariables (4648d39)

Maintenance Improvements

  • make more payload identifier private static (07ec960)
  • make payload identifier private static (7d4bf76)
  • simplify, remove else condition (df77e14)
  • use Object.hasOwn (ec1210a)
  • use PAYLOAD_IDENTIFIER (d6eb227)
  • use prototype.includes (50679e1)

9.1.1 (2022-07-30)

Bug Fixes

  • default lambda timeout (ad217e2)
  • round getRemainingTimeInMillis to nearest integer (2106504)
  • use Math.floor() (f6145d9)
  • worker-runner timout option (#1515) (3437822)

Maintenance Improvements

9.1.0 (2022-07-27)

Features

  • add local environment variables flag (#1513) (4de5620)
  • copy all AWS_xxx environment variables from local (c6d5546)
  • rename localEnvironmentVariables flag to localEnvironment (b041577)

Bug Fixes

  • change default lambda runtime to nodejs14.x (1ad9fbd)
  • Cleanly exit node process (#1508) (ff9d0b5)
  • env property is always a string (a226d63)
  • remove duplicate env.IS_OFFLINE variable (b7f7072)
  • remove replay (d325837)

Maintenance Improvements

  • make handler private field (fbdb162)
  • move _HANDLER to aws env vars (3c92cd4)
  • remove #getEnv (f6f40fd)
  • remove resolve joins in provider envs (e459110)

9.0.0 (2022-07-18)

⚠ BREAKING CHANGES

  • use node: protocol imports (#1435)
  • use fs/promises (#1432)
  • remove serverless v1 support
  • remove node.js v12 support, add v18 (#1424)

Features

  • add 'configValidationMode: error' option (8de4008)
  • add 'configValidationMode: error' option, Part 2 (3610786)
  • add 'configValidationMode: error' option, Part 3 (6f3e66b)
  • add 'configValidationMode: error' option, Part 4 (b7e73f2)
  • add 'configValidationMode: error' option, Part 5 (39d37cb)
  • add new runtimes (#1464) (3ae08c4)
  • add object.hasown shim (ea0aebf)
  • add package.json exports field (2c263d0)
  • add reload handler flag (f662dc5)
  • bump esm-only deps (#1456) (5faa4d1)
  • display memory leak warning for in-process handlers (2192a5f)
  • remove babel, use esm (#1455) (1f4d836)
  • remove even more serverless v2 logging (677d1b1)
  • remove more serverless v2 logging (6b101aa)
  • remove serverless v2 logging (404093c)
  • support serverless v3 (#1444) (1e9445e)

Bug Fixes

ci

Maintenance Improvements

8.8.1 (2022-07-09)

Maintenance Improvements

8.8.0 (2022-05-17)

Features

Bug Fixes

Maintenance Improvements

8.7.0 (2022-04-13)

8.6.0 (2022-04-13)

8.5.0 (2022-02-18)

Features

Bug Fixes

8.4.0 (2022-01-28)

Features

Bug Fixes

  • Handle custom authorizer 401 in non in-process runners (#1319) (8d61bde)
  • Support httpApi payload override on function level (#1312) (8db63dd)

8.3.1 (2021-11-25)

Bug Fixes

  • Fix handling of modern logs (Cannot read properties of undefined (reading 'notice') error)