From 0b389635fd44d2ec90c3926991b1d13cb03bac7e Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Thu, 19 Jan 2023 20:56:57 -0800 Subject: [PATCH 1/3] prep changelog --- README.md | 4 +++- ci/release/changelogs/next.md | 23 ++++++++++++++--------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5f615e6ce..e9b7fbf2a 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,9 @@ improved security but the install script is by no means insecure. In addition to being a runnable CLI tool, D2 can also be used to produce diagrams from Go programs. -For examples, see [./docs/examples/lib](./docs/examples/lib). +For examples, see [./docs/examples/lib](./docs/examples/lib). This [blog +post](https://terrastruct.com/blog/post/generate-diagrams-programmatically/) also demos +an complete, runnable example of using D2 as a library for a real-world use case. ## Themes diff --git a/ci/release/changelogs/next.md b/ci/release/changelogs/next.md index 0f7d02121..a976f61c5 100644 --- a/ci/release/changelogs/next.md +++ b/ci/release/changelogs/next.md @@ -1,12 +1,16 @@ -![animated connection example](https://user-images.githubusercontent.com/3120367/213055161-e6f1918b-150c-4beb-b61c-3ea05cc29f00.svg) +Many meaningful quality of life improvements and bug fixes, along with a few small features. Overall, a stabilizing set of changes, while some huge features are brewing in the background for the next release! +Thank you to the new contributors that have been joining us. If you want to get involved, there's lots of issues tagged with "good first issue" that are relatively easy to pick up. We're always around to lend a hand, and feel free to drop by our Discord if you're not sure where to start. + +Have you enjoyed using D2? We're redesigning some of the site and will have a section for testimonials. If you'd like to be included with a few words alongside your name or public profile, please email us at hi@d2lang.com (or just post it somewhere and let us know)! + +![animated connection example](https://user-images.githubusercontent.com/3120367/213055161-e6f1918b-150c-4beb-b61c-3ea05cc29f00.svg) #### Features ๐Ÿš€ -- Circle arrowheads are now supported. [#634](https://github.com/terrastruct/d2/pull/634) - - `animated` keyword implemented for connections. [#652](https://github.com/terrastruct/d2/pull/652) - `border-radius` keyword implemented for squares/rectangles. [#688](https://github.com/terrastruct/d2/pull/688) +- `circle` arrowheads. [#634](https://github.com/terrastruct/d2/pull/634) #### Improvements ๐Ÿงน @@ -16,14 +20,15 @@ #### Bugfixes โ›‘๏ธ -- Fixes arrowheads sometimes appearing broken in dagre layouts. [#649](https://github.com/terrastruct/d2/pull/649) -- Fixes attributes being ignored for `sql_table` to `sql_table` connections. [#658](https://github.com/terrastruct/d2/pull/658) -- Fixes tooltip/link attributes being ignored for `sql_table` and `class`. [#658](https://github.com/terrastruct/d2/pull/658) -- Fixes arrowheads sometimes appearing broken with sketch on. [#656](https://github.com/terrastruct/d2/pull/656) -- Bounding box was not accounting for dimensions added by `multiple` and `3d` keywords, which made them look cut off with 0 padding. [#684](https://github.com/terrastruct/d2/pull/684), [#685](https://github.com/terrastruct/d2/pull/685) - Fixes code snippets not being tall enough with leading newlines. [#664](https://github.com/terrastruct/d2/pull/664) - Opacity was not being applied to labels of shapes (and other edge cases). [#677](https://github.com/terrastruct/d2/pull/677) +- Fixes arrowheads sometimes appearing broken with sketch on. [#656](https://github.com/terrastruct/d2/pull/656) +- Fixes attributes being ignored for `sql_table` to `sql_table` connections. [#658](https://github.com/terrastruct/d2/pull/658) - Icon URLs that needed escaping (e.g. with ampersands) are handled correctly by CLI. [#666](https://github.com/terrastruct/d2/pull/666) -- Fixes markdown shapes being slightly too short for their text in some cases. [#665](https://github.com/terrastruct/d2/pull/665) - Fixes self-connections inside layouts when using ELK. [#676](https://github.com/terrastruct/d2/pull/676) +- Fixes inter-span messages between spans of the same actor in sequence diagrams. [#694](https://github.com/terrastruct/d2/pull/694) +- Fixes arrowheads sometimes appearing broken in Dagre layouts. [#649](https://github.com/terrastruct/d2/pull/649) +- Fixes tooltip/link attributes being ignored for `sql_table` and `class`. [#658](https://github.com/terrastruct/d2/pull/658) +- Bounding box was not accounting for dimensions added by `multiple` and `3d` keywords, which made them look cut off with 0 padding. [#684](https://github.com/terrastruct/d2/pull/684), [#685](https://github.com/terrastruct/d2/pull/685) +- Fixes markdown shapes being slightly too short for their text in some cases. [#665](https://github.com/terrastruct/d2/pull/665) - Fixes panic when the only diagram object has `near` set to a constant. [#687](https://github.com/terrastruct/d2/pull/687) From 6e540cf42b6b9c0e8fcfa2eef246b5b6e80f702f Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Thu, 19 Jan 2023 21:01:28 -0800 Subject: [PATCH 2/3] typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e9b7fbf2a..7f459d247 100644 --- a/README.md +++ b/README.md @@ -132,8 +132,8 @@ In addition to being a runnable CLI tool, D2 can also be used to produce diagram Go programs. For examples, see [./docs/examples/lib](./docs/examples/lib). This [blog -post](https://terrastruct.com/blog/post/generate-diagrams-programmatically/) also demos -an complete, runnable example of using D2 as a library for a real-world use case. +post](https://terrastruct.com/blog/post/generate-diagrams-programmatically/) also demos a +complete, runnable example of using D2 as a library for a real-world use case. ## Themes From c8ce9f6d14e691bb7031778dcdf11d6052b42e31 Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Thu, 19 Jan 2023 21:15:10 -0800 Subject: [PATCH 3/3] move gif --- ci/release/changelogs/next.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/release/changelogs/next.md b/ci/release/changelogs/next.md index a976f61c5..b4e98445e 100644 --- a/ci/release/changelogs/next.md +++ b/ci/release/changelogs/next.md @@ -4,11 +4,10 @@ Thank you to the new contributors that have been joining us. If you want to get Have you enjoyed using D2? We're redesigning some of the site and will have a section for testimonials. If you'd like to be included with a few words alongside your name or public profile, please email us at hi@d2lang.com (or just post it somewhere and let us know)! -![animated connection example](https://user-images.githubusercontent.com/3120367/213055161-e6f1918b-150c-4beb-b61c-3ea05cc29f00.svg) - #### Features ๐Ÿš€ - `animated` keyword implemented for connections. [#652](https://github.com/terrastruct/d2/pull/652) +![animated connection example](https://user-images.githubusercontent.com/3120367/213055161-e6f1918b-150c-4beb-b61c-3ea05cc29f00.svg) - `border-radius` keyword implemented for squares/rectangles. [#688](https://github.com/terrastruct/d2/pull/688) - `circle` arrowheads. [#634](https://github.com/terrastruct/d2/pull/634)