unstale

npm / remend

remend

What changed in remend 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

2 new APIs and options2 performance10 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

remend 114 changes

New APIs and options 2

  • Adds opt-in inline KaTeX completion that turns $formula into $formula$; it defaults to false to avoid ambiguity with currency symbols.

    1.3.0release notes

  • Adds an option enabled by default that escapes a single ~ between word characters to prevent false strikethrough rendering; it can be disabled with { singleTilde: false }.

    1.3.0release notes

Performance 2

  • A shared single-pass scanner replaces per-character rescans that made healing quadratic on delimiter-heavy input.

    1.4.0release notes

  • Uses a cached linear-time position lookup instead of rescanning the whole prefix on every call, avoiding quadratic degradation when probing many positions.

    1.3.1release notes

Fixes and other changes 10

  • Fence and inline code detection follows CommonMark, including tilde fences, fences inside block quotes and list items, CRLF line endings, and multi-backtick spans; content inside code is not healed as prose.

    1.4.0release notes

  • Double underscores are counted per maximal run with flanking rules, preventing identifiers containing __ from inventing or swallowing emphasis closers.

    1.4.0release notes

  • The incomplete-HTML-tag handler skips candidates inside math blocks and continues to later candidates, avoiding truncation of math expressions while still stripping genuine incomplete tags.

    1.4.0release notes

  • Healing is idempotent: healed output re-heals to itself.

    1.4.0release notes

  • Incomplete images during streaming are replaced with ![alt](streamdown:incomplete-image) instead of being removed entirely.

    1.4.0release notes

  • Text-only link mode resolves every unmatched bracket in one call.

    1.4.0release notes

  • Removing the lookbehind assertion prevents a SyntaxError during module evaluation on these JavaScriptCore versions.

    1.3.1release notes

  • Preserves complete italic emphasis when a closing asterisk is followed by word text.

    1.3.1release notes

  • LaTeX paren and bracket math are treated as protected contexts during emphasis completion.

    1.3.1release notes

  • Fixes block KaTeX completion when streaming produces a partial closing $.

    1.3.0release notes