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

high risk

NandhaKishorM/layaSep 30, 2026 → Sep 30, 20260 days between releases

What's New

Upgrade to Shiki v4 and optimize streaming performance

Breaking Changes

  • Requires Node.js 20 or newer due to Shiki v4 dependency

New Features

  • Streaming tokenization optimization
  • LRU cache for code highlight results

Improvements

  • Cache bounded by tokens, lines, characters, and a limit of 5,000 results
  • Tokenize only new lines of a code block while streaming

Upgrade Notes

Requires Node.js 20 or newer due to Shiki v4 dependency. Code highlight cache is now bounded using an LRU strategy with a limit of 5,000 results.

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

Major version bump upgrading Shiki to v4 and optimizing streaming performance.

Full release notes