Skip to content

Releases: asciidoctor/asciidoctor-kroki

🐙 JavaScript - v0.13.0

12 Jul 09:12
Compare
Choose a tag to compare

Changelog

Improvements

  • Add support for pikchr (#262)
  • Add kroki-plantuml-include-paths attribute for PlantUML preprocessor (#223) - thanks @anb0s

Infrastructure

  • Update fixtures/assertions for Kroki 0.13.0
  • Upgrade to GitHub-native Dependabot
  • npm audit fix
  • Use shx for all unix (bash, sh) commands - thanks @anb0s
  • Update development documentation about Node and npm versions
  • Increase test timeout (network access)
  • Update development dependencies
    • Bump puppeteer from 7.1.0 to 10.1.0
    • Bump mocha from 8.3.0 to 9.0.2
    • Bump normalize-url from 4.5.0 to 4.5.1
    • Bump ws from 7.4.5 to 7.4.6
    • Bump rusha from 0.8.13 to 0.8.14
    • Bump cheerio from 1.0.0-rc.5 to 1.0.0-rc.10
    • Bump css-what from 5.0.0 to 5.0.1
    • Bump sinon from 9.2.4 to 11.1.1
    • Bump hosted-git-info from 2.8.8 to 2.8.9
    • Bump handlebars from 4.7.6 to 4.7.7
    • Bump @asciidoctor/core from 2.2.1 to 2.2.4
    • Bump chai from 4.3.0 to 4.3.4
    • Bump lodash from 4.17.20 to 4.17.21

Logs: full diff

💎 Ruby - ruby-v0.5.0

05 Jul 16:46
Compare
Choose a tag to compare

Changelog

Improvements

  • Add support for pikchr (#262)
  • Pass logger as config (#260)
    • Fix a deprecating warning with positional/keyword arguments

Logs: full diff

🐙 JavaScript - v0.12.0

16 Feb 14:19
Compare
Choose a tag to compare

Changelog

Security

  • Check Asciidoctor security level before reading or writing to disk. Please note that, preprocessing, kroki-fetch-diagram and kroki-plantuml-include are only available when safe mode is server or lower.

Bug fixes

  • Pass the diagram directory to the preprocessing functions (for clarity, rrename the parameter to diagramDir) - thanks @stenzengel
  • Resolve relative PlantUML includes from the diagram directory (#201) - thanks @anb0s

Improvements

  • Make the max URI length configurable (default 4000) (#203)
  • Execute the PlantUML preprocessor when type is c4plantuml (#126)

Infrastructure

  • Bump unxhr from 1.1.1 to 1.2.0
    • Increase default value of maxBuffer to 100 MB (and make it configurable using the environment variable UNXHR_MAX_BUFFER)
  • Bump json5 from 2.1.3 to 2.2.0
  • Bump pako from 1.0.11 to 2.0.3
  • Update development dependencies
    • Bump sinon from 9.2.3 to 9.2.4
    • Bump chai from 4.2.0 to 4.3.0
    • Bump puppeteer from 5.5.0 to 7.1.0
    • Bump mocha from 8.2.1 to 8.3.0

Logs: full diff

💎 Ruby - ruby-v0.4.0

16 Feb 14:20
Compare
Choose a tag to compare

Changelog

Security

  • Check Asciidoctor security level before reading or writing to disk. Please note that, kroki-fetch-diagram and kroki-plantuml-include are only available when safe mode is server or lower.

Improvements

  • Improve code extensibility
    • the logger is now configurable
    • introduce resolve_target_path, read_allowed? and unresolved_block_macro_message methods
  • Make the max URI length configurable (default 4000) (#203)

Bug fixes

  • Fix spelling of wavedrom in the supported diagram names list - thanks @ahus1

Logs: full diff

🐙 JavaScript - v0.11.0

12 Jan 15:00
Compare
Choose a tag to compare

Changelog

Bug fixes

  • Fix relative local data file resolution in Vega-Lite - thanks @stenzengel

Improvements

  • Add excalidraw as a supported diagram (#185)

Infrastructure

  • Bump unxhr from 1.0.4 to 1.1.1
  • Update development dependencies
    • Bump mocha from 8.2.0 to 8.2.1
    • Bump sinon from 9.2.1 to 9.2.3
    • Bump standard from 15.0.1 to 16.0.3
    • Bump cheerio from 1.0.0-rc.3 to 1.0.0-rc.5
    • Bump @asciidoctor/core from 2.2.0 to 2.2.1
    • Bump puppeteer from 5.4.1 to 5.5.0

Logs: full diff

💎 Ruby - v0.3.0

12 Jan 14:59
Compare
Choose a tag to compare

Changelog

Improvements

  • Add excalidraw as a supported diagram (#185)

Logs: full diff

💎 Ruby - v0.2.2

06 Nov 20:47
Compare
Choose a tag to compare

Changelog

Improvements

  • Remove asciidoctor-pdf runtime dependency

Logs: full diff

🐙 JavaScript - v0.10.0

28 Oct 11:42
Compare
Choose a tag to compare

Changelog

Improvements

  • Global configuration using kroki-default-format and kroki-default-options attributes (#106) - thanks @djencks
  • Remove all PlantUML tags (i.e. @startuml and @enduml) to mimic the behavior of the PlantUML server when multiple diagrams are present in a single file (#124) - thanks @gtudan
  • Allow to include a file for all PlantUML diagrams using kroki-plantuml-include attribute (#119) - thanks @gtudan

Infrastructure

  • Add integration tests on Antora
  • Build against Node 12 and Node 14 in GitHub Actions
  • Upgrade development dependencies
    • Bump puppeteer from 4.0.1 to 5.4.1
    • Bump npm-registry-fetch from 8.0.0 to 8.1.1
    • Bump lodash from 4.17.15 to 4.17.20
    • Bump elliptic from 6.5.2 to 6.5.3
    • Bump mocha from 8.0.1 to 8.2.0
    • Bump browserify from 16.5.1 to 17.0.0
    • Bump sinon from 9.0.2 to 9.2.0
    • Bump bl from 4.0.2 to 4.0.3
    • Bump libnpmpublish from 3.0.1 to 3.0.2
    • Bump standard from 14.3.4 to 15.0.1

Logs: full diff

💎 Ruby - v0.2.0

19 Oct 14:57
Compare
Choose a tag to compare

Changelog

Improvements

  • Fetch and save diagrams on local disk when :kroki-fetch-diagram: is present (#145)
  • Add bytefield and bpmn in the list of supported diagrams
  • Export a AsciidoctorExtensions::Kroki module with the list of supported diagrams

Infrastructure

  • Add Gem version badge on README
  • Prevent GitHub Actions from triggering two builds on a pull request

Logs: full diff

💎 Ruby - v0.1.2

06 Oct 14:59
Compare
Choose a tag to compare

Changelog

Bug fixes

  • Add lib/asciidoctor-kroki.rb to make the library require-able using require 'asciidoctor-kroki' (#144) - thanks @demagnevalCegelec

Logs: full diff