@unotest/viewer 0.41.0 → 0.43.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
@@ -1,5 +1,72 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.43.0] - 2026-09-27
4
+
5
+ ### Minor Changes
6
+
7
+ - 82d5920: Signing in to a box with one environment opens its viewer straight away
8
+
9
+ A box configured with a single environment used to answer a sign-in with a
10
+ screen holding one option and a button. There was nothing to choose, so the
11
+ screen only stood between you and the viewer behind it.
12
+
13
+ Now that sign-in lands in the viewer. The **Environments** screen still
14
+ appears whenever it has something to say — more than one environment to pick
15
+ from, a box that has not been sent a test suite yet, or a licence in its
16
+ grace period, whose warning lives there.
17
+
18
+ So that skipping the screen does not hide what it carried, the viewer's
19
+ session menu now offers **box pages**: one link back to the box's own
20
+ pages — environments, read tokens, and administration for those who have
21
+ it. It appears when the box tells the viewer where they are, so a viewer
22
+ and a box on different versions simply do without it.
23
+
24
+ ### Patch Changes
25
+
26
+ - 74a1f9d: The viewer finishes writing its run index before it exits
27
+
28
+ On boot, and whenever a run finishes or the environment switches, the viewer
29
+ rebuilds the derived index it serves history from. Those writes are
30
+ deliberately not waited for while the server runs — a history months deep
31
+ must not hold the UI back — but they were not waited for on the way down
32
+ either. Stopping the viewer returned while files were still landing under the
33
+ run directory: a directory the caller believed had been released kept growing
34
+ for a fraction of a second, and anything that removed or archived it right
35
+ after the viewer stopped could fail or capture a half-written index.
36
+
37
+ Shutdown now waits for the index writes that are still in flight, so a
38
+ stopped viewer is a viewer that has finished writing. A rebuild that takes
39
+ longer makes the stop take longer, which is the honest cost of not leaving
40
+ half a file behind.
41
+
42
+ - Updated dependencies [6fc8140]
43
+ - Updated dependencies [4582091]
44
+ - Updated dependencies [dae29a2]
45
+ - @unotest/core@0.43.0
46
+ - @unotest/protocol@0.43.0
47
+ - @unotest/dsl@0.43.0
48
+
49
+ ## [0.42.0] - 2026-09-24
50
+
51
+ ### Minor Changes
52
+
53
+ - c99f849: The viewer on a box has no terminal panel instead of a dead one
54
+
55
+ A box's viewer could never start its docked terminal — the PTY addon is not in
56
+ the box image — yet it showed the panel and the button. A host that cannot give
57
+ the terminal a PTY now says so with `UNOTEST_VIEWER_TERMINAL=off`, and the viewer
58
+ then leaves the terminal out entirely: no panel, no button, no terminal socket,
59
+ for every session. A box sets it for its viewers.
60
+
61
+ Nothing changes locally: the terminal is on by default, and a machine missing
62
+ the addon still reports it when the panel starts.
63
+
64
+ ### Patch Changes
65
+
66
+ - @unotest/core@0.42.0
67
+ - @unotest/dsl@0.42.0
68
+ - @unotest/protocol@0.42.0
69
+
3
70
  ## [0.41.0] - 2026-09-21
4
71
 
5
72
  ### Patch Changes
package/README.md CHANGED
@@ -18,6 +18,12 @@ screenshots and failure artifacts, and a docked terminal.
18
18
 
19
19
  Set `UNOTEST_VIEWER_NO_OPEN=1` to start the server without auto-opening the browser.
20
20
 
21
+ Set `UNOTEST_VIEWER_TERMINAL=off` on a host that cannot give the docked terminal a
22
+ PTY (the native `node-pty` addon is not installed there). The viewer then has no
23
+ terminal at all — no panel, no button, no terminal socket — for every session.
24
+ Unset, the terminal is on, and a machine missing the addon says so when the
25
+ panel starts. A box sets it for its viewers.
26
+
21
27
  ## Ecosystem
22
28
 
23
29
  | Package | Role |