v0.108.0-rc.1 #12754
eliandoran
announced in
Releases
v0.108.0-rc.1
#12754
Replies: 3 comments
This is so cool! Thanks! |
0 replies
Clicking on colored mark scrolls to its target perfectly. Can we have the same instant scroll for regular Find/Next? Current animated/visible scroll is very slow and eye straining. |
0 replies
|
Super appreciated; can't praise Trilium enough. |
0 replies
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-rc.1
Note
If you enjoyed this release, consider showing a token of appreciation by:
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 also 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 the APK attached below. 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
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.
🚨 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.📱 Mobile improvements
🐞 Bugfixes
Text editor (15)
/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.Search (4)
"") 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 (3)
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 (7)
PDF (3)
Interface (12)
proxmoxmissed an icon listed asProxmox).Table collection (1)
Launch bar (2)
LLM (1)
#disableVersioning, set on it or inherited from a parent. by @pcbeingused333Tables in text notes (2)
Attributes (4)
Mind map (1)
Tree (4)
Desktop (4)
/usr/lib/.build-id.Share (7)
_template_exposed that note's title and labels, including its#shareCredentials, to anonymous visitors.Collections (1)
Spreadsheet (1)
.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 (4)
~~~or four backticks turned into placeholder text.Drawing canvases (2)
Tabs (1)
✨ Improvements
Interface (6)
Text editor (12)
/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.Share (3)
Spreadsheet (1)
Performance (1)
Desktop (1)
Tabs (1)
LLM (2)
Markdown (2)
@menu and the link dialog.Code (1)
📖 Documentation
Search (1)
Desktop (2)
🔒️ Security improvements
This discussion was created from the release v0.108.0-rc.1.
All reactions