Skip to content

v0.1.6

Choose a tag to compare

@kennethreitz kennethreitz released this 21 Nov 18:29
· 92 commits to master since this release

Added

  • Dataview GROUP BY (with rows) and FLATTEN, implicit file.* fields (name, path, folder, link, ctime, mtime, cday, mday, tags, etags, inlinks, outlinks, aliases, tasks, size, day), dates and durations (date(today), dur(), date comparisons and math), and a broader function library: length, lower, upper, round, min/max/sum, join, link, dateformat, regexmatch, replace, startswith/endswith, filter/map, any/all, nonnull, number, string, striptime, choice, default, contains/icontains, econtains. Inline key:: value fields are queried like frontmatter.
  • Dataview TASK queries: tasks from matching notes, grouped by file, with WHERE on completed, text, due, and similar fields. Clicking a checkbox toggles [ ] / [x] in the source note through the normal write path, so git and Obsidian Sync see the change.
  • Dataview inline queries: `= expr` in the typeset reader evaluates against the current note (this, file.*, and the rest of the function library) and renders the value in place. `$= ` is reserved for DataviewJS and shows a small inline error until that lands. Bad expressions also fail inline, without breaking the page.
  • Dataview CALENDAR queries: a month grid with a dot for each matching note on that date (from file.day, a date field, or any date expression). Months between the first and last result are kept; clicking a dot opens the note.
  • DataviewJS: dataviewjs blocks and `$= ` inline queries run in a JavaScriptCore sandbox with a dv API subset backed by the vault index (dv.pages, dv.current, dv.page, dv.table / list / taskList / paragraph / header / span / el, dv.date, and array where / sortBy / groupBy / map / limit). No network and no file writes. Errors use the existing error box.
  • Open Random Note in the command palette and the Go menu. It opens a random Markdown note from the vault in the current pane, skipping the one you’re on when it can. Hidden files and ignored folders stay out, the same as the rest of the index. No default shortcut; assign one in Settings ▸ Shortcuts.
  • Record Audio in the command palette and the Note menu (bindable in Settings ▸ Shortcuts). It toggles recording from the microphone to Recording YYYY-MM-DD HH-mm-ss.m4a (AAC) in Obsidian’s attachment folder, shows a quiet footer chip with elapsed time and stop, then inserts ![[Recording ….m4a]] at the cursor. A transcript is generated on-device (SpeechAnalyzer/SpeechTranscriber on macOS 26+, else SFSpeechRecognizer with on-device recognition in ~50 s chunks) and added below the embed as a > [!transcript] callout while the chip reads “Transcribing…”. Settings ▸ Reading has a toggle for automatic transcripts (on by default). The app bundle now declares microphone and speech-recognition usage descriptions.
  • partOf direction in the focus graph: a small chevron on each hierarchy spoke points from the part to its parent, and Filter ▸ Hierarchy only (partOf) narrows the focus graph to parents and parts, two levels out. The setting is remembered.
  • Field completion in the editor. Typing a word and a colon at the start of a line (part:) offers the field keys the vault already uses, most used first, and picking one writes partOf:: . After partOf:: , related:: , or any key used with a [[link]] elsewhere, the [[ note list appears and writes [[Note]] (comma lists work). It uses the same quiet popup as [[, inserts nothing until you pick, and Esc closes it for that line.
  • A partOf:: ancestry path in the title bar. A note with a parent reads Medication › SSRI › Sertraline there instead of its folders (so the two never repeat), and each ancestor opens on click. With several parents the first is followed and a faint +N menu lists the others; a loop stops where it repeats. Notes without partOf keep the folder path.
  • A quiet class: tag after the note name in the title bar, from frontmatter class: (e.g. Medication). It opens the class note when one exists.
  • Richer relationships in the inspector’s Backlinks tab (⌘I). Parts is now a collapsible tree (a chevron opens a part’s own parts; the header counts every descendant; a note that loops back is marked ↻), Siblings sit folded under their count, and any other field whose values are links (treats:: [[Anxiety]], seeAlso:: [[X]]) gets its own group by key, with a “key · from” group for notes that point here with that key.
  • Obsidian's core commands in the command palette, a new Format menu, and Settings ▸ Shortcuts. Format: toggle bold (⌘B), italic, strikethrough, highlight, inline code, and %%comment%% (⌘/); insert wikilink or Markdown link; headings 1–6; toggle bullet, numbered, checklist, and blockquote; cycle checkbox (⌘L); indent and outdent; insert callout, code block, table, horizontal rule, current date, and current time; move line up or down, duplicate line, and delete line. Each edit is one undo step, and running a format command from the reader switches to editing first. Navigate: Yesterday’s and Tomorrow’s Daily Note, Jump to Heading… (a palette of the note's headings), and Reveal in Sidebar. File: Duplicate Note, Copy File Path, Open in Default App, and Open Settings…. Pane: New Note in New Pane. View: Zoom In (⌘=), Zoom Out (⌘-), and Actual Size (⌘0) for the editor and reader text. Edit: Search Vault for Selection and Toggle Spellcheck. Save, Open Vault…, Find, Find and Replace, Graph in a Pane, Previous Pane, and Show Shortcut Hints, which were only in the menus, are now in the palette too. Italic and Insert Markdown Link have no default, because ⌘I and ⌘K already open the inspector and sidebar. The full list is in docs/commands.md.
  • Markdown linter in the style of Obsidian Linter (docs/linter.md). Lint Current Note is in the command palette and the Note menu and runs as one undoable edit that keeps the caret on its line. Lint All Notes in Folder…, also on a folder's right-click menu as Lint Notes in Folder…, shows how many notes would change before it writes anything. It skips notes open in a pane and any file that changed since the preview. Lint on save is optional and off by default. It runs on ⌘S, Save and Read, Esc, and when you switch notes, never on the typing autosave. Settings ▸ Linter has a toggle for each rule. Rules that are on by default: trim trailing whitespace (keeping two-space hard breaks), collapse blank lines, a single trailing newline, blank lines around headings, a space after #, a consistent - list marker, blank lines around code blocks, and normalized checkboxes. Rules that are off by default: heading increments, tidy frontmatter keys, and an updated:/modified: timestamp. The linter never touches fenced code, math, %%/HTML comments, callouts and blockquotes, inline-field lines (partOf::), wikilinks, inline code, or frontmatter values. Linting twice gives the same result as linting once.

Changed

  • Spellcheck is back on in the editor by default. Turn it off in Settings ▸ Editor or with Toggle Spellcheck.

Fixed

  • Embedded audio and video in the reader answer byte-range requests, so WebKit can play and seek them.

Updating

Download the zip, unzip it, and replace Onyx.app. From v0.1.1 on, the app can also update itself.

Requirements

macOS 14 (Sonoma) or later, on Apple silicon or Intel. This build is not notarized, so the first launch needs System Settings ▸ Privacy & Security ▸ Open Anyway.