2025-04-18 16:10:44 +03:00

301 lines
17 KiB
Markdown
Vendored
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# v0.91.5
## 💡 Key highlights
* We now provide binaries to run the server on Linux on ARM without Docker (e.g. on a Raspberry Pi, thanks to @perfectra1n).
* [Introducing a map note type](https://github.com/TriliumNext/Notes/pull/1017)
* Add ability to set Trilium configuration variables via ENV variables by @pano9000 and @perfectra1n
* Quite a few mobile improvements have been done (**kindly waiting for bug reports**)
* On mobile the horizontal layout (with the launcher bar displayed at the top of the screen instead of on the left side) is now enforced.
* This allows for more real estate for the content of the note and simplifies the mobile layout.
* The launch bar has also been moved at the bottom, to be inline with modern application layouts.
* Restructured the tree as a sidebar which is triggered via a button on the left side of the title bar.
* The sidebar can also be triggered by swiping to the right on the left side of the screen. _Still some quirks to address on both iOS and Android due to their weird back button gesture_.
* Improved the positioning of the bottom bar and of the editor toolbar.
* Tabs have been enabled. Currently we are using the same implementation as on desktop, which might have a few quirks on mobile.
* Jump to note is now available.
* The mobile view now has its own launch bar configuration with its own launch bar buttons. For now only a few have been enabled. **Feel free to request any button from the desktop should you require it.**
* Now it's possible to insert footnotes in CKEditor, thanks to a fork of [ThomasAitken/ckeditor5-footnotes](https://github.com/ThomasAitken/ckeditor5-footnotes).
* It's also possible to create inline Mermaid diagrams into text notes.
* The launcher bar can now be placed at the top instead of the left of the screen, with a full-width tab bar. See [#654](https://github.com/TriliumNext/Notes/pull/654) for more information.
* [A new theme is introduced called “TriliumNext"](https://github.com/TriliumNext/Notes/pull/661) by @adoriandoran and @eliandoran. Settings on this theme are now displayed in a card layout. Redesigned tree action buttons.
* [Native title bar buttons](https://github.com/TriliumNext/Notes/pull/702) when native title bar is off for Windows and macOS.
* On Windows, on the TriliumNext theme there are window transparency effects if running under Windows, see [Mica (Windows transparency effects)](https://github.com/TriliumNext/Notes/pull/717) for screenshots. Unfortunately, it is plagued by a few bugs with Electron (the library we are using for the desktop application), see the link for more information.
* Updated Docker builds to Node 22. **Be on the lookout for any potential issues, especially for less-tested platforms such as ARM.**
## New in this release (v0.91.5)
### 🐞 Bugfixes
* [Import Dialog "Safe Import" Tooltip is cut off](https://github.com/TriliumNext/Notes/issues/1003)
* [Backend Log is not showing on mobile view](https://github.com/TriliumNext/Notes/issues/1058)
* [initial server setup form cannot be sent with enter key](https://github.com/TriliumNext/Notes/issues/94) by @pano9000
### ✨ Improvements
* [Preserve highlighted text's background color when printing](https://github.com/TriliumNext/Notes/issues/905)
### 🌍 Internationalization
*
### 🛠️ Technical updates
* update dependency @types/node to v22.12.0
* Use new type field for GitHub issues by @pano9000
* chore(client/ts): port setup entrypoint by @pano9000
* refactor(server/utils): turn isMac/isWin/isElectron/isDev into boolean by @pano9000
* chore(issue\_templates): add simple Task template by @pano9000
## From v0.91.4-beta
### 🐞 Bugfixes
* [Share: Fix going from child note to parent share root](https://github.com/TriliumNext/Notes/pull/963)
* [Context Menu Keyboard Commands wrap to next line](https://github.com/TriliumNext/Notes/issues/976)
* [Keyboard shortcuts in tree context menu are not in line with menu item](https://github.com/TriliumNext/Notes/issues/685)
* [Canvas/Excalidraw note slows down considerably with many images](https://github.com/TriliumNext/Notes/issues/967)
* [tab context menu on mobile is not accessible](https://github.com/TriliumNext/Notes/issues/969)
* [Code Notes Settings: the "Available MIME Type" list gets corrupted](https://github.com/TriliumNext/Notes/issues/988)
* [Tree Panel: the preferred width resets under certain conditions](https://github.com/TriliumNext/Notes/issues/990)
* [Mind map: the branching side preference is not persisted](https://github.com/TriliumNext/Notes/issues/986)
* HTML Import Strips away "valid" h1 tags by @pano9000
* [share.js broken on share pages](https://github.com/TriliumNext/Notes/issues/1029) by @pano9000
### ✨ Improvements
* [Add space between "delete all revisions" and ? buttons on Note revision dialog](https://github.com/TriliumNext/Notes/issues/974)
* Improved launch bar on mobile: context menu to move between available and visible, or reset the configuration.
* Enable fixed editing toolbar by default for new users.
### 🌍 Internationalization
* Translated some missing messages in Romanian.
### ⬆️ Technical improvements
* **Reached zero vulnerabilities in dependencies according to** `**npm audit**`
* Update Electron to 34
* update dependency fs-extra to v11.3.0
* update dependency force-graph to v1.49.0
* update dependency katex to v0.16.21
* update dependency better-sqlite3 to v11.8.1
* [set more secure csrf related settings](https://github.com/TriliumNext/Notes/pull/961) by @pano9000
* get rid of ts-node by @pano9000
* Fix default ivLength in dump-db tool by @Nriver
* add vitest as test framework and port current tests (& various test improvements) by @pano9000
* get rid of Webpack Critical dependency warning by @pano9000
* fix flaky getPlatformAppDataDir test on Windows by @pano9000
* refactor and add tests for \`services/import/mime\` by @pano9000
* refactor: compress images by @j9t
* Bump Electron to v34.0.1
* Bump i18next-http-backend to v3.0.2
* Bump i18next to v24.2.2
* Bump electron-forge monorepo to v7.6.1
* Bump @mind-elixir/node-menu to v1.0.4
* Docker: update node.js to v22.13.1
* webpack: add Configuration type
* webpack: add missing share.js entry point
* npm audit fix by @pano9000
* port desktop and mobile entrypoints by @pano9000
## From v0.91.3-beta
### 🐞 Bugfixes
* Prevent HTML from rendering in launcher bar.
* [Calendar overflows off right of view when in mobile view](https://github.com/TriliumNext/Notes/issues/783)
* Note tree context menu not shown on long press on iOS.
* [Advanced tree menu is only accessible in the mobile view via long-press](https://github.com/TriliumNext/Notes/issues/785)
* [NotFoundError after trying to paste filepath into note, restart required](https://github.com/TriliumNext/Notes/issues/881)
* login: fix "flash of unstyled content" by @pano9000
* [Limit search function doesn't work](https://github.com/TriliumNext/Notes/issues/920)
* [fix ck-editor checkboxes not showing checkmark while printing](https://github.com/TriliumNext/Notes/pull/908) by @pano9000
### ✨ Improvements
* [Syntax Highlighting for Batch scripts](https://github.com/TriliumNext/Notes/issues/830)
* Mobile improvements
* Translucent top bar mobile layout on iOS
* Display formatting toolbar above keyboard.
* Fonts
* Grouped the font selection by font type (sans-serif, monospace, etc.).
* Added an option to use the system font (e.g. “Segoe UI” for Windows).
* Display the content of JSON attachments and improve the style of attachment code blocks.
* Translucent top bar on desktop layout for iPad
* ['Show Help' and 'About Trillium Notes' menu options are now available in the mobile view](https://github.com/TriliumNext/Notes/issues/666)
* Back/forward buttons have been enabled for web builds as well, mostly for mobile view.
* [support for RFC 5870 geo-URIs](https://github.com/TriliumNext/Notes/pull/891) by @0Raptor
* login: add Trilium icon and improve style by @pano9000
* allow disabling mention autocomplete by pressing escape (forward port of @zadams work)
* [Restyle the help dialog](https://github.com/TriliumNext/Notes/pull/903) by @adoriandoran
* Added back ESLint support for backend notes
* Exporting JavaScript code blocks in text notes to Markdown now sets the right language tag.
### 🌍 Internationalization
* Spanish translation improvements by @hasecilu
* Chinese translation improvements by @Nriver
* [make <kbd>tags translatable</kbd>](https://github.com/TriliumNext/Notes/pull/857) by @pano9000
* [make duplicate notes suffix translatable](https://github.com/TriliumNext/Notes/pull/859) by @pano9000
* improve translatability of database\_backed\_up\_to string by @pano9000
* translate some buttons in the note tree
* translate a few note map buttons
### ⬆️ Technical Improvements
* Library updates
* force-graph to v1.47.2
* @highlightjs/cdn-assets to v11.11.1
* typedoc to v0.27.6
* jquery.fancytree to v2.38.4
* katex to v0.16.19
* @types/node to v22.10.5
* marked to v15.0.5
* mind-elixir to v4.3.6
* better-sqlite3 to v11.8.0
* CKEditor to 41.3.2
* jsdom to v26
* i18next to v24.2.1
* draggabilly to v3.0.0
* electron to 33.3.1.
* Node.js for Docker containers: v22.13.0
* ts-loader: v9.5.2
* [use existing randomSecureToken function](https://github.com/TriliumNext/Notes/pull/866) by @pano9000
* use named exports for the utils functions by @pano9000
* use Set instead of Arrays for faster lookups by @pano9000
* remove unused 'request' by @pano9000
* utils/formatDownloadTitle: simplify function by @pano9000
* remove unused tree-kill dependency by @pano9000
* [Add timezone and localtime mounts to docker-compose](https://github.com/TriliumNext/Notes/pull/892) by @perfectra1n
* login: simplify JS by @pano9000
* set password: various smaller fixes by @pano9000
* use ejs partial for injecting window.glob by @pano9000
* add prettier as devDep and scripts by @pano9000
* add override for \*.json tab width to match .editorconfig by @pano9000
* update deprecated electron packages by @pano9000
* Add server logging for CKEditor state changes by @process
* refactor(data\_dir): simplify logic and make code robust and testable by @pano9000
* replace csurf with csrf-csrf by @pano9000
* refactor(backend\_log): improve getBackendLog by @pano9000
* fix(views): replace deprecated meta tag by @pano9000
## From v0.91.2-beta
### 🐞 Bugfixes
* [Can not toggle notes by clicking on the note's icon in the navigation bar](https://github.com/TriliumNext/Notes/issues/812)
* [Cannot arrow down to "full search" when no search results are returned in quick search](https://github.com/TriliumNext/Notes/issues/798)
* [Toolbar tooltips no longer shown](https://github.com/TriliumNext/Notes/issues/795)
* [Two help pages will be opened when the help button is clicked](https://github.com/TriliumNext/Notes/issues/570)
### ✨ Improvements
* [fix typo Trillium](https://github.com/TriliumNext/Notes/pull/799) by @pano9000
* [Libraries in Excalidraw are broken](https://github.com/TriliumNext/Notes/pull/787) by @CobriMediaJulien
* [Color scheme selection](https://github.com/TriliumNext/Notes/pull/800) by @adoriandoran
* [Style Next: Restyle the "Jump to Note" dialog](https://github.com/TriliumNext/Notes/pull/802) by @adoriandoran
* Exporting a Markdown file will now try to preserve syntax highlighting
* [Auto-show left panel when configuring launchbar](https://github.com/TriliumNext/Notes/issues/779)
* [Accessibility: explicitly associate label and input elements](https://github.com/TriliumNext/Notes/pull/813) by @pano9000
### 🌍 Internationalization
* Spanish improvements by @hasecilu
* [localize hardcoded English aria-labels](https://github.com/TriliumNext/Notes/pull/801) by @pano9000
* Translate new note title
### ⬆️ Library updates
* typedoc: v0.27.5
* highlightjs: v11.11.0
* marked: v15.0.4
* express-rate-limit to v7.5.0
* chokidar: 4.0.3
* katex: v0.16.18
* sanitize-html: v2.14.0
* webpack-cli: v5.1.4 → v6.0.1
* i18next: v24.2.0
* @braintree/sanitize-url: v7.1.1
## From v0.91.1-beta
### 🐞 Bugfixes
* [Syntax highlight in code blocks only in edit mode](https://github.com/TriliumNext/Notes/issues/668)
* To do lists not preserved on safe import.
* [File type video with emoji in name will break the preview](https://github.com/TriliumNext/Notes/issues/757)
* [Attribute "jump to" for internal links not working anymore](https://github.com/TriliumNext/Notes/issues/732)
### ✨ Improvements
* [Add label definition type for standalone time](https://github.com/TriliumNext/Notes/pull/653) by @mm21
* [Remove resizer from backend log text area](https://github.com/TriliumNext/Notes/pull/670) by @meichthys
* Use CodeMirror for backend log
* Support for ELK layout in Mermaid diagrams (sponsored by @perfectra1n). See the relevant “ELK layout engine” in <a class="reference-link" href="#root/xKNWRXC24L5y/moBMU5tfa7Xx/Tshj61stDt8g/tPQgGfUs7ewD">[missing note]</a> for more information.
* [Make exact matches rise higher up in search](https://github.com/TriliumNext/Notes/pull/678) by @perfectra1n
* [Change layout of promoted attributes](https://github.com/TriliumNext/Notes/pull/538)
* [Add full text search in autocomplete](https://github.com/TriliumNext/Notes/pull/659) by @SiriusXT
* [Importing single HTML file: prefer html title over filename](https://github.com/TriliumNext/Notes/pull/598) by @maphew
* [Support page breaks for printing](https://github.com/TriliumNext/Notes/pull/692)
* [user configurable list of allowed html tags in import](https://github.com/TriliumNext/Notes/pull/601) by @maphew
* General HTML support; now the editor supports more HTML tags and displays them appropriately.
* Currently the import function is the only way to benefit from them, or modifying the source code manually by changing the note type.
* Change default icons for “Go to Previous Note” and “Go to next note” launcher buttons.
* Move toggle sidebar button near tab bar on horizontal layout.
* Mind map notes now are full-width by default (same as Canvas, for example).
* Tabs can now display the icon notes instead of only workspace icons (this is the default behaviour of the TrilumNext theme, can be added to any other theme via `--tab-note-icons: true;` to `:root`).
* [New Features for note map](https://github.com/TriliumNext/Notes/pull/700) by @CobriMediaJulien
* [Add supported link protocols](https://github.com/TriliumNext/Notes/pull/694) by @SiriusXT
* [add Mind Elixir plugin @mind-elixir/node-menu](https://github.com/TriliumNext/Notes/issues/723)
* [Format dates and times](https://github.com/TriliumNext/Notes/pull/741) by @adoriandoran
* [Expose cheerio in backend script api](https://github.com/TriliumNext/Notes/pull/758) by @kleutzinger
* [Format note paths](https://github.com/TriliumNext/Notes/pull/759) by @adoriandoran
* [add remark about UFW issues](https://github.com/TriliumNext/Notes/pull/767) by @pano9000
* [Code Block language support for Terraform (HCL)](https://github.com/TriliumNext/Notes/issues/739)
* [Display the fixed toolbar on multiple lines](https://github.com/TriliumNext/Notes/issues/729) (adjustable in settings)
* [Hide `internalLink` from `Jump To Note` dialog](https://github.com/TriliumNext/Notes/issues/713)
### 🌍 Internationalization
* [Chinese translation improvements (& some new messages translated)](https://github.com/TriliumNext/Notes/pull/673) by @Nriver
* [Add translation for doc notes](https://github.com/TriliumNext/Notes/pull/677) by @Nriver
* [Spanish improvements](https://github.com/TriliumNext/Notes/pull/695/files) by @hasecilu
* [Traditional Chinese support](https://github.com/TriliumNext/Notes/pull/698) by @dwong33
* Translate import toast messages.
* Translate hidden notes (including options).
* Romanian improvements.
* [Brazillian Portuguese](https://github.com/TriliumNext/Notes/pull/740) by @Nertonm work in progress (only server translations for now)
* Translate note autocomplete.
### ⬆️ Library updates
* i18next, i18next-http-backend, i18next-fs-backend
* force-graph v1.47.0
* express 4.2.12
* mermaid 11.4.1
* axios 1.7.9
* katex 0.16.14
* https-proxy-agent 7.0.6
* better-sqlite3 11.6.0
* electron 31.3.1 -> 33.2.1
* jimp 0.22.12 -> 1.6.0
* mind-elixir 4.3.3
* Development tools
* electron-forge
* Docker Node.js updated to v20.18.1
* GitHub Actions workflow actions
* webpack v5.97.1
* TypeScript + types
* yargs
* helmet
* marked 15.0.3
* is-svg 5.1.0
* image-type 5.2.0
* eslint v9.16.0
* jsdom v25.0.1
* compression v1.7.5