@calebcall/camera-ui-notify 0.5.3 → 0.5.5

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 (3) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/bundle.zip +0 -0
  3. package/package.json +13 -10
package/CHANGELOG.md CHANGED
@@ -5,6 +5,83 @@ All notable changes to **Notify** are documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.5] - 2026-08-01
9
+
10
+ ### Changed
11
+
12
+ - **Go SDK pinned to `v1.2.6`** (from `v1.2.4`) — routine catch-up on two upstream patches. No source
13
+ change required; `go build`, `go test` and the full 8-target bundle all pass untouched.
14
+ - **`@camera.ui/cli` `~0.0.74`** (from `~0.0.73`) — routine. Still writes an `optionalDependencies` block
15
+ into the repo's own `package.json` on every bundle, so the `PUBLISHING.md` guidance from #16 continues
16
+ to apply: discard that hunk, never commit it.
17
+ - **Minimum camera.ui raised to `2.0.24`** (from `2.0.23`) — 2.0.24 carries three host-side fixes that
18
+ directly affect plugin settings: panels getting permanently stuck on "No configuration available" when
19
+ a settings request was superseded, a camera's plugin toggle deleting that plugin's stored per-camera
20
+ settings, and cleared settings becoming `undefined` instead of falling back to their default. The
21
+ plugin wire protocol is unchanged from 2.0.23 (`protocolLevel` is still 1), so this floor is about
22
+ guaranteeing Notify's own configuration behaves, not about protocol compatibility.
23
+ - **`typescript` `7.0.2`** (from `5.9.3`) — moves off the 5.x line onto the native compiler. Safe here
24
+ because npm nests `typescript@5.9.3` under `@camera.ui/cli`'s copy of `ts-import`, which still declares
25
+ `peerDependencies: { typescript: "5" }`; the CLI's `cameraui.config.ts` loader therefore keeps running
26
+ on TS 5 while the repo's own pin moves to 7. Verified: `cui bundle` still bundles and validates the
27
+ contract, and `contract.ts`/`cameraui.config.ts` type-check clean under 7.0.2. Two consequences worth
28
+ knowing: `node_modules` now holds two TypeScript installs, and because TS 7 ships as a native binary
29
+ the lockfile gains 20 optional `@typescript/typescript-<platform>` packages (only the host's own is
30
+ installed). Nothing in the build consumes the root pin — there is no `tsconfig.json` and no `tsc` in
31
+ any script — so it serves ad-hoc type-checking only.
32
+
33
+ ### Fixed
34
+
35
+ - **`package-lock.json` now records the correct version** — it still said `0.5.3` through the 0.5.4
36
+ release because the lockfile was last written before that version bump. Harmless (npm does not publish
37
+ from it) but misleading; regenerated here.
38
+
39
+ ## [0.5.4] - 2026-07-31
40
+
41
+ ### Changed
42
+
43
+ - **Go SDK pinned to `v1.2.4`** (from `v1.1.18`) — this is the SDK half of camera.ui's standalone-sensor
44
+ refactor, released 30 minutes before `server-v2.0.23`. The diff rewrites `camera_device.go`, the whole
45
+ `sensor_*` family, `plugin_contract.go`, `plugin_notifier.go` and `plugin_interfaces.go`, and adds
46
+ `manager_sensor.go` and `observable.go`. Notify required **no source change**: it declares
47
+ `provides: []`/`consumes: []`, owns no cameras, and touches none of the camera-bound sensor
48
+ registration functions the refactor removed. `NotifierInterface`, `Notification` and `NotifierDevice`
49
+ remain compatible, and the detection-event types used by the diagnostics path still resolve.
50
+ - **Minimum camera.ui raised to `2.0.23`** (from `2.0.15`) — `server-v2.0.23` is the release that landed
51
+ the new sensor system and, per its own notes, stops honouring plugins built against the old one. Since
52
+ this version of Notify ships an SDK v1.2.4 binary, a pre-2.0.23 server would be pairing a new plugin
53
+ wire protocol with a host that predates it. The server enforces this floor through
54
+ `checkEngineCompatibility` at install time, so affected users simply stay on 0.5.3 instead of
55
+ installing a build their host can't speak.
56
+ - **`@camera.ui/cli` `~0.0.73`** (from `~0.0.65`) — the CLI now emits one npm package per platform target
57
+ under `bundle/platforms/` and records them as `optionalDependencies` in the published bundle. npm
58
+ installs only the entry matching the host's `os`/`cpu`/`libc` and the server executes that binary in
59
+ place, so nothing depends on an install-time lifecycle script — which npm v12 disables for
60
+ dependencies by default. `cui publish` publishes each platform package before the root one and keeps
61
+ the versions in lockstep. The set of published package names is unchanged, so the Trusted Publishing
62
+ setup in `PUBLISHING.md` still applies as written. Note that `npm run bundle` also writes that block
63
+ into the repo's own `package.json`; it must not be committed (it would break `npm ci`), see #16 and
64
+ the new section in `PUBLISHING.md`.
65
+ - **`@camera.ui/sdk` `~1.2.3`** (from `~0.0.22`) — required, not optional: `@camera.ui/cli@0.0.73`
66
+ itself depends on `@camera.ui/sdk@~1.2.3`. Despite the major-version jump this is a no-op for
67
+ `contract.ts`; `PluginRole.Hub` (`'hub'`) and `PluginInterface.Notifier` (`'Notifier'`) keep their
68
+ identifiers and values, and the contract still type-checks and passes `cui bundle`'s validation.
69
+ - **`@types/node` `^26.1.2`**, **`updates` `^17.20.2`** — routine. `cross-env` and `rimraf` were already
70
+ current.
71
+ - **Transitive Go dependencies refreshed** — `github.com/cameraui/rpc/go` v1.0.7, `klauspost/compress`
72
+ v1.19.1, `nats-io/nkeys` v0.4.16, `golang.org/x/crypto` v0.54.0, `golang.org/x/sys` v0.47.0.
73
+
74
+ ### Notes
75
+
76
+ - **`typescript` stays pinned at `5.9.3`** even though 7.0.2 is published. `@camera.ui/cli` loads
77
+ `cameraui.config.ts` through `ts-import@5.0.0-beta.1`, which declares `peerDependencies:
78
+ { typescript: "5" }`. 5.9.3 is the newest 5.x, so the existing exact pin is already correct and
79
+ deliberate; moving to 6 or 7 would break `cui bundle`.
80
+ - Verified end to end: `go build ./src/...`, `go test ./...` (both packages pass), and `npm run bundle`
81
+ cross-compiling all 8 platform targets with contract validation. `staticcheck` (43 findings) and
82
+ `golangci-lint` (9 findings) return byte-identical counts before and after the upgrade — all
83
+ pre-existing, tracked in #14.
84
+
8
85
  ## [0.5.3] - 2026-07-29
