Skip to content

chore(deps): bump asciidoctor-kroki from 0.18.1 to 1.0.1#265

Merged
DeepDiver1975 merged 1 commit into
masterfrom
dependabot/npm_and_yarn/asciidoctor-kroki-1.0.1
Jul 20, 2026
Merged

chore(deps): bump asciidoctor-kroki from 0.18.1 to 1.0.1#265
DeepDiver1975 merged 1 commit into
masterfrom
dependabot/npm_and_yarn/asciidoctor-kroki-1.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 19, 2026

Copy link
Copy Markdown
Contributor

Bumps asciidoctor-kroki from 0.18.1 to 1.0.1.

Release notes

Sourced from asciidoctor-kroki's releases.

v1.0.1

Added

  • Publish TypeScript type declarations, generated from the JSDoc annotations (tsc --emitDeclarationOnly into build/types). The package now declares a types entry point so TypeScript consumers get typed register, KrokiContext and Vfs APIs.

v1.0.0

First stable release. It includes every change from the 1.0.0-beta.* prereleases.

This version requires Asciidoctor.js 4.0 (@asciidoctor/core >=4.0.0 <5.0.0). It is not yet compatible with Antora, which still bundles an older Asciidoctor.js; keep using the latest-0 release line (currently 0.18.1) with Antora. See the installation guide.

v1.0.0-beta.2

