github vrtmrz/obsidian-livesync 0.24.11

latest releases: 0.24.15, 0.24.14, 0.24.13...
9 days ago

0.24.11

Peer-to-peer synchronisation has been implemented!

Until now, I have not provided a synchronisation server. More people may not even know that I have shut down the test server. I confess that this is a bit repetitive, but I confess it is a cautionary tale. This is out of a sense of self-discipline that someone has occurred who could see your data. Even if the 'someone' is me. I should not be unaware of its superiority, even though well-meaning and am a servant of all. (Half joking, but also serious).
However, now I can provide you with a signalling server. Because, to the best of my knowledge, it is only the network that is connected to your device.
Also, this signalling server is just a Nostr relay, not my implementation. You can run your implementation, which you consider trustworthy, on a trustworthy server. You do not even have to trust me. Mate, it is great, isn't it? For your information, strfry is running on my signalling server.

Nevertheless, that being said, to be more honest, I still have not decided what to do with this signalling server if too much traffic comes in.

Note: Already you have noticed this, but let me mention it again, this is a significantly large update. If you have noticed anything, please let me know. I will try to fix it as soon as possible (Some address is on my profile).

Improved

  • New Translation: es (Spanish) by @zeedif (Thank you so much)!
  • Now all of messages can be selectable and copyable, also on the iPhone, iPad, and Android devices. Now we can copy or share the messages easily.

New Feature

  • Peer-to-Peer Synchronisation has been implemented!
    • This feature is still in early beta, and it is recommended to use it with caution.
    • However, it is a significant step towards the self-hosting concept. It is now possible to synchronise your data without using any remote database or storage. It is a direct connection between your devices.
    • Note: We should keep the device online to synchronise the data. It is not a background synchronisation. Also it needs a signalling server to establish the connection. But, the signalling server is used only for establishing the connection, and it does not store any data.

Fixed

  • No longer memory or resource leaks when the plug-in is disabled.
  • Now deleted chunks are correctly detected on conflict resolution, and we are guided to resurrect them.
  • Hanging issue during the initial synchronisation has been fixed.
  • Some unnecessary logs have been removed.
  • Now all modal dialogues are correctly closed when the plug-in is disabled.

Refactor

  • Several interfaces have been moved to the separated library.
  • Translations have been moved to each language file, and during the build, they are merged into one file.
  • Non-mobile friendly code has been removed and replaced with the safer code.
    • (Now a days, mostly server-side engine can use webcrypto, so it will be rewritten in the future more).
  • Started writing Platform impedance-matching-layer.
  • Svelte has been updated to v5.
  • Some function have got more robust type definitions.
  • Terser optimisation has slightly improved.
  • During the build, analysis meta-file of the bundled codes will be generated.

This is quite a substantial release, and I almost raised the minor version (although I try not to do so unless compatibility is broken). Thus, now I can respond to issues, finally... I appreciate all your patience so much for a long time! I will handle replies later.

Don't miss a new obsidian-livesync release

NewReleases is sending notifications on new releases.