asciidoctor-kroki breaking changes
asciidoctor-kroki 2.0.0 (October 30, 2026) is its newest release with breaking changes, 13 of them. The first: asciidoctor-kroki 2.0.0 drops support for Ruby 2.7. Every breaking API change we have recorded in asciidoctor-kroki on RubyGems: 24 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.0.0, released October 30, 2026. Source repository
Its 2.0.0 release drops Ruby 2.7. Ruby end of life dates.
- From 1.0.0 to 2.0.0: 13 breaking changes in 1 version.
- From 0.9.1 to 2.0.0: 23 breaking changes in 8 versions.
asciidoctor-kroki 2.0.0 breaking changes
- Removed
Ruby 2.7 is no longer supported by the gem. github.com - Renamed
asciidoctorKroki.register
Replace the default export's register method with import { register } from 'asciidoctor-kroki'. github.com - Renamed
src.asciidoctor-kroki.js
Direct imports of the old internal file path must switch to src/index.js or the package exports field. github.com - Behavior changed
The subs attribute is now applied before !include directives are resolved, so included file content is no longer substituted. github.com - Behavior changed
Kroki requests and remote reads that take longer than 60 seconds or return more than 25 MiB now fail. github.com - Behavior changed
Local files outside the base directory and URLs without allow-uri-read are no longer read; the !include is left for the Kroki server. github.com - Behavior changed
Relative !include, kroki-plantuml-include and Vega-Lite data.url paths are now resolved from the base directory, not the current working directory. github.com - Behavior changed
imagesoutdir
Out-of-bounds paths set in a document are ignored with a warning and the diagram is embedded as a data URI. github.com - Default changed
kroki-cache
Embedded images now go to the cache directory; set kroki-cache to false to keep the previous behavior. github.com - Signature changed
add
Implementations should return a promise; a synchronous implementation still works. github.com - Signature changed
exists
Implementations should return a promise; a synchronous implementation still works. github.com - Signature changed
http_client.get
A custom :http_client must accept the additional expected_content_type argument on get. github.com - Signature changed
http_client.post
A custom :http_client must accept the additional expected_content_type argument on post. github.com
asciidoctor-kroki 1.0.0 breaking changes
- Configuration changed
This version does not work with Antora, which bundles an older Asciidoctor.js. Antora users should stay on the latest-0 release line. github.com
asciidoctor-kroki 1.0.0-beta.2 breaking changes
- Behavior changed
inline
Without kroki-fetch-diagram or allow-uri-read, the inline option produces a data URI image target. Check output that relied on the old server URL. github.com
asciidoctor-kroki 1.0.0-beta.1 breaking changes
- Behavior changed
Explicitly named diagrams are written to a stable name, and anonymous diagrams use a SHA-256 checksum instead of SHA-1. Update any links that used the old file names. github.com - Configuration changed
The extension now needs @asciidoctor/core 4.x. Upgrade Asciidoctor.js to use this version. github.com
asciidoctor-kroki 0.19.0 breaking changes
- Behavior changed
Diagram options are no longer sent as Kroki-Diagram-Options-* headers; they go in the query string, and POST sends the source as text/plain. github.com
asciidoctor-kroki 0.16.0 breaking changes
- Behavior changed
Diagram output file names change when a target attribute is set. Update any links or paths that depended on the old names. github.com - Behavior changed
Generated diagram file names include the target attribute as a prefix, so existing output file names may change. github.com
Older versions
3 older versions.
Show 3 older versions
asciidoctor-kroki 0.15.4 breaking changes
- Removed
env-idea
The env-idea behavior is removed; use the kroki-default-format attribute instead. github.com
asciidoctor-kroki 0.12.0 breaking changes
- Behavior changed
kroki-fetch-diagram
Preprocessing, kroki-fetch-diagram and kroki-plantuml-include only work when the Asciidoctor safe mode is server or lower. github.com - Behavior changed
kroki-plantuml-include
Documents using safe mode above server can no longer use this feature. Lower the safe mode or stop using the attribute. github.com
asciidoctor-kroki 0.9.1 breaking changes
- Behavior changed
Generated image files get a diag- prefix, so code or links that rely on the old auto-generated filenames must be updated. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.