Skip to content

v0.18.1

Latest

Choose a tag to compare

@gimalay gimalay released this 02 Aug 20:47

Two link-rewriting bugs are fixed in this release. A link pointing at a hub document in a parent directory now keeps its target when the document is edited or reformatted — a/b.md linking to a.md stays ../a instead of being emptied. And renaming or deleting a document now updates links inside table cells too, which previously kept pointing at the old file.

iwe

Fixed

  • iwe normalize no longer empties links pointing at a hub document in a parent directory. A link from a/b.md to a.md stays ../a (previously it was rewritten to an empty target).
  • iwe rename and iwe delete now update links inside table cells, which used to silently keep pointing at the old document.

iwes

Fixed

  • Links to a hub document in a parent directory keep their target when a document is reformatted — a link from a/b.md to a.md stays ../a (previously it was emptied).
  • Renaming a document updates links inside table cells, which used to keep pointing at the old document.

iwec

Fixed

  • iwe_rename and iwe_delete now update links inside table cells, which used to silently keep pointing at the old document.
  • Links to a hub document in a parent directory keep their target when a document is rewritten — a link from a/b to a stays ../a (previously it was emptied).
Library crates (liwe, diwe)

liwe

Fixed

  • Key::to_rel_link_url keeps the file name in the URL when a document links to a hub in one of its parent directories, so a/b linking to a renders ../a (previously the URL collapsed to an empty string or a bare ..).
  • Tree::change_key and Tree::remove_inline_links_to now rewrite links inside table cells, so renaming or deleting a document updates table cells the same way it updates prose.