spinuptui 0.24.1 → 0.24.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +33 -1
  2. package/package.json +7 -3
package/CHANGELOG.md CHANGED
@@ -11,6 +11,36 @@ versions; such changes are called out here.
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [0.24.3] - 2026-08-06
15
+
16
+ ### Fixed
17
+ - **Crash on startup: `Unknown component type: toaster`.** The `0.24.2` pin
18
+ fixed the toast-dismissal crash but exposed a second issue: the toast
19
+ library declares an ancient peer-dependency range on `@opentui/core`/
20
+ `@opentui/react` (`^0.1.63`, predating their current `0.4.x` releases)
21
+ that our pinned version doesn't satisfy. Because that range goes
22
+ unsatisfied, the package manager installed a second, independent nested
23
+ copy of `@opentui/react` under the toast library instead of reusing ours
24
+ — and since the toast library registers its custom `<toaster>` component
25
+ on that nested copy's module-local registry, our app's copy never saw it
26
+ and crashed the first time it tried to render one. Added `overrides` in
27
+ `package.json` to force every dependency in the tree onto the same single
28
+ `@opentui/core`/`@opentui/react` install, closing the gap.
29
+
30
+ ## [0.24.2] - 2026-08-06
31
+
32
+ ### Fixed
33
+ - **Crash on toast dismissal: `remove expects a renderable child object`.**
34
+ `@opentui/core` changed the signature of its internal `remove()` method
35
+ starting at `0.4.3` (it now requires the renderable object itself, not an
36
+ id string), and the toast library we depend on hasn't published a release
37
+ that matches. Our own dependency range (`^0.4.1`) let a fresh install with
38
+ no lockfile — e.g. a global `bun add -g` on a machine that had never
39
+ installed spinuptui before — resolve to a broken later patch and crash the
40
+ first time a toast (PHP upgrade, reboot, cache purge, etc.) tried to
41
+ dismiss itself. `@opentui/core` and `@opentui/react` are now pinned to the
42
+ exact last known-good patch (`0.4.2`) until the toast library ships a fix.
43
+
14
44
  ## [0.24.1] - 2026-08-06
15
45
 
16
46
  ### Fixed
@@ -1250,7 +1280,9 @@ Initial tagged release.
1250
1280
  ### Notes
1251
1281
  - Read-only release: works with a SpinupWP **Read Only** API token.
1252
1282
 
1253
- [Unreleased]: https://github.com/mwender/spinupwp-tui/compare/v0.24.1...HEAD
1283
+ [Unreleased]: https://github.com/mwender/spinupwp-tui/compare/v0.24.3...HEAD
1284
+ [0.24.3]: https://github.com/mwender/spinupwp-tui/compare/v0.24.2...v0.24.3
1285
+ [0.24.2]: https://github.com/mwender/spinupwp-tui/compare/v0.24.1...v0.24.2
1254
1286
  [0.24.1]: https://github.com/mwender/spinupwp-tui/compare/v0.24.0...v0.24.1
1255
1287
  [0.24.0]: https://github.com/mwender/spinupwp-tui/compare/v0.23.0...v0.24.0
1256
1288
  [0.23.0]: https://github.com/mwender/spinupwp-tui/compare/v0.22.3...v0.23.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spinuptui",
3
- "version": "0.24.1",
3
+ "version": "0.24.3",
4
4
  "description": "SpinupTUI — a terminal dashboard for browsing, monitoring, and managing your SpinupWP servers and sites.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -42,8 +42,8 @@
42
42
  "license": "MIT",
43
43
  "dependencies": {
44
44
  "@opentui-ui/toast": "^0.0.5",
45
- "@opentui/core": "^0.4.1",
46
- "@opentui/react": "^0.4.1",
45
+ "@opentui/core": "0.4.2",
46
+ "@opentui/react": "0.4.2",
47
47
  "react": "^19.0.0",
48
48
  "socket.io-client": "^4.8.3"
49
49
  },
@@ -51,5 +51,9 @@
51
51
  "@types/bun": "^1.3.14",
52
52
  "@types/react": "^19.0.0",
53
53
  "typescript": "^5.6.0"
54
+ },
55
+ "overrides": {
56
+ "@opentui/core": "0.4.2",
57
+ "@opentui/react": "0.4.2"
54
58
  }
55
59
  }