- Fix regression: support for NodeJS>=8
- Fix regression: old events in --watch
- Bug fix: ESM path on Windows
- Downgrade commander-js
- Support API gateway in --watch
- Support ECMAScript (thanks tdanecker #230)
- Support Lambda streaming (thanks Skn0tt #229)
- Update dependencies
- Fix
callbackWaitsForEmptyEventLoop
on recent NodeJS versions (>=16) (#217) - Support clientContext as an object (#223)
- Remove useless warning (#224)
- Update dependencies
- correctly mirror lambda's behaviour when synchronously returning (thanks Snk0tt)
- Update dependencies
- Fix
memoryLimitInMB
being wrongly parsed as int - Update dependencies
- BREAKING CHANGE: removed aws-sdk dependency. This allows to make
lambda-local
significantly smaller - Drop Node 8 & Bump depencies
- Minor CLI fixes
- Move CI from Travis to Github
- Fix crash when an Error is raised with no stack (#GH202)
- Add --version and
lambdaLocal.version
support - Improve logging of the --watch option
- Bump dependencies & minor build improvements
- Bump dependencies. No API changes
- Add --watch parameter
- Bump dependencies
- Add support for
_HANDLER
- Update environment variables computation & consistency with context
- Migrate to TypeScript (#191)
- Security updates (update dependencies that had vulnerabilities: mocha).
- Pick up AWS profile from env
AWS_PROFILE
orAWS_DEFAULT_PROFILE
(thanks to @illusori)
- Documentation changes. No API changes
- Update for Winston 3
- Refactor console output manager
- Better handling of TimeoutError: now passed to context as other exceptions
- Improved Makefile (thanks to @joechrysler)
- Drop NodeJS < 6, therefore update all dependencies
- New: ability to specify the context manualy (thanks to Nathan Wright)
- New: Implement proper callbackWaitsForEmptyLoop
- Fix ARN context environment vars (thanks to @bar-sc)
- Better outputs management (circular outputs)
- NodeJS >= 10 proper detection
- Timeout message fix (thanks to @ribizli)
- Make context an object
- Support multi-threading & nested calls
- Context is regenerated on each run (e.g. awsRequestId will change)
- Read default AWS config files
- Improve absolute/relative path finding
- Handle syntax error in handlers
- Support async functions (thanks to @hoegertn)
- Fix region detection
- Add --envdestroy option to restore the environment after testing.
- Support builtin Error object handling
- More examples & better README
- Better environment variables managing
- Fix lambda ending rules (context.done/fail/succeed)
- Timeout fix
- Better context management
- Add execution time log
- Several token fixes
- New log system, using a verbose level
- Bug fixes
- Added promise support
- Better JSON parse error handling for environment variables
- Fixed critical bug
- Added support for environment variables
- Fixed critical bug (logger)
- Added mock functionality
- Dropped Node.js v0.1, v0.12 suport
- The default behavior of lambda-local now does not forcefully call the callback function (
-c
option). - Added AWS region option
-r
. Defaults tous-east-1
. - Added AWS profile name option
-p
.
- lambda-local can now be imported as a node module, and be executed from other node.js programs
- Support for Node.js 4.3.2 runtime
- Added feature to import AWS profile from commandline option
- Added necessary environment variables
- Fixed package.json information for npm
-
Added support for all properties in the Context object. Supporting everything in here: https://docs.aws.amazon.com/en_us/lambda/latest/dg/nodejs-prog-model-context.html
-
Wrote a mocha unit test for the Context object.
- Minor bug fix: Now correctly outputs the error object when Context.done() has an error.
- Added support for
fail
andsucceed
methods
- First release