pkgsrc-WIP-changes archive

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

d2: update to 0.5.1



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iquiw%NetBSD.org@localhost>
Pushed By:	iquiw
Date:		Sun Jun 11 09:12:10 2023 +0900
Changeset:	66d4c6a243a6ae27bb9f231e59a46e0a44fc6a54

Modified Files:
	d2/Makefile
	d2/distinfo
	d2/go-modules.mk

Log Message:
d2: update to 0.5.1

v0.5.1

Improvements

* Improves compiler's tooltip URL check.

v0.5.0

Features

* D2 files have the ability to import from other D2 files. See docs.
* sql_table alternatively takes an array of constraints instead of being
  limited to a single one.

Improvements

* Use shape-specific sizing for grid containers
* Grid diagrams support nested shapes or grid diagrams
* grid-gap, vertical-gap, and horizontal-gap apply to padding on grid
  diagrams
* Watch mode browser uses an error favicon to easily indicate compiler
  errors.
* Grid layout performance improved when there are many similarly sized
  shapes
* Connections and labels are adjusted for shapes with 3d or multiple
* Constraints in sql_table render even if they have no matching
  abbreviation
* Constraints in sql_table sheds their excessive letter-spacing and is
  padded from the end consistently
* Duplicate image URLs in icons are only fetched once
* In watch mode, images are cached by default across compiles. Can be
  disabled with flag --img-cache=0.
* Common invalid array separator , usage in class arrays returns a helpful
  error message
* Invalid constraint usage is met with an error message, preventing a
  common mistake of omitting shape: sql_table
* Connections no longer obscure outside labels
* Container connections in dagre are more balanced
* Connections that go through shape labels are now masked translucently

Bugfixes

* Shadow is no longer cut off when --pad is 0.
* Fixes grid layout overwriting label placements for nested objects
* Fixes fonts not rendering correctly on certain platforms.
* Fixes folders not rendering in animations (--animate-interval)
* Fixes panic using reserved keywords as containers
* When multiple classes are change different attributes of arrowheads, they
  are all applied instead of only the last one
* Prevent empty block strings
* Fixes dagre mis-aligning a nested shape's connection
* Fixes a bug in grids sometimes putting a shape on the next row/column

Breaking changes

* `@xyz` is now reserved as a pattern for imports. If you previously had a
  key that started like that, it must either be renamed or quoted like
  `"@xyz"`.
* Likewise with `...@xyz` (spread operator import)

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

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      | 18 +++++++++---------
 d2/go-modules.mk |  4 ++--
 3 files changed, 12 insertions(+), 12 deletions(-)

diffs:
diff --git a/d2/Makefile b/d2/Makefile
index 768c490291..8b0f9bd3d4 100644
--- a/d2/Makefile
+++ b/d2/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-PKGNAME=	d2-0.4.2
+PKGNAME=	d2-0.5.1
 DISTNAME=	d2-${GITHUB_TAG}
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_GITHUB:=terrastruct/}
diff --git a/d2/distinfo b/d2/distinfo
index 4822f1ad47..93b0d4f00c 100644
--- a/d2/distinfo
+++ b/d2/distinfo
@@ -9,9 +9,9 @@ Size (cdr.dev_slog_@v_v1.4.2-0.20221206192828-e4803b10ae17.zip) = 44099 bytes
 BLAKE2s (cloud.google.com_go_@v_v0.26.0.mod) = 53d181aacbf96ec4f9cdd051466576dbb6959ca71a825bc6672046c7c53a2b43
 SHA512 (cloud.google.com_go_@v_v0.26.0.mod) = 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
 Size (cloud.google.com_go_@v_v0.26.0.mod) = 27 bytes
