Skip to content

Releases: barchart/common-node-js

v3.27.0

15 Jan 19:54

Choose a tag to compare

New Features

  • The LamdbaHelper now writes all output from the AWS SDK to log4js at the DEBUG level using the aws-sdk category name.

v3.25.0

06 Jan 13:14

Choose a tag to compare

New Features

  • Added list_append operator to the UpdateOperatorType.

v3.24.0

05 Jan 00:07

Choose a tag to compare

Technical Enhancements

  • Explicit upgrade for some dependencies (e.g. uuid).
  • Added .npmignore file, excluding unnecessary content from published packages.

v3.23.0

21 Dec 17:12

Choose a tag to compare

New Features

  • The configuration of a Postgres ClientProvider can now be accessed publicly.

v3.22.0

10 Dec 11:37

Choose a tag to compare

New Features

  • Added PushNotificationProvider to register a device and send push notifications.

v3.21.0

07 Dec 18:40

Choose a tag to compare

New Features

  • Adjusted LambdaResponseGenerator to work with Buffer response in addition to String.

v3.20.0

01 Dec 23:12

Choose a tag to compare

New Features

  • Added the LambdaMessageValidator to validate individual messages passed to a Lambda Function.
  • Added the LambdaEventValidator which delegate its work to one or more LambdaMessageValidator instances.
  • The LambdaResponder was refactored, allowing it to delegate the formulation of a final response to LambdaResponseGenerator strategies.
  • Added LambdaResponseGeneratorGzip which compresses response data between 1 MB and 50 MB in size.
  • Added LambdaResponseGeneratorS3 which writes very large responses to S3, then sends an HTTP 303 (See Other) response pointed at the newly written S3 object.

Other

  • The LambdaValidator class is deprecated and will be removed in the next major release. Use the LambdaEventValidator class instead.
  • The LambdaEventValidator class inherits the LambdaValidator class for backwards compatibility. In the next major release, LambdaEventValidator will not have a super class.

v3.16.0

07 Sep 12:34

Choose a tag to compare

New Features

  • Added support of transactWriteItems for DynamoProvider and TableContainer instances. Usage is limited to work only with Update operations.

Bug Fixes

  • Fixed bug when ReturnValueType.NONE caused DynamoProvider to throw an error.

v3.14.0

08 Jul 14:27

Choose a tag to compare

  • When a FailureReason is returned to the LambdaHelper the FailureReason is searched for an HTTP error code (instead of always using 500).