Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 13, 2025

Bumps asciidoctor from 2.0.23 to 2.0.24.

Release notes

Sourced from asciidoctor's releases.

v2.0.24

This is a patch release in the 2.0.x release line to fix bugs and address compatibility and compliance issues.

After upgrading, you'll no longer see the warning about the use of the logger gem when using Ruby 3.4. This is only a short-term solution for Ruby 3.4 and will need to be permanently fixed in a future release for Ruby 3.5. On the topic of logging, an error is now logged if an unterminated preprocessor conditional directive is detected. If the sourcemap option is enabled on the processor, the message will identify the file and line where the conditional started. (This change also allowed us to uncover cases when the conditional stack was incorrect). If you are extending Asciidoctor Logger class to implement a custom logger, all kwargs are now passed to the superclass correctly.

If you're converting to DocBook, you will notice that the link attribute on an inline image is supported (but not yet for a block image). For reproducible builds, the SOURCE_DATE_EPOCH environment variable is now ignored if empty.

If you're writing a converter from scratch, you'll find the documentation on how to get started to be much more helpful. You'll also appreciate the fact that the converter will not crash if you're missing a convert handler for a node when extending the base converter.

When using the verse block, you'll notice that the code tag no longer displays as a block.

Finally, two changes have been made for better compatibility with Opal to support Asciidoctor.js.

Distribution

Asciidoctor is also packaged for Fedora, Debian, Ubuntu, Alpine Linux, OpenSUSE, and Homebrew. You can use the system's package manager to install the package named asciidoctor.

Changelog

Compliance

  • Support link attribute on inline image macro when converting to DocBook (#4385)
  • Add magic comment backticks_javascript: true to achieve compatibility with Opal 2.0 (#4775) (@​janbiedermann)
  • Extract the require logic of the OpenURI library for Asciidoctor.js compatibility (#4244) (@​ggrossetie)

Improvements

  • Suppress warning about loading logger from stdlib when using Ruby 3.4 (#4769)
  • Log error if unterminated preprocessor conditional directive is detected (#3545)
  • Coerce names passed to the positional_attrs directive on an extension to strings (#4674)
  • Ignore SOURCE_DATE_EPOCH environment variable if value is empty instead of exiting with non-zero exit code (#4631)
  • Change Brazilian Portuguese translation for toc-title (#4653) (@​giflw)

Bug Fixes

  • Consider convert_ prefix when looking for missing convert method in converter (#4669) (@​eugoka)
  • Don't push conditional onto stack if conditional preprocessor directive is invalid when skipping lines (#4603)
  • Only style code tag as block element when inside pre in listing block; not inside verse block (#4610)
  • Pass kwargs to Logger superclass and only assign defaults when kwarg is not specified (#4773)
  • Don't add role=include to link macro that replaces include directive when running in compat mode (#4608)

Documentation

  • Rewrite documentation for how to create a custom converter from scratch and make examples more thorough (#4699)

Build / Infrastructure

... (truncated)

Changelog

Sourced from asciidoctor's changelog.

= Asciidoctor Changelog :url-asciidoctor: https://asciidoctor.org :url-asciidoc: https://docs.asciidoctor.org/asciidoc/latest/ :url-repo: https://github.com/asciidoctor/asciidoctor :icons: font ⭐ icon:star[role=red] ifndef::icons[] ⭐ ★ endif::[]

{url-asciidoctor}[Asciidoctor] is a fast, open source text processor and publishing toolchain for converting {url-asciidoc}[AsciiDoc] content into HTML 5, DocBook 5, and other formats.

This document provides a high-level view of the changes introduced in Asciidoctor by release. For an even more detailed look at what has changed, refer to the {url-repo}/commits/[commit history] on GitHub.

This project utilizes semantic versioning.

// tag::compact[] == Unreleased

Enhancements::

  • Allow the CLI to control the logging level using the --log-level option (#3868)
  • Ignore --log-level CLI option if -q is specified; ignore -v CLI option if --log-level is specified (#3868)
  • Add support for inline linenums mode when using Rouge as source highlighter (rouge-linenums-mode=inline) (#3641)
  • Omit meta generator tag in HTML output if reproducible document attribute is set (#4143) (@​rpavlik)
  • Add --sourcemap option to the CLI to enable the :sourcemap option on the parser (#3569) (@​hackingotter)
  • Allow section ID to be unset by assigning an empty value to the id block attribute (#4139)
  • Add support for dropping principal text of list item if empty in an ordered or unordered list when converting to man page (#4182)
  • Don't add empty line before block content if principal text of dlist item is not specified when converting to man page (#4182)
  • Add support for role on thematic break in HTML converter (#4101)
  • Add support for link=self on image macros (#3656)
  • Alias Inline#content to Inline#text so Inline node quacks like other nodes (#3220)
  • Update signature of Logger constructor so both positional arguments and keyword arguments are passed to super constructor (#4250)
  • Honor level and formatter keyword arguments passed to Logger constructor (#4250)
  • Set logdev to $stderr if no arguments are passed to Logger constructor (#4250)
  • Add support for skipping TOML front matter (Hugo) when skip-front-matter attribute is set (#4300) (@​abhinav)
  • Add support for Wistia using the video macro

Compliance::

  • Don't promote level-0 special section at start of document to document title (#4151)
  • Disallow the use of dot (.) in the name of a named element attribute (#4147)
  • Disallow the use of the left square bracket in an attribute list on formatted text (#4306)
  • Support link attribute on inline image macro when converting to DocBook (#4385)
  • Update stylesheet to use break-after in place of page-break-before/after/inside (#3466)
  • Add magic comment backticks_javascript: true to achieve compatibility with Opal 2.0 (#4775) (@​janbiedermann)
  • Extract the require logic of the OpenURI library for Asciidoctor.js compatibility (#4244) (@​ggrossetie)
  • Drop support for Ruby < 2.7 and JRuby < 9.4
  • Update latest JRuby in CI workflow to 10.0.2.0

... (truncated)

Commits
  • a66b614 release 2.0.24
  • 1b1d393 add missing CHANGELOG entry for #4691; label CHANGELOG entry for #4653
  • c0a4162 add missing entry in CHANGELOG for #4699
  • 080c141 backport fix for #4244 extract the require logic of the OpenURI library
  • 35eb845 revert "use internal flag to mark that PreprocessorReader has been exhausted"
  • 925eb51 use internal flag to mark that PreprocessorReader has been exhausted
  • f413cb6 fix typos in text converter when converting tables
  • 84b286f backport fix for #4385 support link attribute on inline image macro when conv...
  • d8b9121 backport fix for #4608 don't add role=include to link macro that replaces inc...
  • 79764b9 reclassify CHANGELOG entry for #4674
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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](https://github.com/asciidoctor/asciidoctor) from 2.0.23 to 2.0.24. - [Release notes](https://github.com/asciidoctor/asciidoctor/releases) - [Changelog](https://github.com/asciidoctor/asciidoctor/blob/main/CHANGELOG.adoc) - [Commits](asciidoctor/asciidoctor@v2.0.23...v2.0.24) --- updated-dependencies: - dependency-name: asciidoctor dependency-version: 2.0.24 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

0 participants