Releases: barchart/common-node-js
Releases · barchart/common-node-js
v3.27.0
New Features
- The
LamdbaHelpernow writes all output from the AWS SDK to log4js at theDEBUGlevel using theaws-sdkcategory name.
v3.25.0
New Features
- Added
list_appendoperator to theUpdateOperatorType.
v3.24.0
Technical Enhancements
- Explicit upgrade for some dependencies (e.g. uuid).
- Added
.npmignorefile, excluding unnecessary content from published packages.
v3.23.0
New Features
- The configuration of a Postgres
ClientProvidercan now be accessed publicly.
v3.22.0
New Features
- Added
PushNotificationProviderto register a device and send push notifications.
v3.21.0
New Features
- Adjusted
LambdaResponseGeneratorto work withBufferresponse in addition toString.
v3.20.0
New Features
- Added the
LambdaMessageValidatorto validate individual messages passed to a Lambda Function. - Added the
LambdaEventValidatorwhich delegate its work to one or moreLambdaMessageValidatorinstances. - The
LambdaResponderwas refactored, allowing it to delegate the formulation of a final response toLambdaResponseGeneratorstrategies. - Added
LambdaResponseGeneratorGzipwhich compresses response data between 1 MB and 50 MB in size. - Added
LambdaResponseGeneratorS3which writes very large responses to S3, then sends an HTTP 303 (See Other) response pointed at the newly written S3 object.
Other
- The
LambdaValidatorclass is deprecated and will be removed in the next major release. Use theLambdaEventValidatorclass instead. - The
LambdaEventValidatorclass inherits theLambdaValidatorclass for backwards compatibility. In the next major release,LambdaEventValidatorwill not have a super class.
v3.16.0
New Features
- Added support of
transactWriteItemsforDynamoProviderandTableContainerinstances. Usage is limited to work only withUpdateoperations.
Bug Fixes
- Fixed bug when
ReturnValueType.NONEcausedDynamoProviderto throw an error.
v3.14.0
- When a
FailureReasonis returned to theLambdaHelpertheFailureReasonis searched for an HTTP error code (instead of always using 500).