Asciidoctor v2.0.6 Release Notes

Release Date: 2019-04-04 // about 5 years ago
  • 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