@adonis-agora/durable 1.0.0-rc.6 → 1.0.0-rc.8
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/assets/spa/assets/index-BvIomPnC.js +16 -0
- package/dist/assets/spa/assets/index-BvIomPnC.js.map +1 -0
- package/dist/assets/spa/assets/index-DTm32ZXh.css +1 -0
- package/dist/assets/spa/index.html +2 -2
- package/dist/src/dashboard/handlers.d.ts.map +1 -1
- package/dist/src/dashboard/handlers.js +6 -3
- package/dist/src/dashboard/handlers.js.map +1 -1
- 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/dist/src/transports/bullmq/bullmq-transport.d.ts.map +1 -1
- package/dist/src/transports/bullmq/bullmq-transport.js +13 -2
- package/dist/src/transports/bullmq/bullmq-transport.js.map +1 -1
- package/dist/src/transports/db.d.ts.map +1 -1
- package/dist/src/transports/db.js +25 -4
- package/dist/src/transports/db.js.map +1 -1
- package/dist/src/transports/queue.d.ts.map +1 -1
- package/dist/src/transports/queue.js +44 -3
- package/dist/src/transports/queue.js.map +1 -1
- package/package.json +2 -2
- package/skills/durable-cluster/SKILL.md +8 -4
- package/dist/assets/spa/assets/index-70hGzOnT.css +0 -1
- package/dist/assets/spa/assets/index-DSdVNM0u.js +0 -16
- package/dist/assets/spa/assets/index-DSdVNM0u.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @adonis-agora/durable
|
|
2
2
|
|
|
3
|
+
## 1.0.0-rc.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#495](https://github.com/DavideCarvalho/adonis-agora-durable/pull/495) [`ac19140`](https://github.com/DavideCarvalho/adonis-agora-durable/commit/ac1914059808a48d239fbb52dd9ce26b1d68e493) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Console fixes found by a smoke test of the 1.0 console:
|
|
8
|
+
|
|
9
|
+
- **Actions work under shield.** Every write the console sends (cancel, retry, update, signal, task, bulk, schedules) carries the `XSRF-TOKEN` cookie back as `x-xsrf-token`, and a write is never redirected silently: a refused request (a redirect, or any non-2xx answer) shows as an error on the page instead of looking like nothing happened.
|
|
10
|
+
- **The `window.__DURABLE_BASE__` / `__DURABLE_API__` overrides are gone.** The provider's JSON config block is the only source; without it the console uses `/durable` and `/durable/api`.
|
|
11
|
+
- **The run detail of a waiting run** carries what the run waits on (`run.waiting`, as list rows do), so "Send update", "Deliver signal" and the task actions show whatever page the list is on, and the header reads `awaiting` (or `suspended` for a run parked on nothing named) instead of `running`.
|
|
12
|
+
- **A `cancelling` run** reads "Cancelling" instead of falling through to "Saga compensated".
|
|
13
|
+
- **The status chips' counts (ALL included)** are recounted with every list refresh.
|
|
14
|
+
- The dashboard package no longer lists a README it does not ship.
|
|
15
|
+
|
|
16
|
+
- [#495](https://github.com/DavideCarvalho/adonis-agora-durable/pull/495) [`ac19140`](https://github.com/DavideCarvalho/adonis-agora-durable/commit/ac1914059808a48d239fbb52dd9ce26b1d68e493) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - **A namespaced engine serves its namespace's steps.** With no `partition`, the db, queue and bullmq transports now consume `<name>@<namespace>` for an engine whose namespace is set (and not `default`), matching what that engine dispatches to and what nestjs-durable's `servingPartition()` does. Before, they consumed the bare `<name>`, so a namespaced engine with no `partition` never ran its own dispatched steps and its runs stayed suspended. An explicit `partition` still wins; `partition: 'default'` keeps serving the bare tokens.
|
|
17
|
+
|
|
18
|
+
## 1.0.0-rc.7
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- [#494](https://github.com/DavideCarvalho/adonis-agora-durable/pull/494) [`ecf801b`](https://github.com/DavideCarvalho/adonis-agora-durable/commit/ecf801bbede4ba7156d2f939797c52e6e59107e5) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - The db and queue transports no longer hand work to a handler that they claimed after shutdown began. A poll already in flight when `stop()`/`close()` was called could claim a row or pop a job that arrived meanwhile and run it while the pod was going away (or after a run-queue consumer's own `stop()` resolved). Every claiming loop now gives back what it claimed once the transport (or the loop) is stopping: the db transport's results, heartbeat, control and message loops (decisions, step events, start-run, run requests and replies, tenant events) and its run queue on a transport stop, and every queue-transport loop (tasks, results, heartbeats, control, run queue and the tenant protocol). The db task loop already did.
|
|
23
|
+
|
|
3
24
|
## 1.0.0-rc.6
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|