github foambubble/foam cli@0.48.1

latest release: vscode@0.49.0
one hour ago

Patch Changes

  • foam list templates no longer prints warnings for templates that contain Markdown links (#1770).

  • foam graph --include-placeholders and foam links show a broken wikilink by its target, such as not-written-yet, instead of a ../../not-written-yet path.

    In @foam/core, uriToWorkspacePath returns a wikilink placeholder's target unchanged.

  • The graph in sites made with foam export draws nodes smaller, shows tags, placeholders, attachments and images as distinct shapes, and stops redrawing once it settles.

  • A query filter with a field Foam doesn't know now matches no notes and shows a warning, instead of ignoring the field. The removed expression field matches nothing; use jexl instead.

    In @foam/core, the query filter type no longer has expression.

  • Renaming a section updates every link to it, however the link is written (#1772, #1781):

    • Rename works from the heading, from the #section of a wikilink to it, or from the #fragment of a Markdown link to it, with the same result
    • Each link keeps its form: [[note#My Section]] and [text](<note.md#My Section>) get the new heading text, [text](note.md#my-section) gets the new slug
    • A heading keeps its formatting, indentation, > quote, closing ## and ^anchor, in VS Code and in foam rename section
    • Rename also works on links you haven't saved yet, and on [[note#Section\|alias]] in a table
    • Renaming from [[note]] renames the note itself, as renaming it in the explorer does

    A Markdown link to a heading's slug, such as [text](note.md#my-section), now goes to that heading, embeds accept ![[note#my-section]], and a wikilink written with the slug is no longer flagged as an unknown section.

    In @foam/core, HeadingEdit.getSectionAtPosition, FoamGraph.resolveLinks and MarkdownLink.getSectionRange are added, and sections have a labelRange.

  • Dependencies updated for security fixes (#1782).

  • A [[ left open earlier on a line no longer swallows the wikilink after it: in see [[ syntax [[note]], only [[note]] is a link (#1780).

Don't miss a new foam release

NewReleases is sending notifications on new releases.