v0.103.0
Note
If you enjoyed this release, consider showing a token of appreciation by:
- Pressing the “Star” button on GitHub (top-right).
- Considering a one-time or recurrent donation to the lead developer via GitHub Sponsors or PayPal.
Important
Due to the introduction of new note types (spreadsheet) and the OCR feature, the database and sync versions have been increased. This means that both the desktop and the server need an upgrade in order to continue syncing.
Warning
The Windows binary has received a certificate upgrade which means that you might get SmartScreen warnings depending on how you install the application. This is already a known issue, the workaround is to right click the installer → Properties and check the security box at the bottom of the window.
💡 Key highlights
- A long-awaited note type is now supported: Spreadsheets, allowing for a familiar (Excel-like) editing experience with formulas, powered by Univer Sheets.
- Support for it is considered beta and it might face some changes along the way.
- See the documentation for important aspects to consider when using spreadsheets.
- Basic Markdown support with preview and sync scrolling.
- Built-in OCR support for images, but also PDF and Office (Word, PowerPoint, Spreadsheet) text extraction which integrates with the search function. See the Media page in Options for configuration.
- Custom dictionary is now synchronized across instances
- New deployment for Linux under test: AppImage
- Bookmarks in text notes were overhauled
- Bookmarks were renamed to Anchors in order not to overlap with the concept of bookmarked notes in Trilium.
- Anchors can now be used across notes as they are integrated into the Add link feature. See documentation for more information.
- Added a corresponding slash command to make it easy to introduce new anchors.
- We are reintroducing an LLM chat functionality with full-size chats as well as a sidebar with tools that allow it to alter your notes or even create scripts.
🚨 Breaking changes
- Back-end scripting:
api.axioshas been removed. It has already been marked as deprecated for more than two years now and given the recent security compromise and the fact that it's not actually used in the Trilium code base we took the decision to remove it completely. Please update your scripts to use the built-infetch()instead.api.cheeriohas been marked as deprecated, but not removed. As an alternative we providenode-html-parserwhich has a more DOM-oriented syntax.
🐞 Bugfixes
- Save indicator not showing in quick edit popup.
- Grid of child notes does not clear floats.
- Open tabs would load in the background, causing a slight performance impact.
- New layout:
- Save indicator would not disappear if reduced motion was activated.
- Table of contents would not refresh on formatting changes and sometimes it missed some updates.
- Missing empty icon from the default icon pack.
- Board collection:
- Scrolling horizontally was clipped.
- Add button not snappable to on mobile.
- Invalid canvas note crashes full-text search
- Protecting or un-protecting notes does not refresh the state of the tree.
- Collections will show the note list even if a protected session is not available.
- Notes created from within a collection don't respect the protected state.
- Long-standing issue with CSRF errors on mobile, which required a refresh.
- Setup text in DarkMode is hardly legible
- Share: Browsing to "/share" on uninitialized setup causes crash
- Large Equations Render over editor using Latex align environment in Display Mode
- New layout: attribute detail modal not visible
- The first attribute value fails to pop up the label details window correctly
- Thumbnail images in version v0.102.1 are too small
- PDF previews can fail between software updates due to caching issues
- Can't print or export to PDF on Linux Wayland
- Browsing to "/share" on uninitialized setup causes crash by @argusagent
- Refresh content for SPAs with "query string" in hash by @contributor
- Import file with Chinese char in file name cause random char in file name after import
- Share: Webviews occupy too little height, making them hard to see
- Events in calendar show as light even when dark theme is selected
- Scripting: Preact's useContext is exported, but createContext isn't
- Share Function - Translation not being used
- Changing the note icon does not change the icon in the tab
- Cannot open quick search results in new tab
- Server & desktop not running properly if placed in a hidden directory (e.g.
~/.local/share). - Collections:
* Not reacting to changes in note reordering.
* Clicking on a URL promoted attribute in board will also open quick edit. - Performance issues when typing caused by saving the document too many times (addresses Significant input lag and UI freezing during continuous drawing/writing (Mouse & Pen) but also other note types as well)
- Unnecessary attribute setting when editing a note in a calendar's quick edit.
- Title is no longer auto-selected when creating a new note
- Note Map view of Hidden Notes freezes Trilium
- Search: Some user-facing error messages were not translated.
- Uncaught TypeError shown in logs when switching notes with bottom-right attribute window open
- Demo spacing and formatting issues
- Setup doesn't support trailing slash for sync
- "Open Command Palette" shortcut opens with the '>' symbol highlighted
- Unable to set column value to zero in table view
- Displaying deep child notes in the Journal calendar view
- Titles of Options are renamable
- New layout sidebar
* Table of contents sometimes renders math equations multiple times
* Highlights list does not show equations. - Deleting a not displayed note will change the displayed note
- Demo notes: statistics not working due to missing Chart.js
- Disable "Internal trilium link (Ctrl+L)" on code-block text selection
- Orphaned keyboardShortcuts* options after upgrade
- Scripting: Logging complex entities such as
api.startNotewould show[object Object] - Import from HTML does not restore indentation
- Mermaid:
* Mermaid diagram copy reference to clipboard button is broken
* Issue with Chinese Paths on Windows - Add an error when link couldn't be opened
- UI overlap in attribute editing by @ZAKIURREHMAN
- Some launch bar context menus were intercepted by the browser.
- ENEX import: Attachments should not be converted into separate pages
- Exporting code of type Markdown resulted in a
.mkdor.code(for GFM). - Importing a Markdown file with “Import as text note” disabled would import as the wrong format (File) instead of Code.
- Text notes would print with a different font than the one in
body. - The hidden notes hiearchy becomes apparent after importing a note into root
- No focus in “Choose note type” dialog
- Markdown import: Wrong management of backtick-escaped triple backtips
- Safe import strips out bookmarks from note
- Printing: Reference links not shown by @contributor
- For publicly shared pages, the checkbox does not display on dark theme
- PDF: Not reacting to deleting highlights or moving them around
- The help button in a dialog now opens in a separate dialog instead of closing that dialog.
- Clicking on “Full search syntax help” doesn't work.
- Breadcrumb: Children hidden from tree are still listed
- Settings: Slashes not displayed well in the backup toast
- Code notes: Line numbers are lacking a background.
- Renaming an attachment won't update its name from the list.
- Tooltips in left Sidebar after unlocking db still showing [protected]
- Dropdown menu transparency causes readability issue by @adoriandoran
- Switching from “View source” to another note would not show the inline actions.
- Trilium not recovering after system suspension on Ubuntu Snap
✨ Improvements
- Videos & audio files imported in Trilium now have a new default icon and the extension will be trimmed.
- Improved the design of the video and audio player and added additional functionality such as easy seeking, rotation, picture-in-picture.
- Mermaid:
- Added a list of example diagrams that are shown when Mermaid notes are empty, for getting started quickly. All the supported diagrams types were added.
- As a result of the previous change, new Mermaid diagrams start out as empty instead of a generic flowchart diagram.
- Updated the version of Mermaid which brings in two new diagram types: Venn and Ishikawa.
- Space mobile launcher container evenly by @Mystler
- PDF: Inline toolbar with highlight and comment by @contributor
- Add Catppuccin theme to both code notes and code blocks by @giuxtaposition
- Added four more themes to code notes: High Contrast Dark, High Contrast Light, Material Ocean, and Synthwave '84
- Relation map: Add more options to open notes in the context menu
- Improve database performance by adding new indices (by @perfectra1n).
- CKEditor was updated to v48 with the most notable change of being able to change the alignment of tables with or without text wrapping (see #5791).
- Mermaid diagrams were updated which brings in two new diagram types: TreeView and Wardley Maps.
- Inline mermaid diagrams use a more modern approach to rendering, which should reduce flicker.
- Relation map: rename relations through context menu
- Share: Render dates on the client to match their locale.
- Backend script: add an API to execute other backend scripts.
- Download button for backups by @Lorinc936
- Search:
* Improve the error messages to be more user-friendly when searching for keywords without quotes or entering text after expressions
* Add a way to open all the results in a new tab
* Improve search performance by using caches and optimizing algorithms by @perfectra1n
* Option to easily toggle the fuzzy search on/off by @perfectra1n
* Option to disable fuzzy search in copy/clone - Displaying note icon when creating an inline note link, using @
- Friendly numbers in settings: Sync timeout and Zoom factor (percent better than decimal factor)
- Copy button for inline code (via toolbar for editable notes and clicking for read-only notes)
- Admonitions now have a floating toolbar to quickly change their type.
- Warn if user is trying to run the script in a wrong environment
- Open internal link (
bookends:,highlights:) in OSX apps - Script execution should error out on usage of protected notes outside of protected session
- "Delete all clones" checkbox should have a different message if there are no clones
- Improve note path display to use chevrons instead of slashes to separate notes
- Changing the size of include notes after they were created
- Add 'Expandable' option to Include Note feature
- Remember default box size for included notes
- Hide hidden notes from similar notes view
- Modernized a bit the delete preview.
- Improved all the settings pages by using a unified layout, more interactive widgets for layout, theme selection and making use of modals. Some cards were combined together.
- “View source” is now searchable.
- Every item on the launch bar now has a contextual menu which allows easily removing the item from the bar.
- Attachments: preview text in files, provided the MIME type is correct.
- Syntax highlighting for code blocks inside Markdown notes
- Provide a way to customize Electron data directory
- Printing text notes now respects the font selection in settings.
- Revisions:
* Basic rich diff when comparing text note
* Allow adding a description to manually created revisions
* Automatically tag revisions based on their source.
* Improve diff for code notes, by preserving monospace.
* Indicate the source of a revision: manual save, automatic snapshot, ETAPI, LLM change
* Keyboard shortcut and option in note menu to save a named action. - Redesign of the about dialog by @adoriandoran
- Note attributes pane: add a help button
- Tree: do not allow to hide the children of the root element
- Improved keyboard markers in Text notes
* Improved style
* Can now be exited out of by moving the cursor, just like inline code. - PDF
* Added read-only support to disable editing features.
* Shared notes now render using the browser's internal PDF viewer which allows downloading and bypasses some potential issues with reverse proxies.
* UI language was not always set correctly.
* Can now be printed or searched through from the note actions menu. - Sidebar (new layout):
* Improved the layout slightly.
* PDF page preview: use virtualization for better performance in large documents.
* PDF highlights and annotations are now listed in the sidebar in a separate section - Import: Support ZIPs with GBK encoding
- Attachments list: improve the display when there are no attachments.
- Syntax highlighting for Markdown now follows the GitHub flavor.
- Reintroduced the sync indicator for mobile (useful when using the third-party Pocket Trilium app).
- API logging:
*api.lognow supports multiple arguments, similar to the syntax ofconsole.log.
* API log text not selectable. - Various UI improvements by @adoriandoran
- LLM: Stop generation button by @Kureii
📖 Documentation
- How spell check works, including custom dictionary.
- Word count widget doesn't mention the use of attribute
- Dedicate page for the license
- Improved resetting password
- Documented the concept of content width.
- Broken image for linux distribution in README by @vayungodara
🌍 Internationalization
- Czech support by @Kureii
- Wrong password message not translated.
- Added Uyghur as content language
🛠️ Technical updates
- Remove Knockout from setup page by @JYC333
- Many dependency updates.