Skip to content

Update dependency asciidoctor to v2.0.26 - #495

Open
oxide-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/asciidoctor-2.x
Open

Update dependency asciidoctor to v2.0.26#495
oxide-renovate[bot] wants to merge 1 commit into
mainfrom
renovate/asciidoctor-2.x

Conversation

@oxide-renovate

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
asciidoctor (source, changelog) "2.0.20""2.0.26" age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

asciidoctor/asciidoctor (asciidoctor)

v2.0.26

Compare Source

This is a patch release in the 2.0.x release line to fix bugs and make a few minor improvements.

Attribute references in the attrlist of the toc macro are now resolved, as documented. If the stem macro uses invalid substitutions, the warning message will cite the stem macro rather than the passthrough macro. When converting to DocBook, the quoted text is no longer used to set the xreflabel as this leads to invalid XML.

The HTML now loads the MathJax configuration to support stem integration as recommended by MathJax itself (https://docs.mathjax.org/en/latest/output/html.html#html-support). In the manpage output, a thin space is used in between the dots of an ellipsis to distinguish it from three consecutive dots by making it wider.

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

Improvement
Bug Fixes
  • Don't use text of span as value of xreflabel when node has ID in DocBook output (#​4539)
  • Resolve attribute references (attributes substitution) in attrlist of toc macro (#​4806)
  • Cite stem macro specifically in warning message when macro has invalid substitutions (#​4808)

Release meta

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

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.25

Compare Source

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

Compare Source

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

Release meta

Released on: 2025-10-13
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.23

Compare Source

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

The primary bug fix in this release is to not duplicate the block attribute line above a detached block that breaks a dlist, which fixes the duplicate role warning on that detached block. The main compliance improvement is to encode spaces in mailto links using %20, in accordance with RFC 3986, instead of +.

This release introduces several fixes and improvements related to parsing a table that has jagged rows. If the colspan of the last cell in a row, including the last row, exceeds the specified number of columns, only that row is dropped. On the other hand, if the last row is missing cells, an error message is logged to notify the author.

If a URL is used as the target of an xref shorthand, the processor now treats the URL as a fragment identifier instead of crashing.

Finally, repeating spaces in verbatim content in the manpage output are preserved.

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
  • Encode spaces in mailto links as %20, in accordance with RFC 3986, instead of + (#​4576)
Improvements
  • Log error when an incomplete row is detected at the end of a table (#​4573)
Bug Fixes
  • Don't leave behind empty line inside skipped preprocessor conditional (#​4580)
  • Don't duplicate block attribute line above detached block that breaks a dlist; fixes duplicate role on detached block (#​4565)
  • Don't crash when parsing xref shorthand if target starts with URL protocol and text is offset by space (#​4570)
  • Only drop current row if colspan of last cell exceeds specified number of columns (#​4587)
  • Drop last row if colspan of last cell in table exceeds specified number of columns (#​4587)
  • Preserve repeating spaces in verbatim content in manpage output (#​3583)

Release meta

Released on: 2024-05-17
Released by: @​mojavelinux
Release beer: Marmot Passage by Two 22 Brew

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.22

Compare Source

This is a patch release in the 2.0.x release line to further compatibility with Ruby 3.3.

The most critical fix in this release is to remove use of the base64 library since it will no longer being provided as part of the Ruby language starting with Ruby 3.4. When using Ruby 3.3, users would see a warning if this library is used, which happens when the data-uri attribute is set. The functionality has been replaced with a lower-level method on the String object (String#pack), which the base64 library delegates to anyway.

This release also sets the cloaked-context attribute on a source block that is defined using either a styled paragraph or a literal or fenced code structural container. This matches the functionality used for custom block extensions (when the source context does not match the final parsed context).

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
  • Set cloaked-context attribute on source block when context is not :listing (#​4556)
Compliance
  • Remove use of base64 library to prevent warning in Ruby >= 3.3 (#​4561)

Release meta

Released on: 2024-03-08
Released by: @​mojavelinux
Release beer: Turbo Laser by Resolute 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.21

Compare Source

This is a patch release in the 2.0.x release line, primarily to address compatibility with Ruby 3.3. While development of Asciidoctor 2.1 is beginning to pick up again, we extracted several other important improvements and bug fixes from main to include in this patch release.

The most critical fix in this release is to make Asciidoctor's logger compatible with the logger API in Ruby 3.3. The code is now tested against Ruby 3.3 on each change. Nearly as important, this release also turns off Ruby's system-dependent newline conversion when writing files so that Asciidoctor's output is consistent between *nix and Windows.

Numerous changes were made to correct AsciiDoc parsing. A nested dlist attached using a list continuation no longer consumes a detached paragraph. And an attached block is correctly attached to a nested dlist when that dlist is offset from its parent by an empty line. The secondary and tertiary terms on the indexterm macro are preserved when the primary term is quoted and contains an equals sign. And a bare URL enclosed in angle brackets acts as unconstrained syntax that stops at the first occurrence of a closing angle bracket. When includes are not enabled, any spaces in the include target are preserved when generating the fallback link.

Several changes were made to the DocBook output to address compliance. The abstract is moved inside the <info> tag (applies to both the abstract in the preamble as well an an abstract for a book part). The scaledwidth and scale attributes are now supported on an inline macro, like with a block image macro.

A few changes to the manpage output were made. Cells in the head row are styled as bold. Paragraph breaks in a normal table cell are preserved.

Finally, a few refinements to the default stylesheet were applied. The extra border below the doctitle when the sidebar toc is collapsed into main content area was removed. And a text decoration was added to the active footnote number link in the footnotes list.

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
  • Turn off system-dependent newline conversion when writing files; don't convert line feeds to system-dependent newline (#​4550)
  • Support logger in Ruby 3.3 by instantiating super class (#​4493) (@​mtasaka)
  • Add support for scaledwidth and scale attributes on inline image macro in DocBook output (#​4552)
  • Update latest Ruby to 3.3 in CI workflows
Improvements
  • Change title to doctitle in warning message about use of abstract to make subject more clear
  • Modify default stylesheet to add text decoration to active footnote number link in footnotes list (#​4530) (@​Larhzu)
Bug Fixes
  • Nested dlist attached using list continuation should not consume detached paragraph (#​3535)
  • Don't break nested dlist with attached block if offset from parent list by empty line (#​3693)
  • Preserve paragraph breaks in normal table cell in manpage output (#​4481)
  • Style cells in head row as bold in manpage output (#​4490)
  • Escape spaces in include target (using inline passthrough) when generating link from include directive (#​4461)
  • Move abstract inside info tag in DocBook output (#​3602)
  • Honor secondary and tertiary terms on indexterm macro when primary term is quoted and contains an equals sign (#​3652)
  • Remove extra border below doctitle when sidebar toc is collapsed into main content area (#​4523)
  • Treat bare URL enclosed in angle brackets as unconstrained syntax; only match until closing angled bracket (#​4468)
  • Allow URL enclosed in angled brackets syntax to be escaped using backslash (#​4468)

Release meta

Released on: 2024-02-20
Released by: @​mojavelinux
Release beer: Lunch by Maine Beer 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.


Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • "after 8pm,before 6am"
  • Automerge
    • "after 8pm,before 6am"

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@oxide-renovate oxide-renovate Bot added the dependencies Pull requests that update a dependency file label Jul 24, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants