← Back to Changelog

v0.13.0

Release

v0.13.0 — 2026-07-16

Adds the @qified/valkey provider and makes Redis/Valkey task claims atomic with fencing tokens.

Features

  • add the @qified/valkey provider — Valkey pub/sub + a reliable task queue on the iovalkey client, 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/redis and @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 SUBSCRIBE fails, prevent a throwing handler from raising an unhandled rejection, and unref() per-task timers (0a594fa, #205)
  • Redis/Valkey: harden task claim, extend, and message parsing against malformed input (bddcf8b, #205)

Internal

  • upgrade redis 6.0.06.1.0 in @qified/redis (d73e014, #210)
  • upgrade hookified 3.0.03.0.1 across all providers (b460fee, #209)
  • pin .nvmrc to Node 24.18.0 and align @types/node to ^24.13.3 (c89aefb, #212)
  • raise root engines.node floor to ^22.19.0 to match the docula→undici toolchain (15761a8, #211)
  • upgrade docula 2.0.02.2.0 (6806ab5, #208)
  • upgrade tsx4.23.0 and tsdown0.22.4 (89e0fec, #207)
  • upgrade @biomejs/biome2.5.3, vitest + @vitest/coverage-v84.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