Changed

  • The inline option (opts=inline or kroki-default-options: inline) now embeds the diagram as a data: URI image target when neither kroki-fetch-diagram nor allow-uri-read is set, instead of producing a server URL the converter cannot read (which rendered as the image's alt text). The extension still only sets the image target — the converter decides how to render it — so DocBook, PDF and other backends keep working from the same data-URI image. Inlining the result as <svg> requires @asciidoctor/core with data:-URI inline SVG support.

Fixed

  • Encode diagram sources with TextEncoder/btoa instead of the Node-only Buffer global, so the JavaScript extension works in a real browser (VS Code for the Web / vscode.dev) where modern bundlers no longer polyfill Buffer. Previously every diagram failed with ReferenceError: Buffer is not defined; the new encoding produces byte-for-byte identical output.
  • Attach a source location to warnings emitted when a diagram is skipped, so the message points at the offending block instead of embedding a JSON stack blob.

v1.0.0-beta.1

Added

  • Ruby: support the kroki-default-options document attribute, on par with the JavaScript extension (#156).

Changed

  • Breaking: require Asciidoctor.js 4.0 (@asciidoctor/core >=4.0.0 <5.0.0). Antora is not yet supported because it ships an older Asciidoctor.js; use the latest-0 release line with Antora until it upgrades.
  • Use a stable file name for fetched diagrams that are given an explicit name: [ditaa,foo] now generates foo.svg instead of foo-<checksum>.svg, so links to generated images stay stable across content changes. Anonymous diagrams keep a content-addressed name (diag-<sha256>.svg); reusing the same name for diagrams with different content overwrites the file and logs a warning. The JavaScript checksum is also switched from SHA-1 to SHA-256 to match the Ruby gem (#451).
  • Lower the minimum supported Node.js version to 22 (nothing in the code requires Node.js 24).
  • Document the feature parity between the JavaScript/Node.js extension and the Ruby gem. Preprocessing (resolving PlantUML/Structurizr !include and Vega-Lite data.url) and kroki-plantuml-include-paths are available in the JavaScript/Node.js extension only; the Ruby gem relies on the Kroki server to resolve includes.

Fixed

  • Resolve relative !include directives nested inside a remote PlantUML/Structurizr file against the remote URL of the including file, instead of looking them up on the local file system and silently skipping them (#398).
  • Fix the broken documentation link in the README.
Changelog

Sourced from asciidoctor-kroki's changelog.

[1.0.1] - 2026-07-15

Added

  • Publish TypeScript type declarations, generated from the JSDoc annotations (tsc --emitDeclarationOnly into build/types). The package now declares a types entry point so TypeScript consumers get typed register, KrokiContext and Vfs APIs.

[1.0.0] - 2026-07-14

First stable release. It includes every change from the 1.0.0-beta.* prereleases.

This version requires Asciidoctor.js 4.0 (@asciidoctor/core >=4.0.0 <5.0.0). It is not yet compatible with Antora, which still bundles an older Asciidoctor.js; keep using the latest-0 release line (currently 0.18.1) with Antora. See the installation guide.

[1.0.0-beta.2] - 2026-07-06

Changed

  • The inline option (opts=inline or kroki-default-options: inline) now embeds the diagram as a data: URI image target when neither kroki-fetch-diagram nor allow-uri-read is set, instead of producing a server URL the converter cannot read (which rendered as the image's alt text). The extension still only sets the image target — the converter decides how to render it — so DocBook, PDF and other backends keep working from the same data-URI image. Inlining the result as <svg> requires @asciidoctor/core with data:-URI inline SVG support.

Fixed

  • Encode diagram sources with TextEncoder/btoa instead of the Node-only Buffer global, so the JavaScript extension works in a real browser (VS Code for the Web / vscode.dev) where modern bundlers no longer polyfill Buffer. Previously every diagram failed with ReferenceError: Buffer is not defined; the new encoding produces byte-for-byte identical output.
  • Attach a source location to warnings emitted when a diagram is skipped, so the message points at the offending block instead of embedding a JSON stack blob.

[1.0.0-beta.1] - 2026-06-23

Added

  • Ruby: support the kroki-default-options document attribute, on par with the JavaScript extension (#156).

Changed

  • Breaking: require Asciidoctor.js 4.0 (@asciidoctor/core >=4.0.0 <5.0.0). Antora is not yet supported because it ships an older Asciidoctor.js; use the latest-0 release line with Antora until it upgrades.
  • Use a stable file name for fetched diagrams that are given an explicit name: [ditaa,foo] now generates foo.svg instead of foo-<checksum>.svg, so links to generated images stay stable across content changes. Anonymous diagrams keep a content-addressed name (diag-<sha256>.svg); reusing the same name for diagrams with different content overwrites the file and logs a warning. The JavaScript checksum is also switched from SHA-1 to SHA-256 to match the Ruby gem (#451).
  • Lower the minimum supported Node.js version to 22 (nothing in the code requires Node.js 24).
  • Document the feature parity between the JavaScript/Node.js extension and the Ruby gem. Preprocessing (resolving PlantUML/Structurizr !include and Vega-Lite data.url) and kroki-plantuml-include-paths are available in the JavaScript/Node.js extension only; the Ruby gem relies on the Kroki server to resolve includes.

Fixed

  • Resolve relative !include directives nested inside a remote PlantUML/Structurizr file against the remote URL of the including file, instead of looking them up on the local file system and silently skipping them (#398).
  • Fix the broken documentation link in the README.
Commits
  • 7af83e4 chore: release v1.0.1
  • 92954d0 feat: publish TypeScript declarations generated from JSDoc
  • d492e0e docs: consistent tone and document missing features and behaviors
  • af15391 docs: register the extension with the Asciidoctor.js CLI using --extension
  • 4310e1f chore: release v1.0.0
  • a8ce127 docs: quote Antora component version to keep it a string
  • f4566f3 docs: use xref for Asciidoctor document attributes link
  • 9fe8d60 docs: add missing changelog entries for 1.0.0-beta.2
  • 655168e chore: release v1.0.0-beta.2
  • d03ba69 ci: name release workflow run with the version
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for asciidoctor-kroki since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [asciidoctor-kroki](https://github.com/asciidoctor/asciidoctor-kroki) from 0.18.1 to 1.0.1.
- [Release notes](https://github.com/asciidoctor/asciidoctor-kroki/releases)
- [Changelog](https://github.com/asciidoctor/asciidoctor-kroki/blob/main/CHANGELOG.md)
- [Commits](asciidoctor/asciidoctor-kroki@v0.18.1...v1.0.1)

---
updated-dependencies:
- dependency-name: asciidoctor-kroki
  dependency-version: 1.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies javascript Pull requests that update javascript code labels Jul 19, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 19, 2026 22:02
@dependabot dependabot Bot added dependencies javascript Pull requests that update javascript code labels Jul 19, 2026

@DeepDiver1975 DeepDiver1975 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dependabot bump; required CI green. Approving.

@DeepDiver1975
DeepDiver1975 merged commit 98665f7 into master Jul 20, 2026
2 checks passed
@DeepDiver1975
DeepDiver1975 deleted the dependabot/npm_and_yarn/asciidoctor-kroki-1.0.1 branch July 20, 2026 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant