-
v0.0.6 Pre-release
released this
2026-05-28 15:56:13 +02:00 | 78 commits to main since this releaseRelease v0.0.6 of sync-md-multi
v0.0.6 — Binding lifecycle fixes & project dropdown improvements
Bug fixes
- Creating a binding no longer requires an app restart. The background now detects config changes reliably: a 200 ms delay was added to the
persistedDataUpdatehandler to avoid a race condition where the hook fired before SP had committed the new data to storage. A 5-second polling interval was also added as a fallback, so any change the hook may have missed is picked up within seconds. - Deleting a binding stops sync immediately, without requiring a restart.
- Newly created SP projects now appear in the binding dropdown without restarting the app. The project list is loaded directly from
PluginAPI.getAllProjects()on every panel open (same approach as the originalsync.mdplugin), with automatic retries if SP hasn't finished loading the project state into the iframe yet. A background 60-second refresh and apersistedDataUpdatelistener in the iframe provide additional layers of freshness.
Improvements
- The project dropdown only shows projects that don't already have a binding, making it impossible to accidentally assign two bindings to the same project.
- Edit mode is handled correctly: when editing an existing binding, its project is included in the dropdown even though it's already bound.
- A ↺ Refresh button was added next to the project dropdown for an immediate manual refresh of the project list.
Known limitation
Drag & drop of
.mdfiles onto the file path field is not yet supported — SP intercepts drag events before they reach the plugin iframe. Use the Browse… button as the alternative.Downloads
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
4 downloads
- Creating a binding no longer requires an app restart. The background now detects config changes reliably: a 200 ms delay was added to the