Skip to content

1.4.0

Compare
Choose a tag to compare
@colinodell colinodell released this 18 Apr 20:50
517cbe1

Added

  • Added new Heading Permalink extension (#420)
  • Added new Table of Contents extension (#441)
  • Added new MarkdownConverterInterface as a long-term replacement for ConverterInterface (#439)
  • Added new DocumentPreParsedEvent event (#427, #359, #399)
  • Added new ListBlock::TYPE_BULLET constant as a replacement for ListBlock::TYPE_UNORDERED
  • Added new MarkdownInput class and MarkdownInputInterface to handle pre-parsing and allow listeners to replace Markdown contents

Changed

  • Block & inline renderers will now render child classes automatically (#222, #209)
  • The ListBlock constants now use fully-lowercased values instead of titlecased values
  • Significantly improved typing

Fixed

  • Fixed loose comparison when checking for table alignment
  • Fixed StaggeredDelimiterProcessor returning from a void function

Deprecated

  • The Converter class has been deprecated; use CommonMarkConverter instead (#438, #439)
  • The ConverterInterface has been deprecated; use MarkdownConverterInterface instead (#438, #439)
  • The bin/commonmark script has been deprecated
  • The following methods of ArrayCollection have been deprecated:
    • add()
    • set()
    • get()
    • remove()
    • isEmpty()
    • contains()
    • indexOf()
    • containsKey()
    • replaceWith()
    • removeGaps()
  • The ListBlock::TYPE_UNORDERED constant has been deprecated, use ListBlock::TYPE_BULLET instead