Skip to content

Latest commit

 

History

History
136 lines (82 loc) · 6.51 KB

CHANGELOG.md

File metadata and controls

136 lines (82 loc) · 6.51 KB

Changelog

All notable changes to this project will be documented in this file.

1.0.39 (2024-05-06)

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

1.0.38 (2024-04-29)

1.0.37 (2024-04-18)

1.0.36 (2024-04-16)

  • Security: Fixed a security recommendation for generating message log strings for tools.DebugAndLog.x
  • Feature: Added an experimental tools.hashThisData() function for possible future replacement of the dependency object-hash when generating cache-ids.
  • Chore: Bump actions/setup-node from 3 to 4 Pull Request #108 Dependabot
  • Chore: Bump chai from 4.3.10 to 5.0.0 Pull Request #107 Dependabot
  • Chore: Reverted chai 5.x back to 4.x and pinned dependency because 5.x doesn't work with node require

1.0.33 (2023-09-18)

Features

  • Added additional variables to tools.AWS including tools.AWS.NODE_VER (see AWS-SDK section in README)
  • Added additional DynamoDb methods:
    • tools.AWS.dynamo.scan
    • tools.AWS.dynamo.delete
    • tools.AWS.dynamo.update
    • tools.AWS.dynamo.sdk.ScanCommand
    • tools.AWS.dynamo.sdk.DeleteCommand
    • tools.AWS.dynamo.sdk.UpdateCommand

1.0.32 (2023-09-17)

AWS-SDK version 3 is now available for use. This also means cache-data may be installed on Lambda functions using Node 18 or later, but is still backwards compatible with Node 16.

This version will not run if the Node version is less than 16. AWS will be deprecating version 16 on Lambda in 2024.

Features

  • Fully implemented AWS-SDK version 3 for Node 18 and above. AWS-SDK version 2 will be used for Node 16. (Below Node 16 not supported).
  • To assist in development using the SDKs, DynamoDB, S3, and SSM Parameter Store SDKs are accessible when tools are imported. tools.AWS.dynamo.sdk. You can also utilize generic put and get functions for these resources that will automatically use the proper SDK (See AWS-SDK section in README).
  • Improved error reporting. Stack traces now logged across all tools.

1.0.25 (2023-09-13)

Fix

Chores

  • Bumped some dependencies up.
  • Switched to AWS-SDK version 3 from version 2

1.0.24 (2023-09-09)

Fix

Chores

1.0.22 (2023-08-23)

Updates

  • Cache data access object: Added additional debug messages for read/write functions in DynamoDb, S3, and General Cache
  • Improved error message logging for read/write functions in DynamoDb, S3, and General Cache

1.0.21 (2023-08-06)

Fix

  • Cleaned up an issue that came up when renaming cache policy profile properties to hostId and pathId.

1.0.20 (2023-08-04)

Updates

  • Bumped package dependencies up for aws-sdk
  • Updated tests to use api.chadkluck.net/echo endpoint instead of labkit.api.63klabs.net (both are maintained by the script's author).
  • defaultExpirationInSeconds and expirationIsOnInterval are now accepted aliases for defaultExpiresInSeconds and expiresIsOnInterval respectively for Connection Cache Profile configuration. Resolves Issue #71

1.0.18 (2023-04-03)

  • Added tools.obfuscate() and tools.sanitize() and now attempts to sanitize objects sent to DebugAndLog. Regular Expression used in the stringified object may be inspected on RegEx101

1.0.17 (2023-02-04)

  • Bumped package dependencies up for aws-sdk and cookiejar

1.0.16 (2022-09-14)

  • Added extra logging information to API errors in tools. Added host and note to the log for better troubleshooting endpoints.

1.0.15 (2022-09-08)

  • Updated dependencies moment-timezone and aws-sdk

1.0.10 (2022-04-13)

  • Added a log entry for a warning if timeout is reached in https get tool.

1.0.9 (2022-04-12)

  • Fixed issue where submitting null header or options to endpoint would fail

1.0.8 (2022-04-12)

1.0.2 (2022-02-12)

  • Initial Release