You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an optional sourcePath to getNoteFromMarkdown so library callers can supply the note’s absolute path and use its directory in place of cwd for link resolution.
Fixed
Match local wiki and Markdown links and embeds by full filename, so [[Gewebe]] resolves to Gewebe.md and [[image.png]] prefers the actual image over image.png.md. (Thanks @DrSandhu for reporting in kitschpatrol/yanki-obsidian.)
Use Obsidian’s precedence when several files match a link. Prefer an exact path from the vault root, then rank path-suffix matches by the linking note’s directory, shorter paths, and order in allFilePaths.
Resolve leading-slash links from the vault root and stop relative links from climbing above a configured root. Without a configured root, yanki sync uses the common directory of the source note and the synced file list.
Resolve same-note wiki links, Markdown fragment links, and note embeds back to the source note during file sync, preserving heading and block anchors in Obsidian URLs.
Fall back to matching the end of a file's path when a relative wiki or Markdown link has no direct match, as Obsidian does.
Preserve the matched file's actual path casing when resolving links and embeds that use explicit relative paths, absolute paths, or file: URLs.
Documentation
Update the link behavior guide and API documentation to explain filename matching, vault root selection, tie-breaking, and how to pass sourcePath for same-note links.
Maintenance
Update yanki-connect to ^5.3.1.
Update @kitschpatrol/chagent to ^0.8.0 and run it with -i during releases. Exempt the updated chagent and yanki-connect versions from pnpm’s minimum release age.
Add regression tests for filename collisions, link resolution with and without a vault, and same-note anchors.