Repository navigation
Private Landing v1.1.0
🔐 Cache-Backed Sessions & Hardening
This release adds an optional cache layer for session storage, hardens authentication edge cases, and improves test reliability.
What's New
-
⚡ Cache-Backed Session Service
Optional Valkey/Redis session storage viacreateCachedSessionService(ADR-003), with SQL remaining the default -
🗄️ Worker Cache Bindings
Wrangler configuration updated with cache service bindings -
🤖 Robots Guidance
Added robots.txt to guide crawlers on usage
Bug Fixes
- Password verification — use constant-time combine for digest comparison
- Schema hardening — enforce email max length and password max post-normalization
- Auth error handling — return 500 for non-auth errors instead of leaking context
- Hono JWT types — expose error types for downstream consumers
- Session expiry sync — fix
expiresAtdrift on sliding window renewal - Memory cache client — correct
delcount logic - Default SQL sessions — restore fallback when no cache is configured
Test Reliability
- Per-suite user isolation — integration suites no longer share
user_id=1, eliminating session contention and removing--retry 3 - Valkey client tests — added unit tests for cache client abstraction
Documentation
- ADR-003: cache layer decision record (accepted), deployment/rollback plan, TCP availability clarification
- Cache layer security audit report
- Updated cross-references, contributing guide, and CLAUDE.md for cache onboarding
- Added RFC 9116
security.txt - Added CHANGELOG.md following Keep a Changelog format
Packages (v1.1.0)
@private-landing/core@private-landing/infrastructure@private-landing/schemas@private-landing/types@private-landing/cloudflare-workers
Intended Use
Private Landing is intended for:
- Education & learning around modern authentication systems
- Reference architecture for Cloudflare Workers
- Bootstrapping custom authentication implementations
- Security review and discussion
It is not a turnkey production authentication service.
Stability
Private Landing v1.1.0 extends the stable reference baseline with an optional cache layer.
SQL-backed sessions remain the default; no existing behavior has changed.