Skip to content

d2 0.7.1 - #234077

Merged
BrewTestBot merged 2 commits into
mainfrom
bump-d2-0.7.1
Aug 19, 2025
Merged

d2 0.7.1#234077
BrewTestBot merged 2 commits into
mainfrom
bump-d2-0.7.1

Conversation

@BrewTestBot

Copy link
Copy Markdown
Contributor

Created by brew bump


Created with brew bump-formula-pr.

Details

release notes
#### Features 馃殌
  • ASCII renders. Output txt for d2 to render diagrams as ASCII art #2572
  • cross arrowhead shape is available #2190
  • style.underline support for class fields and methods #2544
  • markdown, latex, and code can be used as edge labels #2545
  • border-x label positioning functionality #2549
  • tooltips with near set always show even without hover #2564
  • CLI supports customizing monospace fonts with --font-mono, --font-mono-bold, --font-mono-italic, and --font-mono-semibold flags #2590

Improvements 馃Ч

  • labels on scenario/step boards can be set with primary value (like layers) #2579
  • autoformatter preserves order of boards #2580
  • rename "Legend" with a title/label of your choosing (especially useful for non-English diagrams) #2582
  • sketch mode fonts will use custom fonts if provided #2582

Bugfixes 鉀戯笍

  • actors in sequence diagrams with labels and icons together no longer overlap, position keywords now work too #2548
  • fix double glob behavior in scenarios (wasn't propagating correctly) #2557
  • fix diagram bounding box not accounting for legend in some cases #2584

Breaking Changes

  • If you are using D2 as a library/API, passing in a FontFamily with sketch renders will now use the font, instead of previously ignoring it.

For the latest d2.js changes, see separate changelog.

View the full release notes at https://github.com/terrastruct/d2/releases/tag/v0.7.1.


@github-actions github-actions Bot added go Go use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Aug 19, 2025
@github-actions

Copy link
Copy Markdown
Contributor

馃 An automated task has requested bottles to be published to this PR.

Caution

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions Bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Aug 19, 2025
@BrewTestBot
BrewTestBot enabled auto-merge August 19, 2025 14:28
@BrewTestBot
BrewTestBot added this pull request to the merge queue Aug 19, 2025
Merged via the queue into main with commit 997742c Aug 19, 2025
22 checks passed
@BrewTestBot
BrewTestBot deleted the bump-d2-0.7.1 branch August 19, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. go Go use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants