0.20.0 Self-hosted LiveSync; Also effective for binaries.
At 0.20.0, Self-hosted LiveSync has changed the binary file format and encrypting format, for efficient synchronisation.
The dialogue will be shown and asks us to decide whether to keep v1 or use v2. Once we have enabled v2, all subsequent edits will be saved in v2. Therefore, devices running 0.19 or below cannot understand this and they might say that decryption error. Please update all devices.
Then we will see an impressibly performant synchronisation.
Of course, these are very impactful changes. If you have any questions or troubled things, please feel free to open an issue and mention me.
Note: if you want to roll it back to v1, please enable Use binary and encryption version 1
on the Hatch
pane and perform the rebuild everything
once.
Note2 (Updated): If your Obsidian on iPhone keeps restarting, please disable Customization Sync for now.
Extra but notable information:
This format change gives us the ability to detect some marks
in the binary files as same as text files. Therefore, we can split binary files and some specific sort of them (i.e., PDF files) at the specific character. It means that editing the middle of files could be detected with marks.
As a result, now only a few chunks are transferred, even if we add a comment to the PDF or put new files into the ZIP archives.