Release v0.9.0: Node Hono Middleware, Ecosystem Reference Demos, Edge & Core Concurrency Hardening - #54
Merged
Conversation
…ge hardening, and docs
…ngs, and header loss
…d updated changelog
…sarial test suite
…ifecycle resilience
…ins, lock fallback, and disk tombstones
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Release v0.9.0 brings major additions, enterprise reference architectures, and deep adversarial concurrency hardening to TriCache:
1. First-Class Node.js Hono Middleware Adapter (
tricache/hono) (#9, #45)/dev/shm→ L2 Redis).W/"..."), RFC 7232If-None-Match304 Not Modified support, query key normalization, header preservation, non-2xx status response gating.peerDependenciesMeta: { "hono": { "optional": true } }).2. Five Reference Architectures & Documentation Recipes
examples/drizzle-orm/): Fingerprinted SQL queries, bind parameters, SWR, and table tag invalidation.examples/fastify-api/): Global hook + route-levelpreHandlercaching with 304 handling.examples/edge-hono/): Pure Web Standards edge caching with Bloom filter miss protection.examples/nestjs-microservice/):@Cacheable,@CacheEvict, andTriCacheStorefor@nestjs/cache-manager.docs/recipes/prometheus-metrics.md,examples/express-api/): Standard/metricsscraping & Grafana dashboard guide.3. Core Concurrency & Invariant Hardening (Adversarial Systems Audit)
_keyMutationEpochs) abort in-flight SingleFlight and SWR revalidations if the key is mutated or deleted duringfetchFn(), preventing zombie resurrection and data overwrites._pendingDiskDeletestracking guards against deferredsetImmediatedisk unlink races, preventing same-tick read-after-delete disk cache revival.CacheServiceinstances fast-fail immediately withTriCacheError, preventing orphaned Redis connections.awaitInvalidationBackplane): Optional guaranteed delivery mode for mission-critical write paths.4. HTTP Edge & Middleware Resilience
text/event-stream), response-levelCache-Control(no-store,private), HTTP 206 Partial Content caching, and downstream CORS/custom header stripping.package.jsonand improved Windows named pipe IPC discovery.Linked Issues
Closes #9
Closes #26
Closes #27
Closes #28
Closes #29
Test & Build Verification
tsc --noEmit && tsc --noEmit -p tsconfig.test.json).oxlint).