@calebcall/camera-ui-notify 0.4.2 → 0.5.1

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
@@ -5,6 +5,31 @@ 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.1] - 2026-07-25
9
+
10
+ ### Fixed
11
+
12
+ - **gofmt** — corrected struct-literal field alignment in `src/backend/gotify.go` (an inline comment
13
+ inside the payload literal had thrown off `gofmt`). No functional change.
14
+
15
+ ## [0.5.0] - 2026-07-25
16
+
17
+ ### Fixed
18
+
19
+ - **Images now delivered when the publisher uses `ImageURL`** — the official (closed) NVR publishes the
20
+ snapshot as a hosted `ImageURL` rather than inline `Thumbnail` bytes, so the inline-only backends
21
+ (Telegram, Discord, Pushover) delivered text with no image. `SendNotification` now fetches an
22
+ `ImageURL` once (when no inline `Thumbnail` is present) and attaches the bytes, so every backend
23
+ renders the image regardless of which NVR published it. A fetch failure degrades gracefully: the
24
+ `ImageURL` is left intact for URL-capable backends (ntfy/Gotify/webhook) and delivery is never
25
+ aborted. Fetches are capped at 8 MiB.
26
+
27
+ ### Added
28
+
29
+ - **Send-path logging** — `sendNotification` now logs the incoming notification (title, severity, which
30
+ image fields are present), image resolution, and per-device delivery outcome via `Log`/`Success`/
31
+ `Warn`/`Error` (visible without the debug flag), so the send flow is observable in normal operation.
32
+
8
33
  ## [0.4.2] - 2026-07-25
9
34
 
10
35
  ### Updated
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.4.2",
4
+ "version": "0.5.1",
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",
@@ -45,14 +45,14 @@
45
45
  "os": [],
46
46
  "cpu": [],
47
47
  "optionalDependencies": {
48
- "@calebcall/camera-ui-notify-darwin-arm64": "0.4.2",
49
- "@calebcall/camera-ui-notify-darwin-amd64": "0.4.2",
50
- "@calebcall/camera-ui-notify-linux-amd64": "0.4.2",
51
- "@calebcall/camera-ui-notify-linux-arm64": "0.4.2",
52
- "@calebcall/camera-ui-notify-windows-amd64": "0.4.2",
53
- "@calebcall/camera-ui-notify-windows-arm64": "0.4.2",
54
- "@calebcall/camera-ui-notify-linux-amd64-musl": "0.4.2",
55
- "@calebcall/camera-ui-notify-linux-arm64-musl": "0.4.2"
48
+ "@calebcall/camera-ui-notify-darwin-arm64": "0.5.1",
49
+ "@calebcall/camera-ui-notify-darwin-amd64": "0.5.1",
50
+ "@calebcall/camera-ui-notify-linux-amd64": "0.5.1",
51
+ "@calebcall/camera-ui-notify-linux-arm64": "0.5.1",
52
+ "@calebcall/camera-ui-notify-windows-amd64": "0.5.1",
53
+ "@calebcall/camera-ui-notify-windows-arm64": "0.5.1",
54
+ "@calebcall/camera-ui-notify-linux-amd64-musl": "0.5.1",
55
+ "@calebcall/camera-ui-notify-linux-arm64-musl": "0.5.1"
56
56
  },
57
57
  "files": [
58
58
  "bundle.zip",