Trilium 0.41 contains massive frontend refactoring (in total 300 commits) - previously mostly spaghetti frontend has been "componentized". This is internal refactoring and end-user experience is mostly the same as in 0.40.
**Given the massive amount of internal changes this release is expected to contain a lot of bugs and is not recommended for daily use. However, you are encouraged to test it and report bugs. 0.41.X is fully compatible with the latest 0.40.6+ and it is possible to switch between both on the same document.**
Besides refactoring, a bunch of minor things have been improved, some of them are:
* PDF notes now show preview of the PDF (292)
* history navigation has been improved and provides visual feedback for when back & forward actions are available, plus context menu with complete history
* spellcheck now uses native electron spellchecking which brings the possibility of adding a word to the system dictionary (923)
* reference links are now implemented and used by default - such links differ from ordinary hyper links by the fact that their title/label always contains up-to-date name of the note (closes 905)
* import / export now uses ZIP by default, TAR stays supported for import (for certain period of time). Problem with tar was unicode support in non-unix platforms (closes 918)
* Trilium now parses pasted HTML content and images referenced by URL are downloaded locally so they are available also offline (closes 765)
* integrated editing component (CKEditor) has some nice upgrades, especially regarding more advanced table support
* display of link map is more robust (previously it sometimes randomly did not appear correctly)
* it's now possible to see recent changes for a subtree (tree context menu -> advanced -> recent changes)
* it is now possible to collapse also left side pane
* significantly faster sync update
* external link labels are not auto-generated anymore. Especially clipped content can have hundreds of them and their value is small
* added read-only view - can be set either manually via `readOnly` label or is used automatically for long notes
* note paths widget has been moved to the left side and now displays current path which should help orient yourself when navigating big note trees
* "production" builds are now using webpack for frontend files
* include note allow setting size
* fixed free form link 959