Pre-release v2.1 is now available (Updated 26 June)

IMPORTANT: if you are using the web clipper you might want to hold off on using this version because it won't be compatible with the version currently on the extension stores. I want to release a new version very soon, so you shouldn't have long to wait in any case.


For now the main changes in this pre-release are the synchronisation optimisations. The goal is to optimise the first sync, which has always been quite slow, as well as save server resources and bandwidth for Joplin Server.

There are three optimisations:

  • Applies to all sync targets: The synchroniser now keeps track of items that have never been synced, and for those it skips an extra fetch per item. This is enabled by default.

  • Applies to Joplin Server: Upload queries are now uploaded in batch and, server side, also saved in batch (in a transaction). For now this is disabled behind a feature flag so that the app remains compatible with Joplin Server 2.0.

  • Applies to Joplin Server: Since the server parses the Joplin items, it can provide accurate timestamps in the metadata calls. It means it's no longer necessary to download the full item to get the timestamp, it can rely on the metadata instead (and metadata is sent in batch too). Also disabled behind a feature flag, to maintain compatibility with Joplin Server 2.0.

In my tests when doing a first sync with 8031 items with Joplin Server, it would previously take 45 min 15s. After optimisation it takes 9 min 15s, so about 5 times faster! The batching of requests and responses obviously makes a huge difference but I wasn't expecting that much. Resource upload is a bit more complicated so for now this part is not optimised so a note collection with many resources will see less of an improvement.

These improvements will be enabled by default on the final release, but in the meantime if you want to try (you'll need Joplin Server 2.1 Beta), you can set these two flags in .config/settings.json:

"featureFlag.syncAccurateTimestamps": true,
"featureFlag.syncMultiPut": true,

Download

Changelog

  • Improved: Added feature flags to disable Joplin Server sync optimisations by default, so that it still work with server 2.0 (326fef4)
  • Improved: Allow uploading items in batch when synchronising with Joplin Server (0222c0f)
  • Improved: Improved first sync speed when synchronising with Joplin Server (4dc1210)
  • Improved: Mask auth token and password in log (0d33955)
  • Improved: Optimise first synchronisation, when items have never been synced before (15ce5cd)
  • Improved: Update Mermaid: 8.8.4 -> 8.10.2 (#5092 by Helmut K. C. Tessarek)
  • Fixed: Plugins: Fixed saving secure settings to the keychain, and added way to store plugin settings to settings.json (ab9bbcb)
2 Likes

v2.1.5

IMPORTANT: if you are using the web clipper you might want to hold off on using this version because it won't be compatible with the version currently on the extension stores. I want to release a new version very soon, so you shouldn't have long to wait in any case.


  • New: Plugins: Add support for read and writing text, HTML and images from/to clipboard (50ecdc2)
  • Improved: Web Clipper now must request authorisation before accessing the application data (67d9977)
  • Improved: Also allow disabling TLS errors for Joplin Cloud to go around error UNABLE_TO_GET_ISSUER_CERT_LOCALLY (118a2f9)
  • Improved: Apply monospace font to code dialog in Rich Text editor (#4905)
  • Fixed: Handle special type of code block when importing ENEX files (#4965)
  • Fixed: Fixed error that could prevent a revision from being created, and that would prevent the revision service from processing the rest of the notes (#5051)
  • Fixed: Fixed issue when trying to sync an item associated with a share that no longer exists (5bb68ba)
  • Fixed: Fixed note history line count information (Regression) (caabdbd)
  • Fixed: Fixed readability of links in notification banners (#4983)

v2.1.7


Please note that the Joplin Server optimizations are activated in this release, so if you are self-hosting you'll need to upgrade to Joplin Server 2.1.6-beta. In future versions, the app should display an error message saying which version of Joplin Server it is compatible with.


  • New: Add support for Joplin Server X-API-MIN-VERSION header (51f3c00)
  • Improved: Activate Joplin Server optimisations (3d03321)
  • Fixed: Fixed search when the index contains non-existing notes (5ecac21)
  • Fixed: Notes would appear to be in the wrong notebook after having been shared (9693187)
1 Like