d2/ci/release/changelogs/next.md
Alexander Wang 11dc4eba42
Merge pull request #2384 from x-delfino/d2js-fonts
d2js: add support for custom fonts
2025-02-27 10:54:18 -08:00

27 lines
1 KiB
Markdown

#### Features 🚀
- Icons: connections can include icons [#12](https://github.com/terrastruct/d2/issues/12)
#### Improvements 🧹
- 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`
- Support fonts (`fontRegular`, `fontItalic`, `fontBold`, `fontSemiBold`): [#2384](https://github.com/terrastruct/d2/pull/2384)
#### Bugfixes ⛑️
- Compiler:
- fixes panic when `sql_shape` shape value had mixed casing [#2349](https://github.com/terrastruct/d2/pull/2349)
- fixes support for `center` in `d2-config` [#2360](https://github.com/terrastruct/d2/pull/2360)
- fixes panic when comment lines appear in arrays [#2378](https://github.com/terrastruct/d2/pull/2378)
- CLI: fetch and render remote images of mimetype octet-stream correctly [#2370](https://github.com/terrastruct/d2/pull/2370)