v0.9.0
yarnpkg/yarnv0.9.0Sep 7, 2026by github-actions[bot]
Upgrading?
AI Summary
Bundles the TALA layout engine with D2, adds support for multiple export formats (PNG, GIF, PDF, PPTX), and significantly improves rendering performance.
Key Highlights
- TALA layout engine open-sourced and bundled with D2
- New export formats: PNG, GIF, PDF, and PPTX
- SVG rendering approximately 10x faster
- SVG exports approximately 24% smaller
- Markdown labels rendered as native SVG
Breaking Changes
- Obsolete `--tala` installer flag is now rejected
New Features
- TALA layout engine configuration
- PNG, GIF, PDF, and PPTX rendering
- Performance optimizations for Dagre ranking and text measurement
- PNG memory usage reduction supporting images above 67-megapixel limit
- Recursive glob handling in compiler
Full Release Notes
#### Features ๐ - TALA is now open source and bundled with D2, including the JavaScript/WASM package. Select it with `d2 --layout=tala`, `D2_LAYOUT=tala`, or `vars.d2-config.layout-engine: tala`. No separate plugin installation or license key is required. - tala: configure layout attempts with `--tala-seeds`, `D2_TALA_SEEDS`, or `vars.d2-config.data.tala-seeds`. - exports: render PNG, GIF, PDF, and PPTX with the built-in renderer #### Improvements ๐งน - performance: reduce repeated work in Dagre ranking, text measurement, SVG preparation, and PNG encoding - performance: reduce repeated work in selective imports, dynamic grid layout, and PNG connection rendering - exports: reduce PNG memory usage and support images above the previous 67-megapixel limit - performance: SVG rendering is approximately 10ร faster across the E2E corpus. Real-world diagrams compile, lay out, and render approximately 3ร faster at the median. - renders: SVG exports are approximately 24% smaller across the E2E corpus and 18% smaller across real-world fixtures, with unchanged appearance. - renders: render Markdown labels as native SVG instead of HTML `foreignObject` content #### Bugfixes โ๏ธ - install: reject the obsolete `--tala` installer flag with migration guidance before installing, instead of incorrectly claiming that older D2 releases bundle TALA - sequence diagrams: keep synthetic lifeline endpoint IDs stable across architectures - exports: honor `D2_TIMEOUT` during PNG and GIF rendering - compiler: keep recursive globs out of class and variable definitions and report class reference cycles instead of overflowing the stack - renders: decode gzip, Brotli, and deflate remote images before embedding them --- For the latest d2.js changes, see separate [changelog](https://github.com/d2lang/d2/blob/master/d2js/js/CHANGELOG.md).
Related Repositories
affaan-m/ECCโ
285,964
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
react/reactโ
251,629
The library for web and native user interfaces.
nodejs/nodeโ
122,530
Node.js JavaScript runtime โจ๐ข๐โจ
Leonxlnx/taste-skillโ
100,769
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
louislam/uptime-kumaโ
92,737
A fancy self-hosted monitoring tool