Releases: elithrar/workers-hono-rate-limit
Releases · elithrar/workers-hono-rate-limit
v0.5.1
Changelog
-
⚠️ BREAKING: RenamedwasRateLimited()→rateLimitPassed()for clearer semantics (returnstruewhen allowed,falsewhen rate limited) -
⚠️ BREAKING: Requires Hono v4+ (updated peer dependency from*to>=4.0.0) -
RateLimitKeyFuncnow supports async functions returningPromise<string> -
rateLimitPassed()return type corrected toboolean | undefined(undefined when middleware not applied) -
Migrated test suite to
@cloudflare/vitest-pool-workersfor integration testing in the Workers runtime -
Updated all dependencies to latest versions (vitest 3.x, unbuild 3.x, hono 4.x, workers-types)