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

high risk

Vanilagy/mediabunnySep 30, 2026 → Sep 30, 20260 days between releases

What's New

Upgrades to Shiki v4 and enforces Node.js 20+ in the code highlighting library

Breaking Changes

  • Node.js 20 or newer is now required when using @streamdown/code

New Features

  • Tokenize only new lines of a code block while streaming
  • Least-recently-used cache (LRU) for finished code blocks
  • Cache size limits based on tokens, lines, and characters

Improvements

  • Upgraded to Shiki v4
  • Bounded LRU cache manages memory usage by limiting finished code blocks

Upgrade Notes

Ensure your runtime is updated to Node.js 20 or newer. Note that streaming code blocks are no longer cached individually, and finished blocks are managed by a bounded LRU cache 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

This is a major version bump for the code highlighting library, upgrading to Shiki v4 and enforcing Node.js 20+. It introduces performance optimizations for streaming code blocks by only tokenizing new lines and introduces a bounded Least Recently Used (LRU) cache to manage memory usage.

Full release notes