d2 breaking changes
d2 0.10.0 (November 27, 2026) is its newest release with breaking changes, 16 of them. The first: External d2plugin executables are no longer loaded in d2 0.10.0. Every breaking API change we have recorded in d2 on Homebrew: 16 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.10.1, released November 30, 2026. MPL-2.0 license. Source repository
Its 0.10.0 release requires Go 1.27.4 or later. Go end of life dates.
d2 0.10.0 breaking changes
- Removed
D2 no longer loads external d2plugin executables, so layout plugins must be replaced with a built-in engine. github.com - Removed
d2layouts.d2layoutfeatures
The Go package d2layouts/d2layoutfeatures was removed and code importing it must stop using it. github.com - Removed
d2plugin
The Go package d2plugin was removed and code importing it must stop using it. github.com - Removed
PostProcess
PostProcess was removed; modify the bytes returned by d2svg.Render instead. github.com - Behavior changed
Building D2 from source now needs Go 1.27.4 or newer. github.com - Behavior changed
Browser sessions in watch mode must authenticate through the URL printed by d2 --watch. github.com - Behavior changed
Each layout graph is capped at 1,024 objects and 1,024 edges, so large diagrams must be split into boards or arranged in grids. github.com - Behavior changed
Exports reject images whose contents or sizes fail validation; use --allow-private-network or --allow-local-files=false to control access. github.com - Behavior changed
Multiboard exports give reserved or nonportable board names hashed filenames, so output file names change. github.com - Behavior changed
Shape names that match keywords such as STYLE must be quoted to stay child shapes, and unquoted LABEL now sets a label, so existing diagrams can render differently. github.com - Behavior changed
CompileOptions.FS
Go callers must now set CompileOptions.FS for imports to work. github.com - Behavior changed
d2scenebuild.AssetOptions
AssetOptions contains slice or map fields, so code comparing it with == or using it as a map key must compare or key on the needed fields instead. github.com - Behavior changed
d2themes.ThemableElement
ThemableElement contains slice or map fields, so code comparing it with == or using it as a map key must compare or key on the needed fields instead. github.com - Signature changed
d2cli.LayoutResolver
Drop the plugins argument when calling d2cli.LayoutResolver. github.com - Signature changed
d2cli.RouterResolver
Drop the plugins argument when calling d2cli.RouterResolver. github.com - Signature changed
EdgeNode
EdgeNode now takes a *float64 instead of its previous type, so callers must update their values. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.