SUSE / bci-docs

Other
3 stars 5 forks source link

Bump asciidoctor from 2.0.20 to 2.0.21 #152

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 9 months ago

Bumps asciidoctor from 2.0.20 to 2.0.21.

Release notes

Sourced from asciidoctor's releases.

v2.0.21

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

... (truncated)

Changelog

Sourced from asciidoctor's changelog.

== 2.0.21 (2024-02-20) - @​mojavelinux

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)

=== Details

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

Commits
  • 1ec651d release 2.0.21
  • d91c240 upgrade JRuby in CI
  • a6b50b1 change title to doctitle in warning message about use of abstract to make sub...
  • b8a0680 upgrade latest Ruby to 3.3 in CI
  • b6142f2 update comments regarding link processing [skip ci]
  • b788020 backport fix for #4468 treat bare URL enclosed in angle brackets as unconstra...
  • 4f6241a backport fix for #3693 don't break nested dlist with attached block if offset...
  • ed0b15e backport fix for #4552 add support for scaledwidth and scale attributes on in...
  • 5b4627e optimize how leading < is found around URL
  • 25f4151 backport fix for #3602 move abstract inside info tag in DocBook output
  • 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 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)
netlify[bot] commented 9 months ago

Deploy Preview for sage-taffy-37671e ready!

Name Link
Latest commit 7887809cf37104eff6be2ae89fc148f1c84bd2ea
Latest deploy log https://app.netlify.com/sites/sage-taffy-37671e/deploys/65d5c752a7bd000008472307
Deploy Preview https://deploy-preview-152--sage-taffy-37671e.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.