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.0.8 #1757

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

This is a patch release in the 2.0.x release line focused on fixing various rendering bugs when the content in the document body is arranged into columns. These issues were discovered while working on multi-column support in the main branch. Although support for multiple columns is not included in this release line, users who are using an extended converter to add multi-column support will benefit from these fixes. The main fix is that the converter correctly computes the value of end cursor of an extent when the column box starts below top of page. The code for how columns are handled in the scratch document has also been refactored so that the logic is encapsulated in the ColumnBox class.

This is also the first release where the release notes were generated automatically (except for this summary) as part of the release process.

Distribution

Changelog

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

Release meta

Released on: 2022-06-08 Released by: @​mojavelinux Release beer: Houblon Deluxe by Pure Project Brewing

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

=== Details

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

== 2.0.7 (2022-06-03) - @​mojavelinux

Improvements::

  • don't recommend prawn-gmagick if PNG or JPG is corrupt or incomplete
  • add helper method to determine when to recommend the prawn-gmagick gem

Bug Fixes::

  • fix crash when doctitle or section title with automatic ID contains inline image without explicit width (#2228)
  • use prawn-gmagick, if available, to read raster image referenced by SVG (#2223)
  • allow image path in SVG to refer to any location within Asciidoctor jail (no restriction if safe mode is unsafe) (#1941)

=== Details

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

== 2.0.6 (2022-05-30) - @​mojavelinux

Bug Fixes::

  • indent content of collapsible block and apply bottom margin to match style of HTML output (#2219)
  • patch prawn-gmagick to reread bit depth of a PNG image if it extracts the wrong value (#2216)
  • interpret width of SVG correctly when width is defined in file using px units (#2215)
  • don't crash if inline role defines border width but not border color

=== Details

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

... (truncated)

Commits
  • d63f301 release 2.0.8 [no ci]
  • 126b46b remove unnecessary override of default_height on box
  • 659d7d3 move column_box method override to Prawn extensions
  • 63c9374 automatically set height on column box if not specified; update value automat...
  • 4b75ba9 update ColumnBox#single_file to honor :reflow_margins option on column box
  • efbfa5c pass height option when setting up column_box on new page with different margins
  • 019c20a honor reflow_margins option when setting up column_box on new page with diffe...
  • f574295 encapsulate logic to adjust column box inside float and dry run
  • ceda7fb remove debug flag on test
  • b63114c don't push section that follows index section in article to new page if last ...
  • 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 #1760.