|
2 | 2 |
|
3 | 3 | ## Highlights |
4 | 4 |
|
5 | | -- **`href` helper for mount-prefix-aware links**: New `href` command in the router module resolves paths against `$req.mount_prefix`, so links work correctly when handlers are mounted under a prefix. `$req | href "/about"` returns `"/blog/about"` when mounted at `/blog`. |
| 5 | +- **`.md` now supports tables, tasklists, and more**: GFM extensions are enabled by default -- tables, strikethrough (`~~text~~`), `- [x]` checklists, footnotes, heading attributes, definition lists, and autolinks all work out of the box. |
6 | 6 |
|
7 | | -- **GFM extensions in `.md` parser**: Enabled tables, strikethrough, tasklists, footnotes, heading attributes, definition lists, and GFM autolinks in the `.md` command via pulldown-cmark options. |
| 7 | +- **`href` for mount-aware links**: When your handler is mounted under a prefix (e.g. `/blog`), `$req | href "/about"` produces `/blog/about`. No more manually threading prefixes through your templates. |
8 | 8 |
|
9 | | -- **`eval --store`**: The eval subcommand now accepts `--store <path>` to open a cross.stream store and make `.cat`, `.append`, `.cas`, and other store commands available for scripting and testing. |
| 9 | +- **`eval --store`**: Test store-backed scripts without starting a server. `http-nu eval --store ./store -c '.cat --topic messages | last'` |
10 | 10 |
|
11 | | -- **`ICONIFY`, `SCRIPT-ICONIFY`, `SCRIPT-DATASTAR` helpers**: Convenience commands in the html and datastar modules for including iconify icons and the Datastar client script. |
| 11 | +- **`ICONIFY` and `SCRIPT-DATASTAR` helpers**: Drop an icon or the Datastar client into your page with one call: `ICONIFY "lucide:copy"`, `SCRIPT-DATASTAR`. |
12 | 12 |
|
13 | | -- **Datastar SDK ADR alignment (breaking)**: `from datastar-signals` now treats DELETE the same as GET (reads signals from query param, not body), matching the updated [SDK ADR](https://github.com/starfederation/datastar/pull/1146). |
| 13 | +- **Clean SSE shutdown**: SSE connections now close immediately on Ctrl+C instead of hanging for 10 seconds. |
14 | 14 |
|
15 | | -- **SSE streams cancelled on shutdown**: SSE connections are now cleanly terminated on server shutdown instead of waiting for the 10-second graceful shutdown timeout. |
| 15 | +- **Datastar 1.0 alignment (breaking)**: `from datastar-signals` now reads DELETE signals from query params (matching the updated [SDK ADR](https://github.com/starfederation/datastar/pull/1146)). If you use Datastar with DELETE requests, no code changes needed -- it just works correctly now. |
16 | 16 |
|
17 | | -- **`metadata set --merge` migrated to closure syntax**: All examples and docs updated ahead of the `--merge` flag removal in Nushell 0.112. |
| 17 | +- **`metadata set` closure syntax**: All examples and docs use the new `metadata set { merge {...} }` syntax ahead of `--merge` removal in Nushell 0.112. |
18 | 18 |
|
19 | | -- **Nushell 0.111, cross.stream 0.11** |
| 19 | +- **New examples**: A [blog example](https://github.com/cablehead/http-nu/tree/main/examples/blog) showing routing, layouts, and HTML composition, plus a reworked [stor example](https://github.com/cablehead/http-nu/tree/main/examples) that demonstrates in-memory SQLite by logging its own page views. |
20 | 20 |
|
21 | 21 | ## Raw commits |
22 | 22 |
|
|
0 commit comments