Skip to content

client: v0.0.2

Choose a tag to compare

@github-actions github-actions released this 12 Jun 20:29
dcaecb4

0.0.2 (2026-06-12)

⚠ BREAKING CHANGES

  • client: RedisConnection constructor now accepts a second options argument. Disconnect is permanent — ClientClosedError is thrown on post-disconnect access.
  • client: createQueueClient(config) is removed. Use new QueueClient(config) instead. QueueClientOptions is removed; the constructor accepts PanqueueConfig (shared config, types inferred) or QueueClientConfig (standalone). QueueClientConfig.queues is removed.
  • migrate to Node-first pnpm workspace (npm + JSR)
  • config: default global concurrency scope
  • worker: Job lifecycle accounting replaces attempts with runs, failures, and stalls.

Features

  • add async dispose support and connection promise caching (60542cd)
  • client: add createQueueClient factory with dual config support (ab97683)
  • client: add typed errors, connection lifecycle hooks, and producer defaults (757d4e0)
  • config: default global concurrency scope (f58c241)
  • implement job enqueue with atomic Lua script (0064fa9)
  • migrate to Node-first pnpm workspace (npm + JSR) (788dd51)
  • worker: introduce definition-based worker pools (a1f3a62)

Bug Fixes

Code Refactoring

  • client: remove createQueueClient, accept PanqueueConfig in constructor (f0e3a8c)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @panqueue/config bumped to 0.0.2
      • @panqueue/core bumped to 0.0.2