Skip to content

Latest commit

 

History

History
351 lines (305 loc) · 23.6 KB

CHANGELOG.md

File metadata and controls

351 lines (305 loc) · 23.6 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

[Unreleased]

[0.8.0] - 2016-04-18

Added

  • 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, this post_install.sh file will be triggered after npm 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

[0.8.1] - 2016-04-22

Bugfixes

  • 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 to nodejs4.3 #84

[0.8.2] - 2016-05-12

Bugfixes

  • Verify env vars before creating sample files #99
  • Fix AWS_PUBLIS typo #102

Added

  • Allow checking on process.env.environment to context switch #95

[0.8.3] - 2016-05-12

Bugfixes

  • Added EXCLUDE_GLOBS to package, so your local ZIPs are the same as the ZIPs uploaded to AWS Lambda #104

[0.8.4] - 2016-05-20

Bugfixes

  • Added extra quotes around the parsed environment #106

[0.8.5] - 2016-05-27

Adjustment

  • Extremely verbose NPM installs could crash node-lambda's buffer #108

[0.8.6] - 2016-06-28

Feature

  • Added prebuiltDirectory flag for users that want to use an already generated directory #116

Bugfixes

  • README was lying about how to use excludeGlobs #111

[0.8.7] - 2016-08-16

Features

  • 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

Bugfixes

  • 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

[0.8.8] - 2016-09-02

Features

  • Support AWS_PROFILE and de-duped a few CLI options #144
  • wrench was deprecated and has been replaced by fs-extra #146

Bugs

  • Displaying node-lambda -h returned an error #127
  • NPM overwrites $TMPDIR #134

[0.8.9] - 2016-09-06

Bugs

  • 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

[0.8.10] - 2016-09-20

Features

  • We are now passing the environment string to the post install script #154

[0.8.11] - 2016-10-28

Bugfixes

  • Restore lambda version functionality #156
  • Namespaced packages fail to deploy #157

[0.8.12] - 2017-02-10

Bugfixes

  • 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

Features

  • Added getRemainingTimeInMillis() to the context when running locally. #179
  • Adding support for lambda environment variables #181

[0.8.13] - 2017-02-12

Bugfixes

  • Fixed wrong runtime call #188
  • Docker support #186
  • Make default excludes apply to root only #185

[0.8.14] - 2017-03-27

Features

  • 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

Bugfixes

  • Fix unit test failure at travis #198

[0.8.15] - 2017-03-28

Features

  • Added DeadLetterConfig parameter #206

Bugfixes

  • Fix default value of EVENT_SOURCE_FILE set '' #205
  • Removed event_sources.json #204
  • Add -S, --eventSourceFile option. #203

[0.9.0] - 2017-04-13

Features

  • 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

Bugfixes

  • 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

[0.10.0] - 2017-05-10

Features

  • 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 to npm install command #265

Bugfixes

  • 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

[0.11.0] - 2017-06-16

Features

  • 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 with fs.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 to execFile 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

Bugfixes

  • 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 to const #317
  • Remove Hoek #318

[0.11.1] - 2017-07-04

Features

  • 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 with const #341
  • Replace with arrow function #342

Bugfixes

  • 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

[0.11.2] - 2017-07-05

Features

  • Fix to deprecated the configFile option in the pacakage command #344

Bugfixes

  • Fix to set boolean in params.Publish #346

[0.11.3] - 2017-07-07

Features

  • Fix symlink at zip #348

[0.11.4] - 2017-09-22

Features

  • 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 to lib/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

Bugfixes

  • 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

[0.11.5] - 2017-12-11

Features

  • 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

Bugfixes

  • 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

[0.11.6] - 2018-01-07

Features

  • 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

[0.11.7] - 2018-04-12

Features

  • 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

Bugfixes

  • remove env var value from commanderjs flag definition #409

[0.12.0] - 2018-08-10

Features

  • 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() and deploy() #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 of indexOf #433
  • Remove test code for Node.js4 #432
  • Upgrade fs-extra #431
  • Stop supporting Node.js 4 #430
  • Fix using klaw instead of fs.walk #424
  • Add Node.js10 to CI setting #428

Bugfixes

  • 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

[0.13.0] - 2018-11-15

Features

  • 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

Bugfixes

  • Fix value of StartingPosition #467