Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Updates the requirements on asciidoctor to permit the latest version.

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)

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 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)

Updates the requirements on [asciidoctor](https://github.com/asciidoctor/asciidoctor) to permit the latest version.
- [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:production
...

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 14, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 17, 2025

Superseded by #84.

@dependabot dependabot bot closed this Oct 17, 2025
@dependabot dependabot bot deleted the dependabot/bundler/asciidoctor-2.0.24 branch October 17, 2025 16:00
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants