pkgsrc-WIP-changes archive

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

d2: Update to 0.1.3



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Fri Dec 30 11:22:00 2022 +0900
Changeset:	921f8db56c44c4f780f94c0f32b87f3592e257f4

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

Log Message:
d2: Update to 0.1.3

Features

* sketch flag renders the diagram to look like it was sketched by
hand.
* near now takes constants like top-center, particularly useful for diagram
titles. See docs for more.

Improvements

* Improved label placements for shapes with images and icons to avoid
overlapping labels.
* Themes are applied to sql_table and class shapes.
* class shapes use monospaced font.
* Sequence diagram edge group labels have more reasonable padding.
* ELK layout engine preserves order of nodes.
* Non-markdown text (shape: text without language block) works with bold,
italic, underline, and font-size.
* Markdown headings set font-family explicitly, so that external
stylesheets with more specific targeting don't override it.

Bugfixes

* d2 fmt only rewrites if it has changes, instead of always rewriting.
* Text no longer overflows in sql_table shapes.
* ELK connection labels are now given the appropriate dimensions.
* Dagre connection lengths make room for longer labels.
* Icons with query parameters are escaped to valid SVG XML.
* Connections at the boundaries no longer get part of its stroke
clipped.
* Fixes edge case where style being defined in same scope as sql_table
causes compiler to skip compiling sql_table.
* Fixes panic passing a non-string value to constraint.
* Fixes edge case where the key null was compiling wrongly.

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

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      | 36 ++++++++++++++++++------------------
 d2/go-modules.mk | 10 +++++-----
 3 files changed, 24 insertions(+), 24 deletions(-)

diffs:
diff --git a/d2/Makefile b/d2/Makefile
index 14de27dfa1..1be3083163 100644
--- a/d2/Makefile
+++ b/d2/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-PKGNAME=	d2-0.1.2
+PKGNAME=	d2-0.1.3
 DISTNAME=	d2-${GITHUB_TAG}
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_GITHUB:=terrastruct/}
diff --git a/d2/distinfo b/d2/distinfo
index c5fc199c51..c257222416 100644
--- a/d2/distinfo
+++ b/d2/distinfo
@@ -1,11 +1,11 @@
 $NetBSD$
 
-BLAKE2s (cdr.dev_slog_@v_v1.4.2-0.20220126003130-b94a5ff54f37.mod) = e664e79e984bb846a973f0c1d3b7734716f12fa023cc90f946839831bcd8f21b
-SHA512 (cdr.dev_slog_@v_v1.4.2-0.20220126003130-b94a5ff54f37.mod) = e17b3c4dfa32533fc15db35971f129a7f3a2fadfe4fe4f255c8b9c3ccc4d46b9a5b3eedd41ceeeef461b9f7ead302e0758ddcf40f0cabccf5bda0f056362da48
-Size (cdr.dev_slog_@v_v1.4.2-0.20220126003130-b94a5ff54f37.mod) = 452 bytes
-BLAKE2s (cdr.dev_slog_@v_v1.4.2-0.20220126003130-b94a5ff54f37.zip) = 2ad33b5ae1cf204706cefd3ecc68e77a51a3efce5dd74ed5e767ca146567dc5d
-SHA512 (cdr.dev_slog_@v_v1.4.2-0.20220126003130-b94a5ff54f37.zip) = ac9de2b5b35c494c50c250efb0e5bd4c7a4e975e4dee41746c32f419087b79480075eefe84f72342f45202afd7dca36b667f3db47f4e36b9e5eb6514284eaf3c
-Size (cdr.dev_slog_@v_v1.4.2-0.20220126003130-b94a5ff54f37.zip) = 56578 bytes
+BLAKE2s (cdr.dev_slog_@v_v1.4.2-0.20221206192828-e4803b10ae17.mod) = 242ae6c6f3019c6bc2d6a0ea8685eca6d0a145840884284efe7fb5311e1cf66d
+SHA512 (cdr.dev_slog_@v_v1.4.2-0.20221206192828-e4803b10ae17.mod) = 2b7bf8117cc06fc58feba0f3653945ffe70f0c8dfbfc5d3f482b586fa6f1ed9c0f7fa7e10847a017fbd0c04f3557bd1f9ee4da731b934d1c24330252a9c7be88
+Size (cdr.dev_slog_@v_v1.4.2-0.20221206192828-e4803b10ae17.mod) = 376 bytes
+BLAKE2s (cdr.dev_slog_@v_v1.4.2-0.20221206192828-e4803b10ae17.zip) = f3af2ca43758fb4540782d9a431aa9b1c5fb580dd9a7a169549b821883beb9f0
+SHA512 (cdr.dev_slog_@v_v1.4.2-0.20221206192828-e4803b10ae17.zip) = 88c1153489455d32ab45e9abdccb0789a567b1edc62c74620582a580c4d8b1daeb03e9935c937335962d5eaf8095abf80d181e4cc7150f94430f6e21f09e5e6e
+Size (cdr.dev_slog_@v_v1.4.2-0.20221206192828-e4803b10ae17.zip) = 44099 bytes
 BLAKE2s (cloud.google.com_go_@v_v0.100.2.mod) = 6b0f28a5b451457b741799da390ec9083b3f23e5a178b3a0b457603c1398b34e
 SHA512 (cloud.google.com_go_@v_v0.100.2.mod) = 510c4bd48b8d3cd45b69b5f46729e8ce34d52255848d2b0856410c621c5dd3b302df607ac71dcd2bf29aacbe3087233d9452c71d78649de9330d3d3ad556c7a9
 Size (cloud.google.com_go_@v_v0.100.2.mod) = 531 bytes
