Skip to content

v5.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Jul 15:58
· 17 commits to main since this release

5.0.0 (2026-07-10)

  • feat(client)!: bring your own Redis client; zero runtime dependencies (5c44602)

Bug Fixes

  • correct ESM type resolution and typed client acceptance (a9439ec)
  • harden client resolution, cache semantics, and invalidation lifecycles (aabfda0)
  • maintenance: match key-generator casing in patterns and comparisons (b6f4caf)

Features

  • auto: invalidateOnWrite purges a model's auto-cache after writes (2b6a89f)
  • diagnostics: fail fast when the server lacks RedisJSON (5827e22)

BREAKING CHANGES

  • the client option accepts client instances only.
    Replace client: {host, port} or client: 'redis://...' with
    client: new Redis({host, port}) (npm i iovalkey or ioredis), an
    @upstash/redis instance, or a custom RedisApi implementation. See
    docs/MIGRATION.md.