Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d2 0.6.1 #146218

Merged
merged 2 commits into from
Sep 27, 2023
Merged

d2 0.6.1 #146218

merged 2 commits into from
Sep 27, 2023

Conversation

Porkepix
Copy link
Contributor

Created by brew bump


Created with brew bump-formula-pr.

release notes
The globs feature underwent a major rewrite and is now almost finalized.

Before

Previously, globs would evaluate once on all the shapes and connections declared above it. So if you wanted to set everything red, you had to add the line at the bottom.

x
y

*.style.fill: red

Now

*.style.fill: red

x
y

We still have one more release in 0.6 series to add filters to globs, so stay tuned.

You might also be interested to know that grid cells can now have connections between them! Source code for this diagram here.

267854495-bc0a5456-3618-4d46-84db-f211ffb5246a

Features 🚀

  • UTF-16 files are automatically detected and supported #1525
  • Grid diagrams can now have simple connections between top-level cells #1586

Improvements 🧹

  • Globs are lazily-evaluated #1552
  • Latex blocks includes Mathjax's ASM extension #1544
  • font-color works on Markdown #1546
  • font-color works on arrowheads #1582
  • CLI failure message includes input path #1617

Bugfixes ⛑️

  • d2 fmt formats all files passed as arguments rather than just the first non-formatted (thank you @maxbrunet) #1523
  • Fixes Markdown cropping last element in mixed-element blocks (e.g. em and strong) #1543
  • Adds compiler error for non-blockstring empty labels #1590
  • Prevents multiple constant nears overlapping in some cases #1591
  • Fixes crash from empty nested grid #1594
  • d2fmt with variable substitution mid-string is formatted correctly #1611
  • Fixes certain shape IDs not working with dagre #1610
  • Fixes font-size adjustments missing from rendered code shape #1614

@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 Sep 27, 2023
@github-actions
Copy link
Contributor

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

@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 Sep 27, 2023
@BrewTestBot BrewTestBot added this pull request to the merge queue Sep 27, 2023
Merged via the queue into Homebrew:master with commit 797de08 Sep 27, 2023
12 checks passed
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.

3 participants