@63klabs/cache-data 1.2.3 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -1
- package/README.md +52 -1229
- package/SECURITY.md +1 -1
- package/docs/00-example-implementation/README.md +55 -0
- package/docs/00-example-implementation/example-buildspec.yml +15 -0
- package/docs/00-example-implementation/example-config.js +0 -0
- package/docs/00-example-implementation/example-handler.js +0 -0
- package/docs/00-example-implementation/example-template-lambda-function.yml +119 -0
- package/docs/00-example-implementation/example-template-parameters.yml +66 -0
- package/docs/00-example-implementation/example-template-s3-and-dynamodb-cache-store.yml +77 -0
- package/docs/00-example-implementation/generate-put-ssm.py +209 -0
- package/docs/00-example-implementation/template-configuration.json +14 -0
- package/docs/00-quick-start-implementation/README.md +615 -0
- package/docs/01-advanced-implementation-for-web-service/README.md +13 -0
- package/docs/README.md +9 -0
- package/docs/features/README.md +5 -0
- package/docs/features/cache/README.md +3 -0
- package/docs/features/endpoint/README.md +3 -0
- package/docs/features/tools/README.md +341 -0
- package/docs/lambda-optimization/README.md +178 -0
- package/package.json +6 -8
- package/src/lib/dao-cache.js +89 -35
- package/src/lib/tools/DebugAndLog.class.js +2 -2
- package/src/lib/tools/index.js +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Proposed and upcoming changes may be found on [63Klabs/cache-data Issues](https://github.com/63Klabs/cache-data/issues).
|
|
6
|
+
|
|
7
|
+
Report all vulnerabilities under the [Security menu](https://github.com/63Klabs/cache-data/security/advisories) in the Cache-Data GitHub repository.
|
|
8
|
+
|
|
9
|
+
> Note: This project is still in beta. Even though changes are tested and breaking changes are avoided, things may break.
|
|
10
|
+
|
|
11
|
+
## 1.2.6 (2025-07-15)
|
|
12
|
+
|
|
13
|
+
### Enhancements
|
|
14
|
+
|
|
15
|
+
- Added check for `CACHE_DATA_` environment variables during init so they don't need to be set during Cache initialization. (Closes [issue-212](https://github.com/63Klabs/cache-data/issues/212))
|
|
16
|
+
- Cleaner documentation, CloudFormation templates, and code now that defaults and environment variables can be used.
|
|
17
|
+
|
|
18
|
+
### Fixes
|
|
19
|
+
|
|
20
|
+
- Addressed deprecation warnings (handled by Amazon Q Developer):
|
|
21
|
+
- Eliminated Warnings:
|
|
22
|
+
- @extra-number/significant-digits@1.3.9 - REMOVED by eliminating lambda-tester
|
|
23
|
+
- uuid@3.4.0 (2 instances) - REMOVED by eliminating lambda-tester
|
|
24
|
+
- Remaining Warnings (unavoidable):
|
|
25
|
+
- lodash.get@4.4.2 - From sinon dependency (external package)
|
|
26
|
+
- querystring@0.2.0 - From aws-sdk v2 (required for compatibility)
|
|
27
|
+
|
|
28
|
+
The `querystring` warning will be addressed when aws-sdk v2 compatibility is removed from cache-data. (Required for Node <18 which is no longer available as a Lambda runtime.) Opened [issue-213](https://github.com/63Klabs/cache-data/issues/213)
|
|
29
|
+
|
|
30
|
+
### AI Usage Note
|
|
31
|
+
|
|
32
|
+
Amazon Q Developer was used to generate tests to ensure backward compatibility, no breaking changes were introduced, and enhancements work as expected. It was used for some additional code generation and reviewed by a human for accuracy.
|
|
33
|
+
|
|
34
|
+
## 1.2.5 (2025-06-23)
|
|
35
|
+
|
|
36
|
+
- Updated suggested Lambda environment variables to uppercase: `CACHE_DATA_`
|
|
37
|
+
- Added check for environment variable `DEPLOY_ENVIRONMENT` among current list of variables checked to determine environment.
|
|
6
38
|
|
|
7
39
|
## 1.1.6 (2025-05-05) Moving to @63Klabs
|
|
8
40
|
|