progit / progit2-bg

Other
3 stars 8 forks source link

Update asciidoctor requirement from 2.0.16 to 2.0.18 #80

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Updates the requirements on asciidoctor to permit the latest version.

Release notes

Sourced from asciidoctor's releases.

v2.0.18

First and foremost, this was the first fully-automated release of this library. This new process will allows us to put out releases faster. :tada:

While development on the 2.1.0 release continues, we pulled out some of the small improvements and bug fixes and put them into this patch release for the 2.0.x release line.

The most notable fix is to tighten up the uriish? helper so it only detects a URI pattern at the start of a string, avoiding misleading messages and a potential vulnerability if misused. Speaking of misleading messages, the highlight.js integration has been updated so it isn't run on a source block that doesn't define a language (when the data-lang attribute is absent) and thus doesn't issue a warning. If transcoding an attribute value passed via the CLI, the encoding is gracefully coerced to UTF-8. If extension code is malformed, the source location in the exception message is properly formatted.

Many of the other bug fixes and improvements came out of work on Asciidoctor Reducer. Those improvements include resetting the extension registry if activate is called on it again, prevent error if unregister is called on the registry before groups are initialized, format the source location in exception message when extension code is malformed, add the include role to the link macro that replaces the include directive when the include is not enabled, store an include path in the includes table of the document catalog with the value true if it is included both partially and full, propagate the :to_dir option to the document for an AsciiDoc table cell, and fix the lineno on the reader when the skip-front-matter attribute is set but the end of the front matter is not found.

As far as user-facing changes go, the default stylesheet has been updated to honor the marker style on a nested unordered list when a marker is defined on an ancestor 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

Improvements

  • Propagate :to_dir option to document of AsciiDoc table cell (#4297)
  • Force encoding of attribute data passed via CLI to UTF-8 if transcoding fails (#4351) (@​zkaip)
  • Add include role to link macro that replaces include directive when include is not enabled

Bug Fixes

  • Change internal uriish? helper to only detect a URI pattern at start of a string; avoids misleading messages (#4357)
  • Prevent highlight.js warning when no language is set on source block; don't call highlightBlock if data-lang attribute is absent (#4263)
  • Don't raise error if Asciidoctor::Extensions.unregister is called before groups are initialized (#4270)
  • If path is included both partially and fully, store it with true value (included fully) in includes table of document catalog
  • Reset registry if activate is called on it again (#4256)
  • Format source location in exception message when extension code is malformed
  • Fix lineno on reader when skip-front-matter attribute is set but end of front matter is not found
  • Fix Asciidoctor::Cli::Invoker constructor when first argument is a hash
  • Update default stylesheet to honor marker on unordered list when marker is defined on ancestor unordered list (#4361)

Release meta

Released on: 2022-10-15 Released by: @​mojavelinux Release beer: Chimay Blue by Chimay

Logs: resolved issues | source diff | gem 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's changelog.

== 2.0.18 (2022-10-15) - @​mojavelinux

Improvements::

  • Propagate :to_dir option to document of AsciiDoc table cell (#4297)
  • Force encoding of attribute data passed via CLI to UTF-8 if transcoding fails (#4351) (@​zkaip)
  • Add include role to link macro that replaces include directive when include is not enabled

Bug Fixes::

  • Change internal uriish? helper to only detect a URI pattern at start of a string; avoids misleading messages (#4357)
  • Prevent highlight.js warning when no language is set on source block; don't call highlightBlock if data-lang attribute is absent (#4263)
  • Don't raise error if Asciidoctor::Extensions.unregister is called before groups are initialized (#4270)
  • If path is included both partially and fully, store it with true value (included fully) in includes table of document catalog
  • Reset registry if activate is called on it again (#4256)
  • Format source location in exception message when extension code is malformed
  • Fix lineno on reader when skip-front-matter attribute is set but end of front matter is not found
  • Fix Asciidoctor::Cli::Invoker constructor when first argument is a hash
  • Update default stylesheet to honor marker on unordered list when marker is defined on ancestor unordered list (#4361)

=== Details

{url-repo}/releases/tag/v2.0.18[git tag] | {url-repo}/compare/v2.0.17...v2.0.18[source diff]

// end::compact[] == 2.0.17 (2022-01-05) - @​mojavelinux

Bug Fixes::

  • Don't crash if process method for custom block returns an abstract block with context :compound that isn't of type Block (e.g., a list)
  • Ignore return value of process method for custom block or block macro if value matches parent argument
  • Remove unnamespaced selectors in Pygments stylesheet
  • Normalize output from Pygments to use linenos class for inline line numbering and trim space after number; update default stylesheet accordingly
  • Change AbstractBlock#sections? to return false when called on block that isn't a Section or Document (PR #3591) @​mogztter
  • Hide built-in marker on HTML summary element in Safari when using default stylesheet (#4162)
  • Hide outline around HTML summary when activated in Safari (#4162)
  • Include primary video in value of playlist attribute when embeddding YouTube video (#4156)
  • Honor stripes=none on nested table (#4165)
  • Update default stylesheet to fix spacing around empty list item (#4184)
  • Honor :header_only option when parsing document with manpage doctype (#4192)
  • Use numeric character reference for closing square bracket around alt text of icon
  • Process author or authors document attribute in document header when implicit doctitle is absent (#4206)
  • Patch open-uri-cached gem to work with Ruby 3.1 (update: drop patch now that open-uri-cached has been fixed) (#4227)

Improvements::

  • Prevent line numbers on source blocks in HTML output from being selected (applies to pygments and coderay) (#4128)
  • Allow hash to be specified for Vimeo video either in video ID or using hash attribute (#4176)
  • Remove unnecessary specificity in default stylesheet for styling p element inside list item
  • Remove obsolete gist embed styles from default stylesheet

... (truncated)

Commits
  • dfbcd42 release 2.0.18
  • c08853c fix entry in CHANGELOG
  • 3b4165f declare net-ftp as development dependency for Ruby >= 3.1.0
  • 3c3cfb5 update test descriptions in reader tests
  • dbdeb44 add include role to link/URL macro that replaces include directive when inclu...
  • 08b6eb9 minor refinements to release script [skip ci]
  • a28f1e5 set release-version attribute in docs during release
  • 3e78f8c fix current release-version attribute in docs
  • 0be385e use Ruby 3.1.2 in docs
  • 9c48d85 add release version to workflow run name
  • 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 1 year ago

Looks like asciidoctor is up-to-date now, so this is no longer needed.