-BLAKE2s (d2-v0.4.2.tar.gz) = 417f955ddc1b0c72cc99232faf8a582afdd520dccedbf2587b5da6c6215bbb18
-SHA512 (d2-v0.4.2.tar.gz) = 6c6a49a896d156efcc9a21b7cf4b8dc5c5fc4f007e21161862b12990ae00f7b4237368c0f4f241b1672106d62cd4dd783731883e14a72f97d207171d445db590
-Size (d2-v0.4.2.tar.gz) = 16922648 bytes
+BLAKE2s (d2-v0.5.1.tar.gz) = bb999b7db3f2b47b4a5217becf5197992c69164f116d238d0918e7b7d5d4dd54
+SHA512 (d2-v0.5.1.tar.gz) = 19a2d5595c593811fb18f55bef18754ff4d079df7d066186a4f4c110e69e4fe93603c73e90db02a308dbd1fb6c27237f9f4424f5bb37151984385cfe65e110bc
+Size (d2-v0.5.1.tar.gz) = 17242257 bytes
 BLAKE2s (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 1e3e33c00707a3593021eb034c331e03c391be2a8977de8635ddcdd39b13ded4
 SHA512 (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146
 Size (github.com__burnt_sushi_toml_@v_v0.3.1.mod) = 34 bytes
@@ -894,9 +894,9 @@ Size (nhooyr.io_websocket_@v_v1.8.7.mod) = 427 bytes
 BLAKE2s (nhooyr.io_websocket_@v_v1.8.7.zip) = f4ed468617b351c6663eaae8b75c1e32c4b53b2c6d3b964c0cc1a65070784c0f
 SHA512 (nhooyr.io_websocket_@v_v1.8.7.zip) = bf99fcf8e3797080ea6c486dab6f677d00b22865cce152c98d350f429d75c25ffce1266c3ed0429172879e1725d770e651174d18b4438aa8fd40b2357d3bca31
 Size (nhooyr.io_websocket_@v_v1.8.7.zip) = 74216 bytes
-BLAKE2s (oss.terrastruct.com_util-go_@v_v0.0.0-20230320053557-dcb5aac7d972.mod) = edb80c5112af6b560453154492fc7897816e541000a548360d06b71e6b5a3fb2
-SHA512 (oss.terrastruct.com_util-go_@v_v0.0.0-20230320053557-dcb5aac7d972.mod) = ef433f88868d3f246ebf5c9e7312aabfb00388abae706d1cef0bc1eddcb91e12576ec3468d1414eac9d14b8ce1ec5352f7f896ab5c0637a77ba906e997b45ad2
-Size (oss.terrastruct.com_util-go_@v_v0.0.0-20230320053557-dcb5aac7d972.mod) = 458 bytes
-BLAKE2s (oss.terrastruct.com_util-go_@v_v0.0.0-20230320053557-dcb5aac7d972.zip) = 1c6d2cca5b5972b619879d99a8c4fb48987b3921cf18d7644871614fa1e0c68d
-SHA512 (oss.terrastruct.com_util-go_@v_v0.0.0-20230320053557-dcb5aac7d972.zip) = 7719f392276e25a9d40d22d9ab872935ddf58782df1b67375e3700a17614bab4358d0089d3fcd28c64fb8dbfeda9cc24f97758e8466e43096379d93518101542
-Size (oss.terrastruct.com_util-go_@v_v0.0.0-20230320053557-dcb5aac7d972.zip) = 1278339 bytes
+BLAKE2s (oss.terrastruct.com_util-go_@v_v0.0.0-20230604222829-11c3c60fec14.mod) = edb80c5112af6b560453154492fc7897816e541000a548360d06b71e6b5a3fb2
+SHA512 (oss.terrastruct.com_util-go_@v_v0.0.0-20230604222829-11c3c60fec14.mod) = ef433f88868d3f246ebf5c9e7312aabfb00388abae706d1cef0bc1eddcb91e12576ec3468d1414eac9d14b8ce1ec5352f7f896ab5c0637a77ba906e997b45ad2
+Size (oss.terrastruct.com_util-go_@v_v0.0.0-20230604222829-11c3c60fec14.mod) = 458 bytes
+BLAKE2s (oss.terrastruct.com_util-go_@v_v0.0.0-20230604222829-11c3c60fec14.zip) = 765b615d8e15fbf27868e53bec3c03f0b01e8eefcabd1943cdeeda8c5e649004
+SHA512 (oss.terrastruct.com_util-go_@v_v0.0.0-20230604222829-11c3c60fec14.zip) = 8b9be020060686ab8c4fd2de550dd5bb1dca7b1e43f6aacc13c0fd6d72813625a3ab0cf2901ee1da07798f3bfa670d17050d6b032cb31f915dc1ffc30ad924c8
+Size (oss.terrastruct.com_util-go_@v_v0.0.0-20230604222829-11c3c60fec14.zip) = 1279976 bytes
diff --git a/d2/go-modules.mk b/d2/go-modules.mk
index 092b47059f..056de61018 100644
--- a/d2/go-modules.mk
+++ b/d2/go-modules.mk
@@ -297,5 +297,5 @@ GO_MODULE_FILES+=	honnef.co/go/tools/@v/v0.0.0-20190102054323-c2f93a96b099.mod
 GO_MODULE_FILES+=	honnef.co/go/tools/@v/v0.0.0-20190523083050-ea95bdfd59fc.mod
 GO_MODULE_FILES+=	nhooyr.io/websocket/@v/v1.8.7.mod
 GO_MODULE_FILES+=	nhooyr.io/websocket/@v/v1.8.7.zip
-GO_MODULE_FILES+=	oss.terrastruct.com/util-go/@v/v0.0.0-20230320053557-dcb5aac7d972.mod
-GO_MODULE_FILES+=	oss.terrastruct.com/util-go/@v/v0.0.0-20230320053557-dcb5aac7d972.zip
+GO_MODULE_FILES+=	oss.terrastruct.com/util-go/@v/v0.0.0-20230604222829-11c3c60fec14.mod
+GO_MODULE_FILES+=	oss.terrastruct.com/util-go/@v/v0.0.0-20230604222829-11c3c60fec14.zip


Home | Main Index | Thread Index | Old Index