@unotest/viewer 0.26.1 → 0.28.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 +75 -0
- package/dist/server/main.js +1 -1
- package/dist/server/session.js +1 -1
- package/dist/web/assets/{DslEditor-CT74_mfE.js → DslEditor-CvL23vIm.js} +2 -2
- package/dist/web/assets/index-B02T9gSK.js +55 -0
- package/dist/web/assets/index-RCE6y6j4.css +32 -0
- package/dist/web/index.html +2 -2
- package/package.json +6 -6
- package/dist/web/assets/index-BLJmmyy1.css +0 -32
- package/dist/web/assets/index-_nO3nPAp.js +0 -55
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,80 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.28.0] - 2026-09-01
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @unotest/core@0.28.0
|
|
8
|
+
- @unotest/dsl@0.28.0
|
|
9
|
+
- @unotest/protocol@0.28.0
|
|
10
|
+
|
|
11
|
+
## [0.27.0] - 2026-08-31
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- The server boots quietly: Nest's per-module / per-route boot log is
|
|
16
|
+
gone from normal runs — the launcher's one useful line is the URL.
|
|
17
|
+
`UNOTEST_DEBUG` brings the full boot map back.
|
|
18
|
+
|
|
19
|
+
- The LOCAL schedule registry now shows the EFFECTIVE merged set too:
|
|
20
|
+
both store flavours read through one `EffectiveSchedulesReader`
|
|
21
|
+
(`schedules --json` across a process boundary), so config-declared
|
|
22
|
+
entries appear locally, stamped `source: "config"` and opened as a
|
|
23
|
+
read-only card ("declared in `unotest.config` — edit it there");
|
|
24
|
+
yaml entries stay editable. A PUT carries only the file half and
|
|
25
|
+
answers with the re-merged whole (`SchedulesView` for both verbs);
|
|
26
|
+
the envelope gains `driftedFromPush` — on a box, true when the set
|
|
27
|
+
read there hashes differently from the fingerprint recorded at push,
|
|
28
|
+
shown as a warning line in Home schedule mode. The local schedule
|
|
29
|
+
mode gets its own caption: "declared here — a box runs what you
|
|
30
|
+
push". Runners without a schedules command fall back to the yaml
|
|
31
|
+
half, unchanged.
|
|
32
|
+
|
|
33
|
+
- The schedule registry on a deployed tree (a box environment) is now
|
|
34
|
+
the EFFECTIVE merged set, read-only. `GET /api/schedules` returns
|
|
35
|
+
`{ schedules, readOnly }`; on a box the entries come from the
|
|
36
|
+
project's own CLI (`schedules --json` via the runner adapter's new
|
|
37
|
+
`schedulesArgs()`), so config-declared schedules are no longer
|
|
38
|
+
invisible in the UI. The Schedule popup becomes a read-only card with
|
|
39
|
+
a provenance note ("declared in the repo — edit there and push"), the
|
|
40
|
+
Home schedule mode shows a matching badge, and `PUT /api/schedules`
|
|
41
|
+
is refused with 403: on a box that write used to land in a disposable
|
|
42
|
+
bundle copy nothing ever re-read. Local viewers are unchanged —
|
|
43
|
+
editing the file is still the workflow there.
|
|
44
|
+
|
|
45
|
+
- c843d21: Schedules from the viewer — for collections and single tests.
|
|
46
|
+
|
|
47
|
+
Right-click a test or a collection in the viewer → **Schedule…**: a
|
|
48
|
+
human schedule builder (frequency select — every 5/15 min, hourly,
|
|
49
|
+
every 2/4/6/12 h, daily, weekly — plus toggle badges for minutes,
|
|
50
|
+
hours and weekdays; multi-select, so `04` + `16` × `00` + `30` runs
|
|
51
|
+
four times a day). Saved to `unotest/schedules.yaml`, versioned next
|
|
52
|
+
to the tests; a box applies it after commit & sync. The Home screen
|
|
53
|
+
gains a `last run | schedule` toggle: in schedule mode tiles are
|
|
54
|
+
tinted by how often a test runs (grey = not scheduled), with an
|
|
55
|
+
upcoming list and per-tile next-run times in your browser's clock.
|
|
56
|
+
|
|
57
|
+
Under the hood:
|
|
58
|
+
|
|
59
|
+
- `unotest/schedules.yaml` is a new schedule registry; `unotest-web
|
|
60
|
+
schedules [--json]` prints it merged with the config's `schedules`
|
|
61
|
+
(the file wins on a duplicate target), so boxes pick both up
|
|
62
|
+
unchanged.
|
|
63
|
+
- A schedule entry may now target a single test: `scenario:
|
|
64
|
+
<ref>` instead of `collection: <name>`.
|
|
65
|
+
- `unotest-web e2e <name> --scheduled[=index]` runs a test the way its
|
|
66
|
+
entry says (env + prepare, exit 94 when prepare fails) — the
|
|
67
|
+
per-test mirror of `collection --scheduled`.
|
|
68
|
+
- Viewer server: `GET/PUT /api/schedules` (validated by the same
|
|
69
|
+
parser the CLI reads the file with).
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- Updated dependencies [c843d21]
|
|
74
|
+
- @unotest/protocol@0.27.0
|
|
75
|
+
- @unotest/core@0.27.0
|
|
76
|
+
- @unotest/dsl@0.27.0
|
|
77
|
+
|
|
3
78
|
## [0.26.1] - 2026-08-30
|
|
4
79
|
|
|
5
80
|
### Patch Changes
|