v0.1.4
⚡ linkd v0.1.4 — Targeted Event Dispatching & Registry Deduplication
🚀 Highlights
-
Targeted Event Dispatching (Selective Reconcile):
- File watcher change events now match the exact source_path and lockfile markers of affected packages.
- Modifying an npm package triggers reconciliation only for its consumer apps — other packages (Flutter/Dart, Python, Go, Rust, etc.) are not touched at all.
- Editing Flutter packages triggers only the Flutter consumer.
-
Registry Deduplication & Path Normalization:
- Normalized paths in RegistryStore::add_link and RegistryFile::migrate (including stripping Windows \?\ UNC prefixes).
- Prevents registering duplicate links for the same source and consumer destination.
- Automatically merges existing duplicate entries on startup.
-
3-Layer Smart Content-Aware Incremental Sync:
- Layer 1: Metadata gate (mtime + size).
- Layer 2: Fast content hash gate.
- Layer 3: Granular file updates & dead file cleanup.
📦 Installation
Linux & macOS (curl / bash)
�ash curl -fsSL https://raw.githubusercontent.com/pinoox/linkd/master/install.sh | bash
Windows (PowerShell)
powershell irm https://raw.githubusercontent.com/pinoox/linkd/master/install.ps1 | iex
Via Cargo (from source)
�ash cargo install --path crates/linkd-cli --locked
Full Changelog: v0.1.3...v0.1.4