All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
9.2.0 (2022-08-11)
- in-process constructor (12ab4c9)
- move splitHandlerPathAndName call to runners (690325b)
- use named import (77f71cc)
9.1.7 (2022-08-08)
- https protocol option default value (57f7d87)
- 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)
- event.resource in catch-all route gets + changed to * (#1524) (0494fdb)
- tls options (#1529) (c76939d)
9.1.5 (2022-08-04)
9.1.4 (2022-08-03)
- make @serverless/utils a direct dependency (83a4885)
9.1.3 (2022-08-02)
- 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)
- Prevent logging
undefined
for event schedule (#1520) (3042bc2) - remove unsupported stageVariables (4648d39)
- 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)
- default lambda timeout (ad217e2)
- round getRemainingTimeInMillis to nearest integer (2106504)
- use Math.floor() (f6145d9)
- worker-runner timout option (#1515) (3437822)
- nit (6d82e3e)
- replace execaSync with execa (promise) (#1518) (7fe54c5)
- use object shorthand for getRemainingTimeInMillis (a9078df)
- use try/finally (58698fa)
9.1.0 (2022-07-27)
- add local environment variables flag (#1513) (4de5620)
- copy all AWS_xxx environment variables from local (c6d5546)
- rename localEnvironmentVariables flag to localEnvironment (b041577)
- 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)
- 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)
- use node: protocol imports (#1435)
- use fs/promises (#1432)
- remove serverless v1 support
- remove node.js v12 support, add v18 (#1424)
- 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)
- __dirname in esm (0cdf1b9)
- add strict directive (5d88bc4)
- await promise (d01d3e3)
- aws-sdk import (43ed77e)
- cleanup (#1457) (4e29466)
- cli option message (9e31eb3)
- console.log (d85bb15)
- don't require context (#1471) (#1472) (aaccf96)
- example plugin path (da60c98)
- execa import (a2c599a)
- getter/setter map (e56b190)
- Increase invocation payload limit to 6 mb (0e13c8b)
- package.json files (79ffb5e)
- remove allow cache option (78fec17)
- remove catch binding (#1459) (653aa5c)
- remove NODE_ENV=test condition (#1499) (2eec40a)
- remove ruby v2.5 support (ca85e7e)
- serverless-offline v8.6 and later unloads all modules when running on Windows, breaking plugins (#1461) (#1462) (af441b2)
- stringify websocket data (4b0f110)
- websocket imports (eae5400)
- conditionally install node-fetch globally vs. node.js v18+ (0f2c313)
- don't return from constructor (cf101bd)
- export internals (37ff876)
- fix function name (52e5f98)
- import log from @serverless/utils package (63c7b43)
- make cleanupFunctions private (bb77350)
- make method private (7fa36af)
- nit (5180b25)
- re-use path.resolve kimport (732d374)
- reduce try/catch block (850ae3e)
- remove p-map module (6d4b1af)
- remove readfile function (c417198)
- remove serverless compat check (21779ff)
- remove update-notifier (861ad84)
- remove var (5f84931)
- replace cuid module with built-in crypto.randomUUID (2cf6b41)
- replace printBlankLine (b82028f)
- simplify (2943120)
- simplify (ac63c36)
- simplify condition (acdf1b9)
- use a lot more Object.entries (85361a5)
- use async fs/promises (#1458) (ae855ef)
- use async unlink (#1480) (2fccc87)
- use destructuring (f8c6533)
- use even more Object.entries (76582e0)
- use fs/promises (#1432) (f744897)
- use fs/promises (#1445) (969b37c)
- use function statements, move into module scope (4dc34c5)
- use more Object.entries (c1552e4)
- use named import (669ebc6)
- use node: protocol import (e44182b)
- use node: protocol imports (#1435) (397e703)
- use Object.entries (b864a35)
- use Object.entries (257524c)
- use object.entries (#1446) (7b25196)
- use Object.entries/.fromEntries (18c2b41)
- use private methods (#1423) (a332dbf)
- use private methods (#1425) (f04e57c)
- use way more Object.entries (86c5280)
- use worker threads by default, remove flag, introduce in-process flag (80091fb)
- websockets: use async/await (4377f45)
8.8.1 (2022-07-09)
- remove update-notifier (fbcd41e)
8.8.0 (2022-05-17)
- lowercase API gateway V2 event headers (#1288) (9ff4cf3)
- remove (now) useless worker thread support check (#1406) (1b2ae00)
- remove babel-eslint (17adeb5)
- remove engine check (#1407) (58b2199)
- remove unneeded deps (95e1fe5)
- solve merge issues (99a2578)
- temporary revert nested modules (#1419) (f4317e4)
- import from namespace (#1405) (ed9d6cd)
- import process explicit (#1418) (8893c67)
- prettify docs (2ee5b1e)
- remove extend module, replace with Object.assign (#1417) (90d5169)
8.7.0 (2022-04-13)
- Validate authorizer context response to better mimic API Gateway
- Add support for the AUTHORIZER env variable for LambdaIntegration
8.6.0 (2022-04-13)
- POC for externally triggering cleanup of lambda functions
- Fixing AWS env vars
- Ensure gateway IP is truthy before adding to docker args
- update debugging instructions
- Never remove cached node_modules or binary modules
- Handle multiple cookies with the same name in the same way API Gateway does.
8.5.0 (2022-02-18)
- Add
httpEvent.operationId
to the request context (#1325) (e217fcb) (Quenby Mitchell) - Ensure
websocket
parity with API Gateway (#1301) (8f02226) (Christian Nuss) - Introduce header to override authorizer response (#1328) (a5158a4) (ericctsf)
- Support injection of custom authentication strategy (#1314) (febfe77) (tom-stclair)
- Fix payload normalization (#1332) (e9e8169) (Taras Romaniv)
- Skip clearing undefined modules in
InProcessRunner
(#1339) (5026e43) (Kevin Rueter)
8.4.0 (2022-01-28)
go-runner
implementation (#1320) (6bb54fd)--disableScheduledEvents
CLI param support (#1185) (4503567)
- 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)
- Fix handling of modern logs (
Cannot read properties of undefined (reading 'notice')
error)