All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- CHANGELOG to "make it easier for users and contributors to see precisely what notable changes have been made between each release". Linked to from README
- LICENSE to be more explicit about what was defined in
package.json
. Linked to from README - It is OK to not set default value for AWS Credentials so AWS can use Roles and internally set AWS credentials
- Added
context.json
so it can easily be overwritten - Allow using a custom (and passed through)
event.json
file - Added
package
command for easy zip creation and inspection - Added
VpcConfig
support, see this PR for more information - Updated the AWS API version used to
2015-03-31
- Make sure we throw errors on unrecoverable failures so other programs can listen on that
- Added support for nodejs4.3 runtime (introducted to AWS Apr 7 2016)
- Added support for
post install scripts
, thispost_install.sh
file will be triggered afternpm install --production
in case you want to run any code on your application before zipping - Added
-x
/--excludeGlobs
to allow custom file exclusion - Excluding
*.swp
,deploy.env
by default now
- Resolved a problem with excludes not being set #91
- Resolved a problem with the package command and a custom config file #90
- Allow
use strict
#86 - Updated the
env.example
file to set the default (and by AWS recommended) runtime tonodejs4.3
#84
- Allow checking on
process.env.environment
to context switch #95
- Added
EXCLUDE_GLOBS
topackage
, so your local ZIPs are the same as the ZIPs uploaded to AWS Lambda #104
- Added extra quotes around the parsed environment #106
- Extremely verbose NPM installs could crash node-lambda's buffer #108
- Added
prebuiltDirectory
flag for users that want to use an already generated directory #116
- README was lying about how to use
excludeGlobs
#111
- Added
-L
to rsync to allow copying of symlinks #126 - Added travisci support for node 6 #129
- Support to use package.json description for AWS description #133
- Inject environment variables via config file for the
run
command #136
- rsync should not exclude node_modules when using --prebuiltDirectory. #122
- Set environment variables before requiring module #137
- Typo fix publish when updating existing function #138
- Support AWS_PROFILE and de-duped a few CLI options #144
wrench
was deprecated and has been replaced byfs-extra
#146
- The above mentioned fix for issue #127 exposed a commander bug, reverted the change
- Do not exclude package.json, even when specified in excludeGlobs #141
- We are now passing the environment string to the post install script #154
- Using path.join instead of hardcoded slashes #173
- Drop node-uuid from package.json #174
- Enforce max for timeout and update README docs #180
- Fill default VpcConfig to prevent errors #183
- Added getRemainingTimeInMillis() to the context when running locally. #179
- Adding support for lambda environment variables #181
- Event source mapping support #189
- Fix version of Node.js supported by AWS Lambda #197
- How about it if you have the option to specify the zip file? #199
- Add 'Runtime' to the params of lambda.updateFunctionConfiguration #200
- Fix unit test failure at travis #198
- Added DeadLetterConfig parameter #206
- Fix default value of EVENT_SOURCE_FILE set '' #205
- Removed event_sources.json #204
- Add -S, --eventSourceFile option. #203
- Add tests for
_readArchive
#213 - Add tests for event_sources.json #214
- Add tests for DeadLetterConfig #215
- Add
_readArchive
tests called in_archive
#216 - modify badge from png to svg #227
- ScheduleEvents #228
- Bugfix InvalidParameterValueException is given when createFunction #209
- Clean unnecessary
else
#217 - Refactor
_eventSourceList
#218 - Clean deploy function #220
- Fix default value of params.Environment.Variables is null #221
- Fix to use authenticated
aws
object in main.js #225 - Changed the format of
event_sources.json
#226
- Fix use fs object #236
- Upgrade lodash #237
- Add file copy function without rsync command #238
- Add node.js 7 to
travis.yml
#239 - Set http timeout to 30 mins. #240
- Supported
TracingConfig
#243 - Fix to using
path
object #249 - Allow use of docker container for npm install #251
- Bugfix
_filecopy
exclude #253 - Fix to replace
_rsync
with_fileCopy
#254 - Custom ScheduleEvent rule description #257
- Add test
functionName
pattern #263 - Added
- cwd
option tonpm install
command #265
- Add an overview of
event_sources.json
#230 - Cleanup of
main.js run
#231 - Fix results outputs #233
- Bugfix for backward compatible objects #234
- Fix after process of tests #235
- Fix to be the same specification as
--exclude
of rsync command (about function which is an alternative to rsync command) #244 - Fix to avoid
commander
bug #247 - Fix
fs.exists
deprecated #250 - Fix using
assert.include
#252 - Fix not doing anything if
event_sources.json
is not specified #256 - Fix using
path
#258 - Fix tests for windows #259
- Add Command Prompt to README #266
- Fix indexjs current style #268
- Fixed typo - Labmda => Lambda #269
- Fix not to create
.env
sample file with_buildAndArchive
#270
- Fix to include only
package.json
in the source directory #274 - Fix os: deprecate 'tmpDir()' in favour of 'tmpdir()' https://github.c… #275
- Upgraded
aws-sdk
#277 - Unified in Camel Case & Remove unnecessary arguments #278
- Remove function
_nativeZip
#279 - Add known issue for duplicate trigger to ScheduleEvents section #280
- Feature simple callbackWaitsForEmptyEventLoop support #284
- Fix to use test handler by stopping replace processing of existing index.js #285
- Fix to use '===' instead of '==' (Including similar modifications) #287
- Replaced
rimraf
withfs.remove
#291 - Refactored: JavaScript Standard Style #292
- Refactored and add test #294
- Refactored, improved error handling #295
- Remove semicolon (Automatic update with
standard --fix
) #298 - Adopted "JavaScript Standard Style" as coding style #299
- Replace async.js in
_updateScheduleEvents
with Promise #302 - Modify from
exec
toexecFile
with_npmInstall
#303 - Automated NPM deploys (on tags) #304
- Add package-lock.json #305
- Added
_updateEventSources
test and refactoring #308 - Added test of function to upload Zip to Lambda #309
- Fix timing to check Runtime #310
- Feature event accept array #311
- Modify to use isArray #312
- Modify execution of multiple events to synchronous processing #313
- Fix to make
bin/node-lambda
conform to JavaScript Standard Style #315 - Replace asyncjs of
_updateEventSources
with Promise #316 - Replace async.js of deploy with Promise #319
- Modified the function used in
deploy
to return Promise #320 - Modify main process of deploy to another function #323
- Fix to use Proxy #324
- Remove the cleaning process after the test #281
- Fix run handler callback #282
- Remove 'os' #286
- Fix not specifying file name with test in package.json #289
- Update phase as it is necessary to separate release phase (.travis.yml) #306
- Refactoring and unnecessary package removal #307
- Modify
var
of global variable toconst
#317 - Remove Hoek #318
- Improve deploy process with Promise #327
- Refactoring
_cleanDirectory
#330 - Refactoring
_npmInstall
#331 - Replace callback with Promise #332
- Upgrade commander.js #334
- Refactoring
_fileCopy
#336 - Add simple context method #337
- Refactoring
_archive
#338 - Refactoring
_listEventSourceMappings
#339 - Replace
var
withconst
#341 - Replace with arrow function #342
- Modify file used for test #326
- Update package-lock.json #328
- Remove
_rsync
#329 - Bugfixed that mode of file changes when zip is created #335
- Fix to deprecated the
configFile
option in thepacakage
command #344
- Fix to set boolean in params.Publish #346
- Fix symlink at zip #348
- Remove configFile Option of package command in README #350
- Remove configFile option in package command #351
- Uprade chai #352
- Add the ability to set KMSKeyArn to a Lambda function #356
- Add appveyor.yml#357
- Add function for setting CloudWatchLogs RetentionPolicy #359
- Switch ScheduleEvents to class syntax #360
- Add
_setLogsRetentionPolicy
tolib/main.js
#361 - Change
lib/main.js
to class syntax #362 - Use stable node, at npm release. #370
- Add option to disable run multiple #372
- Update repository url #358
- Fix deploy command exit code #366
- Add invalidation of log output to make the test result easier to read #367
- Fix commandline version option #368
- Change: Ensure dotenv.load called before AWS load #369
- Update README with latest output for 'node-lambda run -h' #373
- Update Usage of README #374
- Move node-zip to devDependencies #378
- Added the ability to set constants when scheduling a Lambda function Cloudwatch event #380
- Update CI's Node.js to LTS and latest version #386
- Update packages #392
- Added class to set S3 events #393
- Add updateS3Events to main #394
- Refactoring lib/schedule_events.js #395
- Set docker run working directory so npm install works #381
- Change short option of
--tracingConfig
to-c
#385 - Fix to use Proxy when run locally #389
- Refactoring lib/main.js #398
- Remove unnecessary
return this
for constructor #399 - Remove unnecessary try-cache #401
- Add event_sources.json to setup message #402
- Modify using template literals #403
- Remove unnecessary promise chain #404
- Local/Cloud flag #405
- AWS X-Ray SDK Support #414
- Upgrade
standard
#416 - Added support for using custom endpoints like localstack #417
- NodeJS 8.10 runtime now available #419
- remove env var value from commanderjs flag definition #409
- Implemente to specify bucket name of S3 #458
- Implement deployment using S3 (Create a bucket for each region.) #455
- Add class for uploading deploy package to S3 #454
- Fix to throw an error except ResourceNotFoundException #452
- Feature upload to s3 and deploy from bucket #446
- npm update #445
- Upgrade dependent packages #441
- Add simple test of
_deployToRegion()
anddeploy()
#439 - Remove unnecessary package load in
test/main.js
#438 - Add cache of
node modules
to CI setting #436 - Modify
require
to{ }
statement #435 - Fix to use
includes
instead ofindexOf
#433 - Remove test code for Node.js4 #432
- Upgrade
fs-extra
#431 - Stop supporting Node.js 4 #430
- Fix using
klaw
instead offs.walk
#424 - Add Node.js10 to CI setting #428
- Fix StatementId #451
- Bugfix of initialValue of recude in s3events #447
- Added handling to catch and log error return from async lambda #443
- Log result of an async handler method by resolving promise if a promise #440
- Fix to display return value of handler #427
- Fix to set array when same bucket #423
- Drop nodejs4.3 #469
- Update maximum timeout value from 300 to 900 #465
- Modify to follow the rules of the new 'standard' #463
- Add 'osx' to CI os #464
- Update CI test to LTS version #462
- Upgrade
archiver
#460
- Fix value of StartingPosition #467