# v0.94.0
> [!CAUTION]
> **For (advanced) manual setups only:** Following a tooling change, the main entry point has changed from `main.js` to `main.cjs`. Same goes for the Electron build.

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

## 💡 Key highlights

*   A [huge amount of work](https://github.com/TriliumNext/Notes/pull/1325) was done by @perfectra1n to integrate LLMs such as Ollama and ChatGPT into Trilium.
    *   The goal is not to have basic API integration, but to really let the LLM understand the notes that are part of your knowledge base.
    *   For more information, consult the in-app User Guide (<kbd>F1</kbd>) and look for the AI section.
    *   Since this is highly experimental work, the LLM chat functionality might work well or it might have quite a few quirks, please keep this in mind.
*   This release brings significant updates to our libraries:
    *   CKEditor, used by text notes is now updated to the latest version and that brings in new features (see below) and performance improvements.
    *   CodeMirror, used by code notes has been upgraded to a new generation.
    *   Code notes now also support themes, similar to code blocks.

## 🐞 Bugfixes

*   [Inconsistent Find and Replace Behavior in Large Code Notes](https://github.com/TriliumNext/Notes/issues/1826) by @SiriusXT
*   [Incorrect import of multiple inline math](https://github.com/TriliumNext/Notes/pull/1906) by @SiriusXT
*   [Random EPERM: operation not permitted on Windows](https://github.com/TriliumNext/Notes/issues/249)
*   [The update button is sometimes blank](https://github.com/TriliumNext/Notes/pull/1975) by @SiriusXT
*   [Unable to handle multi line mathematical formulas when importing markdown](https://github.com/TriliumNext/Notes/pull/1984) by @SiriusXT
*   Calendar: became invisible if resizing while not visible
*   [GPX track not rendering on geomap note](https://github.com/TriliumNext/Notes/issues/2085)
*   [GPX icons not working](https://github.com/TriliumNext/Notes/issues/1772)

## ✨ Improvements

*   Improved the text editor style, to match the TriliumNext.
*   Footnotes work in image captions by @werererer
*   Improvements to text notes (see the in-app help for more details):
    *   Bookmarks, similar to HTML anchors.
    *   Emojis.
*   [Make it show which node triggered the event when right-clicking on tree](https://github.com/TriliumNext/Notes/pull/1861) by @SiriusXT
*   [Only expand/collapse the left pane of the focused window](https://github.com/TriliumNext/Notes/pull/1905) by @SiriusXT
*   Code notes:
    *   Added the GDScript (Godot) language for both code notes and code blocks in text notes.
    *   Added the Nix language (and also in code blocks for text notes).
    *   Added an indentation marker.
    *   Note: syntax highlighting for some languages (mostly HTML-template languages such as EJS, JSP) is no longer supported due to lack of upstream support. If this is a problem, feel free to report an issue and we can see what can be done about it.
*   Added support for additional syntax highlighting for code blocks in text notes: Cypher, XML-DTD, Jinja2, ClojureScript, Perl, Scala, Scheme, Swift, SystemVerilog, mIRC, Cobol, Dylan, RPM Specfile, TCCN3.
*   Mermaid diagrams: basic syntax highlight (not all diagram types are supported) and code folding.
*   Slight organization in Appearance settings: code block themes are now in "Text Notes", added a "Related settings" section in Appearance.
*   [Added support for opening and activating a note in a new tab using Ctrl+Shift+click on notes in the launcher pane, note tree, or note images](https://github.com/TriliumNext/Notes/pull/1854) by @SiriusXT
*   [Style and footnote improvements](https://github.com/TriliumNext/Notes/pull/1913) by @SiriusXT
*   Backend log: disable some editor features in order to increase performance for large logs (syntax highlighting, folding, etc.).
*   [Collapsible table of contents](https://github.com/TriliumNext/Notes/pull/1954) by @SiriusXT
*   Sessions (logins) are no longer stored as files in the data directory, but as entries in the database. This improves the session reliability on Windows platforms.
*   Code blocks in text notes:
    *   For editable notes, clicking on a code block will reveal a toolbar with a way to easily change the programming language and another button to copy the text to clipboard.
    *   For read-only notes, a floating button allows copying the code snippet to clipboard.
*   [Math in text notes: equations can now be displayed on multiple lines](https://github.com/TriliumNext/Notes/pull/2003) by @SiriusXT
*   [Metrics endpoint](https://github.com/TriliumNext/Notes/pull/2024) by @perfectra1n
*   Docker: Rootless [Dockerfiles are now available](https://github.com/TriliumNext/Notes/pull/1923/files) by @perfectra1n
*   [Text notes: add a way to move up and down text lines via a keyboard shortcut](https://github.com/TriliumNext/Notes/issues/1002) by @dogfuntom
*   [improve tab scroll UX by switching from instant to smooth behavior](https://github.com/TriliumNext/Notes/pull/2030) by @SiriusXT
*   Calendar view: display calendar view if `#viewType=calendar` is set.
*   [Mind map: add search support](https://github.com/TriliumNext/Notes/pull/2055) by @SiriusXT
*   Geo map:
    *   The name, icon and color of the track note are displayed as the starting point.
    *   Added a distinct icon for the end marker.

## 📖 Documentation

*   Documented the new text note features: bookmarks and emojis.
*   Add documentation links and updated pnpm commands to README by @perfectra1n
*   Add documentation around setting the various environment variables to control upload size limit by @perfectra1n
*   README improvements by @FliegendeWurst
*   Improved the documentation of text note keyboard shortcuts (including adding missing shortcuts).
*   Improvements to "Packaged version for Linux" by @HersheyStormBottle

## 🌍 Internationalization

*   \[…\]

## 🛠️ Technical updates

*   The application has been completely restructured to a `pnpm` mono-repo using NX.
    *   This is only the beginning, where we have properly split the client, server and desktop apps. We'll integrate more and more repos as time goes by, especially the ckeditor.
    *   For documentation please consult [Notes/docs/Developer Guide/Developer Guide/Environment Setup.md at develop · TriliumNext/Notes](https://github.com/TriliumNext/Notes/blob/develop/docs/Developer%20Guide/Developer%20Guide/Environment%20Setup.md) and [Notes/docs/Developer Guide/Developer Guide/Project Structure.md at develop · TriliumNext/Notes](https://github.com/TriliumNext/Notes/blob/develop/docs/Developer%20Guide/Developer%20Guide/Project%20Structure.md).
*   A large number of [dependency updates](https://github.com/TriliumNext/Notes/milestone/13).
*   OpenAPI documentation fixes by @FliegendeWurst
*   more info on several database table by @FliegendeWurst
*   CKEditor (the editor used for text notes) has been updated 7 versions, from v42 to 45.
*   Read-only search refactoring by @SiriusXT
*   add option to mount database read-only (development preview) by @FliegendeWurst