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

high risk

vectorize-io/hindsightSep 30, 2026 → Sep 30, 20260 days between releases

What's New

Upgrades to Shiki v4 and requires Node.js 20+

Breaking Changes

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

New Features

  • Tokenize only new lines of a code block during streaming
  • Bounded code highlight cache with LRU eviction

Improvements

  • Upgrade to Shiki v4
  • Streaming tokenization optimization
  • Memory-efficient code highlight caching

Upgrade Notes

Ensure your runtime is Node.js 20 or newer. The code highlight cache is now bounded to 5,000 results to prevent unbounded growth.

The Two Releases

@streamdown/cjk@1.0.4

@streamdown/cjk@1.0.4

Sep 30, 2026· 21 days ago

@streamdown/cjk@1.0.4 fixes URL linking behavior in Chinese/Japanese/Korean environments by re-linkifying bare URLs following punctuation.

Full release notes
@streamdown/code@2.0.0

@streamdown/code@2.0.0

Sep 30, 2026· 21 days ago

@streamdown/code@2.0.0 upgrades to Shiki v4 and optimizes streaming performance by only tokenizing new lines and implementing a bounded code highlight cache.

Full release notes