Repository navigation
Releases
Releases · kovalevtech/obsidian-rock-sync
1.3.0
Immutable
release. Only release title and notes can be modified.
What's Changed
- improve connection status and added Sync now buttonsync/pull/7
- add a new admin page to view vault changes history
Full Changelog: 1.2.0...1.3.0
1.2.1-beta.1
Immutable
release. Only release title and notes can be modified.
Full Changelog: 1.2.0...1.2.1-beta.1
1.2.0
Immutable
release. Only release title and notes can be modified.
What's Changed
Security
- Plugin: paths from the server are checked before anything is written. A malicious server, or anyone between the plugin and an
http://server, could name a path likea\..\..\xin the manifest and have the plugin write outside the vault, up to replacing its ownmain.js. Such paths are now dropped with a console warning. Update the plugin on every device. - Plugin: the settings warn when the server URL is plain
http://, except for localhost and Tailscale addresses. - Server: the sync and MCP processes no longer serve the admin panel's static files without a token.
- Admin panel: a strict Content-Security-Policy, with no inline scripts or styles left. The login lockout now stops doubling at one hour.
- MCP: a request body is refused (
413) before it's read once it's over twiceMCP_MAX_WRITEplus 64 KB. - Docs: the compose examples run the container with
read_only,cap_drop: [ALL]andno-new-privileges.
MCP
write_filewrites binary files, such as images or PDFs: pass the bytes as base64 withencoding: base64.read_filereturns images (PNG, JPEG, GIF, WebP, up to 7.5 MB) as images Claude can see.MCP_MAX_WRITEnow limits writes only, and its default goes from 1 MB to 20 MB. Text thatread_filereturns stays capped at 1 MB.
Other
- CI pins its actions by commit and runs the tests on every pull request. Dependabot proposes dependency updates as pull requests.
1.1.1-beta.4
Immutable
release. Only release title and notes can be modified.
Full Changelog: 1.1.0...1.1.1-beta.4
1.1.1-beta.3
Immutable
release. Only release title and notes can be modified.
Full Changelog: 1.1.0...1.1.1-beta.3
1.1.1-beta.2
Immutable
release. Only release title and notes can be modified.
Full Changelog: 1.1.0...1.1.1-beta.2
1.1.1-beta.1
Immutable
release. Only release title and notes can be modified.
Full Changelog: 1.1.0...1.1.1-beta.1
1.1.0
Immutable
release. Only release title and notes can be modified.
The purpose of this release was to severely enhance security for publicly exposed backends.
Breaking: ENABLED_APPS decides what a server process serves
sync(the sync API),mcp,admin, comma-separated; unset:sync.MCP_ENABLEDis gone: a server with it set refuses to start. UseENABLED_APPS=sync,mcp.- The admin panel turns on only with
admininENABLED_APPS. - Recommended: run the admin panel in a second container on the same
/vaultsand/db, reachable only
from your private network (Processes).
New
ALLOWED_VAULTS: a container's sync API serves only the vaults you list. Other vaults' tokens get401,
their connection codes are refused and used up. Meant for the container behind a proxy
(Exposing).- The plugin sends
X-Rock-Sync-Vault: <vault>with every request exceptPOST /pair, so a proxy can let
only some vaults through. The server refuses it when it doesn't match the credentials. - Exposing the server: a guide to putting it behind a proxy (allowlist, Cloudflare, checks).
Security
- Non-canonical request paths (
//,.., encoded/\., control characters) get400before routing. - One rule for vault paths: hidden segments (except
.keep),..,\, a leading~and the like get400
on every route and an error from MCP. Git no longer reads the vault's files: a.gitignore,.gitattributes
or nested.gitinside a vault changes nothing. Check the log after updating: vaults already holding such
paths are named at startup (Storage). - Long polls are capped: 2 per token, 12 per process, then
429withRetry-After: 5. - Form bodies (
application/x-www-form-urlencoded,multipart/*) get415. Scripts using curl's-dneed
-H 'Content-Type: application/octet-stream'. X-Rock-Sync-Vaultis checked onGET /vaultsandDELETE /tokentoo.- Verbose logs leave out credential-like headers and answer bodies.
- rack 3.2.8, sqlite3 2.10.2.
Plugin
- Only the
X-Rock-Sync-Vaultheader is new. Nothing changes for devices on a VPN or without a proxy.
1.0.2-beta.4
Immutable
release. Only release title and notes can be modified.
What's Changed
- security improvements by @kovalevtech in #1
New Contributors
- @kovalevtech made their first contribution in #1
Full Changelog: 1.0.1...1.0.2-beta.4