Repository navigation
Releases
Releases · hesprs/sync-engine
3.5.0
Core
- Enhanced module download security by adding ECDSA signature verification for module catalogs. Third-party sources must now provide a public key with the source URL and serve a matching catalog signature.
- Optimized startup speed by deferring module loading after plugin initialization instead of holding up startup.
- Optimized sync record database performance.
- Greatly reduced the probability of sync / module breakages due to frequent core update.
- Changes to
data.jsonmade outside Obsidian are now applied live without restarting the plugin. - Added settings validation. Values loaded from
data.jsonthat fail validation now fall back to their defaults instead of silently corrupting syncs. - Modules found in the modules folder that are not listed in any source are now registered automatically from their embedded metadata instead of showing the untrusted module dialog.
- Fixed permanent deletion of folders failing because it used the file removal API on folders.
- Fixed the retry middleware sleeping
Retry-Afterseconds as milliseconds, which made retries fire too early when the server asked to wait. - Fixed file tree conflict resolution icons being cropped.
Smart Merge Module
- Fixed missing base text for files only downloaded to local and never uploaded.
WebDAV Module
- Removed the unused
displaynamerequest from PROPFIND.
All Modules
- Added setting schema validation for corresponding settings.
Contributors
3.4.3
Core
- Fixed the bug that when the max file size limit is enabled, oversized files are treated as deleted. They are now left out of sync entirely.
- Fixed CSS classes colliding with Excalidraw by isolating all internal classes.
- Improved module management to pick the highest module version across sources and prefer the source that is currently installed.
- Improved the asymmetric storage confirmation dialog to also display standalone warnings that do not require migration.
- Greatly optimized binary request body encoding to reduce peak memory usage when uploading large files on mobile.
- Added sync strategy guide in the settings UI.
Smart Merge Module
- Fixed the conflict resolver blindly merging non-mergeable files.
- Added
.txtfiles to the mergeable file types.
Encryption Module
- Improved the warnings shown when toggling encryption to explain the consequences, including backend-specific advice.
Dropbox Module
- Fixed header JSON escaping for file names containing emoji or other characters outside the Unicode BMP.
Contributors
3.4.2
Core
- Supported editing module version in the module editor.
- Fixed the bug that causes module update button to never show when auto-update is disabled.
- Added module management menu item to manually refresh sources.
- Add a loading indicator when module sources are being loaded.
- Ensured network response headers are always normalized to lowercase.
WebDAV Module
- Implemented support for digest authorization and automatic digest authorization detection.
Google Drive Module
- Fixed the bug that when base directory is
/, sync planning reports to delete all local files after upload. - Missing account ID is now treated as not authenticated to prevent mysterious record mismatch and decryption error.
Rclone S3 Timestamp Module
- Implement the module to transform
x-amz-meta-mtimeheader to second precision to make Rclone parse and apply modification time to server files.
Dropbox Module
- Missing account ID is now treated as not authenticated to prevent mysterious record mismatch and decryption error.
Contributors
3.4.1
Core
- Cleared Obsidian automated review warnings, changes include updating dependencies and tightening warning-prone code.
3.4.0
Core
- Added the Focus sync feature to initiate a sync when Obsidian regains focus or is switched back to foreground.
- Made the operation confirmation file tree UI display move sources for move operations.
- Made Asymmetric storage off by default, doesn't affect existing users.
- Fixed error entries in exported logs no showing the timestamp.
- Fixed the sync hanging forever when the chosen conflict strategy is missing.
- Optimized memory consumption during chunked upload.
- Removed memory control options since it does not have real effect in current Obsidian environment.
- Made internal operation optimization capturing more precise and simplified its implementation.
- Improved syncing robustness when confronting server rate limits and network fluctuation.
- Improved internal namespace isolation to support double instancing.
- Improved internal sync operation construction flow.
- Improved internal file tree rendering process.
Google Drive Module
- Made file creation and modification time displayed in the Google Drive UI when available.
- Fixed the wrong MIME type for Obsidian
.basefiles.
Encryption Module
- Improved metadata decryption to pass-through metadata values that doesn't appear encrypted.
WebDAV Module
- Added new capability Timestamp headers to send
X-OC-MtimeandX-OC-Ctimeto make file creation and modification time displayed correctly in the WebDAV's UI for supported servers like Nextcloud.
S3 Module
- Optimized file movement handling to batch old object deletions generated from movements.
Smart Merge Module
- Improved merging process to perform two-way merge when the file is previously untracked (base text missing) instead of falling back to latest survive.
Dropbox Module
- Experimental Dropbox backend support, will be in testing phase until attracting 50+ users to apply for a Dropbox production review.
- Implemented PKCE-based authorization flow and operation batching for create directory, move, delete, and upload file operations.
Contributors
3.3.4
Core
- Supported loading module from JavaScript code.
- Fixed deselecting a child move operation subsumed by a parent move during sync plan phase still moves the child. Now deselected children moves will be kept as-is.
3.3.3
Core
- Fixed syncing a re-included file whose parent folders have "Don't sync" sync strategy causing sync failures.
- Optimized sync strategy matching performance.
Google Drive Module
- Enhanced token scope check and error message parsing.
3.3.2
Core
- Enforced new URL canonicalization discipline.
- Clicking a collapsed file path in the failed operations pop-up now expands the path.
WebDAV Module
- Enforced new URL canonicalization discipline.
- Fixed moving a file onto an existing file causes a 412 error.
S3 Module
- Enforced new URL canonicalization discipline.
Encryption Module
- Due to the URL canonicalization, WebDAV and S3 endpoints containing some rare characters will change. Since the decryption password is bound to the URL, these users need a remote migration. This should only affect a small portion of users.
- Implemented URL compatibility mode and remote migration notice.
3.3.1
Core
- Fixed streamed downloading fetches file metadata redundantly for each chunk.
- Fixed "Clear records" loading forever when previous sync run created more than one IndexedDB stores.
WebDAV Module
- Fixed file metadata not being retrieved by the correct name.
S3 Module
- Optimized object metadata fetching by using the headers returned by object downloads instead of initiating a new request.
- Fixed several minor issues and improved compatibility with different S3 servers.
3.3.0
Core
- Allowed metadata of files and folders (e.g. creation and modification time) to be synchronized across devices. The effectiveness of preservation varies per-device and per-server.
- Added hint at the bottom of module management page when the plugin is outdated.
WebDAV Module
- Implemented metadata preservation via
PROPPATCHrequests. - Categorized server-dependent capability toggles into a dedicated sub-page with clearer description.
- Fixed Etag not being normalized when uploading through chunked upload.
S3 Module
- Implemented metadata preservation via
x-awz-meta-*headers.
Google Drive Module
- Implemented metadata preservation via
appProperties.
Encryption Module
- Implemented metadata encryption.
Smart Merge Module
- Implemented file metadata merging during conflict resolution.