@leejpsd/nextjs-cache-handler 0.1.0-rc.1 → 0.1.0
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 +29 -0
- package/README.md +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,35 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.1.0] - 2026-05-10
|
|
10
|
+
|
|
11
|
+
First stable release. Promoted from `0.1.0-rc.1` after a 24-hour live-traffic
|
|
12
|
+
soak on AWS ECS Fargate (multi-instance, ElastiCache Redis): 0 errors, 0
|
|
13
|
+
entry leaks, Redis ping stable at 2ms, namespace isolation confirmed in
|
|
14
|
+
runtime cache key shapes.
|
|
15
|
+
|
|
16
|
+
### Verified during dogfood
|
|
17
|
+
|
|
18
|
+
- Library wrapper modules require'd successfully on every staging task
|
|
19
|
+
(CloudWatch `[lib-incremental]` / `[lib-cache-components]` startup
|
|
20
|
+
signals)
|
|
21
|
+
- Cache entries written with `BUILD_NAMESPACE` prefix
|
|
22
|
+
(`next-cache:entry:<sha>:...`) — confirms deployment isolation
|
|
23
|
+
- `revalidateAccepted: 1` round-trip latency 193ms across the ALB; Server
|
|
24
|
+
Action `revalidateTag` propagates without errors
|
|
25
|
+
- Static chunks resolve 200 across both `/dashboard` and `/experiments`
|
|
26
|
+
routes — the static-chunk-404 incident remediation is live
|
|
27
|
+
|
|
28
|
+
### Pre-1.0 caveats
|
|
29
|
+
|
|
30
|
+
- Released under 0.1.x — APIs may receive small adjustments before 1.0
|
|
31
|
+
- Single-flight refresh lock is bundled (`refresh-tag-lock.lua`) but the
|
|
32
|
+
handler-side wiring lands in v0.2
|
|
33
|
+
- Provenance attestation is disabled for the local-publish flow; v0.2
|
|
34
|
+
will switch to GitHub Actions OIDC publish
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
9
38
|
### Added — `cacheHandlers` (plural) for `'use cache'`
|
|
10
39
|
|
|
11
40
|
- `createCacheComponentsHandler(opts)` factory implementing the full
|
package/README.md
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
# @leejpsd/nextjs-cache-handler
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@leejpsd/nextjs-cache-handler)
|
|
4
|
+
[](./LICENSE)
|
|
5
|
+
|
|
6
|
+
> **Stable `v0.1.0`** — install with
|
|
7
|
+
> `npm install @leejpsd/nextjs-cache-handler`. Production-validated against
|
|
8
|
+
> AWS ECS Fargate with multi-instance Redis (24h live-traffic soak: 0
|
|
9
|
+
> errors, 0 leaks, 2ms Redis ping, namespace isolation working).
|
|
5
10
|
|
|
6
11
|
The Redis cache handler for **Next.js 16** that ships **both** `cacheHandler`
|
|
7
12
|
(ISR / Pages Router) **and** `cacheHandlers` (`'use cache'` directive,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leejpsd/nextjs-cache-handler",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "The only Redis cache handler for Next.js 16 that ships both cacheHandler (ISR) and cacheHandlers ('use cache') — production-validated for multi-instance deployments where @fortedigital lists 'Help needed'.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"next",
|