9
86
 
10
87
  ### Changed
package/bundle.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Notify",
3
3
  "name": "@calebcall/camera-ui-notify",
4
- "version": "0.5.3",
4
+ "version": "0.5.5",
5
5
  "description": "A fully-local, multi-backend camera.ui notifier plugin: delivers notifications to ntfy, Gotify, or a generic webhook, entirely on your own hardware with no cloud dependency.",
6
6
  "author": "calebcall (https://github.com/calebcall/camera-ui-notify)",
7
7
  "main": "./main.go",
@@ -25,7 +25,7 @@
25
25
  "url": "https://github.com/calebcall/camera-ui-notify/issues"
26
26
  },
27
27
  "engines": {
28
- "camera.ui": ">=2.0.15",
28
+ "camera.ui": ">=2.0.24",
29
29
  "node": ">=22.0.0"
30
30
  },
31
31
  "homepage": "https://github.com/calebcall/camera-ui-notify/tree/main#readme",
@@ -45,14 +45,17 @@
45
45
  "os": [],
46
46
  "cpu": [],
47
47
  "optionalDependencies": {
48
- "@calebcall/camera-ui-notify-darwin-arm64": "0.5.3",
49
- "@calebcall/camera-ui-notify-darwin-amd64": "0.5.3",
50
- "@calebcall/camera-ui-notify-linux-amd64": "0.5.3",
51
- "@calebcall/camera-ui-notify-linux-arm64": "0.5.3",
52
- "@calebcall/camera-ui-notify-windows-amd64": "0.5.3",
53
- "@calebcall/camera-ui-notify-windows-arm64": "0.5.3",
54
- "@calebcall/camera-ui-notify-linux-amd64-musl": "0.5.3",
55
- "@calebcall/camera-ui-notify-linux-arm64-musl": "0.5.3"
48
+ "@calebcall/camera-ui-notify-darwin-arm64": "0.5.5",
49
+ "@calebcall/camera-ui-notify-darwin-amd64": "0.5.5",
50
+ "@calebcall/camera-ui-notify-linux-amd64": "0.5.5",
51
+ "@calebcall/camera-ui-notify-linux-arm64": "0.5.5",
52
+ "@calebcall/camera-ui-notify-windows-amd64": "0.5.5",
53
+ "@calebcall/camera-ui-notify-windows-arm64": "0.5.5",
54
+ "@calebcall/camera-ui-notify-linux-amd64-musl": "0.5.5",
55
+ "@calebcall/camera-ui-notify-linux-arm64-musl": "0.5.5"
56
+ },
57
+ "cameraui": {
58
+ "protocolLevel": 1
56
59
  },
57
60
  "files": [
58
61
  "bundle.zip",