@@ -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.2.tar.gz) = cdab7d79d5d6bc89bf027d636900a9cc54fd5ace0dd041e13c0781a1f7842027
-SHA512 (d2-v0.1.2.tar.gz) = b46eb3291706ad1a7ba6e8dabd140d26adda37a0d299b51b3cc80f29f211eb7f8d08f394aab59f3454c409b41e129d2a342f39f5952c868465fd8c9e4cfc89e0
-Size (d2-v0.1.2.tar.gz) = 41713609 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 (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
@@ -201,9 +201,6 @@ Size (github.com_alecthomas_chroma_@v_v0.10.0.mod) = 176 bytes
 BLAKE2s (github.com_alecthomas_chroma_@v_v0.10.0.zip) = 1c60978206ad1ac52ef3838391d64d1d1ee17c8a10bfe1fcc7c384c7e34a65f7
 SHA512 (github.com_alecthomas_chroma_@v_v0.10.0.zip) = cb73e1e9006935f478af1b7d217377bbab93a4c91f58e5288125cee6cbda6812b2cd6d0c253155d2b8cf40d4c02968b28a21383fdc15aef06f100aa967467be4
 Size (github.com_alecthomas_chroma_@v_v0.10.0.zip) = 1077001 bytes
-BLAKE2s (github.com_alecthomas_chroma_@v_v0.9.4.mod) = 237a44319de65df1f777ddd8c35de2e350bacc3ac62ca6aaddc5eca69a537d90
-SHA512 (github.com_alecthomas_chroma_@v_v0.9.4.mod) = d8194b2458c1fb2a3b9cee9274e1c66a0bbaf676a051ee3ef085c9bc24279d132ccfd0a62767f9fab268090c29ff88e3a74448b0eea87b58f5e0b5e4c66ddd98
-Size (github.com_alecthomas_chroma_@v_v0.9.4.mod) = 176 bytes
 BLAKE2s (github.com_andybalholm_cascadia_@v_v1.3.1.mod) = 9e0b5bb8b92b38eaa05da055def0736a6397cdc0e21c48222a3a8cc71633c168
 SHA512 (github.com_andybalholm_cascadia_@v_v1.3.1.mod) = 06b42122572ea8c19f21cbebdd9270442272c3006ea64b51fa7bf34d32b24aa5f9c199bdd4f5fd8e59197543a8390ba75361f0b273b9d2dc91cc05b8c97edfdd
 Size (github.com_andybalholm_cascadia_@v_v1.3.1.mod) = 109 bytes
@@ -522,6 +519,9 @@ Size (github.com_golang_protobuf_@v_v1.5.1.mod) = 124 bytes
 BLAKE2s (github.com_golang_protobuf_@v_v1.5.2.mod) = 40cf7971e01091dd61082a900b2339bbf92a56f6ecd271b037412785733a5a67
 SHA512 (github.com_golang_protobuf_@v_v1.5.2.mod) = 44c996ad31bf02aec42bef934d7cd65379ae5eca4d1069dab8c478be169f9479cbd55f8f72bd9567e51535d31c9f65cd1d56bbefb8b745f96cad0f5953f8c420
 Size (github.com_golang_protobuf_@v_v1.5.2.mod) = 192 bytes
+BLAKE2s (github.com_golang_protobuf_@v_v1.5.2.zip) = a1dd8d56e8eceb85a8f9c5d75098cb95107b6686533e695ca4df271a1579f6d1
+SHA512 (github.com_golang_protobuf_@v_v1.5.2.zip) = 6df84a92489b04e55e35bb2334f7e9e55f4fac646e9ad904eca189d069443609fe1affc4cf5e92d0f90ea9c75162a72f134c6298f828608efe9a71b6e496eeb5
+Size (github.com_golang_protobuf_@v_v1.5.2.zip) = 206858 bytes
 BLAKE2s (github.com_golang_snappy_@v_v0.0.3.mod) = 89caff119e0d46a899dbc000bd9e187694335d83414963ec68585ae0b1edaecb
 SHA512 (github.com_golang_snappy_@v_v0.0.3.mod) = c9faa5760addf2869df9a3ec5ed9da02944823afc5be93b8b6193c43261d167cff2aeb65bb844d959d368ada83932c86056aefbff799be326e889d3de4c2b8f5
 Size (github.com_golang_snappy_@v_v0.0.3.mod) = 32 bytes
@@ -2361,12 +2361,12 @@ 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-20221219053816-eb266649d2ed.mod) = 37fd43ecee13885625f0130764ef8f9380783e5b8dfe49eee61b357fce10074d
-SHA512 (oss.terrastruct.com_util-go_@v_v0.0.0-20221219053816-eb266649d2ed.mod) = 94399f4c5c842f074f18d2930fd39bae1ea79cb8e2a66a39fd50565471b840c41162a83dee44a1a47b0c8a47f6c4d644ce2489501423ae4f79cbde53216b23cb
-Size (oss.terrastruct.com_util-go_@v_v0.0.0-20221219053816-eb266649d2ed.mod) = 385 bytes
-BLAKE2s (oss.terrastruct.com_util-go_@v_v0.0.0-20221219053816-eb266649d2ed.zip) = 73ebcdeeb139bc0af846b07f22e2a543f29f33b00940fa7bc23b8f4527c7824c
-SHA512 (oss.terrastruct.com_util-go_@v_v0.0.0-20221219053816-eb266649d2ed.zip) = f276318f14cc65e8404bc83449db49ac343fa9cd4552b8a6f78cbaf2841f2b50a27df2bd256b2544adac270a058b860796ce4099a38e458c9d3c1e3af025d9be
-Size (oss.terrastruct.com_util-go_@v_v0.0.0-20221219053816-eb266649d2ed.zip) = 1272783 bytes
+BLAKE2s (oss.terrastruct.com_util-go_@v_v0.0.0-20221226181616-c04ce7d1b79f.mod) = 37fd43ecee13885625f0130764ef8f9380783e5b8dfe49eee61b357fce10074d
+SHA512 (oss.terrastruct.com_util-go_@v_v0.0.0-20221226181616-c04ce7d1b79f.mod) = 94399f4c5c842f074f18d2930fd39bae1ea79cb8e2a66a39fd50565471b840c41162a83dee44a1a47b0c8a47f6c4d644ce2489501423ae4f79cbde53216b23cb
+Size (oss.terrastruct.com_util-go_@v_v0.0.0-20221226181616-c04ce7d1b79f.mod) = 385 bytes
+BLAKE2s (oss.terrastruct.com_util-go_@v_v0.0.0-20221226181616-c04ce7d1b79f.zip) = 2759ff843c4117c9550ab9b6b901d5b682384cbeaf93967fce5bf847c7470b76
+SHA512 (oss.terrastruct.com_util-go_@v_v0.0.0-20221226181616-c04ce7d1b79f.zip) = 95349183240f2a1b84dc740d11396ce6649f8e81e038bfeb01b58fb787983ba254bea6038900c08ec00f480e1ed38aa3642a6e1c9a31d1a6928cad9804b017f2
+Size (oss.terrastruct.com_util-go_@v_v0.0.0-20221226181616-c04ce7d1b79f.zip) = 1272783 bytes
 BLAKE2s (rsc.io_binaryregexp_@v_v0.2.0.mod) = 351240374eb48b99bb43b8b52aa8467662e22b18ebf216f4c123858fe706c2f8
 SHA512 (rsc.io_binaryregexp_@v_v0.2.0.mod) = db50ff677b0bdccbc1a1ad3df7c5cc76f2fcccf3ab99d08d1c2868440eb9b893fe89452f4286f7d42f2f16abf0f4acda67fe86e174dcfa730a743aafcc166774
 Size (rsc.io_binaryregexp_@v_v0.2.0.mod) = 36 bytes
