Skip to content

v6.2.0

Latest

Choose a tag to compare

@jaredwray jaredwray released this 16 Nov 22:30
Immutable release. Only release title and notes can be modified.
8fa43c1

writr@6.2.0 — 2026-11-16

Add native KaTeX and MDX validation in writr-rs, and fix render-cache identity.

Features

  • native Acorn port for MDX validation (writr-acorn) (#554)
  • native KaTeX via a vendored, parity-patched katex-rs (#554)

Bug Fixes

  • upgrade emnapi to 1.11.3 for wasm memory growth (#554)

  • security - upgrade undici, napi, and zod (#555)

  • security - upgrade handlebars, brace-expansion, sharp, and source-map-js (#556)

  • security - upgrade http-cache-semantics to 4.3.0 (#557)

  • security - upgrade nested markdown-it off 14.3.0 (#558)

  • security - upgrade undici to 7.30.1 and 8.12.2 (#559)

  • security - upgrade markdown-it to 15.0.3 and vite to 8.3.4 (#560)

  • security - upgrade fumanchu so nested markdown-it is 15.0.3 (#561)

  • security - bind cache identity to rawHtml and the rendered body, and stop failed renders truncating files (#566)

    const writr = new Writr("Hello <em>there</em>");
    await writr.render({ rawHtml: true });
    const plain = await writr.render({ rawHtml: false });

    Before this release, plain could be the raw-HTML result.
    After this release, the second call renders again.

    await writr.renderToFile("out.html");

    Before this release, a failed render replaced the file with an empty string.
    After this release, a failed render leaves the file unchanged. An empty document still writes "".

Documentation

  • reference PR #553 in defense-in-depth tracking (#553)
  • add current Writr vs writr-rs benchmarks (#552)

Internal

  • pin wrangler as a devDependency for Pages deploys (#551)
  • bootstrap Safe Chain in Claude Code web sessions (#553)
  • KaTeX 0.18.7 differential oracle and corpus (#554)
  • keep KaTeX's MIT notice with the vendored katex-rs (#554)
  • remove stale minimumReleaseAgeExclude entries (#562)
  • sync defense-in-depth files from agentic (#563)
  • remove property-information override (#564)
  • update the undici override to 8.12.2 (#565)
  • upgrade code quality dependencies (#567)
  • upgrade TypeScript and build tooling (#568)
  • upgrade pnpm to 12.18.0 (#569)
  • upgrade code quality dependencies (#570)
  • upgrade writr-node build tooling (#571)
  • upgrade GitHub Actions (#572)
  • upgrade the Dev Container image (#573)
  • upgrade React dependencies (#574)
  • upgrade the AI SDK (#575)
  • upgrade hashery (#576)
  • upgrade html-react-parser (#577)
  • upgrade hookified (#578)
  • upgrade js-yaml (#579)
  • upgrade undici (#580)
  • upgrade docula (#581)
  • upgrade marked (#582)
  • upgrade tinybench (#583)
  • upgrade wrangler (#584)
  • upgrade dotenv (#585)
  • upgrade OpenAI models (#586)
  • upgrade Anthropic models (#587)
  • upgrade Google models (#588)
  • upgrade serde dependencies (#589)
  • upgrade fancy-regex (#590)
  • upgrade napi (#591)
  • upgrade napi-derive (#592)
  • upgrade fancy-regex (#593)

Contributors

Full List of Changes

Full diff: v6.1.6...v6.2.0