@adonis-agora/durable 0.15.1 → 0.15.2
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 +21 -0
- package/dist/src/dashboard/index.d.ts +1 -1
- package/dist/src/dashboard/index.js +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @adonis-agora/durable
|
|
2
2
|
|
|
3
|
+
## 0.15.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#21](https://github.com/DavideCarvalho/adonis-durable/pull/21) [`68386e7`](https://github.com/DavideCarvalho/adonis-durable/commit/68386e722742fe95f6d852e442dd62760a8eb8e9) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Make `bullmq` an optional peer dependency instead of a hard dependency.
|
|
8
|
+
|
|
9
|
+
0.15 added `bullmq` as a hard `dependency`. Because `bullmq` pins an EXACT `ioredis`
|
|
10
|
+
(e.g. `ioredis@5.11.1`), every app installing durable got a SECOND ioredis copy in its tree —
|
|
11
|
+
including apps that only use `transports.queue()`/`db`/`eventEmitter` and never touch the bullmq
|
|
12
|
+
transport. With two ioredis copies present, `@boringnode/queue`'s `redis()` adapter factory checks
|
|
13
|
+
`connection instanceof Redis` against its own ioredis copy; the live connection `@adonisjs/redis`
|
|
14
|
+
handed it was built by the OTHER copy, so the check is false, the factory falls through to
|
|
15
|
+
`new Redis({ host: 'localhost', port: 6379 })`, and the app hangs at boot in an
|
|
16
|
+
`ECONNREFUSED 127.0.0.1:6379` retry loop instead of reusing the configured Redis.
|
|
17
|
+
|
|
18
|
+
`bullmq` is now an optional peer dependency, loaded lazily (via a non-literal specifier) only inside
|
|
19
|
+
`createBullMQDeps`, the code path behind `transports.bullmq()`. Apps that do not select the bullmq
|
|
20
|
+
transport no longer install bullmq, no longer gain the duplicate ioredis, and no longer hit the
|
|
21
|
+
`instanceof` mismatch. Apps that DO use `transports.bullmq()` should add `bullmq` to their own
|
|
22
|
+
dependencies (the optional peer makes this explicit).
|
|
23
|
+
|
|
3
24
|
## 0.15.1
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Keep in sync with this package's `version` in package.json. */
|
|
2
|
-
export declare const VERSION = "0.15.
|
|
2
|
+
export declare const VERSION = "0.15.2";
|
|
3
3
|
export { defineConfig, defaultAuthorize, resolveConfig } from './define_config.js';
|
|
4
4
|
export type { AuthorizeHook, DurableDashboardConfig, ResolvedDurableDashboardConfig, } from './define_config.js';
|
|
5
5
|
export { listRuns, getRun, retryRun, redispatchPendingRun, cancelRun, health, ok, } from './handlers.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Keep in sync with this package's `version` in package.json. */
|
|
2
|
-
export const VERSION = '0.15.
|
|
2
|
+
export const VERSION = '0.15.2';
|
|
3
3
|
export { defineConfig, defaultAuthorize, resolveConfig } from './define_config.js';
|
|
4
4
|
export { listRuns, getRun, retryRun, redispatchPendingRun, cancelRun, health, ok, } from './handlers.js';
|
|
5
5
|
export { renderDashboard } from './html.js';
|
package/dist/src/index.d.ts
CHANGED
package/dist/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Keep in sync with this package's `version` in package.json. */
|
|
2
|
-
export const VERSION = '0.15.
|
|
2
|
+
export const VERSION = '0.15.2';
|
|
3
3
|
// --- engine + core primitives -----------------------------------------------
|
|
4
4
|
export * from './admission.js';
|
|
5
5
|
export * from './control-flow-signal.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonis-agora/durable",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Durable cross-app workflows for AdonisJS — deterministic replay engine, AdonisJS binding, ace commands, dashboard, OpenTelemetry, Telescope, testing harness and Redis admission, all in one package. Part of the Agora ecosystem.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -106,7 +106,6 @@
|
|
|
106
106
|
],
|
|
107
107
|
"sideEffects": false,
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"bullmq": "^5.0.0",
|
|
110
109
|
"zod": "^3.23.0"
|
|
111
110
|
},
|
|
112
111
|
"peerDependencies": {
|
|
@@ -116,6 +115,7 @@
|
|
|
116
115
|
"@adonisjs/queue": "^0.6.0",
|
|
117
116
|
"@adonisjs/redis": "^9.2.0",
|
|
118
117
|
"@opentelemetry/api": "^1.0.0",
|
|
118
|
+
"bullmq": "^5.0.0",
|
|
119
119
|
"cron-parser": "^4.0.0 || ^5.0.0",
|
|
120
120
|
"ioredis": "^5.0.0",
|
|
121
121
|
"vitest": "^3.0.0"
|
|
@@ -124,6 +124,9 @@
|
|
|
124
124
|
"@adonisjs/assembler": {
|
|
125
125
|
"optional": true
|
|
126
126
|
},
|
|
127
|
+
"bullmq": {
|
|
128
|
+
"optional": true
|
|
129
|
+
},
|
|
127
130
|
"@adonisjs/lucid": {
|
|
128
131
|
"optional": true
|
|
129
132
|
},
|
|
@@ -157,6 +160,7 @@
|
|
|
157
160
|
"@opentelemetry/sdk-trace-base": "^1.30.0",
|
|
158
161
|
"@types/node": "^20.0.0",
|
|
159
162
|
"better-sqlite3": "^11.0.0",
|
|
163
|
+
"bullmq": "^5.0.0",
|
|
160
164
|
"cron-parser": "^4.9.0",
|
|
161
165
|
"ioredis": "^5.4.0",
|
|
162
166
|
"typescript": "^5.4.0",
|