diff --git a/d2/go-modules.mk b/d2/go-modules.mk
index 0fb74210e0..785a5077df 100644
--- a/d2/go-modules.mk
+++ b/d2/go-modules.mk
@@ -1,7 +1,7 @@
 # $NetBSD$
 
-GO_MODULE_FILES+=	cdr.dev/slog/@v/v1.4.2-0.20220126003130-b94a5ff54f37.mod
-GO_MODULE_FILES+=	cdr.dev/slog/@v/v1.4.2-0.20220126003130-b94a5ff54f37.zip
+GO_MODULE_FILES+=	cdr.dev/slog/@v/v1.4.2-0.20221206192828-e4803b10ae17.mod
+GO_MODULE_FILES+=	cdr.dev/slog/@v/v1.4.2-0.20221206192828-e4803b10ae17.zip
 GO_MODULE_FILES+=	cloud.google.com/go/@v/v0.100.2.mod
 GO_MODULE_FILES+=	cloud.google.com/go/@v/v0.102.0.mod
 GO_MODULE_FILES+=	cloud.google.com/go/@v/v0.26.0.mod
@@ -66,7 +66,6 @@ GO_MODULE_FILES+=	github.com/!puerkito!bio/goquery/@v/v1.8.0.mod
 GO_MODULE_FILES+=	github.com/!puerkito!bio/goquery/@v/v1.8.0.zip
 GO_MODULE_FILES+=	github.com/alecthomas/chroma/@v/v0.10.0.mod
 GO_MODULE_FILES+=	github.com/alecthomas/chroma/@v/v0.10.0.zip
