23 Commits

Author SHA256 Message Date
7b56602ede Accepting request 1300372 from devel:languages:go
- Update to Version 0.7.1:
  * Output txt for d2 to render diagrams as ASCII art #2572
  * cross arrowhead shape is available #2190
  * style.underline support for class fields and methods #2544
  * markdown, latex, and code can be used as edge labels #2545
  * border-x label positioning functionality #2549
  * tooltips with near set always show even without hover #2564
  * CLI supports customizing monospace fonts with --font-mono,
    --font-mono-bold, --font-mono-italic, and --font-mono-semibold
    flags #2590
  * labels on scenario/step boards can be set with primary value (like layers) #2579
  * autoformatter preserves order of boards #2580
  * rename "Legend" with a title/label of your choosing (especially
    useful for non-English diagrams) #2582
  * sketch mode fonts will use custom fonts if provided #2582
  * actors in sequence diagrams with labels and icons together no
    longer overlap, position keywords now work too #2548
  * fix double glob behavior in scenarios (wasn't propagating correctly) #2557
  * fix diagram bounding box not accounting for legend in some cases #2584
  * Breaking Changes: If you are using D2 as a library/API, passing
    in a FontFamily with sketch renders will now use the font,
    instead of previously ignoring it.

- Update to version 0.7.0: (forwarded request 1300371 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1300372
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=11
2025-08-20 11:26:06 +00:00
7f91d007aa - Update to Version 0.7.1:
* Output txt for d2 to render diagrams as ASCII art #2572
  * cross arrowhead shape is available #2190
  * style.underline support for class fields and methods #2544
  * markdown, latex, and code can be used as edge labels #2545
  * border-x label positioning functionality #2549
  * tooltips with near set always show even without hover #2564
  * CLI supports customizing monospace fonts with --font-mono,
    --font-mono-bold, --font-mono-italic, and --font-mono-semibold
    flags #2590
  * labels on scenario/step boards can be set with primary value (like layers) #2579
  * autoformatter preserves order of boards #2580
  * rename "Legend" with a title/label of your choosing (especially
    useful for non-English diagrams) #2582
  * sketch mode fonts will use custom fonts if provided #2582
  * actors in sequence diagrams with labels and icons together no
    longer overlap, position keywords now work too #2548
  * fix double glob behavior in scenarios (wasn't propagating correctly) #2557
  * fix diagram bounding box not accounting for legend in some cases #2584
  * Breaking Changes: If you are using D2 as a library/API, passing
    in a FontFamily with sketch renders will now use the font,
    instead of previously ignoring it.

- Update to version 0.7.0:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=22
2025-08-20 04:23:50 +00:00
3c11c2d3e9 Accepting request 1274300 from devel:languages:go
- Update to version 0.6.9:
  * Icons: connections can include icons #12
  * Syntax: suspend/unsuspend to define models and instantiate them #2394
  * Globs: support for filtering edges based on properties of endpoint nodes (e.g., &src.style.fill: blue) #2395
  * Globs: level filter implemented #2473
  * Render: markdown, latex, and code can be used as object labels #2204
  * Render: shape: c4-person to render a person shape like what the C4 model prescribes #2397
  * Icons: border-radius should work on icon #2409
  * Misc: Diagram legends are implemented #2416
  * CLI: Support validate command. #2415
  * CLI: Watch mode ignores backup files (e.g. files created by certain editors like Helix). #2131
  * CLI: Support for --omit-version flag. #2377
  * CLI: Casing is ignored for plugin names #2486
  * Compiler: links can be set to root path, e.g. /xyz. #2357
  * Compiler: When importing a file, attempt resolving substitutions at the imported file scope first #2482
  * Compiler: validate gradient color stops. #2492
  * Parser: impose max key length. It's almost certainly a mistake if an ID gets too long, e.g. missing quotes #2465
  * Render: horizontal padding added for connection labels #2461
  * Compiler: fixes panic when sql_shape shape value had mixed casing #2349
  * Compiler: fixes panic when importing from a file with spread substitutions in vars #2427
  * Compiler: fixes support for center in d2-config #2360
  * Compiler: fixes panic when comment lines appear in arrays #2378
  * Compiler: fixes inconsistencies when objects were double quoted #2390
  * Compiler: fixes globs not applying to spread substitutions #2426
  * Compiler: fixes panic when classes were mixed with layers incorrectly #2448
  * Compiler: fixes panic when gradient colors are used in sketch mode #2481
  * Compiler: fixes panic using glob ampersand filters with composite values #2489
  * Compiler: fixes leaf ampersand filter when used with imports #2494
  * Formatter: fixes substitutions in quotes surrounded by text #2462
  * CLI: fetch and render remote images of mimetype octet-stream correctly #2370 (forwarded request 1274297 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1274300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=10
2025-05-05 20:27:12 +00:00
5e73147e94 - Update to version 0.6.9:
* Icons: connections can include icons #12
  * Syntax: suspend/unsuspend to define models and instantiate them #2394
  * Globs: support for filtering edges based on properties of endpoint nodes (e.g., &src.style.fill: blue) #2395
  * Globs: level filter implemented #2473
  * Render: markdown, latex, and code can be used as object labels #2204
  * Render: shape: c4-person to render a person shape like what the C4 model prescribes #2397
  * Icons: border-radius should work on icon #2409
  * Misc: Diagram legends are implemented #2416
  * CLI: Support validate command. #2415
  * CLI: Watch mode ignores backup files (e.g. files created by certain editors like Helix). #2131
  * CLI: Support for --omit-version flag. #2377
  * CLI: Casing is ignored for plugin names #2486
  * Compiler: links can be set to root path, e.g. /xyz. #2357
  * Compiler: When importing a file, attempt resolving substitutions at the imported file scope first #2482
  * Compiler: validate gradient color stops. #2492
  * Parser: impose max key length. It's almost certainly a mistake if an ID gets too long, e.g. missing quotes #2465
  * Render: horizontal padding added for connection labels #2461
  * Compiler: fixes panic when sql_shape shape value had mixed casing #2349
  * Compiler: fixes panic when importing from a file with spread substitutions in vars #2427
  * Compiler: fixes support for center in d2-config #2360
  * Compiler: fixes panic when comment lines appear in arrays #2378
  * Compiler: fixes inconsistencies when objects were double quoted #2390
  * Compiler: fixes globs not applying to spread substitutions #2426
  * Compiler: fixes panic when classes were mixed with layers incorrectly #2448
  * Compiler: fixes panic when gradient colors are used in sketch mode #2481
  * Compiler: fixes panic using glob ampersand filters with composite values #2489
  * Compiler: fixes leaf ampersand filter when used with imports #2494
  * Formatter: fixes substitutions in quotes surrounded by text #2462
  * CLI: fetch and render remote images of mimetype octet-stream correctly #2370

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=20
2025-05-05 04:43:14 +00:00
6b5b744fa1 Accepting request 1243578 from devel:languages:go
- Update to version 0.6.9:
  * Animations: style.animated: true is supported on shapes #2250
  * Connections now support link #1955
  * Vars: vars in markdown blocks are substituted #2218
  * Markdown: Github-flavored tables work in md blocks #2221
  * Render: adds box arrowheads #2227
  * d2 fmt now supports a --check flag #2253
  * CLI: PNG output to stdout is supported using --stdout-format png - #2291
  * Globs: &connected and &leaf filters are implemented #2299
  * CLI: add --no-xml-tag for direct HTML embedding #2302
  * CLI: play cmd added for opening d2 input in online playground #2242
  * Composition: links pointing to own board are purged #2203
  * Syntax: reserved keywords must be unquoted #2231
  * Latex: Backslashes in Latex blocks do not escape #2232
    This is a breaking change. Previously Latex blocks required
    escaping the backslash. So for older D2 versions, you should
    remove the excess backslashes.
  * Links: non-http url scheme links are supported (e.g. x.link: vscode://file/) #2237
  * Compiler: reserved keywords with missing values error instead of silently doing nothing #2251
  * Render: SVG outputs conform to stricter HTML standards, e.g. no duplicate ids #2273
  * Themes: theme names are consistently cased #2322
  * Nears: constant nears avoid collision with edge routes #2327
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.23 matching go.mod
  * Build PIE with pattern that may become recommended procedure:
    %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
    A go toolchain buildmode default config would be preferable
    but none exist at this time. (forwarded request 1243573 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1243578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=9
2025-02-06 21:08:43 +00:00
6a319922da - Update to version 0.6.9:
* Animations: style.animated: true is supported on shapes #2250
  * Connections now support link #1955
  * Vars: vars in markdown blocks are substituted #2218
  * Markdown: Github-flavored tables work in md blocks #2221
  * Render: adds box arrowheads #2227
  * d2 fmt now supports a --check flag #2253
  * CLI: PNG output to stdout is supported using --stdout-format png - #2291
  * Globs: &connected and &leaf filters are implemented #2299
  * CLI: add --no-xml-tag for direct HTML embedding #2302
  * CLI: play cmd added for opening d2 input in online playground #2242
  * Composition: links pointing to own board are purged #2203
  * Syntax: reserved keywords must be unquoted #2231
  * Latex: Backslashes in Latex blocks do not escape #2232
    This is a breaking change. Previously Latex blocks required
    escaping the backslash. So for older D2 versions, you should
    remove the excess backslashes.
  * Links: non-http url scheme links are supported (e.g. x.link: vscode://file/) #2237
  * Compiler: reserved keywords with missing values error instead of silently doing nothing #2251
  * Render: SVG outputs conform to stricter HTML standards, e.g. no duplicate ids #2273
  * Themes: theme names are consistently cased #2322
  * Nears: constant nears avoid collision with edge routes #2327
- Packaging improvements:
  * Update to BuildRequires: golang(API) >= 1.23 matching go.mod
  * Build PIE with pattern that may become recommended procedure:
    %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
    A go toolchain buildmode default config would be preferable
    but none exist at this time.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=18
2025-02-06 08:20:10 +00:00
71aedb87d3 Accepting request 1235063 from devel:languages:go
- Update to version 0.6.8:
  * Render: SVG files render in non-browser contexts (e.g. Inkscape, LaTeX) #2147
  * Lib: removes a dependency on external slog that was causing troubles with installation #2137
  * CLI: attempts writing to path atomically, falling back to non-atomic if failed #2141
  * Export: pptx has "created at" metadata removed, so successive runs yield the same result #2169
  * Formatter: empty board keywords (e.g. layers) are removed #2178
  * Render: a tooltip or link by itself will not expand width of shape #2183
  * Render: fixes edge case of a 3d shape with outside label being cut off #2132
  * Composition: labels for boards set with shorthand x: y was not applied #2182
  * Globs: double globs (**) were erroring when used with multiple scenario boards #2195
- Update to version 0.6.7:
  * Vars: Variable definitions can refer to other variables in the current scope #2052
  * Composition: Imported boards can use underscores to reference boards beyond its own scope 
    (e.g. to a sibling board at the scope its imported to) #2075
  * Autoformat: Reserved keywords are formatted to be lowercase #2098
  * Misc: support for characters in the Latin-1 and geometric shapes unicode range #2100
  * Imports: can now import from absolute file paths #2113
  * Render: linear and radial gradients are now available for fill, stroke and font-color #2120
  * Sequence diagram: edge groups account for edge label heights #2038
  * Sequence diagram: self-referential edges account for edge label heights #2040
  * Sequence diagram: The spacing between self-referential edges and regular edges is uniform #2043
  * Compiler: Error on multi-line labels in sql_table shapes #2057
  * Sequence diagram: Image shape actors can use spans and notes #2056
  * Globs: Filters work with default values (e.g. &opacity: 1 will capture everything without opacity explicitly set) #2090
  * Render: connection label fills have a bit of padding and border-radius for better aesthetics #2094
  * Sequence diagram: the padding between message labels and message endpoints are slightly increased #2096
  * Render: code syntax highlighter dependency upgrade caused some slight subtle color changes in code snippets #2119
  * Sequence diagram: multi-line edge labels no longer can collide with other elements #2049
  * Sequence diagram: long self-referential edge labels no longer can collide neighboring actors 
    (or its own) lifeline edges #2050 (forwarded request 1235047 from amanzini)

OBS-URL: https://build.opensuse.org/request/show/1235063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=8
2025-01-07 19:51:27 +00:00
2d64b000db - Update to version 0.6.8:
* Render: SVG files render in non-browser contexts (e.g. Inkscape, LaTeX) #2147
  * Lib: removes a dependency on external slog that was causing troubles with installation #2137
  * CLI: attempts writing to path atomically, falling back to non-atomic if failed #2141
  * Export: pptx has "created at" metadata removed, so successive runs yield the same result #2169
  * Formatter: empty board keywords (e.g. layers) are removed #2178
  * Render: a tooltip or link by itself will not expand width of shape #2183
  * Render: fixes edge case of a 3d shape with outside label being cut off #2132
  * Composition: labels for boards set with shorthand x: y was not applied #2182
  * Globs: double globs (**) were erroring when used with multiple scenario boards #2195
- Update to version 0.6.7:
  * Vars: Variable definitions can refer to other variables in the current scope #2052
  * Composition: Imported boards can use underscores to reference boards beyond its own scope 
    (e.g. to a sibling board at the scope its imported to) #2075
  * Autoformat: Reserved keywords are formatted to be lowercase #2098
  * Misc: support for characters in the Latin-1 and geometric shapes unicode range #2100
  * Imports: can now import from absolute file paths #2113
  * Render: linear and radial gradients are now available for fill, stroke and font-color #2120
  * Sequence diagram: edge groups account for edge label heights #2038
  * Sequence diagram: self-referential edges account for edge label heights #2040
  * Sequence diagram: The spacing between self-referential edges and regular edges is uniform #2043
  * Compiler: Error on multi-line labels in sql_table shapes #2057
  * Sequence diagram: Image shape actors can use spans and notes #2056
  * Globs: Filters work with default values (e.g. &opacity: 1 will capture everything without opacity explicitly set) #2090
  * Render: connection label fills have a bit of padding and border-radius for better aesthetics #2094
  * Sequence diagram: the padding between message labels and message endpoints are slightly increased #2096
  * Render: code syntax highlighter dependency upgrade caused some slight subtle color changes in code snippets #2119
  * Sequence diagram: multi-line edge labels no longer can collide with other elements #2049
  * Sequence diagram: long self-referential edge labels no longer can collide neighboring actors 
    (or its own) lifeline edges #2050

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=16
2025-01-05 17:32:15 +00:00
dee68d9f81 Accepting request 1191073 from home:jfkw:branches:devel:languages:go
- Update to version 0.6.6:
  * Glob inverse filters are implemented (e.g. *: {!&shape: circle; style.fill: red} to turn all non-circles red) #2008
  * Globs can be used in glob filter values, including checking for existence (e.g. *: {&link: *; style.fill: red} to turn all objects with a link red) #2009
  * Opacity 0 shapes no longer have a label mask which made any segment of connections going through them lower opacity #1940
  * Bidirectional connections are now animated in opposite directions rather than one direction #1939
  * Local relative icons are relative to the d2 file instead of CLI invoke path #1924
  * Custom label positions weren't being read when the width was smaller than the label #1928
  * Using shape: circle for arrowheads no longer removes all arrowheads along path in sketch mode #1942
  * Globs to null connections work #1965
  * Edge globs setting styles inherit correctly in child boards #1967
  * Board links imported with spread imports work #1972
  * Fix importing a file with nested boards #1998
  * Fix importing a file with underscores in links #1999
  * Replace a panic with an error message resulting from invalid link usage #2011
  * Fix globs not applying to scenarios on keys that were applied in earlier scenarios #2021
  * Fix edge case of invalid SVG from code blocks #2031

- Update to version 0.6.5:
  * D2 0.6.5 has a hotfix for 0.6.4 breaking plugin compatibility. Also includes 2 compiler fixes regarding substitutions/vars.
  * Fix executable plugins that implement standalone router #1910
  * Fix compiler error with multiple nested spread substitutions #1913
  * Fix substitutions from imports into different scopes #1914

- Update to version 0.6.4:
  * style.underline works on connections #1836
  * none is added as an accepted value for fill-pattern. Previously there was no way to cancel the fill-pattern on select objects set by a theme that applies it (Origami) #1882
  * Dimensions can be set less than label dimensions #1901
  * Boards no longer inherit label fields from parents #1838
  * Prevents near targeting a child of a special object like grid cells, which wasn't doing anything #1851
  * Theme flags on CLI apply to PDFs #1894

OBS-URL: https://build.opensuse.org/request/show/1191073
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=15
2024-08-02 04:28:29 +00:00
3093525e8e Accepting request 1139556 from devel:languages:go
- Update to version 0.6.3:
  * Themes can be customized via d2-config vars. #1777
  * Icons can be added for special objects (sql_table, class, code, markdown, latex). #1774
  * Fix importing files that override an existing value with an array. #1762
  * Fixes missing unfilled triangle arrowheads when sketch flag is on. #1763
  * Fixes a bug where the render target could be incorrect if the target path contains "index". #1764
  * Fixes ELK layout with outside labels/icons. #1776
  * Fixes a bug where an edge could become disconnected with dagre layout and direction right. #1778 (forwarded request 1139555 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1139556
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=7
2024-01-18 20:54:09 +00:00
cb21e5c6cd Accepting request 1139555 from home:jfkw:branches:devel:languages:go
- Update to version 0.6.3:
  * Themes can be customized via d2-config vars. #1777
  * Icons can be added for special objects (sql_table, class, code, markdown, latex). #1774
  * Fix importing files that override an existing value with an array. #1762
  * Fixes missing unfilled triangle arrowheads when sketch flag is on. #1763
  * Fixes a bug where the render target could be incorrect if the target path contains "index". #1764
  * Fixes ELK layout with outside labels/icons. #1776
  * Fixes a bug where an edge could become disconnected with dagre layout and direction right. #1778

OBS-URL: https://build.opensuse.org/request/show/1139555
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=13
2024-01-17 22:52:21 +00:00
7c4a9b73b4 Accepting request 1131649 from devel:languages:go
- Update to version 0.6.2:
  * ELK routes sql_table edges to the exact columns (ty @landmaj) #1681
  * Unfilled triangle arrowhead is available. #1711
  * Grid containers customize label positions. #1715
  * A single board from a multi-board diagram can be rendered with --target flag. #1725
  * Grid cells can contain nested edges #1629
  * Edges can go across constant nears, sequence diagrams, and grids, including nested ones. #1631
  * All vars defined in a scope are accessible everywhere in that scope, i.e., an object can use a var defined after itself. #1695
  * Encoding API switches to standard zlib encoding so that decoding doesn't depend on source. #1709
  * currentcolor is accepted as a color option to inherit parent colors. (ty @hboomsma) #1700
  * Grid containers can be sized with width/height even when using a layout plugin without that feature. #1731
  * Watch mode watches for changes in both the input file and imported files #1720
  * Fixes a bug calculating grid height with only grid-rows and different horizontal-gap and vertical-gap values. #1646
  * Grid layout accounts for each cell's outside labels and icons #1624
  * Grid layout accounts for labels wider or taller than the shape and fixes default label positions for image grid cells. #1670
  * Fixes a panic with a spread substitution in a glob map #1643
  * Fixes use of null in sql_table constraints (ty @landmaj) #1660
  * Fixes ELK growing shapes with width/height set #1679
  * Adds a compiler error when accidentally using an arrowhead on a shape #1686
  * Correctly reports errors from invalid values set by globs. #1691
  * Fixes panic when spread substitution referenced a nonexistant var. #1695
  * Fixes incorrect appendix icon numbering. #1704
  * Fixes crash when using --watch and navigating to an invalid board path #1693
  * Fixes edge case where nested edge globs were creating excess shapes #1713
  * Fixes a panic with a connection to a grid cell that is a container in TALA #1729
  * Fixes incorrect grid cell positioning when the grid has a shape set and fixes content sometimes escaping circle shapes. #1734
  * Fixes content sometimes escaping cloud shapes. #1736
  * Fixes panic using a glob filter (e.g. &a) outside globs. #1748
  * Fixes glob keys with import values (e.g. user*: @lib/user). #1755 (forwarded request 1131541 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1131649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=6
2023-12-07 18:11:38 +00:00
ac4e9afecc Accepting request 1131541 from home:jfkw:branches:devel:languages:go
- Update to version 0.6.2:
  * ELK routes sql_table edges to the exact columns (ty @landmaj) #1681
  * Unfilled triangle arrowhead is available. #1711
  * Grid containers customize label positions. #1715
  * A single board from a multi-board diagram can be rendered with --target flag. #1725
  * Grid cells can contain nested edges #1629
  * Edges can go across constant nears, sequence diagrams, and grids, including nested ones. #1631
  * All vars defined in a scope are accessible everywhere in that scope, i.e., an object can use a var defined after itself. #1695
  * Encoding API switches to standard zlib encoding so that decoding doesn't depend on source. #1709
  * currentcolor is accepted as a color option to inherit parent colors. (ty @hboomsma) #1700
  * Grid containers can be sized with width/height even when using a layout plugin without that feature. #1731
  * Watch mode watches for changes in both the input file and imported files #1720
  * Fixes a bug calculating grid height with only grid-rows and different horizontal-gap and vertical-gap values. #1646
  * Grid layout accounts for each cell's outside labels and icons #1624
  * Grid layout accounts for labels wider or taller than the shape and fixes default label positions for image grid cells. #1670
  * Fixes a panic with a spread substitution in a glob map #1643
  * Fixes use of null in sql_table constraints (ty @landmaj) #1660
  * Fixes ELK growing shapes with width/height set #1679
  * Adds a compiler error when accidentally using an arrowhead on a shape #1686
  * Correctly reports errors from invalid values set by globs. #1691
  * Fixes panic when spread substitution referenced a nonexistant var. #1695
  * Fixes incorrect appendix icon numbering. #1704
  * Fixes crash when using --watch and navigating to an invalid board path #1693
  * Fixes edge case where nested edge globs were creating excess shapes #1713
  * Fixes a panic with a connection to a grid cell that is a container in TALA #1729
  * Fixes incorrect grid cell positioning when the grid has a shape set and fixes content sometimes escaping circle shapes. #1734
  * Fixes content sometimes escaping cloud shapes. #1736
  * Fixes panic using a glob filter (e.g. &a) outside globs. #1748
  * Fixes glob keys with import values (e.g. user*: @lib/user). #1755

OBS-URL: https://build.opensuse.org/request/show/1131541
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=11
2023-12-07 07:47:04 +00:00
04c215619a Accepting request 1116079 from devel:languages:go
- Update to version 0.6.1:
  * The globs feature underwent a major rewrite and is now almost finalized
  * UTF-16 files are automatically detected and supported #1525
  * Grid diagrams can now have simple connections between top-level cells #1586
  * Globs are lazily-evaluated #1552
  * Latex blocks includes Mathjax's ASM extension #1544
  * font-color works on Markdown #1546
  * font-color works on arrowheads #1582
  * CLI failure message includes input path #1617
  * d2 fmt formats all files passed as arguments rather than just the first non-formatted (thank you @maxbrunet) #1523
  * Fixes Markdown cropping last element in mixed-element blocks (e.g. em and strong) #1543
  * Adds compiler error for non-blockstring empty labels #1590
  * Prevents multiple constant nears overlapping in some cases #1591
  * Fixes crash from empty nested grid #1594
  * d2fmt with variable substitution mid-string is formatted correctly #1611
  * Fixes certain shape IDs not working with dagre #1610
  * Fixes font-size adjustments missing from rendered code shape #1614 (forwarded request 1116078 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1116079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=5
2023-10-08 10:18:01 +00:00
aed30c2b48 Accepting request 1116078 from home:jfkw:branches:devel:languages:go
- Update to version 0.6.1:
  * The globs feature underwent a major rewrite and is now almost finalized
  * UTF-16 files are automatically detected and supported #1525
  * Grid diagrams can now have simple connections between top-level cells #1586
  * Globs are lazily-evaluated #1552
  * Latex blocks includes Mathjax's ASM extension #1544
  * font-color works on Markdown #1546
  * font-color works on arrowheads #1582
  * CLI failure message includes input path #1617
  * d2 fmt formats all files passed as arguments rather than just the first non-formatted (thank you @maxbrunet) #1523
  * Fixes Markdown cropping last element in mixed-element blocks (e.g. em and strong) #1543
  * Adds compiler error for non-blockstring empty labels #1590
  * Prevents multiple constant nears overlapping in some cases #1591
  * Fixes crash from empty nested grid #1594
  * d2fmt with variable substitution mid-string is formatted correctly #1611
  * Fixes certain shape IDs not working with dagre #1610
  * Fixes font-size adjustments missing from rendered code shape #1614

OBS-URL: https://build.opensuse.org/request/show/1116078
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=9
2023-10-06 14:51:50 +00:00
1db58c667d Accepting request 1107983 from devel:languages:go
- Adjust license to cover also redistributed vendor/github.com/* files (forwarded request 1107982 from lkocman)

OBS-URL: https://build.opensuse.org/request/show/1107983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=4
2023-08-30 08:21:09 +00:00
df86adba9d Accepting request 1107982 from home:lkocman:branches:devel:languages:go
- Adjust license to cover also redistributed vendor/github.com/* files

OBS-URL: https://build.opensuse.org/request/show/1107982
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=7
2023-08-29 16:35:03 +00:00
6fe16eb5fe Accepting request 1103633 from devel:languages:go
- Update to version 0.6.0:
  * Variables and substitutions are implemented. See docs. #1473
  * Configure timeout value with D2_TIMEOUT env var #1392
  * Scale renders and disable fit to screen with --scale flag #1413
  * null keyword can be used to un-declare. See docs #1446
  * Develop multi-board diagrams in watch mode (links to layers/scenarios/steps work in --watch) #1503
  * Glob patterns have been implemented. See docs. #1479
  * Display version on CLI help invocation #1400
  * Improved readability of connection labels when they overlap another connection #447
  * Error message when shape is given a composite #1415
  * Improved rendering and text measurement for code shapes #1425
  * The autoformatter moves board declarations to the bottom of its scope #1424
  * All font styles in sketch mode use a consistent font-family #1463
  * Tooltip and link icons are positioned on shape border #1466
  * Tooltip and link icons are always rendered over shapes #1467
  * Boards with no objects are considered folders #1504
  * DEBUG environment variable ignored if set incorrectly #1505
  * Fixes edge case in compiler using dots in quotes #1401
  * Fixes grid label font size for TALA #1412
  * Fixes person shape label positioning with multiple or 3d #1478
- _service tar_scm disable changesgenerate. Upstream uses small
  incremental commits and the automated changelog is overly long.
  Use GitHub release summary instead. (forwarded request 1103630 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1103633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=3
2023-08-13 17:17:55 +00:00
2adcafc98a Accepting request 1103630 from home:jfkw:branches:devel:languages:go
- Update to version 0.6.0:
  * Variables and substitutions are implemented. See docs. #1473
  * Configure timeout value with D2_TIMEOUT env var #1392
  * Scale renders and disable fit to screen with --scale flag #1413
  * null keyword can be used to un-declare. See docs #1446
  * Develop multi-board diagrams in watch mode (links to layers/scenarios/steps work in --watch) #1503
  * Glob patterns have been implemented. See docs. #1479
  * Display version on CLI help invocation #1400
  * Improved readability of connection labels when they overlap another connection #447
  * Error message when shape is given a composite #1415
  * Improved rendering and text measurement for code shapes #1425
  * The autoformatter moves board declarations to the bottom of its scope #1424
  * All font styles in sketch mode use a consistent font-family #1463
  * Tooltip and link icons are positioned on shape border #1466
  * Tooltip and link icons are always rendered over shapes #1467
  * Boards with no objects are considered folders #1504
  * DEBUG environment variable ignored if set incorrectly #1505
  * Fixes edge case in compiler using dots in quotes #1401
  * Fixes grid label font size for TALA #1412
  * Fixes person shape label positioning with multiple or 3d #1478
- _service tar_scm disable changesgenerate. Upstream uses small
  incremental commits and the automated changelog is overly long.
  Use GitHub release summary instead.

OBS-URL: https://build.opensuse.org/request/show/1103630
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=5
2023-08-12 23:12:25 +00:00
ca7f308b93 Accepting request 1092023 from devel:languages:go
- Update to version 0.5.1: (forwarded request 1092021 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1092023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=2
2023-06-11 17:55:29 +00:00
0f7a80c70b Accepting request 1092021 from home:jfkw:branches:devel:languages:go
- Update to version 0.5.1:

OBS-URL: https://build.opensuse.org/request/show/1092021
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=3
2023-06-10 15:12:40 +00:00
4b0274d63a Accepting request 1091339 from devel:languages:go
New package d2 version 0.4.2 is a declarative diagramming language and CLI tool implemented in Go. https://d2lang.com/

OBS-URL: https://build.opensuse.org/request/show/1091339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/d2?expand=0&rev=1
2023-06-09 18:37:09 +00:00
4ffa56ff33 Accepting request 1091336 from home:jfkw:branches:devel:languages:go
New package d2 version 0.4.2 is a declarative diagramming language and CLI tool.

OBS-URL: https://build.opensuse.org/request/show/1091336
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/d2?expand=0&rev=1
2023-06-07 19:20:48 +00:00