progit / progit2

Pro Git 2nd Edition
Other
5.77k stars 1.9k forks source link

Update asciidoctor-pdf requirement from 1.6.1 to 2.0.7 #1755

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

This patch release focuses on fixes related to image processing and rendering. First, it fixes a crash if an inline image without an explicit width is used in the doctitle or a section title with an automatic ID. The converter now delegates to prawn-gmagick, if available, to read an image referenced in an SVG, thus adding support for more formats and improving performance. The path of that image can now refer to any location within the Asciidoctor jail (i.e., base dir) rather than being restricted to the docdir. When prawn-gmagick is not available, and the converter encounters a corrupt or incomplete PNG or JPG, it will not recommend using prawn-gmagick (as the problem is with the image data, not the format). The prawn-gmagick integration is now verified to work on macOS.

This release was the first test of automating the release notes. The script didn't work entirely, but we're a step closer.

Distribution

Changelog

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)

Release meta

Released on: 2022-06-03 Released by: @​mojavelinux Release beer: Living the Ska Dream by Living the Dream 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.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]

== 2.0.5 (2022-05-26) - @​mojavelinux

Bug Fixes::

  • do not filter TOC entries without an ID when computing the TOC extent (#2210)
  • fix width of multi-word phrase with background and border offset (#2059)

=== Details

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

== 2.0.4 (2022-05-25) - @​mojavelinux

Bug Fixes::

  • fix calculation of TOC extent when TOC entry has children but no ID (#2208)

=== Details

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

... (truncated)

Commits
  • 54918f5 release 2.0.7 [no ci]
  • 4cb571f add note about limitation of remote inline image
  • f9f42dc resolves #2228 fix crash when doctitle or section title with automatic ID con...
  • 8ec4914 use more logic order for assignments in init_pdf
  • 79b45c7 change root and jail keys for SVG root to base and root, respectively
  • f3b1c79 resolves #1941 allow image path in SVG to refer to any location within Asciid...
  • 9117b98 change name of notitle page to Hide Section Titles and rewrite intro
  • f16276d refactor code that looks up image handler in prawn-svg patch
  • 58a2ba9 resolves #2223 use prawn-gmagick, if available, to read raster image referenc...
  • d43483e clarify that the costly operation with embedding PNG images is zlib inflating
  • 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 #1757.