boxlang-express 0.2.17
Released .
app.health()andapp.shutdown(): liveness/readiness endpoints for load balancers and Kubernetes, and a graceful stop that flips readiness to draining, refuses new requests, closes open WebSockets and waits up totimeoutMsfor in-flight requests.SIGTERM/Ctrl-C now run it (shutdownTimeoutMs, default 5s;0restores the old immediate stop).wsIdleTimeoutMs: opt-in drop of WebSocket connections that go silent, with server pings so healthy quiet connections survive. The other half of CVE-2026-81624 (unbounded connection lifetime) alongside 0.2.13's message-size cap.- Shared rate limiting:
boxExpressRateLimit( { cache: "name" } )(orstore:) counts in a BoxLang cache so the limit holds across instances.boxExpressSession( { cache: "name" } )is shorthand for the cache-backed session store. - Graceful fallback: the cache-backed stores now degrade to
per-process memory instead of failing requests when the named cache is
missing or a durable store fails at runtime (logged, and recovering on
its own). Behavior change:
boxExpressCacheStore( "missing" )used to throw on first use; it now falls back with a warning — pass{ fallback: false }for the old behavior. - The server now tracks open WebSocket connections so shutdown can close them. Full suite: 340/340.