github asciidoctor/asciidoctor v2.0.6

Summary

A bug fix release that restores the 1.5.x behavior of the interdocument xref macro when the target has no file extension, doesn't fail to load if the call to Dir.home fails (which allows Asciidoctor to be used in the GitHub application), and only drops the file extension from the last path segment when cataloging the include path.

Distributions

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.

Release meta

Released on: 2019-04-04
Released by: @mojavelinux
Release beer: Rye on Rye 6 by Boulevard Brewing

Logs: resolved issues | full diff | issues resolved in 2.0.x (cumulative)

Changelog

Bug Fixes

  • assume implicit AsciiDoc extension on interdoc xref macro target with no extension (e.g., document#); restores 1.5.x behavior (#3231)
  • don't fail to load application if call to Dir.home fails; use a rescue with fallback values (#3238)
  • Helpers.rootname should only consider final path segment when dropping file extension

Improvements

  • implement Helpers.extname as a more efficient and flexible File.extname method
  • check for AsciiDoc file extension using end_with? instead of resolving the extname and using a lookup
latest releases: v2.0.16, v2.0.15, v2.0.14...
2 years ago