Release v0.17.1
v0.17.1
Highlights
-
to sseemits acommentfield as an SSE comment line. A record with acommentkey now renders a: textline ahead of anyevent/id/retry/datalines. SSE comments are ignored by the browser but keep idle connections alive through proxies, so a handler can ship{comment: "hb"}as a heartbeat without patching the DOM. Empty (Value::Nothing) comments are skipped, matching how the other fields behave. -
value_to_jsonno longer panics on types without a JSON analogue. Dates, durations, filesizes, binary, closures, and similar values now fall back to their string rendering instead of hitting atodo!(). A record carrying a timestamp or duration field can be returned straight to an HTTP/JSON response without crashing the handler. Thedata-line JSON path (value_to_bytes) inherits the same fallback. -
nu2048 example: the splash page credits Datastar with the animated rocket; changelog link fixed.
Raw commits
- fix: render unsupported value_to_json types as strings instead of panicking (2026-06-07)
- feat: emit an SSE comment line from a record's comment field (2026-06-07)
- feat(2048): splash credits Datastar with the animated rocket (2026-06-07)
- docs: fix nu2048 changelog link (trailing slash) (2026-06-07)
- chore: bump to v0.17.1-dev (2026-06-07)