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.2 #130008

Merged
merged 2 commits into from
May 3, 2023
Merged

d2 0.4.2 #130008

merged 2 commits into from
May 3, 2023

Conversation

Porkepix
Copy link
Contributor

@Porkepix Porkepix commented May 3, 2023

Created by brew bump


Created with brew bump-formula-pr.

release notes
This release improves on the features introduced in 0.4, with `class` keyword now accepting multiple class values with an array, and grid diagrams becoming faster and more robust. 

Multiple classes example:

classes: {
  base: {
    style: {
      stroke-dash: 2
      border-radius: 5
      font: mono
      text-transform: uppercase
    }
  }
  error: {
    style.fill: "#e07d7d"
    style.stroke: "#a60c0c"
    style.font-color: white
  }
  success: {
    style.fill: "#86f499"
    style.stroke: "#017f07"
    style.font-color: black
  }
}

server-1.class: [base; error]
server-2.class: [base; success]

Features 🚀

  • class field now accepts arrays. See docs. #1256
  • Pill shape is implemented with rectangles of large border radius. See docs. Thanks @Poivey ! #1006

Improvements 🧹

  • ELK self loops get distributed around the object instead of stacking #1232
  • ELK preserves order of objects in cycles #1235
  • Improper usages of class and style get error messages #1254
  • Improves scaling of object widths/heights in grid diagrams #1263
  • Enhance Markdown parsing error message by appending link to docs #1269

Bugfixes ⛑️

  • Fixes an issue with markdown labels that are empty when rendered #1223
  • ELK self loops always have enough space for long labels #1232
  • Fixes panic when setting shape to be class or sql_table within a class #1251
  • Fixes rare panic exporting to gifs #1257
  • Fixes bad performance in large grid diagrams #1263
  • Fixes bug in ELK when container has ID "root" #1268
  • Fixes edge case panic with invalid CLI arguments #1271

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

github-actions bot commented May 3, 2023

🤖 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 May 3, 2023
@BrewTestBot BrewTestBot enabled auto-merge May 3, 2023 03:58
@BrewTestBot BrewTestBot added this pull request to the merge queue May 3, 2023
Merged via the queue into Homebrew:master with commit e0426ce May 3, 2023
@Porkepix Porkepix deleted the bump-d2-0.4.2 branch May 3, 2023 07:23
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