Skip to content

Version 0.2.4

Choose a tag to compare

@github-actions github-actions released this 19 Oct 19:55

🆕 Added

  • HTML Block: Added an html_block editor block that renders user-written HTML and CSS in a script-less sandbox="" iframe with an adjustable height; it exports as a sandboxed iframe to HTML, raw HTML to Markdown, and an html code block to DOCX and PDF.

  • Heading Outline Rail: The document editor shows a column of heading dashes on its right edge that highlights the section in view; hovering or focusing it expands a clickable outline that scrolls to the chosen heading.

🛠️ Fixed

  • Note Embed Previews: Embedded note previews resolve each image by its exact file name, so 1.png no longer shows 11.png, and names with & or quotes resolve correctly.
  • GitHub Sync Checks: Test connection reports a token that cannot push to the repository, the Branch setting warns that the branch is replaced with a copy of the workspace, and creating the backup branch is retried on transient GitHub errors.
  • GitHub Sync Backup: GitHub Sync no longer adds an empty commit when nothing changed, backs up templates and custom CSS, skips symlinks instead of uploading files outside the workspace, uploads a consistent copy of the database, and keeps syncing when a note is saved mid-sync.
  • GitHub Sync Push Safety: GitHub Sync fast-forwards the branch instead of force-pushing over concurrent commits, can back up to an empty repository, saves upload progress in partial commits so large first syncs resume after rate limits, and rejects malformed repository and branch names.
  • Export Contents Title: The table of contents in PDF and DOCX exports follows the app language, and the DOCX preview lists the same headings as the exported file (including those in columns and toggles) instead of placeholder entries, with no TOC page when the note has no headings.
  • Table Sort Thousands: Table column sorting reads "1,234" and "1.234,5" as numbers instead of decimals or text.
  • MCP Trashed Notes: MCP open, write and rename tools reject notes that are in the trash.
  • Audio Transcript Kept: A transcription that finishes after the audio block was moved or re-rendered is saved instead of dropped.
  • Kanban Workspace Boundaries: Skipped linked Kanban files and cards whose identity does not match their file, refused linked Kanban directories, and let a board whose card folder is a link be deleted without following it; OneDrive placeholders are no longer mistaken for links.
  • HTML Export Links: Removed unsafe URL schemes, network paths, and control-prefixed links from exported links and audio bookmarks.
  • Mind Map HTML: Sanitized transformed Markmap content while preserving KaTeX math markup.
  • HTML Block Remote Loads: HTML blocks, in the editor and in HTML export, now carry a Content Security Policy that blocks remote images, fonts, stylesheets and frames.
  • HTML Block Markdown Round-Trip: Markdown export writes HTML blocks as a tagged html fence that the Markdown importer turns back into an HTML block with its height.
  • HTML Block in DOCX Preview: The DOCX preview now shows HTML blocks as the html code block the export contains.
  • HTML Block Reloads: HTML blocks reload only when their rendered document changes, not on every theme class update, and their frame title is localized.
  • Undo Restore Failure: A failed note restore from the undo toast now shows an error instead of failing silently.
  • Outline Rail: Clicking an outline heading right after an edit scrolls to the right heading, and the active heading is measured at most once per frame while scrolling.
  • Note Position Memory: Remembered scroll and caret positions are cleared when the workspace changes.
  • Privacy Mode for Model Listing: Test connection and the model picker now honour AI privacy mode, so neither the model request nor the API key reaches a non-local endpoint.
  • Undo After Workspace Switch: The note-deletion undo toast is dismissed when the workspace changes, so Undo can no longer run against the wrong workspace.
  • AI Chat Workspace Sources: Hits from the open note no longer use up the workspace search limit, so the chat receives up to eight sources from other notes.
  • Speech Model Changes During Transcription: Dictation and audio transcription now pick the model only after taking the transcription lock, and deleting a model frees its loaded memory.
  • AI API Key Endpoint Binding: The stored AI API key is now bound to the origin it was saved for and is no longer sent to a different base URL; a key saved before this change is not sent anywhere and must be entered again.
  • AI API Key Kept in the Backend: The AI API key is now read only by the Rust backend and never returned to the webview, and AI requests apply privacy mode whenever the open workspace has it on, whatever the request says.
  • OpenRouter Model Kept: Loading the OpenRouter model list no longer replaces a chosen paid model with a free one; only a model the endpoint does not serve is replaced.
  • Caret Reset After Returning to a Note: The delayed scroll re-anchor no longer moves the caret back when the user clicks or types right after a note opens.

🔄 Updated / Improved

  • Binary Exports: DOCX, drawing and canvas exports and drawing saves send bytes as a raw IPC body instead of a JSON number array, and non-ASCII workspace paths are percent-encoded in headers.
  • Shared Helpers: Merged duplicated note-embed loading, blob download, Tauri runtime checks, export asset naming, ZIP entry path validation, plugin id validation and folder-tree helpers into single implementations.