@calebcall/camera-ui-notify 0.5.3 → 0.5.4
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 +46 -0
- package/bundle.zip +0 -0
- package/package.json +13 -10
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,52 @@ 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.4] - 2026-07-31
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- **Go SDK pinned to `v1.2.4`** (from `v1.1.18`) — this is the SDK half of camera.ui's standalone-sensor
|
|
13
|
+
refactor, released 30 minutes before `server-v2.0.23`. The diff rewrites `camera_device.go`, the whole
|
|
14
|
+
`sensor_*` family, `plugin_contract.go`, `plugin_notifier.go` and `plugin_interfaces.go`, and adds
|
|
15
|
+
`manager_sensor.go` and `observable.go`. Notify required **no source change**: it declares
|
|
16
|
+
`provides: []`/`consumes: []`, owns no cameras, and touches none of the camera-bound sensor
|
|
17
|
+
registration functions the refactor removed. `NotifierInterface`, `Notification` and `NotifierDevice`
|
|
18
|
+
remain compatible, and the detection-event types used by the diagnostics path still resolve.
|
|
19
|
+
- **Minimum camera.ui raised to `2.0.23`** (from `2.0.15`) — `server-v2.0.23` is the release that landed
|
|
20
|
+
the new sensor system and, per its own notes, stops honouring plugins built against the old one. Since
|
|
21
|
+
this version of Notify ships an SDK v1.2.4 binary, a pre-2.0.23 server would be pairing a new plugin
|
|
22
|
+
wire protocol with a host that predates it. The server enforces this floor through
|
|
23
|
+
`checkEngineCompatibility` at install time, so affected users simply stay on 0.5.3 instead of
|
|
24
|
+
installing a build their host can't speak.
|
|
25
|
+
- **`@camera.ui/cli` `~0.0.73`** (from `~0.0.65`) — the CLI now emits one npm package per platform target
|
|
26
|
+
under `bundle/platforms/` and records them as `optionalDependencies` in the published bundle. npm
|
|
27
|
+
installs only the entry matching the host's `os`/`cpu`/`libc` and the server executes that binary in
|
|
28
|
+
place, so nothing depends on an install-time lifecycle script — which npm v12 disables for
|
|
29
|
+
dependencies by default. `cui publish` publishes each platform package before the root one and keeps
|
|
30
|
+
the versions in lockstep. The set of published package names is unchanged, so the Trusted Publishing
|
|
31
|
+
setup in `PUBLISHING.md` still applies as written. Note that `npm run bundle` also writes that block
|
|
32
|
+
into the repo's own `package.json`; it must not be committed (it would break `npm ci`), see #16 and
|
|
33
|
+
the new section in `PUBLISHING.md`.
|
|
34
|
+
- **`@camera.ui/sdk` `~1.2.3`** (from `~0.0.22`) — required, not optional: `@camera.ui/cli@0.0.73`
|
|
35
|
+
itself depends on `@camera.ui/sdk@~1.2.3`. Despite the major-version jump this is a no-op for
|
|
36
|
+
`contract.ts`; `PluginRole.Hub` (`'hub'`) and `PluginInterface.Notifier` (`'Notifier'`) keep their
|
|
37
|
+
identifiers and values, and the contract still type-checks and passes `cui bundle`'s validation.
|
|
38
|
+
- **`@types/node` `^26.1.2`**, **`updates` `^17.20.2`** — routine. `cross-env` and `rimraf` were already
|
|
39
|
+
current.
|
|
40
|
+
- **Transitive Go dependencies refreshed** — `github.com/cameraui/rpc/go` v1.0.7, `klauspost/compress`
|
|
41
|
+
v1.19.1, `nats-io/nkeys` v0.4.16, `golang.org/x/crypto` v0.54.0, `golang.org/x/sys` v0.47.0.
|
|
42
|
+
|
|
43
|
+
### Notes
|
|
44
|
+
|
|
45
|
+
- **`typescript` stays pinned at `5.9.3`** even though 7.0.2 is published. `@camera.ui/cli` loads
|
|
46
|
+
`cameraui.config.ts` through `ts-import@5.0.0-beta.1`, which declares `peerDependencies:
|
|
47
|
+
{ typescript: "5" }`. 5.9.3 is the newest 5.x, so the existing exact pin is already correct and
|
|
48
|
+
deliberate; moving to 6 or 7 would break `cui bundle`.
|
|
49
|
+
- Verified end to end: `go build ./src/...`, `go test ./...` (both packages pass), and `npm run bundle`
|
|
50
|
+
cross-compiling all 8 platform targets with contract validation. `staticcheck` (43 findings) and
|
|
51
|
+
`golangci-lint` (9 findings) return byte-identical counts before and after the upgrade — all
|
|
52
|
+
pre-existing, tracked in #14.
|
|
53
|
+
|
|
8
54
|
## [0.5.3] - 2026-07-29
|
|
9
55
|
|
|
10
56
|
### 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.
|
|
4
|
+
"version": "0.5.4",
|
|
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.
|
|
28
|
+
"camera.ui": ">=2.0.23",
|
|
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.
|
|
49
|
-
"@calebcall/camera-ui-notify-darwin-amd64": "0.5.
|
|
50
|
-
"@calebcall/camera-ui-notify-linux-amd64": "0.5.
|
|
51
|
-
"@calebcall/camera-ui-notify-linux-arm64": "0.5.
|
|
52
|
-
"@calebcall/camera-ui-notify-windows-amd64": "0.5.
|
|
53
|
-
"@calebcall/camera-ui-notify-windows-arm64": "0.5.
|
|
54
|
-
"@calebcall/camera-ui-notify-linux-amd64-musl": "0.5.
|
|
55
|
-
"@calebcall/camera-ui-notify-linux-arm64-musl": "0.5.
|
|
48
|
+
"@calebcall/camera-ui-notify-darwin-arm64": "0.5.4",
|
|
49
|
+
"@calebcall/camera-ui-notify-darwin-amd64": "0.5.4",
|
|
50
|
+
"@calebcall/camera-ui-notify-linux-amd64": "0.5.4",
|
|
51
|
+
"@calebcall/camera-ui-notify-linux-arm64": "0.5.4",
|
|
52
|
+
"@calebcall/camera-ui-notify-windows-amd64": "0.5.4",
|
|
53
|
+
"@calebcall/camera-ui-notify-windows-arm64": "0.5.4",
|
|
54
|
+
"@calebcall/camera-ui-notify-linux-amd64-musl": "0.5.4",
|
|
55
|
+
"@calebcall/camera-ui-notify-linux-arm64-musl": "0.5.4"
|
|
56
|
+
},
|
|
57
|
+
"cameraui": {
|
|
58
|
+
"protocolLevel": 1
|
|
56
59
|
},
|
|
57
60
|
"files": [
|
|
58
61
|
"bundle.zip",
|