Skip to content

Release v0.17.1

Choose a tag to compare

@github-actions github-actions released this 07 Jun 15:57
· 7 commits to main since this release

v0.17.1

Highlights

  • to sse emits a comment field as an SSE comment line. A record with a comment key now renders a : text line ahead of any event / id / retry / data lines. 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_json no 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 a todo!(). A record carrying a timestamp or duration field can be returned straight to an HTTP/JSON response without crashing the handler. The data-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)