Releases: thephpleague/commonmark
Releases · thephpleague/commonmark
2.3.0
Added
- Added new
EmbedExtension
(#805)
- Added
DocumentRendererInterface
as a replacement for the now-deprecated MarkdownRendererInterface
Deprecated
- Deprecated
MarkdownRendererInterface
; use DocumentRendererInterface
instead
2.2.3
Fixed
- Fixed front matter parsing with Windows line endings (#821)
2.1.3
Fixed
- Fixed front matter parsing with Windows line endings (#821)
2.0.4
Fixed
- Fixed front matter parsing with Windows line endings (#821)
2.2.2
Fixed
- Fixed double-escaping of image alt text (#806, #810)
- Fixed Psalm typehints for event class names
2.1.2
Fixed
- Fixed double-escaping of image alt text (#806, #810)
- Fixed Psalm typehints for event class names
2.0.3
Fixed
- Fixed double-escaping of image alt text (#806, #810)
- Fixed Psalm typehints for event class names
2.2.1
Fixed
- Fixed
symfony/deprecation-contracts
constraint
Removed
- Removed deprecation trigger from
MarkdownConverterInterface
to reduce noise
2.2.0
Added
- Added new
ConverterInterface
- Added new
MarkdownToXmlConverter
class
- Added new
HtmlDecorator
class which can wrap existing renderers with additional HTML tags
- Added new
table/wrap
config to apply an optional wrapping/container element around a table (#780)
Changed
HtmlElement
contents can now consist of any Stringable
, not just HtmlElement
and string
Deprecated
- Deprecated
MarkdownConverterInterface
and its convertToHtml()
method; use ConverterInterface
and convert()
instead
1.6.7
Changed
- Added
ReturnTypeWillChange
attribute to prevent PHP 8.1 deprecation warnings (#785)
- Coerced punctuation counts to integers to ensure floats are never used