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