d2/ci/release/changelogs/next.md
2025-03-22 10:08:47 +05:30

2.2 KiB

Features 🚀

  • Icons: connections can include icons #12
  • Syntax: suspend/unsuspend to define models and instantiate them #2394
  • Globs: support for filtering edges based on properties of endpoint nodes (e.g., &src.style.fill: blue) #2395
  • Render:
    • markdown, latex, and code can be used as object labels #2204
    • shape: c4-person to render a person shape like what the C4 model prescribes #2397
  • Icons: border-radius should work on icon #2409
  • Diagram legends are implemented #2416

Improvements 🧹

  • d2cli:
    • Support validate command. #2415
    • Watch mode ignores backup files (e.g. files created by certain editors like Helix). #2131
  • d2compiler:
    • links can be set to root path, e.g. /xyz. #2357

Bugfixes ⛑️

  • Compiler:
    • fixes panic when sql_shape shape value had mixed casing #2349
    • fixes panic when importing from a file with spread substitutions in vars #2427
    • fixes support for center in d2-config #2360
    • fixes panic when comment lines appear in arrays #2378
    • fixes inconsistencies when objects were double quoted #2390
    • fixes globs not applying to spread substitutions #2426
  • CLI: fetch and render remote images of mimetype octet-stream correctly #2370
  • d2js: handle unicode characters #2393

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