# v0.104.1
> [!NOTE]
> If you enjoyed this release, consider showing a token of appreciation by:
> 
> *   Pressing the “Star” button on [GitHub](https://github.com/TriliumNext/Trilium) (top-right).
> *   Considering a one-time or recurrent donation to the [lead developer](https://github.com/eliandoran) via [GitHub Sponsors](https://github.com/sponsors/eliandoran) or [PayPal](https://paypal.me/eliandoran).

## 💡 Key highlights

1.  Significant improvements to the OneNote import:
    1.  [Survive sustained Graph throttling](https://github.com/TriliumNext/Trilium/pull/10600) by @perfectra1n
    2.  [Handle 504 errors instead of crashing](https://github.com/TriliumNext/Trilium/issues/10558).
    3.  Skip pages that could not be downloaded and report them.
    4.  Add device-code flow to allow imports from the web app (not just from desktop).
    5.  Refresh token so multi-hour imports are possible.
    6.  Better support for screen clippings, table sizing and backgrounds, drawings with light/dark theme support, improved creation date processing.
    7.  Preserve `newNotesOnTop`.
    8.  Improved selector for notebooks.
    9.  Creation dates are now preserved better by taking into account the meta-information, not just the creation date returned by the API.
    10.  [Encrypted sections are properly tolerated and reported.](https://github.com/TriliumNext/Trilium/issues/10662)
2.  Improvements to the LLM
    1.  LLM model selection has been redesigned: instead of having a fixed list of models, the models are dynamically retrieved from the provider (ChatGPT, Gemini) and the list of models can now be customized.
        1.  If you are migrating from a previous version, the list of models will appear as empty. Simply press the Edit button corresponding to your provider in the model dropdown.
    2.  The LLM can now read the user guide that comes bundled in with the application and can answer questions about Trilium's features.
    3.  Improved the provider setup process.
    4.  [Added support for DeepSeek](https://github.com/TriliumNext/Trilium/issues/10338), but without web search capability.
    5.  [First-hand support for custom OpenAI-compatible providers](https://github.com/TriliumNext/Trilium/issues/10601)
    6.  Add support for Ollama and LM Studio, as well as any self-hosted provider (@Kureii & @eliandoran)

## 🐞 Bugfixes

1.  [Migration fails if the hidden notes were protected.](https://github.com/TriliumNext/Trilium/issues/10549)
2.  [Desktop sync behind multi-cookie reverse proxies fails.](https://github.com/TriliumNext/Trilium/issues/10549)
3.  Claude Code integration not working on Windows if installed via `npm`.
4.  [Spellcheck seems to automatically reactivate whenever Trilium is restarted](https://github.com/TriliumNext/Trilium/issues/10569).
5.  [Turning off smooth scrolling in options does not work](https://github.com/TriliumNext/Trilium/issues/10559)
6.  [Sync fails if the reverse proxy contains its own cookies](https://github.com/TriliumNext/Trilium/issues/10548)
7.  Initial sync would not properly display errors.
8.  [Some tooltips still showing \[protected\] after unlocking the protected session](https://github.com/TriliumNext/Trilium/issues/9701)
9.  [The tooltip on the sync status button remains always visible](https://github.com/TriliumNext/Trilium/issues/10567)
10.  [Disabled TOTP from previous versions becomes active again](https://github.com/TriliumNext/Trilium/issues/10576)
11.  [First setup unreadable on Windows 10 due to background effects](https://github.com/TriliumNext/Trilium/issues/10590)
12.  [Image viewer's shortcuts block full-app shortcuts](https://github.com/TriliumNext/Trilium/issues/10557) by @adoriandoran
13.  [Can't scroll down to media player controls](https://github.com/TriliumNext/Trilium/issues/10578) by @adoriandoran
14.  [Docker upgrade v0.103.0 to v0.104.0 fails on CentOS 7 (SQLITE\_IOERR\_SHMSIZE)](https://github.com/TriliumNext/Trilium/issues/10627)
15.  [New instance resets editor toolbar option](https://github.com/TriliumNext/Trilium/issues/10626)
16.  [Link on a single paragraph is not deleted properly](https://github.com/TriliumNext/Trilium/issues/10613)
17.  ["Redirect bare domain to Share page" also redirects login page to share root](https://github.com/TriliumNext/Trilium/issues/10552)
18.  [On bigger notes, the content of the note tends to "refresh"](https://github.com/TriliumNext/Trilium/issues/10575)
19.  HTML attachments opened in Safari instead of being downloaded.
20.  [Fix uneven tab spacing when left pane is visible](https://github.com/TriliumNext/Trilium/pull/10579) by @StevenDoesStuffs
21.  Fixes to collapsible blocks by @adoriandoran 1. Fixed being unable to drag-select across multiple paragraphs inside a collapsible block on Chromium-based browsers. 2. Expanding/collapsing a block is no longer undoable, so <kbd>Ctrl</kbd>+<kbd>Z</kbd> after reading a note doesn't re-collapse what you just opened. 3. All collapsible blocks are forced open when printing or exporting to PDF, so their content isn't lost. 4. Newly inserted collapsible blocks start expanded. 5. Fixed a collapsed block's state being incorrectly written back when a temporary search reveal was stripped. 6. Collapsible list items now temporarily expand to reveal find-in-note matches nested inside them, and follow the highlight as you step through results. 7. Fixed the collapse arrow still pointing "collapsed" while an item was temporarily revealed.
22.  Media player fixes by @adoriandoran 1. Attachments opened in full detail now use the full media player UI instead of the compact preview. 2. Added previous/next navigation between an owner note's playable attachments, restricted to media the player can actually play (audio siblings for an audio player, not every `file`\-role attachment). 3. Fixed the media player and image viewer swallowing global Trilium shortcuts that overlap with their own bare-key bindings (Ctrl/Cmd/Alt chords now pass through). 4. Fixed keyboard-shortcut hints from standalone media players leaking into every other context's hint list. 5. Fixed the attachment viewer/player continuing to show the old content after an attachment was replaced.
23.  Fixed keyboard shortcut hints overlapping with the floating buttons.
24.  Spellcheck custom words not editable in the options modal.
25.  Link previews are badly rendered in image captions.

## ✨ Improvements

1.  [Auto-formatting for extended to-do list states](https://github.com/TriliumNext/Trilium/issues/10556)
2.  OAuth: Improved error management
3.  OCR now supports EPUB format.
4.  Added support for indenting tables in text notes. by @adoriandoran
5.  Search improvements by @adoriandoran
    1.  Link previews are now searchable — their title, URL and description are indexed instead of being stripped away.
    2.  Link-preview metadata now appears in quick-search snippets (URL, title and description on separate lines).
    3.  Quick-search snippets now decode HTML entities, so you see `<`, `&` and real spaces instead of `&lt;`, `&amp;` and `&nbsp;`.
6.  Improvements to collapsible blocks by @adoriandoran
    1.  Collapsible blocks now remember their expanded/collapsed state.
    2.  Collapsible blocks expand automatically when a search result is highlighted in their body.
7.  Improved the alignment of custom task checkbox glyphs and labels by @adoriandoran
8.  Desktop: Added an option to disable GPU acceleration

## 🛠️ Technical updates

1.  Nix flake fixes by @FliegendeWurst