- Breaking change: Change
Array(Line?)
to Array(Line)
for most BlockSyntax#parse_child_lines
overrides.
- None of the methods actually inserted
nil
in to their arrays; this change mainly removes the need to check for .nil?
. If you were inserting nil
in to these arrays, then you'll need to make some changes, but otherwise this shouldn't break anything.
- Breaking change: All custom extensions found in
src/luce/util.cr
have been deprecated. They will be removed in version 1.0.
Array#insert_all
, String#replace_all_mapped
, String#split_map_join
, String#indentation
, String#dedent
, String#prepend_space
, String#to_lines
, String#last
, Regex#all_matches
, Regex::MatchData#match
.
- Most of these offer some form of replacement in their respective deprecation message. If you are using one and the suggestion doesn't work, please create a new issue.
- Support for footnotes.
- Support for Github Alerts
- Support for single-tilde strikethrough as per GFM.
- Tables are now able to interrupt other blocks.
- Allow Element attributes to have no value (#6 - thanks solvin!).
- Fix an infinite loop occurring when using a link in table headers.
- This will raise an exception should an infinite loop begin during
BlockSyntax#parse_lines
.
- Fix an obscure issue with
HTMLBlockSyntax
.
- Fix beginning of line detection in
AutolinkExtensionSyntax
.
- Fix crash caused by unmatched closing parenthesis in
AutolinkExtensionSyntax
(#3 - thanks solvin!)
- Fix crash in Crystal >=1.8 caused by exceeding the Regex Match Limit.
- Fix incorrect generation of checkboxes when empty list items separated checkbox items
- Fix incorrect reading of lines in
bin/luce.cr
- Fix tables not rendering when there are trailing spaces.
- Update CommonMark tests to 0.31.2
This release has been tested against the last minor release of each major Crystal version from 1.0.0 to 1.12.1 (inclusive), the latest as of this release.