Asciidoctor v2.0.8 Release Notes

Release Date: 2019-04-22 // almost 5 years ago
  • Summary

    This is a bug fix release that restores the background color on literal blocks and restores the bottom margin on passthrough blocks inside table cells in the default stylesheet, addresses compatibility issues with Asciidoctor.js, allows any Unicode word character to be used for the footnote ID, allows symbols to be passed to the register_for methods, defines helper methods using module_function (instead of extending self), and some other internal refactoring and polishing.

    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-22
    ๐Ÿš€ Released by: @mojavelinux
    ๐Ÿš€ Release beer: Kentucky Breakfast Stout by Founders Brewing Company

    ๐Ÿ”Š Logs: resolved issues | full diff | issues resolved in 2.0.x (cumulative)

    ๐Ÿ”„ Changelog

    ๐Ÿ› Bug Fixes

    • ๐Ÿ’… restore background color applied to literal blocks by default stylesheet (#3258)
    • use portability constants (CC_ALL, CC_ANY) in regular expressions defined in built-in converters (DocBook5 and ManPage)
    • ๐Ÿ‘‰ use portability constant (CC_ANY) in regular expression for custom inline macros
    • ๐Ÿ‘‰ use smarter margin collapsing for AsciiDoc table cell content; prevent passthrough content from being cut off (#3256)
    • don't limit footnote ref to ASCII charset; allow any word character in Unicode to be used (#3269)

    ๐Ÿ‘Œ Improvements

    • register_for methods accept arguments as symbols (#3274)
    • ๐Ÿ‘‰ use Concurrent::Map instead of Concurrent::Hash in template converter
    • ๐Ÿ‘‰ use module_function keyword to define methods in Helpers
    • ๐Ÿšš move regular expression definitions to separate source file (internal change)