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.3.0 #127068

Merged
merged 2 commits into from
Mar 30, 2023
Merged

d2 0.3.0 #127068

merged 2 commits into from
Mar 30, 2023

Conversation

chenrui333
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes D2 0.3 is here!

Major updates:

  • SVG sizes are ~5% of what they were in D2 0.2.
    • The disproportionately largest contributor to this size was the font. Instead of encoding the entire font, D2 now only bundles only the used part of it (e.g. if you don't use the letter "b", the font encoding for "b" won't be included).
  • The first practical applications of multi-board compositions are here: animations. Composition is among D2's most powerful features, and these first applications are just the tip of the iceberg. Stay tuned for more in upcoming 0.3.x releases. See docs.
    animated
  • Customizable fonts. You can pass in whatever you want to use through the command line.
Screen Shot 2023-03-29 at 8 27 45 PM

Other

  • New "Origami" theme
Screen Shot 2023-03-29 at 7 59 31 PM

Features 🚀

  • Flags to set a custom font are supported. See docs. #1108
  • --animate-interval can be passed as a flag to animate multi-board diagrams. See docs. #1088
  • New fill-pattern: paper #1070
  • Fonts are subsetted to only include what's necessary #1089
  • New theme: Origami #1110

Improvements 🧹

  • Prevent tooltip being set to a URL when link is already set (for security) #1091
  • Scale arrowhead sizes appropriately to stroke-width. #1101

Bugfixes ⛑️

  • Prevents an object's near from targeting another object with near set to a constant #1100
  • Fixes inaccurate bold edge label padding #1108
  • Prevents Latex blocks from being uppercased in special themes #1111

@BrewTestBot BrewTestBot 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 Mar 30, 2023
@github-actions
Copy link
Contributor

🤖 A scheduled 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 Mar 30, 2023
@BrewTestBot BrewTestBot merged commit 22fa40f into Homebrew:master Mar 30, 2023
@github-actions github-actions bot added the outdated PR was locked due to age label Apr 30, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 30, 2023
@chenrui333 chenrui333 deleted the bump-d2-0.3.0 branch January 22, 2024 04:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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 outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants