Skip to content

v0.17.1

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Nov 18:09
· 1 commit to main since this release
2bb12a2

Fixes

The reading view does what it says. j, k, Ctrl+D, Ctrl+U, Ctrl+F, PgUp, PgDn and the wheel move the view on the first press, and the cursor still reaches every row, so Enter and x work everywhere. gd follows a link there too. With Vim off, keys no longer go to the hidden editor. Before: letters typed into your note.

Diagrams stay honest. A flowchart draws a row only for a straight run, and otherwise a column with other edges listed under their source, so boxes side by side never imply an arrow that isn't there. One-line flowcharts with a color draw again. Vec<i> in a label keeps its tag, and narrow panes keep edge styles.

Previews. A table under a list item keeps its blank row, and an image in running text keeps its brackets. In the zen style, spaced stars stay literal, *** is read whole, callout titles render as text, indented lines render as code, and an indented line under a quote continues the quote.

Names stay clean. Color codes in a note's or folder's name no longer reach your terminal from status lines, toasts, dialogs, menus, prompts, the sidebar, or zn mcp notices. Names themselves, including emoji and CJK, are unchanged.

Switching to the reading view with a command line open now cancels it without running it.

zn mcp:

  • On a local vault, an assistant now sees database record pages, as it does on a server, and a deny entry on a page or database works rather than counting as stale.
  • With a path limit, a record page can be read and edited, but not renamed, moved, copied, archived, trashed or deleted, and a database can't be listed, renamed or deleted as a folder. Full access is unchanged.
  • An attachment name with surrounding spaces, like " trash", is refused.
  • A limit naming a folder whose name has accents picks the exact spelling first.

How to test locally

T=$(mktemp -d); mkdir -p "$T/vault/inbox"
{ printf '# Long\n\n'; for i in $(seq 1 200); do printf 'Line %s\n\n' "$i"; done; } > "$T/vault/inbox/Long.md"
printf '# Chart\n\n```mermaid\ngraph TD\nA[One]-->B[Two]; style A fill:#f9f; B-->C[Three]\nC-->A\n```\n' > "$T/vault/inbox/Chart.md"
zn tui --vault "$T/vault"
  • Open Long, press Space z p, then j. Before: nothing moved for 25 to 40 presses. After: the view moves on the first press.
  • Press Ctrl+F. It pages.
  • Open Chart, then preview it. It draws, and the edge back to One is listed rather than implied.
  • With Vim off in Settings, press j in the reading view. Before: j was typed into the note. After: the note is unchanged.

Known limits

  • With a path limit, a new or moved file can take a number when a hidden file has its name.
  • A scoped client can still delete or rename a parent folder that holds a database, if no deny entry sits inside it.
  • Ctrl+B stays the sidebar toggle, so it doesn't page.
  • A wide character in a one-cell pane overflows.