progit / progit2

Pro Git 2nd Edition
Other
5.71k stars 1.88k forks source link

Update asciidoctor-pdf requirement from 1.6.1 to 2.1.1 #1762

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on asciidoctor-pdf to permit the latest version.

Release notes

Sourced from asciidoctor-pdf's releases.

v2.1.1

This the first patch release in the 2.1.x release line. It's once again focused on the columnar layout, fixing one edge case and providing additional information for extensions. This release also addresses a crash when using CodeRay as the syntax highlighter and a code block uses a source language that CodeRay does not recognize.

An SVG that's shorter than the height of the current column will be placed in the correct column. The Extent for a decorated block provides access to the zero-based column where the block starts (from.column) and where the cursor was when the block was encountered (current.column). This information is used by the extended converter in the docs that demonstrates how to imprint the source language label on a code block.

The converter now draws a border around a phrase with a custom role using the base border color if the role defines a border width without a border color.

Distribution

Changelog

Improvements

  • store zero-based column on Extent for extensions to use to position cursor at start of extent

Bug Fixes

  • place block image in SVG format in correct column when align is left and page columns are enabled (#2241)
  • accurately trap LoadError from CodeRay if source language is not recognized on code block
  • only draw rounded rectangle around phrase if border-radius is > 0
  • use base-border-color value if border width is set on role for inline phrase but not border color

Release meta

Released on: 2022-06-14 Released by: @​mojavelinux Release beer: Field Guide by Outer Range Brewing Co.

Logs: resolved issues | full 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.

Changelog

Sourced from asciidoctor-pdf's changelog.

== 2.1.1 (2022-06-15) - @​mojavelinux

Improvements::

  • store zero-based column on Extent for extensions to use to position cursor at start of extent

Bug Fixes::

  • place block image in SVG format in correct column when align is left and page columns are enabled (#2241)
  • accurately trap LoadError from CodeRay if source language is not recognized on code block
  • only draw rounded rectangle around phrase if border-radius is > 0
  • use base-border-color value if border width is set on role for inline phrase but not border color

=== Details

{url-repo}/releases/tag/v2.1.1[git tag] | {url-repo}/compare/v2.1.0...v2.1.1[full diff]

== 2.1.0 (2022-06-11) - @​mojavelinux

Enhancements::

  • arrange body of article or manpage doctype into multiple columns if page-columns key is set in theme (#327)
  • allow column gap to be specified using page-column-gap key (#327)
  • introduce convert_index_categories method to handle rendering of categories for index inside column box (#327)
  • rename convert_index_list method to convert_index_term to make its purpose more clear (#327)
  • add save_theme helper to work with a copy of the theme within a scope (#2196)
  • add support for scale attribute or iw unit on pdfwidth attribute on image macros (#1933)
  • add backlink from bibref on bibliography entry to first reference to that entry in the document (#1737)
  • preserve text formatting on index term in index section (#897)
  • don't insert page break between part and first chapter if heading-part-break-after key in theme is avoid (#1795)

=== Details

{url-repo}/releases/tag/v2.1.0[git tag] | {url-repo}/compare/v2.0.8...v2.1.0[full diff]

== 2.0.8 (2022-06-08) - @​mojavelinux

Improvements::

  • encapsulate logic to adjust column box inside float and dry run
  • automatically set height on column box if not specified; update value automatically when reflowing margins

Bug Fixes::

  • correctly compute value of to cursor on extent when column box starts below top of page (#2230)
  • fix crash in ColumnBox#move_past_bottom when :reflow_margins option is not set
  • fix x position of SVG when advanced to next column of column box
  • at_page_top? should consider top of column box to be top of page
  • prevent SVG image taller than column from being advanced to next column
  • don't push section that follows index section in article to new page if last page of index does not extend to bottom of page

... (truncated)

Commits
  • 362a81d release 2.1.1 [no ci]
  • 9a017fd update What's New for 2.1.1 release [no ci]
  • 67c52b2 remove debug flag in test suite
  • 2db4190 use base-border-color value if border width is set on role for inline phrase ...
  • b68cfc7 use enhanced RectInspector in test suite that can pick up fill and stroke color
  • c96a467 only draw rounded rectangle around phrase if border-radius is > 0
  • f6ad49f use auth token of current actor for gh in release workflow [skip ci]
  • 4724bed store zero-based column of current and from on Extent (PR #2244)
  • 62453d2 use direct assignment if from page on extent does not match current page number
  • be54994 clarify the behavior of the advance_page helper
  • 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 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)
dependabot[bot] commented 2 years ago

Superseded by #1765.