Skip to content

Releases: chadkluck/npm-chadkluck-cache-data

v1.0.39 X-Ray and Chai 5.x tests

07 May 03:17
Compare
Choose a tag to compare

3 of 3 new features added in April are now fully functional and documented. See documentation for AWS X-Ray and AWS Parameters and Secrets Lambda Extension.

The experimental feature tools.hashThisData() from v1.0.33 is still experimental and undocumented.

  • Feature: Added AWS XRay to HTTP, SSM, S3, and DynamoDb requests. Add Lambda environment variable CacheData_AWSXRayOn and set to true to enable. Check the X-Ray traces using CloudWatch.
  • Feature: Added a switch for experimental tools.hashThisData(). Passing the useToolsHash: true property during Cache.init() will use the provided tools.hashThisData() function rather than the current hash object package. By default, it is false, and the current hash object function is used.
  • Documentation: Added documentation for both X-Ray and CachedParameterSecret
  • Chore: Updated tests so it would work with chai 5.x

v1.0.38 Added experimental Parameters and Secrets functionality to work with AWS Extension

29 Apr 21:21
Compare
Choose a tag to compare

This release has an experimental Classes to provide an option to use the AWS Parameters and Secrets Lambda Extension to access and cache AWS SSM Parameters and Secrets Manager secrets.

Documentation of use will come at a later date after the update proves stable.

v1.0.37 Bug fix for issue #109

18 Apr 18:32
Compare
Choose a tag to compare
v1.0.37b

updating version for release

v1.0.37 Bug fix for issue #109

18 Apr 18:20
Compare
Choose a tag to compare
fix: #109 Write to DynamoDb failed for id_hash Special numeric value …

…NaN is not allowed

v1.0.36 Same as v1.0.34 - Fixing GitHub actions issue

17 Apr 02:50
Compare
Choose a tag to compare

v1.0.35 Same as v1.0.34 but updated GitHub actions

17 Apr 02:44
Compare
Choose a tag to compare

v1.0.34 Dependency bumps, security fix, beta hashThisData function

17 Apr 02:32
Compare
Choose a tag to compare

A few dependency bumps, Chai is pinned to 4.x for testing since Chai must use "import" modules rather than "require" in Node.js.

tools.DebugAndLog outputs to the console.x functions got a security update to better sanitize messages sent from code.

tools.hashThisData('SHA256', data) was added for beta. It is a possible replacement for the object-hash dependency. The new function is lightweight and does precisely what is needed to create an ID for cached objects. It is not in use yet but is available for testing. In the future, it could be used as an alternative to object-hash if you prefer to limit your dependencies.

v1.0.33 More AWS SDK goodness

18 Sep 22:52
Compare
Choose a tag to compare

See CHANGELOG, but added additional methods for accessing the DynamoDb document client in either AWS SDK v2 or v3.

v1.0.32 AWS SDK v3 and Lambda Node v18

18 Sep 00:20
Compare
Choose a tag to compare

Lambda Node v18 and AWS SDK v3 is here!

Cache-Data will automatically detect the Lambda Node environment and use either AWS SDK v2 or v3. (Lambda running Node 16.x uses AWS SDK v2 and Lambda running on 18.x uses AWS SDK v3)

v1.0.31

14 Sep 17:17
Compare
Choose a tag to compare
1.0.31