2024-04-26 03:24:57 +00:00
|
|
|
#### Features 🚀
|
|
|
|
|
|
2024-12-15 02:37:14 +00:00
|
|
|
- Animations: `style.animated: true` is supported on shapes [#2250](https://github.com/terrastruct/d2/pull/2250)
|
2024-12-14 21:02:37 +00:00
|
|
|
- Connections now support `link` [#1955](https://github.com/terrastruct/d2/pull/1955)
|
2024-11-18 15:01:47 +00:00
|
|
|
- Vars: vars in markdown blocks are substituted [#2218](https://github.com/terrastruct/d2/pull/2218)
|
2024-11-19 00:23:35 +00:00
|
|
|
- Markdown: Github-flavored tables work in `md` blocks [#2221](https://github.com/terrastruct/d2/pull/2221)
|
2024-12-16 23:37:22 +00:00
|
|
|
- `d2 fm` now supports a `--check` flag [#2253](https://github.com/terrastruct/d2/pull/2253)
|
2024-11-18 15:01:47 +00:00
|
|
|
|
2024-04-26 03:24:57 +00:00
|
|
|
#### Improvements 🧹
|
2022-11-15 00:53:57 +00:00
|
|
|
|
2024-11-08 21:26:38 +00:00
|
|
|
- Composition: links pointing to own board are purged [#2203](https://github.com/terrastruct/d2/pull/2203)
|
2024-11-24 02:41:49 +00:00
|
|
|
- Syntax: reserved keywords must be unquoted [#2231](https://github.com/terrastruct/d2/pull/2231)
|
2024-11-24 21:01:04 +00:00
|
|
|
- Latex: Backslashes in Latex blocks do not escape [#2232](https://github.com/terrastruct/d2/pull/2232)
|
|
|
|
|
- This is a breaking change. Previously Latex blocks required escaping the backslash. So
|
|
|
|
|
for older D2 versions, you should remove the excess backslashes.
|
2024-12-06 11:15:51 +00:00
|
|
|
- Links: non-http url scheme links are supported (e.g. `x.link: vscode://file/`) [#2237](https://github.com/terrastruct/d2/issues/2237)
|
2024-12-15 05:13:39 +00:00
|
|
|
- Compiler: reserved keywords with missing values error instead of silently doing nothing [#2251](https://github.com/terrastruct/d2/pull/2251)
|
2024-11-08 21:26:38 +00:00
|
|
|
|
2022-12-01 21:14:09 +00:00
|
|
|
#### Bugfixes ⛑️
|
2024-11-11 01:55:20 +00:00
|
|
|
|
|
|
|
|
- Imports: fixes using substitutions in `icon` values [#2207](https://github.com/terrastruct/d2/pull/2207)
|
2024-11-18 16:00:57 +00:00
|
|
|
- Markdown: fixes ampersands in URLs in markdown [#2219](https://github.com/terrastruct/d2/pull/2219)
|
2024-12-13 05:52:18 +00:00
|
|
|
- Globs: fixes edge case where globs with imported boards would create empty boards [#2247](https://github.com/terrastruct/d2/pull/2247)
|