v0.13.0
Releasev0.13.0 — 2026-07-16
Adds the @qified/valkey provider and makes Redis/Valkey task claims atomic with fencing tokens.
Features
-
add the
@qified/valkeyprovider — Valkey pub/sub + a reliable task queue on theiovalkeyclient, mirroring@qified/redis(5ceaed2, #205)import { createQified } from "@qified/valkey"; import type { Message } from "qified"; const qified = createQified({ uri: "redis://localhost:6380" }); await qified.subscribe("example-topic", { async handler(message: Message) { console.log(message); }, }); await qified.publish("example-topic", { id: "1", data: "Hello from Valkey!" }); -
atomic task claim with per-delivery fencing tokens for
@qified/redisand@qified/valkey— claim/ack/reject/extend/timeout-recovery are now single Lua scripts, so a worker that lost ownership becomes a no-op and a crash can't strand a task or corrupt a newer delivery. Delivery is at-least-once; handlers should be idempotent (47d3087, #205)
Bug Fixes
- Redis/Valkey: roll back the subscription entry when the initial
SUBSCRIBEfails, prevent a throwing handler from raising an unhandled rejection, andunref()per-task timers (0a594fa, #205) - Redis/Valkey: harden task claim, extend, and message parsing against malformed input (bddcf8b, #205)
Internal
- upgrade
redis6.0.0→6.1.0in@qified/redis(d73e014, #210) - upgrade
hookified3.0.0→3.0.1across all providers (b460fee, #209) - pin
.nvmrcto Node24.18.0and align@types/nodeto^24.13.3(c89aefb, #212) - raise root
engines.nodefloor to^22.19.0to match the docula→undici toolchain (15761a8, #211) - upgrade
docula2.0.0→2.2.0(6806ab5, #208) - upgrade
tsx→4.23.0andtsdown→0.22.4(89e0fec, #207) - upgrade
@biomejs/biome→2.5.3,vitest+@vitest/coverage-v8→4.1.10(661fc4f, #206)
Contributors
- @jaredwray
Full List of Changes
- feat(valkey): add @qified/valkey provider by @jaredwray in #205
- mono - chore: upgrade code quality dependencies by @jaredwray in #206
- mono - chore: upgrade TypeScript build tooling by @jaredwray in #207
- mono - chore: upgrade docula by @jaredwray in #208
- mono - chore: upgrade hookified by @jaredwray in #209
- @qified/redis - chore: upgrade redis by @jaredwray in #210
- mono - chore: raise root engines.node floor to 22.19 by @jaredwray in #211
- mono - chore: pin .nvmrc to Node 24 and align @types/node by @jaredwray in #212
Full diff: https://github.com/jaredwray/qified/compare/v0.12.0...v0.13.0