v0.108.0 #12882
eliandoran
announced in
Releases
v0.108.0
#12882
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v0.108.0
Note
If you enjoyed this release, consider showing a token of appreciation by:
Trilium can now be written in by hand. Handwriting notes, in beta, take a pen on a tablet or a drawing tablet, on ruled, grid or dotted paper, and can hold photos and PDFs to write over. OneNote pages with ink, RNote and Xournal++ documents are imported as handwriting notes.
Tablets get a new layout, with the note tree docked beside the note, the desktop's tabs and the right sidebar.
Links can now point at a heading or an anchor instead of a whole note, in text and Markdown notes as well as in PDF, EPUB, Word and OpenDocument files. The Outline tab lists the headings of those files too, with a filter and a way to copy a reference to any of them. Text notes gain collapsible headings, aside blocks and a scrollbar that marks search results and colored text.
Vim users can now bring their habits to text notes, with a Vim mode that understands paragraphs, lists, tables and embedded content. Trilium also starts noticeably faster, on desktop and on phones.
Android gets its first stable release, with its APK on the GitHub release. It syncs with a server of the same version and installs beside the nightly build, so moving from the nightly means syncing again or restoring a backup.
💡 Key highlights
Handwriting notes (beta)
The new Handwriting note type is made for writing by hand with a pen, on a tablet or a drawing tablet. It stays responsive in notes holding a great deal of ink. It is in beta.
.rnote) and Xournal++ (.xopp), on their own or in a ZIP archive, are imported as handwriting notes, with their pen strokes, images and typed text.Collapsible headings
A heading in a text note can now be collapsed to hide the content under it, up to the next heading of the same or a higher level, which makes a long note easier to work through one section at a time. Click the arrow at the end of the heading, or press Ctrl+Alt+Enter with the cursor in it.
The collapsed state is saved with the note, and dragging a collapsed heading moves its section with it. Search in note, the table of contents and links to a heading still find the hidden content. See Collapsible headings for the details.
Vim mode in text notes
Code notes have had Vim key bindings for years, but text notes, where most of the writing in Trilium happens, had none. For anyone used to Vim, every text note meant putting that habit aside and going back to the mouse and the arrow keys. Vim users have asked for this since 2021, and now the time has finally come to make it real: text notes have a Vim mode of their own. It runs on the same Vim engine as code notes, so the commands work as they do there, and it understands the structure of rich text: a paragraph, a heading, a list item, a table cell and a line of code are each a line; an image, a diagram or an included note is one line that
jandkstop on anddddeletes; and yanked text keeps its bold, links and colors when it is put back. Insert mode is the editor as it was, with its formatting shortcuts, slash commands and Markdown autoformatting.Motions, operators, text objects, counts, repeating with
., registers, marks, macros, search and:sall work, inside included notes too. Trilium commands join them::wsaves the note,:qcloses it,gffollows the link under the cursor,zafolds a heading, list item or collapsible block,:sortsorts lines,:ckruns any editor command, and"+ycopies to the system clipboard with the formatting. The status bar shows the mode, the keys of a pending command and macro recording, and:,/and?open the command line in place of the breadcrumb. Zen mode keeps both.Key hints help while you learn and stay quiet otherwise. Normal and Visual mode show their keys in the status bar, and a pause in the middle of a command shows the keys that can follow it. The command line completes command names with
Tab, the search prompt tells how the pattern is read, andAlt+F1or a click on the mode lists every key.Escin Normal mode switches between the keys and the breadcrumb, and the Key hints option turns them off.Turn it on in Options → Text Notes → Features → Vim mode, on each device where you want it. The Vim badge in the status bar, or a
#vimModelabel, turns it on or off for a single note, and startup commands set up mappings such asimap jk <Esc>.A faster start, on desktop and on phones
Trilium now starts noticeably faster. It shows the launch bar, the tabs and the note tree first, and loads the rest only once you use it. This applies to phones too.
The difference is largest on slower devices. Simulating a slower device on a 20 Mbit/s connection, a note is ready to edit in 2.5 s instead of 5.2 s on desktop, and in 2.3 s instead of 4.8 s on a phone. On a fast computer, it is ready about 30% sooner.
Link directly to headings within notes
When you create a link to a note, you can choose a heading so the link opens at that section. This works with text notes, Markdown, PDF, EPUB, ODT, and DOCX.
A layout made for tablets
On a tablet, in either orientation, the mobile version now lays the screen out like the desktop version:
🚨 Breaking changes
--background-materialCSS variable no longer has an effect. Trilium now chooses the Mica or vibrancy backdrop itself, from the layout, and applies it only to the Next themes and to custom themes based on them with#appThemeBase. ThesetBackgroundMaterial()andsetVibrancy()methods ofwindow.electronApi.windowwere removed.🐞 Bugfixes
Text editor (18)
/2to/4in the slash command menu suggested the column layout before the heading of that level./pagein the slash command menu suggested creating a child note before the page break.@stayed on screen after switching to another tab with the mouse.`` opened an extended code block with the backticks inside, a new block needed a click before it took typing, Enter never left the block, and Backspace did not turn an empty block back into a paragraph. by @gongfppSearch (3)
"") failed with an error, and a!=search that included the flat text of attributes returned notes whose content contained the excluded word.General (9)
Sync (2)
Scripting (1)
Server (2)
TRILIUM_LOG_DIRset to the root of a drive (/orC:\), old log files were never deleted after the retention period.docker-compose.ymlfailed to start the container on hosts without/etc/timezone, such as Fedora, RHEL or Alpine.ETAPI (2)
mimethat was not a string answered with a 500 error instead of a 400 validation error.formatanswered with a 500 error instead of a 400 that names the supported formats.Import and export (8)
PDF (3)
Interface (20)
proxmoxmissed an icon listed asProxmox).Table collection (1)
Launch bar (4)
LLM (1)
#disableVersioning, set on it or inherited from a parent.Tables in text notes (2)
Attributes (4)
Mind map (1)
Tree (6)
Share (13)
_template_exposed that note's title and labels, including its#shareCredentials, to anonymous visitors.#shareCredentialspassword inherited from a note outside the share.#shareHiddenFromTreelabel inherited from a note outside the share.Collections (6)
Spreadsheet (3)
.xlsxfile with dropdown lists over whole columns, as import templates often have, froze Trilium for up to half a minute and used hundreds of megabytes of memory, even for a small file.Markdown (6)
~~~or four backticks turned into placeholder text.Tabs (1)
Desktop (2)
/usr/lib/.build-id.Flatpak (1)
Board (1)
Settings (2)
Authentication (1)
Calendar (1)
Drawing canvases (1)
✨ Improvements
~docxTemplate, and Word, OpenDocument Text and RTF documents can be converted into text notes from the note menu.Interface (6)
Share (3)
Spreadsheet (1)
Text editor (11)
/aside, to set content apart in a box that the text can wrap around.@menu.@list offered the headings of a PDF as link targets, and a link to one opened the PDF at that heading.@list offered the headings and bookmarks of Word and OpenDocument text files and the table of contents of EPUB e-books as link targets, and a link to one opened the preview at that place.Performance (1)
Desktop (1)
Tabs (1)
LLM (2)
Markdown (2)
@menu and the link dialog.Code (2)
Flatpak (1)
Quick edit (1)
General (1)
Collections (1)
Import and export (1)
Launch bar (1)
📖 Documentation
🛠️ Technical updates
🔒️ Security improvements
This discussion was created from the release v0.108.0.
All reactions