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.4.0 #127918

Merged
merged 2 commits into from
Apr 9, 2023
Merged

d2 0.4.0 #127918

merged 2 commits into from
Apr 9, 2023

Conversation

p-linnane
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
Major updates in 0.4.0:
  • classes and class are finally here. No more repeating styles!
  • Introducing Grid diagrams. A very popular form of diagramming software architecture.

To showcase both of these, here's a demo with a link to the source code below:

Screen Shot 2023-04-08 at 7 20 04 PM

Bunch of other features, improvements, and bug fixes too. Make sure to check out the updated docs for how to use these new features!

Features 🚀

  • Classes are implemented. See docs. #772
  • Grid diagrams are implemented. See docs. #1122
  • Container with constant key near attribute now can have descendant objects and connections (thank you @donglixiaoche) #1071
  • Multi-board SVG outputs with internal links go to their output paths #1116

Improvements 🧹

  • Labels on parallel dagre connections include a gap between them #1134
  • Sequence diagram lifelines inherit the actor's stroke and stroke-dash #1140
  • Add text-transform styling option (thank you @alexstoick for these 2) #1118

Bugfixes ⛑️

  • Fix inheritence in scenarios/steps #1090
  • Fix a bug in 32bit builds #1115
  • Fix a bug in ID parsing #322
  • Fix a bug in watch mode parsing SVG #1119
  • Namespace transitions so that multiple animated D2 diagrams can exist on the same page #1123
  • Fix a bug in vertical alignment of appendix lines #1104
  • Fix precision difference for sketch mode running on different architectures #921
  • Fix an issue where markdown fonts weren't being applied correctly #1132

Breaking changes

  • class and classes are now reserved keywords.
  • text-transform is now a reserved keyword.

@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 Apr 9, 2023
@p-linnane p-linnane added the CI-skip-dependents Pass --skip-dependents to brew test-bot. label Apr 9, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Apr 9, 2023

@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 Apr 9, 2023
@BrewTestBot BrewTestBot enabled auto-merge April 9, 2023 03:51
@BrewTestBot BrewTestBot added this pull request to the merge queue Apr 9, 2023
Merged via the queue into Homebrew:master with commit 5e413eb Apr 9, 2023
@p-linnane p-linnane deleted the bump-d2-0.4.0 branch April 9, 2023 05:00
@github-actions github-actions bot added the outdated PR was locked due to age label May 10, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 10, 2023
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. CI-skip-dependents Pass --skip-dependents to brew test-bot. 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