d2/ci/release/changelogs/next.md

45 lines
2.4 KiB
Markdown
Raw Normal View History

#### Features 🚀
2025-02-17 04:49:49 +00:00
- Icons: connections can include icons [#12](https://github.com/terrastruct/d2/issues/12)
2025-02-28 22:32:56 +00:00
- Syntax: `suspend`/`unsuspend` to define models and instantiate them [#2394](https://github.com/terrastruct/d2/pull/2394)
2025-03-01 17:01:48 +00:00
- Globs: support for filtering edges based on properties of endpoint nodes (e.g., `&src.style.fill: blue`) [#2395](https://github.com/terrastruct/d2/pull/2395)
2025-03-02 17:58:40 +00:00
- Render:
- markdown, latex, and code can be used as object labels [#2204](https://github.com/terrastruct/d2/pull/2204)
- `shape: c4-person` to render a person shape like what the C4 model prescribes [#2397](https://github.com/terrastruct/d2/pull/2397)
2025-03-11 22:03:57 +00:00
- Diagram legends are implemented [#2416](https://github.com/terrastruct/d2/pull/2416)
2025-02-17 04:49:49 +00:00
#### Improvements 🧹
2022-11-15 00:53:57 +00:00
2025-02-25 21:30:51 +00:00
- d2js:
- Support `d2-config`. Support additional options: [#2343](https://github.com/terrastruct/d2/pull/2343)
- `themeID`
- `darkThemeID`
- `center`
- `pad`
- `scale`
- `forceAppendix`
- `target`
- `animateInterval`
- `salt`
- `noXMLTag`
2025-02-25 21:43:33 +00:00
- Support relative imports. Improve elk error handling: [#2382](https://github.com/terrastruct/d2/pull/2382)
2025-02-25 23:48:53 +00:00
- Support fonts (`fontRegular`, `fontItalic`, `fontBold`, `fontSemiBold`): [#2384](https://github.com/terrastruct/d2/pull/2384)
2025-03-13 19:31:46 +00:00
- Add TypeScript signatures
2025-02-11 04:10:27 +00:00
2025-03-09 17:08:10 +00:00
- d2cli:
- Support `validate` command. [#2415](https://github.com/terrastruct/d2/pull/2415)
2025-03-21 01:46:46 +00:00
- Watch mode ignores backup files (e.g. files created by certain editors like Helix). [#2131](https://github.com/terrastruct/d2/issues/2131)
2025-03-20 15:54:57 +00:00
- d2compiler:
- `link`s can be set to root path, e.g. `/xyz`. [#2357](https://github.com/terrastruct/d2/issues/2357)
2025-03-09 17:08:10 +00:00
#### Bugfixes ⛑️
2025-02-13 17:39:13 +00:00
2025-02-18 19:02:36 +00:00
- Compiler:
- fixes panic when `sql_shape` shape value had mixed casing [#2349](https://github.com/terrastruct/d2/pull/2349)
2025-03-15 03:18:45 +00:00
- fixes panic when importing from a file with spread substitutions in `vars` [#2427](https://github.com/terrastruct/d2/pull/2427)
2025-02-18 19:02:36 +00:00
- fixes support for `center` in `d2-config` [#2360](https://github.com/terrastruct/d2/pull/2360)
2025-02-25 18:21:27 +00:00
- fixes panic when comment lines appear in arrays [#2378](https://github.com/terrastruct/d2/pull/2378)
2025-02-28 00:28:17 +00:00
- fixes inconsistencies when objects were double quoted [#2390](https://github.com/terrastruct/d2/pull/2390)
2025-02-21 16:44:39 +00:00
- CLI: fetch and render remote images of mimetype octet-stream correctly [#2370](https://github.com/terrastruct/d2/pull/2370)
2025-02-28 17:11:13 +00:00
- d2js: handle unicode characters [#2393](https://github.com/terrastruct/d2/pull/2393)