v1.3.0
What's New
Valkey & DragonflyDB Stores
ValkeyStore— First-class support for Valkey, the open-source Redis fork by the Linux FoundationDragonflyStore— First-class support for DragonflyDB, a high-performance Redis-compatible in-memory store- Both available at
@joint-ops/hitlimit/stores/valkey,@joint-ops/hitlimit/stores/dragonfly(and Bun equivalents) - Zero new logic — both wrap the battle-tested
RedisStoreLua pipeline via ioredis
Bug Fixes
- Fixed
bun buildoutput paths — Added--root=./srcflag so dist files output todist/stores/instead ofdist/src/stores/ - Fixed hono-rate-limiter Redis benchmarks — Competitor benchmarks were missing the
store:option, defaulting to in-memory (~139K ops/sec) instead of actual Redis I/O (~6.3K ops/sec)
Documentation
- Dedicated docs pages for Valkey and DragonflyDB stores
- Updated comparison, scaling, production guides, and API reference
- SEO and LLM reference files updated
Infrastructure
- Docker services for Valkey (port 6380) and DragonflyDB (port 6381)
- Benchmark harnesses for all frameworks × both new stores
- Full v1.3.0 benchmark results (34 result files)
Bundle Size
No impact on core bundle — index.js unchanged at ~8KB (Node) / ~18KB (Bun). New stores are tree-shakeable separate entry points.
Install
# Node.js
npm install @joint-ops/hitlimit@1.3.0
# Bun
bun add @joint-ops/hitlimit-bun@1.3.0Quick Start
import { createLimiter } from '@joint-ops/hitlimit'
import { valkeyStore } from '@joint-ops/hitlimit/stores/valkey'
const limiter = createLimiter({
store: valkeyStore({ url: 'redis://localhost:6379' }),
windowMs: 60_000,
limit: 100,
})Contributors
Full Changelog: v1.2.0...v1.3.0