Repository navigation
Release v0.3.0
Breaking Changes
useTLSreplaced bytls:useTLS: booleanis removed. Usetls?: tls.ConnectionOptionsinstead, enabling full TLS config passthrough to Node.jstls.connect().
Highlights
Smaller - Net 343 lines removed across 133 source files. Shortened error messages, extracted shared builders. Bundle < 29 KB.
Faster - Benchmarked at 100K iterations x 10K concurrency. Up to 2.0x throughput vs ioredis (e.g. GET Buffer at 167K ops/s).
Harder - Sealed edge-cases across parser, requester, connection, and pub/sub for production-grade resilience.
What's New
| Category | Details |
|---|---|
| Resilience | Configurable maxBulkStringLength, maxReadyCheckRetries to prevent infinite loops, per-request timeout rejection without tearing down the connection, automatic fault recovery on parser errors |
| RESP3 | Preserve 0 as valid Map key, return BigInt for integers exceeding MAX_SAFE_INTEGER, strict boolean byte validation, ACL GETUSER Map parsing |
| PubSub | Clear stale subscriptions on reconnect, subscription getters return ReadonlySet with explicit clear methods |
| Security | Mask password in URI getter, auto-sanitize AUTH/HELLO credentials in debug logs |
| DX | New reconnected event, DeepRequired frozen options typing, deep-merge for partial option overrides |
| Bundle Pipeline | Automated bundle size comparison scripts (bundle, bundle:graph, bundle:update) |
| Website | Full redesign with badge-first layout, Mermaid architecture diagrams, refreshed benchmarks |
Migration
- const client = createSolidisClient({ useTLS: true });
+ const client = createSolidisClient({ tls: { rejectUnauthorized: true } });