@adonis-agora/durable 0.39.0 → 0.40.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 +28 -0
- package/dist/assets/spa/assets/index-yJslNGUY.js +16 -0
- package/dist/assets/spa/assets/index-yJslNGUY.js.map +1 -0
- package/dist/assets/spa/index.html +1 -1
- package/dist/src/dashboard/index.d.ts +1 -1
- package/dist/src/dashboard/index.js +1 -1
- package/dist/src/engine.d.ts.map +1 -1
- package/dist/src/engine.js +18 -1
- package/dist/src/engine.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/scheduler.d.ts +7 -9
- package/dist/src/scheduler.d.ts.map +1 -1
- package/dist/src/scheduler.js +5 -9
- package/dist/src/scheduler.js.map +1 -1
- package/package.json +6 -7
- package/dist/assets/spa/assets/index-Db-HnE3R.js +0 -16
- package/dist/assets/spa/assets/index-Db-HnE3R.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @adonis-agora/durable
|
|
2
2
|
|
|
3
|
+
## 0.40.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b62ce42`](https://github.com/DavideCarvalho/adonis-agora-durable/commit/b62ce428e6262cf78f55ac96ef1433a3197c1878) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Require cron-parser 5
|
|
8
|
+
|
|
9
|
+
The optional `cron-parser` peer narrows from `^4.0.0 || ^5.0.0` to `^5.0.0`, and the
|
|
10
|
+
scheduler no longer recognises v4's `parseExpression` entry point — an unsupported major
|
|
11
|
+
now fails at load with a message naming the version it wants, rather than resolving to a
|
|
12
|
+
parser this code no longer drives correctly.
|
|
13
|
+
|
|
14
|
+
Only projects that schedule workflows by cron are affected, and only those still on
|
|
15
|
+
cron-parser 4: install cron-parser 5. Nothing about cron expressions, timezones or fire
|
|
16
|
+
times changes; the scheduler computed identical fires under both majors, which is what
|
|
17
|
+
the compatibility suite asserted before this.
|
|
18
|
+
|
|
19
|
+
## 0.39.1
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- [#168](https://github.com/DavideCarvalho/adonis-agora-durable/pull/168) [`eb7e642`](https://github.com/DavideCarvalho/adonis-agora-durable/commit/eb7e642f0e956b00b0c177d34f30cb5747389f49) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - A failing lease release no longer escapes the turn's `finally`.
|
|
24
|
+
|
|
25
|
+
The `finally` that ends a turn releases the recovery lease — including on the failure path, where the thing that failed the run is frequently the same store the release has to talk to. A step that violates a DB constraint leaves Postgres refusing every further statement on that connection, so the release throws out of the `finally`, and in a turn driven as a background resume that surfaces as an unhandled rejection rather than a failed run.
|
|
26
|
+
|
|
27
|
+
Now swallowed and warned, by the same argument `releaseInflightLocks` already makes: a lease is a lease. It expires, and `recoverIncomplete` re-drives whatever is still held. A lost release costs one lease window of latency; an escaping one costs the diagnosis.
|
|
28
|
+
|
|
29
|
+
Found in an application whose test deliberately violates NOT NULL inside the persist transaction to prove the workflow ends in `error`. Every assertion passed and the suite still exited non-zero, with a lease UPDATE as the only clue.
|
|
30
|
+
|
|
3
31
|
## 0.39.0
|
|
4
32
|
|
|
5
33
|
### Minor Changes
|