Skip to content

v0.3.1

Choose a tag to compare

@pontusab pontusab released this 26 May 10:12
· 43 commits to main since this release

Patch release rolling up three community PRs plus a dist-hygiene cleanup. No API breakage; safe upgrade from 0.3.0.

Fixed

  • @getworkbench/core QueueManager.getJobsByTimeRange no longer crashes with TypeError: undefined is not an object (evaluating 'job.finishedOn') when BullMQ returns null/undefined entries from queue.getJobs(). This affected the two fallback paths (missing Redis client, and the catch after a failed ZRANGEBYSCORE) and showed up as a 500 on {basePath}/api/metrics under real queue churn with removeOnComplete / removeOnFail. Stale entries are now filtered out before the timestamp comparison. Fixes #5. (Thanks @Stormix, #6.)
  • "Enqueue test job" from the dashboard no longer hits a 400. The frontend payload now matches the API's TestJobRequest shape ({ queueName, jobName, data, opts: { delay } }) instead of { queueName, name, data, delay }. (Thanks @goyalshivansh2805, #4.)
  • Command palette (cmdk menu) now renders correctly in light mode. Tailwind v4's @custom-variant dark is registered in globals.css, and the dialog surface, border, and selected-item state use light-mode-aware colors so highlighted items are visible. (Thanks @NoahGdev, #1.)

Added

  • BullMQ prioritized and waiting-children job states are now surfaced in queue and run filters, job fetching, counts, sidebar summaries, badges, flow nodes, and command palette status indicators. (Thanks @phibr0, #2.)

Changed

  • Job status UI ordering, alongside the prioritized / waiting-children additions above.
  • Every adapter's tsup.config.ts now has clean: true, so stale hashed chunk artifacts no longer linger in dist/ between rebuilds. The @getworkbench/core@0.3.0 tarball shipped one such unreferenced 19 KB .d.ts chunk; 0.3.1 ships a clean dist.

Upgrade

npm i @getworkbench/express@0.3.1   # or fastify / hono / elysia / next / nestjs

Workspace deps (@getworkbench/core) are pinned via workspace:*^0.3.1 automatically.

Published packages

  • @getworkbench/core@0.3.1
  • @getworkbench/express@0.3.1
  • @getworkbench/fastify@0.3.1
  • @getworkbench/hono@0.3.1
  • @getworkbench/elysia@0.3.1
  • @getworkbench/next@0.3.1
  • @getworkbench/nestjs@0.3.1

Full Changelog: v0.3.0...v0.3.1