Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps asciidoctor from 2.0.23 to 2.0.25.

Release notes

Sourced from asciidoctor's releases.

v2.0.25

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

If any custom block macros are registered, and the log level is debug, the processor will no longer log a false positive statement that certain lines contain an unknown block macro. When sectlinks is enabled, the link will not enclose any supplemental anchors on the section title, but only the text that follows.

In terms of AsciiDoc compliance, the trailing space after the reftext of an inline anchor defined using the inline anchor shorthand is now removed to allow the reftext to end with ].

And about that minor annoyance, the processor no longer freezes the processor instance of an extension, making it possible for the processor to use its own instance variables.

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

Improvements

  • Don't freeze processor instance of extension to allow use of instance variables (#4782)

Bug Fixes

  • Fix false positive when looking for custom block macro, leading to superfluous debug message (#4785)
  • Start sectlink after any supplemental anchors on section title when sectlinks is set (#2934)
  • Remove trailing space after reftext in inline anchor shorthand (to accomodate trailing ] in reftext) (#4789)

Release meta

Released on: 2025-10-16 Released by: @​mojavelinux Release beer: Oktoberfest by Athletic Brewing Company

Logs: resolved issues | source diff | gem diff

Credits

A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign, who provide critical funding for the ongoing development of this project.

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.

... (truncated)

Changelog

Sourced from asciidoctor's changelog.

== 2.0.25 (2025-10-16) - @​mojavelinux

Improvements::

  • Don't freeze processor instance of extension to allow use of instance variables (#4782)

Bug Fixes::

  • Fix false positive when looking for custom block macro, leading to superfluous debug message (#4785)
  • Start sectlink after any supplemental anchors on section title when sectlinks is set (#2934)
  • Remove trailing space after reftext in inline anchor shorthand (to accomodate trailing ] in reftext) (#4789)

=== Details

{url-repo}/releases/tag/v2.0.25[git tag] | {url-repo}/compare/v2.0.24...v2.0.25[full diff] // end::compact[]

== 2.0.24 (2025-10-13) - @​mojavelinux

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)
  • Pass kwargs to Logger superclass and only assign defaults when kwarg is not specified (#4773)
  • Set logdev to $stderr if no arguments are passed to Logger constructor (#4250)
  • 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)
  • 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
  • 96fc831 release 2.0.25
  • 564b4b0 backport fix for #4789 remove trailing space after reftext in inline anchor s...
  • 998d86c backport fix for #2934 start sectlink after any supplemental anchors on secti...
  • bafe3e8 backport fix for #4782 don't freeze processor instance of extension to allow ...
  • ce7a971 remove duplication when adding processor extension
  • 9a621be resolves #4785 fix false positive when looking for custom block macro (PR #4786)
  • acef385 reorder some CHANGELOG entries
  • d631e3a add tip for how to add state to extension instance despite it being frozen
  • 2154973 prepare branch for development [no ci]
  • a66b614 release 2.0.24
  • 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.25.
- [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.25)

---
updated-dependencies:
- dependency-name: asciidoctor
  dependency-version: 2.0.25
  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 20, 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants