Releases: trip2g/obsidian-sync
Releases · trip2g/obsidian-sync
0.3.5
0.3.4
feat(cli): add --meta option for frontmatter injection
Allows injecting/overwriting frontmatter fields when syncing files via CLI.
Useful for multi-repo setups where each repo needs different subgraph.
Usage: --meta key=value (can be repeated)
Example: --meta subgraph=docs --meta author=Team
0.3.3
0.3.2
Bug Fixes
- Fix HTML files sync with publishFields: HTML files (like
_layouts/*.html) are now always synced even whenpublishFieldsis set (e.g.,publishFields: free). Previously, HTML files were filtered out because they don't have frontmatter.
Technical Details
- HTML files don't have frontmatter, so they're now treated as always publishable
- Added tests to verify HTML file handling with publishFields filtering
- This fix ensures template files in
_layouts/directory sync correctly
0.3.1
0.3.0 Update sync logic
A few small fixes in sync logic
0.2.8
0.2.7
0.2.6
Changes
Security
- Defense in depth: pushNotes now validates publish field in frontmatter before sending to server
- Throws exception if note without publish field attempts to sync (when publishField is configured)
- Prevents accidental publishing of private notes even if filterPlan has a bug
CLI
- Add
--publish-fieldoption support
0.2.5
Changes
Obsidian Plugin
- feat(sync): add batching for pushNotes to handle large vaults (2000+ files)
CLI (new!)
- Standalone CLI bundle:
trip2g-sync.mjs(26KB, zero dependencies) - Usage:
node trip2g-sync.mjs --folder ./vault --api-key xxx - Supports: push, two-way sync, dry-run, conflict resolution