Update next.md

This commit is contained in:
Alexander Wang 2023-03-04 11:41:29 -08:00 committed by GitHub
parent b7ec5fd649
commit 38c8b447f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,28 @@
Diagrams that link between objects and the source they represent are much more integrated into your overall documentation than standalone diagrams. This release brings the linking feature to PDFs! Try clicking on "GitHub" object in the following PDF:
[linked.pdf](https://github.com/terrastruct/d2/files/10889489/scratch.pdf)
Code blocks now adapt to dark mode:
<img width="643" alt="Screen Shot 2023-03-04 at 11 33 46 AM" src="https://user-images.githubusercontent.com/3120367/222925564-a5068bfa-e2d8-4358-b95a-cf48c41314f3.png">
Welcome new contributor @donglixiaoche , who helps D2 support border-radius on connections!
<img width="643" alt="Screen Shot 2023-03-04 at 11 33 46 AM" src="https://user-images.githubusercontent.com/3120367/222925369-ded99063-55c8-4330-92e7-0fd3f22a03eb.png">
#### Features 🚀 #### Features 🚀
- PDF exports support external links [#891](https://github.com/terrastruct/d2/issues/891) - PDF exports support linking [#891](https://github.com/terrastruct/d2/issues/891), [#966](https://github.com/terrastruct/d2/pull/966)
- PDF exports support internal links [#891](https://github.com/terrastruct/d2/issues/966) - `border-radius` is supported on connections (ELK and TALA only, since dagre uses curves). [#913](https://github.com/terrastruct/d2/pull/913)
- `border-radius` is now supported on connections (ELK and TALA only, since Dagre uses curves). [#913](https://github.com/terrastruct/d2/pull/913)
#### Improvements 🧹 #### Improvements 🧹
- SVGs are fit to top left by default to avoid issues with zooming. [#954](https://github.com/terrastruct/d2/pull/954)
- Person shapes now have labels below them and don't need to expand as much. [#960](https://github.com/terrastruct/d2/pull/960)
- Code blocks adapt to dark mode [#971](https://github.com/terrastruct/d2/pull/971) - Code blocks adapt to dark mode [#971](https://github.com/terrastruct/d2/pull/971)
- SVGs are fit to top left by default to avoid issues with zooming. [#954](https://github.com/terrastruct/d2/pull/954)
- Person shapes have labels below them and don't need to expand as much. [#960](https://github.com/terrastruct/d2/pull/960)
#### Bugfixes ⛑️ #### Bugfixes ⛑️
- Fixes a regression where PNG backgrounds could be cut off in the appendix. [#941](https://github.com/terrastruct/d2/pull/941) - Fixes a regression where PNG backgrounds could be cut off in the appendix. [#941](https://github.com/terrastruct/d2/pull/941)
- Fixes zooming not working in watch mode. [#944](https://github.com/terrastruct/d2/pull/944) - Fixes zooming not working in watch mode. [#944](https://github.com/terrastruct/d2/pull/944)
- [API] Fixes `DeleteIDDeltas` giving duplicate deltas in rare cases. [#957](https://github.com/terrastruct/d2/pull/957)
- Fixes insufficient vertical padding in dagre with direction: right/left. [#973](https://github.com/terrastruct/d2/pull/973) - Fixes insufficient vertical padding in dagre with direction: right/left. [#973](https://github.com/terrastruct/d2/pull/973)