progit / progit2

Pro Git 2nd Edition
Other
5.87k stars 1.93k forks source link

Update asciidoctor-pdf requirement from 1.5.4 to 1.6.0 #1649

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

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

Release notes

Sourced from asciidoctor-pdf's releases.

v1.6.0

Summary

This is special major release of Asciidoctor PDF before transitioning to semantic versioning. The purpose of this release is to make Asciidoctor PDF compatible with Ruby 3 (in advance of the Asciidoctor PDF 2.0.0 release). As part of that upgrade, this release drops support for Ruby < 2.5 (which also means JRuby < 9.2). It also drops support for Asciidoctor < 2. In order to get the full CI matrix running, support for controlling the location of the gs command using the GS environment variable was backported to this release. As part of removing patches to support Ruby < 2.5, the fix to not hyphenate a hyphen was also backported.

The Asciidoctor PDF 1.5.x release line does not work on Ruby 3 because the version of Prawn it depends on cannot be installed on Ruby 3. And it's not possible to upgrade Prawn in that release line since newer versions of Prawn dropped support for Ruby < 2.5. Since that upgrade constitutes a major breaking change, we've decided to create a 1.6.x release line. Since Asciidoctor PDF isn't yet using semantic versioning, this is considered a major release.

As part of upgrading Prawn, this release also upgrades prawn-svg, prawn-icon, and ttfunk. Those upgrades bring in additional enhancements. For example, the ttfunk upgrade adds partial support for OTF fonts. The prawn-svg upgrade adds support for loading embedded images from a data URI. And the prawn-icon upgrade brings in a newer version of Font Awesome (5.15.1).

Distribution

Changelog

Enhancements

  • allow path of ghostscript command to be controlled using GS env var (#1791)

Bug Fixes

  • do not hyphenate a hyphen when hyphenation is enabled (#1562)

Compliance

  • add support for Ruby 3 and drop support for Ruby < 2.5 and JRuby < 9.2 (#1681)
  • upgrade to Prawn 2.4.0 (adds support for Ruby 3)
  • upgrade to prawn-svg 0.32 (adds support for Ruby 3 without a patch and for loading embedded images from a data URI)
  • upgrade to prawn-icon 3.0.x
  • release lock on ttfunk version (1.6 produces slightly different output from 1.5 for certain missing glyphs)
  • drop support for Asciidoctor < 2 (#1552)

Build / Infrastructure

  • run tests against pygments.rb 2.x in addition to pygments.rb 1.2.0

Release meta

Released on: 2021-05-10 Released by: @​mojavelinux Release beer: Sun Reaper by Toppling Goliath

Logs: full diff

Credits

A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign who provided critical funding for the development of this release as well as ongoing development of the project.

Commits
  • 1ab3337 Release 1.6.0
  • 6441735 fix spelling error in CHANGELOG entry [skip ci]
  • dba6693 remove mention from README about behavior in 1.5.x alpha release [skip ci]
  • 7d57903 add missing entries to CHANGELOG [skip ci]
  • 462afd8 update section in README about optimizing the PDF [skip ci]
  • 3f8f291 update README [skip ci]
  • f0a797f use present to refer to current year in copyright [skip ci]
  • 51db97d remove redundant check when running the optimizer
  • 6749b41 add additional optimizer tests
  • 4446144 fix name of optimizer script in test description [skip ci]
  • 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)