Skip to content

Release v0.19.0

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 05:03
· 2 commits to main since this release

v0.19.0

Highlights

Errors as JSON on stdout

With --log-format jsonl, errors are logged to stdout as JSON, one line each, beside the request and response lines. Before, they went to stderr as plain text. With a handler that fails, saved as log.jsonl:

open --raw log.jsonl | lines | each { from json } | where message == "error" | first | get error
Error:   x no such page
   ,-[source:1:19]
 1 | {|req| error make {msg: "no such page"}}
   :                   ^^^^^^^^^^^^^^^^^^^^^
   `----

eval and invalid command-line flags still print to stderr.

New versions

v0.18.4 v0.19.0
cross-stream (xs) 0.14.2 0.16.0
Nushell 0.116.0 0.117.0
Datastar 1.0.4 1.0.5

cross-stream 0.16.0

The store behind --store is now xs 0.16.0. The xs 0.16.0 release notes have the details.

  • Topics kept to last:n frames stay fast as they grow: each append reads one index entry, where 0.14 read n.
  • POST /append-batch appends many frames in one request, by kiil.
  • Content in the store's CAS is deleted once it is an hour old, unless a frame in the stream still has its hash. This happens when http-nu starts with --store, and when you POST /gc to the store's socket.
  • Once this release has used a store, older http-nu releases must not open it again.

Nushell 0.117.0

Handlers and actors run on Nushell 0.117.0. It removes filter (use where), the -i flag of get, select and reject (use -o), and let-env. Building from source needs Rust 1.97.1.

Datastar 1.0.5

--datastar serves /datastar@1.0.5.js, and --datastar-rocket serves /datastar-rocket@1.0.5.js.

Other changes

  • Ctrl-C waits up to 10 seconds for requests to finish before stopping, the same as SIGTERM. Before, Ctrl-C cut them off (#63).
  • An idle server uses no CPU. Before, it woke about 40 times a second (#62).
  • Commands from --plugin plugins work in actors, services and actions. Before, only HTTP handlers could use them (#61).

Raw commits

  • build: upgrade to nushell 0.117.0, cross-stream 0.16.0 and datastar 1.0.5 (#65) (2026-11-17)
  • docs: wrap the README's logging errors paragraph as deno fmt does (2026-11-17)
  • feat: errors go through the log, so --log-format jsonl puts them on stdout as JSON (2026-11-17)
  • fix: Ctrl-C waits for requests in flight, as SIGTERM does (#63) (2026-11-14)
  • fix: remove the 100ms Ctrl-C poll, so an idle server uses no CPU (#62) (2026-11-13)
  • test: find the test plugin next to http-nu instead of guessing (#64) (2026-11-13)
  • fix: load --plugin plugins once, into one engine the handlers and the processors share (#61) (2026-11-09)
  • chore: bump to v0.18.5-dev (2026-10-30)