-GO_MODULE_FILES+=	github.com/alecthomas/chroma/@v/v0.9.4.mod
 GO_MODULE_FILES+=	github.com/andybalholm/cascadia/@v/v1.3.1.mod
 GO_MODULE_FILES+=	github.com/andybalholm/cascadia/@v/v1.3.1.zip
 GO_MODULE_FILES+=	github.com/antihax/optional/@v/v1.0.0.mod
@@ -173,6 +172,7 @@ GO_MODULE_FILES+=	github.com/golang/protobuf/@v/v1.4.3.mod
 GO_MODULE_FILES+=	github.com/golang/protobuf/@v/v1.5.0.mod
 GO_MODULE_FILES+=	github.com/golang/protobuf/@v/v1.5.1.mod
 GO_MODULE_FILES+=	github.com/golang/protobuf/@v/v1.5.2.mod
+GO_MODULE_FILES+=	github.com/golang/protobuf/@v/v1.5.2.zip
 GO_MODULE_FILES+=	github.com/golang/snappy/@v/v0.0.3.mod
 GO_MODULE_FILES+=	github.com/google/btree/@v/v0.0.0-20180813153112-4030bb1f1f0c.mod
 GO_MODULE_FILES+=	github.com/google/btree/@v/v1.0.0.mod
@@ -786,8 +786,8 @@ GO_MODULE_FILES+=	honnef.co/go/tools/@v/v0.0.1-2020.1.3.mod
 GO_MODULE_FILES+=	honnef.co/go/tools/@v/v0.0.1-2020.1.4.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-20221219053816-eb266649d2ed.mod
-GO_MODULE_FILES+=	oss.terrastruct.com/util-go/@v/v0.0.0-20221219053816-eb266649d2ed.zip
+GO_MODULE_FILES+=	oss.terrastruct.com/util-go/@v/v0.0.0-20221226181616-c04ce7d1b79f.mod
+GO_MODULE_FILES+=	oss.terrastruct.com/util-go/@v/v0.0.0-20221226181616-c04ce7d1b79f.zip
 GO_MODULE_FILES+=	rsc.io/binaryregexp/@v/v0.2.0.mod
 GO_MODULE_FILES+=	rsc.io/quote/v3/@v/v3.1.0.mod
 GO_MODULE_FILES+=	rsc.io/sampler/@v/v1.3.0.mod


Home | Main Index | Thread Index | Old Index