2025-01-12 14:41:58 +00:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
|
|
All notable changes to only the d2.js package will be documented in this file. **Does not
|
|
|
|
|
include changes to the main d2 project.**
|
|
|
|
|
|
2025-03-22 01:56:18 +00:00
|
|
|
## Next
|
|
|
|
|
|
|
|
|
|
- Fix TypeScript signatures
|
|
|
|
|
|
2025-03-21 02:27:17 +00:00
|
|
|
## [0.1.22]
|
|
|
|
|
### March 20, 2025
|
|
|
|
|
|
|
|
|
|
- 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 relative imports. Improve elk error handling [#2382](https://github.com/terrastruct/d2/pull/2382)
|
|
|
|
|
- Support fonts (`fontRegular`, `fontItalic`, `fontBold`, `fontSemiBold`) [#2384](https://github.com/terrastruct/d2/pull/2384)
|
|
|
|
|
- Add TypeScript signatures
|
|
|
|
|
|
|
|
|
|
## [0.1.21]
|
|
|
|
|
### January 12, 2025
|
2025-01-12 14:41:58 +00:00
|
|
|
|
|
|
|
|
First public release
|