Writr
← Back to Changelog

v6.2.0

Release

[email protected] — 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

  • @jaredwray (41)

Full List of Changes

  • ci: pin wrangler as a devDependency for Pages deploys by @jaredwray in #551
  • chore: bootstrap Safe Chain in Claude Code web sessions by @jaredwray in #553
  • feat(writr-rs): no more JavaScript — native MDX validation (writr-acorn) and native KaTeX (katex-rs) by @jaredwray in #554
  • docs: add current Writr vs writr-rs benchmarks by @jaredwray in #552
  • fix: security - upgrade undici, napi, zod by @jaredwray in #555
  • fix: security - upgrade handlebars, brace-expansion, sharp, source-map-js by @jaredwray in #556
  • fix: security - upgrade http-cache-semantics by @jaredwray in #557
  • fix: security - upgrade nested markdown-it by @jaredwray in #558
  • fix: security - upgrade undici to 7.30.1 and 8.12.2 by @jaredwray in #559
  • fix: security - upgrade markdown-it to 15.0.3 and vite to 8.3.4 by @jaredwray in #560
  • fix: security - markdown-it 15.0.3 (CVE-2026-111758) by @jaredwray in #561
  • chore: remove stale minimumReleaseAgeExclude entries by @jaredwray in #562
  • mono - chore: sync defense-in-depth files from agentic by @jaredwray in #563
  • writr - chore: remove property-information override by @jaredwray in #564
  • fix: security - bind cache identity to rawHtml and the rendered body, and stop failed renders truncating files by @jaredwray in #566
  • mono - chore: update undici override by @jaredwray in #565
  • mono - chore: upgrade code quality dependencies by @jaredwray in #567
  • mono - chore: upgrade TypeScript and build tooling by @jaredwray in #568
  • mono - chore: upgrade pnpm by @jaredwray in #569
  • writr-node - chore: upgrade code quality dependencies by @jaredwray in #570
  • writr-node - chore: upgrade TypeScript and build tooling by @jaredwray in #571
  • mono - chore: upgrade GitHub Actions by @jaredwray in #572
  • mono - chore: upgrade Dev Container images by @jaredwray in #573
  • writr - chore: upgrade React dependencies by @jaredwray in #574
  • writr - chore: upgrade AI SDK dependencies by @jaredwray in #575
  • writr - chore: upgrade hashery by @jaredwray in #576
  • writr - chore: upgrade html-react-parser by @jaredwray in #577
  • writr - chore: upgrade hookified by @jaredwray in #578
  • writr - chore: upgrade js-yaml by @jaredwray in #579
  • writr - chore: upgrade undici by @jaredwray in #580
  • writr - chore: upgrade docula by @jaredwray in #581
  • writr - chore: upgrade marked by @jaredwray in #582
  • writr - chore: upgrade tinybench by @jaredwray in #583
  • writr - chore: upgrade wrangler by @jaredwray in #584
  • writr - chore: upgrade dotenv by @jaredwray in #585
  • writr - chore: upgrade OpenAI models by @jaredwray in #586
  • writr - chore: upgrade Anthropic models by @jaredwray in #587
  • writr - chore: upgrade Google models by @jaredwray in #588
  • writr-rs - chore: upgrade serde dependencies by @jaredwray in #589
  • writr-rs - chore: upgrade fancy-regex by @jaredwray in #590
  • writr-rs - chore: upgrade napi by @jaredwray in #591
  • writr-rs - chore: upgrade napi-derive by @jaredwray in #592
  • writr-rs - chore: upgrade fancy-regex by @jaredwray in #593

Full diff: https://github.com/jaredwray/writr/compare/v6.1.6...v6.2.0