Skip to content

Releases: asciidoctor/asciidoctor-diagram

v2.1.2

06 Apr 07:47
Compare
Choose a tag to compare

Distribution

Changelog

Enhancements

  • Issue #345: Switch to POST requests when URI length becomes too long

Bug Fixes

  • Issue #348: Rename Syntrax style attribute to style-file to avoid clashing with the built-in block style attribute.

Release meta

Released on: 2021-04-03 14:13:05 +0200
Released by: @pepijnve
Logs: source diff | gem diff

v2.1.1

06 Apr 07:47
Compare
Choose a tag to compare

Distribution

Changelog

Enhancements

  • Issue #335: The PlantUML preprocessor is now run locally before delegating rendering to Kroki.
    This avoids file not found errors when using the PlantUML !include directive.
  • Issue #339: Add support for a size-limit attribute on PlantUML blocks that controls the maximum size of PlantUML diagrams.
  • Issue #341: Add support for Minigrammer Diagrams.

Bug Fixes

  • Issue #343: The PlantUML preprocessor is now used to resolve !include statements instead of using the previous logic provided by this gem.

Release meta

Released on: 2021-03-23 21:46:27 +0100
Released by: @pepijnve
Logs: source diff | gem diff

v2.1.0

06 Apr 07:47
Compare
Choose a tag to compare

Distribution

Changelog

Enhancements

  • Issue #226: Add initial support to delegate rendering of diagrams to kroki.io. Add :diagram-server-url: https://kroki.io/ and :diagram-server-type: kroki_io to your document to enable this.
  • Issue #296: Support referring to the mmdc batch script on Windows using the mmdc (Mermaid) document attribute.
  • Issue #312: Update PlantUML to v1.2021.0. +
    Starting with version 2.1.0 you can now also override the bundled version of PlantUML with a different version.
    If the DIAGRAM_PLANTUML_CLASSPATH environment variable is set, asciidoctor-diagram will parse this value as a series of paths to JAR files separated by the native path separator (: or ;) and use those JAR files instead of the bundled ones.

Bug Fixes

  • Issue #308: Avoid changing the semantics of SVG documents during post processing.
  • Issue #313: Remove unneeded dependency on bigdecimal.

Release meta

Released on: 2021-01-18 08:21:20 +0100
Released by: @pepijnve
Logs: source diff | gem diff

v2.0.5

06 Apr 07:47
Compare
Choose a tag to compare

Distribution

Changelog

Enhancements

  • Improve internal target path resolution logic
  • TikZ diagrams can now add content to the LaTeX preamble by setting the preamble block attribute to true.
    The preamble and diagram should be separated by a line consisting of \~~~~. (@colbyn)
  • The scale attribute is now passed on to Mermaid. (@gustav-b)
  • Issue #271: Launch UMLet directly using java instead of using the UMLet wrapper scripts or executables

Bug Fixes

  • Issue #294: Treat the first positional parameter of diagram block macros as the desired output format rather than as the target.

Release meta

Released on: 2020-10-01 16:44:46 +0200
Released by: @pepijnve
Logs: source diff | gem diff

v2.0.4

06 Apr 07:47
Compare
Choose a tag to compare

Distribution

Changelog

Enhancements

  • Issue #110: Added support for an experimental attribute diagram-autoimagesdir that sets per image node imagesdir values.

Bug Fixes

  • Issue #292: A regression in 2.0.3 caused SVG diagrams to get a zero width and height when documents were regenerated.

Release meta

Released on: 2020-09-26 18:43:41 +0200
Released by: @pepijnve
Logs: source diff | gem diff

v2.0.3

06 Apr 07:47
Compare
Choose a tag to compare

Distribution

Changelog

Enhancements

  • Issue #261: Ensure generated SVG diagrams always specify a view box
  • Issue #284: Add support for HTTP redirect responses when using a rendering server
  • Issue #290: Add support for Pikchr
  • Add support for dpic
  • Add support for Symbolator (@gsmecher)

Bug Fixes

  • Issue #247: Fix svg-type/diagram-svg-type.
  • Issue #257: Avoid potential hangs when generating Mermaid diagrams

Release meta

Released on: 2020-09-19 02:02:48 +0200
Released by: @pepijnve
Logs: source diff | gem diff

v2.0.2

06 Apr 07:48
Compare
Choose a tag to compare

Distribution

Changelog

Enhancements

  • #260: Update PlantUML to v1.2020.6
  • #270: Add support for svgbob options (@hackingotter)
  • #268: Changing diagram attribute values will now also trigger image regeneration
  • #276: Add support for bytefield-svg

Bug Fixes

  • Issue #253: Add support for PlantUML atxt and utxt output formats
  • Issue #266: Resolve execution issue when the path for GnuPlot or Vega contains spaces
  • Issue #267: Use binary mode when reading generated images from stdout
  • Issue #273: Report Ditaa syntax errors correctly

Release meta

Released on: 2020-04-13 17:40:21 +0200
Released by: @pepijnve
Logs: source diff | gem diff

v2.0.1

06 Apr 07:48
Compare
Choose a tag to compare

Distribution

Changelog

Bug Fixes

  • Issue #254: On Windows generating PlantUML or Ditaa diagrams would cause asciidoctor-diagram to block indefinitely

Release meta

Released on: 2020-01-08 12:03:51 +0100
Released by: @pepijnve
Logs: source diff | gem diff

v2.0.0

06 Apr 07:48
Compare
Choose a tag to compare

Distribution

Changelog

Enhancements

  • Cleaned up internals of the extension
  • Add support for BPMN (@gtudan)
  • Update PlantUML to v1.2019.12
  • #231 Improve PlantUML error reporting
  • #247 Add support for document-level diagram-svg-type and block-level svg-type attributes to control SVG interactivity
  • #250 Add support for Mermaid's puppeteerConfig option (@ldz-w)

Release meta

Released on: 2019-12-15 13:42:04 +0100
Released by: @pepijnve
Logs: source diff | gem diff

v1.5.19

06 Apr 07:51
Compare
Choose a tag to compare

Distribution

Changelog

Bug Fixes

  • Issue #233: Resolve character encoding issues with Ditaa on Windows with Java runtimes that do not use UTF-8 encoding by default
  • Fix generation of SVG output for TikZ diagrams (@joelsmith)
  • Improve TikZ image cropping (@joelsmith)

Enhancements

  • Issue #225: Add support for WaveDrom CLI 2.0.0
  • Issue #234: Add support for State Machine Cat
  • Add support for gnuplot (@MariuszCwikla)

Release meta

Released on: 2019-10-12 10:46:33 +0200
Released by: @pepijnve
Logs: source diff | gem diff