pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

d2: Update to 0.1.5



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Mon Jan 9 14:28:52 2023 +0900
Changeset:	6878f5a426fc216f0025fbd33173f934f15f9446

Modified Files:
	d2/Makefile
	d2/distinfo

Log Message:
d2: Update to 0.1.5

v0.1.5

Features

* Crow foot notation has been added for arrowheads. See docs for
more.
* Exported SVGs fit to screen on open.

Improvements

* Dagre edges are spaced apart to prevent label overlap.

Bugfixes

* Appendix seperator line no longer added to PNG export when appendix
doesn't exist.
* Watch mode only fits to screen on initial load.
* Dimensions (width/height) were incorrectly giving compiler errors when
applied on a shape with style.
* near would collide with labels if they were on the diagram boundaries in
the same position.
* Fixes routing between sql table columns if the column name is the prefix
of the table name.

v0.1.4

Features

* Tooltips can be set on shapes. See https://d2lang.com/tour/interactive.
* Links can be set on shapes. See https://d2lang.com/tour/interactive.
* The width and height attributes are no longer restricted to images and
can be applied to non-container shapes.
* Layout engine options are exposed and configurable. See individual layout
pages on https://d2lang.com/tour/layouts for list of configurations.

Improvements

* Watch mode renders fit to screen.

Bugfixes

* Fixes rendering class and table with empty headers.
* Fixes rendering of sql_table with no columns.
* Diagram bounding boxes account for stroke widths.
* Restricts where near key constant values can be used, with good error
messages, instead of erroring (e.g. setting near: top-center on a container
would cause bad layouts or error).
* Fixes panic when images with empty labels are rendered with ELK.

Breaking changes

* For usages of D2 as a library, d2dagrelayout.Layout and
d2elklayout.Layout now accept a third parameter for options. If you would
like to keep the defaults, please change your code to call
dagrelayout.DefaultLayout and d2elklayout.DefaultLayout respectively.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6878f5a426fc216f0025fbd33173f934f15f9446

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 d2/Makefile | 2 +-
 d2/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs:
diff --git a/d2/Makefile b/d2/Makefile
index 1be3083163..0717ad13f5 100644
--- a/d2/Makefile
+++ b/d2/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-PKGNAME=	d2-0.1.3
+PKGNAME=	d2-0.1.5
 DISTNAME=	d2-${GITHUB_TAG}
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_GITHUB:=terrastruct/}
diff --git a/d2/distinfo b/d2/distinfo
index c257222416..8ab561e926 100644
--- a/d2/distinfo
+++ b/d2/distinfo
@@ -174,9 +174,9 @@ Size (cloud.google.com_go_storage_@v_v1.6.0.mod) = 736 bytes
 BLAKE2s (cloud.google.com_go_storage_@v_v1.8.0.mod) = 692c82ecdaa77da7e9949128a1c191102b66f878700060363a58ee55577abad8
 SHA512 (cloud.google.com_go_storage_@v_v1.8.0.mod) = 409dad03104a4ac6b4a8c6da3540ab382345c86e48732f2b37d64ae2bc1c721d9f0a1ed0824a36085baa7102d2626e84f44706b16297623e8deb58fa9e24ba38
 Size (cloud.google.com_go_storage_@v_v1.8.0.mod) = 622 bytes
-BLAKE2s (d2-v0.1.3.tar.gz) = f8e3d19a83aaa05f2c54df0fe5ce42e45641f2edf5ab153dd76e55383e5731d8
-SHA512 (d2-v0.1.3.tar.gz) = 9954803edccde9ee9e54ed6bca6f685c0d85bd87abc4095ccf49e3688c01237d32b690d5c4f82a458ff16ec357345b48051274578fe8f7ba99d11089d221efdd
-Size (d2-v0.1.3.tar.gz) = 47057881 bytes
+BLAKE2s (d2-v0.1.5.tar.gz) = 0e49746f60b72c2f1d83ec3b049216acc9cf840c6bd8b5ac1ae105fe26aa3665
+SHA512 (d2-v0.1.5.tar.gz) = db38c7ded41d84e6ef209575d7dee613b48bc7dc23a67ea222def2d745d50ffc4b288a74e5d9d9a33bcc40a23dd3d0a6793243fe251302b45562f9ffe3ac2f8d
+Size (d2-v0.1.5.tar.gz) = 52075150 bytes
 BLAKE2s (dmitri.shuralyov.com_gpu_mtl_@v_v0.0.0-20190408044501-666a987793e9.mod) = 2136184228fc4913040e8abab210d9694fa46310b1073dbb42e1697f8591c1f2
 SHA512 (dmitri.shuralyov.com_gpu_mtl_@v_v0.0.0-20190408044501-666a987793e9.mod) = 196affe091247f94ceda4b56629bd62d4ee2b397f2c0f56c9534c02e43531b46705ad33543b58c1a4fc7a48e25e5923db087fe0485a93966a4086581c0d1d3e1
 Size (dmitri.shuralyov.com_gpu_mtl_@v_v0.0.0-20190408044501-666a987793e9.mod) = 36 bytes


Home | Main Index | Thread Index | Old Index