---
title: "asciidoctor-kroki 2.0.0 Breaking Changes on RubyGems"
description: "What each asciidoctor-kroki release removed, renamed or changed: 24 breaking changes in 9 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/asciidoctor-kroki
last_updated: 2026-12-04
---

# 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

Latest version `2.0.0`, released October 30, 2026. [Source repository](https://github.com/asciidoctor/asciidoctor-kroki)

Its 2.0.0 release drops [Ruby 2.7](https://since.dev/calendar/ruby/2.7.md). [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 13 breaking changes in 1 version.
- From [0.9.1](#v-0-9-1) to [2.0.0](#v-2-0-0): 23 breaking changes in 8 versions.

## asciidoctor-kroki 2.0.0 breaking changes

asciidoctor-kroki 2.0.0, released October 30, 2026: 13 breaking changes.

- **Removed**  

Ruby 2.7 is no longer supported by the gem. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **Renamed** `asciidoctorKroki.register`  

Replace the default export's register method with import { register } from 'asciidoctor-kroki'. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **Behavior changed**  

The subs attribute is now applied before !include directives are resolved, so included file content is no longer substituted. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **Behavior changed**  

Kroki requests and remote reads that take longer than 60 seconds or return more than 25 MiB now fail. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **Default changed** `kroki-cache`  

Embedded images now go to the cache directory; set kroki-cache to false to keep the previous behavior. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **Signature changed** `add`  

Implementations should return a promise; a synchronous implementation still works. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **Signature changed** `exists`  

Implementations should return a promise; a synchronous implementation still works. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **Signature changed** `http_client.get`  

A custom :http_client must accept the additional expected_content_type argument on get. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)
- **Signature changed** `http_client.post`  

A custom :http_client must accept the additional expected_content_type argument on post. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v2.0.0)

## asciidoctor-kroki 1.0.0 breaking changes

asciidoctor-kroki 1.0.0, released July 14, 2026: 1 breaking change.

- **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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v1.0.0)

## asciidoctor-kroki 1.0.0-beta.2 breaking changes

asciidoctor-kroki 1.0.0-beta.2, released July 14, 2026: 1 breaking change.

- **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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v1.0.0-beta.2)

## asciidoctor-kroki 1.0.0-beta.1 breaking changes

asciidoctor-kroki 1.0.0-beta.1, released July 14, 2026: 2 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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v1.0.0-beta.1)
- **Configuration changed**  

The extension now needs @asciidoctor/core 4.x. Upgrade Asciidoctor.js to use this version. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v1.0.0-beta.1)

## asciidoctor-kroki 0.19.0 breaking changes

asciidoctor-kroki 0.19.0, released December 3, 2026: 1 breaking change.

- **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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v0.19.0)

## asciidoctor-kroki 0.16.0 breaking changes

asciidoctor-kroki 0.16.0, released July 14, 2026: 2 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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v0.16.0)
- **Behavior changed**  

Generated diagram file names include the target attribute as a prefix, so existing output file names may change. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v0.16.0)

## Older versions

3 older versions.

### asciidoctor-kroki 0.15.4 breaking changes

asciidoctor-kroki 0.15.4, released December 3, 2026: 1 breaking change.

- **Removed** `env-idea`  

The env-idea behavior is removed; use the kroki-default-format attribute instead. [github.com](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v0.15.4)

### asciidoctor-kroki 0.12.0 breaking changes

asciidoctor-kroki 0.12.0, released July 14, 2026: 2 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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v0.12.0)
- **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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v0.12.0)

### asciidoctor-kroki 0.9.1 breaking changes

asciidoctor-kroki 0.9.1, released October 11, 2023: 1 breaking change.

- **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](https://github.com/asciidoctor/asciidoctor-kroki/releases/tag/v0.9.1)

## Related packages

- [asciidoctor-pdf](https://since.dev/packages/gem/asciidoctor-pdf.md)
- [asciidoctor-revealjs](https://since.dev/packages/gem/asciidoctor-revealjs.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
