Skip to content

5.1.0 — 2026-09-05

← 5.2.0 | 5.0.7 → | ↑ 5.x series

Changed

Adapters - Redis

  • Native FakeAsyncRedis Mock - AsyncRedisMock now uses fakeredis FakeAsyncRedis instead of wrapping sync FakeRedis with AsyncMock.
    • Async commands, pub/sub, and pipelines work through the real async client API
    • CLUSTER mode uses FakeAsyncRedisClusterWrapper with the same cluster helpers as the sync mock
    • Sync and async mocks share a FakeServer across write, read, and search clients
    • Both mocks respect DECODE_RESPONSES from config

Tests

Tests - Integration

  • Flaky Scenario Stabilization - Aligned assertions with implementation and waited for eventual visibility in integration steps.
    • Atomic updates sleep 1s before writing updated_at so database timestamps differ
    • Error-handling steps patch logger.error instead of logger.exception
    • Redis KNN and hybrid search poll until RediSearch indexes a recent write

Tests - Redis

  • Async Mock Pub/Sub and Pipeline - Added mock rows to async subscribe and pipeline scenario outlines.
    • Async pub/sub channels are unique per adapter_type so mock and container runs do not collide

Chore

Chore - Agent Rules

  • Cursor Agent Guidance - Strengthened workspace rules so agents follow one owner per topic instead of conflicting summaries.
    • Added rules-index.mdc plus canonical models-errors.mdc, helpers-configs.mdc, security.mdc, and contributing.mdc
    • Resolved adapter, lazy-import, and boundary-exception policy into adapter-conventions.mdc
    • Expanded BDD seam/red-green guidance in testing-bdd.mdc; slimmed AGENTS.md to commands and a rule index
    • Changelog writes are opt-in: skip Cursor rules, AGENTS.md, chores, tests-only, and non-consumer docs unless the user asks

Dependencies

  • Lockfile - Regenerated uv.lock to the latest compatible versions.
    • boto3 / botocore / boto3-stubs: 1.43.831.43.89
    • cachetools: 7.1.77.1.8
    • protobuf: 7.36.07.36.1
    • psycopg: 3.3.43.3.5
    • alembic: 1.19.11.19.2
    • anyio: 4.14.24.15.0
    • lxml: 6.1.26.1.3
  • Dev / docs - Updated development and typing stubs.
    • ruff: 0.16.50.16.6
    • ty: 0.0.760.0.78
    • types-regex: 2026.8.31.202608312026.9.3.20260903
    • mkdocstrings-python: 2.0.72.0.8