d2/ci/release/changelogs/next.md

34 lines
3.2 KiB
Markdown
Raw Normal View History

2023-03-07 19:11:52 +00:00
#### Features 🚀
2023-06-07 22:40:51 +00:00
- D2 files have the ability to import from other D2 files. See [docs](https://d2lang.com/tour/imports). [#1371](https://github.com/terrastruct/d2/pull/1371)
2022-12-01 20:59:53 +00:00
#### Improvements 🧹
2022-11-15 00:53:57 +00:00
2023-05-04 03:05:52 +00:00
- Use shape specific sizing for grid containers [#1294](https://github.com/terrastruct/d2/pull/1294)
2023-05-09 01:52:38 +00:00
- Grid diagrams now support nested shapes or grid diagrams [#1309](https://github.com/terrastruct/d2/pull/1309)
2023-05-11 00:24:16 +00:00
- Grid diagrams will now also use `grid-gap`, `vertical-gap`, and `horizontal-gap` for padding [#1309](https://github.com/terrastruct/d2/pull/1309)
2023-05-07 19:12:04 +00:00
- Watch mode browser uses an error favicon to easily indicate compiler errors. Thanks @sinyo-matu ! [#1240](https://github.com/terrastruct/d2/pull/1240)
2023-05-10 01:28:23 +00:00
- Improves grid layout performance when there are many similarly sized shapes. [#1315](https://github.com/terrastruct/d2/pull/1315)
2023-05-26 02:19:11 +00:00
- Connections and labels now are adjusted for shapes with `3d` or `multiple`. [#1340](https://github.com/terrastruct/d2/pull/1340)
2023-06-03 19:21:25 +00:00
- `sql_table` now alternatively takes an array of constraints instead of being limited to a single one. Thanks @satoqz ! [#1245](https://github.com/terrastruct/d2/pull/1245)
2023-06-05 18:36:36 +00:00
- Constraints in `sql_table` render even if they have no matching abbreviation [#1372](https://github.com/terrastruct/d2/pull/1372)
- Constraints in `sql_table` sheds their excessive letter-spacing and is padded from the end consistently [#1372](https://github.com/terrastruct/d2/pull/1372)
2023-06-06 18:19:26 +00:00
- Duplicate image URLs in icons are only fetched once [#1373](https://github.com/terrastruct/d2/pull/1373)
- In watch mode, images are cached by default across compiles. Can be disabled with flag `--img-cache=0`. [#1373](https://github.com/terrastruct/d2/pull/1373)
2023-06-07 03:26:38 +00:00
- Common invalid array separator `,` usage in class arrays returns a helpful error message [#1376](https://github.com/terrastruct/d2/pull/1376)
2023-06-08 18:09:49 +00:00
- Invalid `constraint` usage is met with an error message, preventing a common mistake of omitting `shape: sql_table` [#1379](https://github.com/terrastruct/d2/pull/1379)
2023-06-08 21:23:32 +00:00
- Connections now stop at all outside labels. [#1381](https://github.com/terrastruct/d2/pull/1381)
2023-05-04 03:05:52 +00:00
#### Bugfixes ⛑️
2023-05-16 12:21:46 +00:00
2023-05-16 21:56:26 +00:00
- Shadow is cut off when `--pad` is 0. Thank you @LeonardsonCC ! [#1326](https://github.com/terrastruct/d2/pull/1326)
2023-05-27 00:51:39 +00:00
- Fixes grid layout overwriting label placements for nested objects. [#1345](https://github.com/terrastruct/d2/pull/1345)
2023-06-01 02:02:49 +00:00
- Fixes fonts not rendering correctly on certain platforms. Thanks @mikeday for identifying the solution. [#1356](https://github.com/terrastruct/d2/pull/1356)
2023-06-01 05:29:55 +00:00
- Fixes folders not rendering in animations (`--animate-interval`) [#1357](https://github.com/terrastruct/d2/pull/1357)
2023-06-01 06:06:13 +00:00
- Fixes panic using reserved keywords as containers [#1358](https://github.com/terrastruct/d2/pull/1358)
2023-06-02 00:13:00 +00:00
- When multiple classes are applied changing different attributes of arrowheads, they are
all applied instead of only the last one [#1362](https://github.com/terrastruct/d2/pull/1362)
2023-06-02 01:49:02 +00:00
- Prevent empty block strings [#1364](https://github.com/terrastruct/d2/pull/1364)
2023-06-02 22:59:42 +00:00
- Fixes dagre mis-aligning a nested shape's connection. [#1370](https://github.com/terrastruct/d2/pull/1370)
2023-06-08 20:15:30 +00:00
- Fixes a bug in grids sometimes putting a shape on the next row/column. [#1380](https://github.com/terrastruct/d2/pull/1380)