This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases#
@tanstack/markdown@0.0.15#
Patch Changes#
f37686a: Speed up plain fenced-code rendering with the React streaming extension by retaining completed code text nodes across updates. Reduce parser overhead and shrink every affected public bundle without adding runtime dependencies.
Add unfinished-fence benchmarks at 4, 16, and 64 KiB, browser comparisons with Streamdown and streaming-markdown, and regression coverage for streamed text, custom code components, and hydration.
eb6ef72: Forward raw code-fence metadata to pre[data-meta] and highlighter options in HTML, React, and Octane.
Add portable InlineComponentNode output for custom inline extensions, using the existing component maps without requiring raw HTML or a bundled math engine.
Add urlTransform(url, kind, defaultUrl) for application-controlled link and image policies. Default URL screening is unchanged; returning null removes a link or image while keeping its label content.
Use single-pass attribute escaping, expand renderer and security regression coverage, and update documentation and shipped skills. The combined renderer increase is 74-78 gzip bytes, with no new runtime dependencies.
Code fences with metadata now include an additional escaped HTML attribute. Consumers with exhaustive InlineNode switches should handle the new inlineComponent variant.
Important
Review skipped#
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Advanced
Run ID:
b4c9dfec-9918-4657-a51e-693d6684ed41You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share