@streamdown/cjk@1.0.4 @streamdown/code@2.0.0

high risk

roboflow/rf-detrSep 30, 2026 → Sep 30, 20260 days between releases

What's New

Upgraded to Shiki v4 and optimized streaming performance in major version 2.0.0

Breaking Changes

  • Upgrade to Shiki v4 requires Node.js 20 or newer.

New Features

  • Streaming tokenization optimization
  • Least-recently-used caching for code blocks

Improvements

  • Tokenize only new lines while streaming
  • Bound code highlight cache to prevent memory issues

Bug Fixes

  • Prevent memory issues by bounding code highlight cache

Upgrade Notes

Ensure Node.js 20 or higher is installed. Finished code blocks are cached using an LRU strategy limited to 5,000 results, while streaming blocks are not cached.

The Two Releases

@streamdown/cjk@1.0.4

@streamdown/cjk@1.0.4

Sep 30, 2026· 22 days ago

Minimal release notes: "### Patch Changes - 8cb3bc7: Re-linkify bare URLs that follow CJK punctuation when splitting GFM autolink literals (e.g"

Full release notes
@streamdown/code@2.0.0

@streamdown/code@2.0.0

Sep 30, 2026· 22 days ago

A major version bump upgrading the syntax highlighting engine to Shiki v4 and optimizing streaming performance.

Full release notes