Streamdown 1.6 with improved performance and smaller bundle size
Streamdown 1.6 delivers faster execution and reduced code shipping through memoization, LRU caching, and regex removal. New features include lazy-loaded components, rebuilt code highlighting, custom markdown rendering for static mode, and diagram export capabilities.
Vercel Streamdown 1.6 is now available with major improvements to performance, bundle size, and the authoring experience.
Streamdown now runs faster and ships less code thanks to memoization, LRU caching, optimized string operations, and the removal of regexes.
Several product enhancements include:
Update to Vercel Streamdown 1.6 today with or read more about Streamdown .npm i streamdown@latesthere
with and , only loading when used.Code Blocks, Mermaid, and Math components are now lazy-loaded
React.lazy()Suspensewith a new tokenization approach that’s simpler, more efficient, and includes line numbers.The code highlighting system has been rebuilt
, giving Streamdown a lighter core and more room for future optimizations.A custom markdown renderer replaces React Markdown
ideal for blogs and other static use cases as it reduces streaming overhead.Static Mode adds support for rendering markdown without streaming,
for handling parsing issues.Mermaid blocks now support custom error components
as SVG, PNG, or source code, and the fullscreen view includes zoom and pan controls (thanks to zhdzb).Diagrams can be exported
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
OpenAI Decisions API now available on AI Gateway
OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.
Timestamp attributes now supported in Vercel Flags
Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.
Glyph Cluster now available in stealth on AI Gateway
Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.