@warlock.js/queue 5.15.0 → 5.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to `@warlock.js/queue` are documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
6
6
 
7
+ ## 5.16.0 - 2026-09-18
8
+
9
+ ### Fixed
10
+
11
+ - The failed-jobs dashboard skill sample now includes the connection config and the `authMiddleware` import.
12
+
7
13
  ## 5.15.0 - 2026-09-18
8
14
 
9
15
  ### BREAKING
package/llms-full.txt CHANGED
@@ -160,7 +160,7 @@ import { middleware } from "@warlock.js/core";
160
160
  import { authMiddleware } from "@warlock.js/auth";
161
161
 
162
162
  const queueConfig: QueueConfig = {
163
- // ...
163
+ connection: { host: "127.0.0.1", port: 6379 },
164
164
  dashboard: {
165
165
  enabled: true,
166
166
  path: "/admin/queues", // default
@@ -181,6 +181,7 @@ For mounting outside the config-driven path (a custom server, a non-standard boo
181
181
  ```ts
182
182
  import { getHttpServer } from "@warlock.js/core";
183
183
  import { queueDashboard } from "@warlock.js/queue";
184
+ import { authMiddleware } from "@warlock.js/auth";
184
185
 
185
186
  await queueDashboard(getHttpServer(), {
186
187
  basePath: "/admin/queues",
@@ -260,6 +261,5 @@ await orderShipped.queue(user, { order }, { delay: "10m" }); // delivered in 10
260
261
  - Channel not configured in the worker → fails at once, no retries.
261
262
  - Deliveries run under the job name `warlock.notifications.deliver`.
262
263
 
263
- > **Deprecated:** `queueNotificationDispatcher` from `@warlock.js/queue/notifications` still works this release (it logs a one-time deprecation warning) and is removed next release. Migrate to `bullmqQueue` above — same option names (`queue`, `attempts`, `backoff`).
264
264
 
265
265
 
package/package.json CHANGED
@@ -11,8 +11,8 @@
11
11
  "peerDependencies": {
12
12
  "@bull-board/api": "^9.0.0",
13
13
  "@bull-board/fastify": "^9.0.0",
14
- "@warlock.js/core": "5.15.0",
15
- "@warlock.js/logger": "5.15.0"
14
+ "@warlock.js/core": "5.17.0",
15
+ "@warlock.js/logger": "5.17.0"
16
16
  },
17
17
  "peerDependenciesMeta": {
18
18
  "@bull-board/api": {
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "author": "hassanzohdy",
39
39
  "license": "MIT",
40
- "version": "5.15.0",
40
+ "version": "5.17.0",
41
41
  "main": "./cjs/index.cjs",
42
42
  "module": "./esm/index.mjs",
43
43
  "types": "./esm/index.d.mts",
@@ -34,7 +34,7 @@ import { middleware } from "@warlock.js/core";
34
34
  import { authMiddleware } from "@warlock.js/auth";
35
35
 
36
36
  const queueConfig: QueueConfig = {
37
- // ...
37
+ connection: { host: "127.0.0.1", port: 6379 },
38
38
  dashboard: {
39
39
  enabled: true,
40
40
  path: "/admin/queues", // default
@@ -55,6 +55,7 @@ For mounting outside the config-driven path (a custom server, a non-standard boo
55
55
  ```ts
56
56
  import { getHttpServer } from "@warlock.js/core";
57
57
  import { queueDashboard } from "@warlock.js/queue";
58
+ import { authMiddleware } from "@warlock.js/auth";
58
59
 
59
60
  await queueDashboard(getHttpServer(), {
60
61
  basePath: "/admin/queues",