CommonMark PHP v1.4.0 Release Notes
Release Date: 2020-04-18 // about 4 years ago-
➕ Added
- ➕ Added new Heading Permalink extension (#420)
- ➕ Added new Table of Contents extension (#441)
- ➕ Added new
MarkdownConverterInterface
as a long-term replacement forConverterInterface
(#439) - ➕ Added new
DocumentPreParsedEvent
event (#427, #359, #399) - Added new
ListBlock::TYPE_BULLET
constant as a replacement forListBlock::TYPE_UNORDERED
- ➕ Added new
MarkdownInput
class andMarkdownInputInterface
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 avoid
function
🗄 Deprecated
- 🗄 The
Converter
class has been deprecated; useCommonMarkConverter
instead (#438, #439) - 🗄 The
ConverterInterface
has been deprecated; useMarkdownConverterInterface
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, useListBlock::TYPE_BULLET
instead