Skip to content

Releases: thephpleague/commonmark

2.3.0

07 Apr 22:43
2.3.0
32a49eb
Compare
Choose a tag to compare

Added

  • Added new EmbedExtension (#805)
  • Added DocumentRendererInterface as a replacement for the now-deprecated MarkdownRendererInterface

Deprecated

  • Deprecated MarkdownRendererInterface; use DocumentRendererInterface instead

2.2.3

26 Feb 21:29
2.2.3
47b015b
Compare
Choose a tag to compare

Fixed

  • Fixed front matter parsing with Windows line endings (#821)

2.1.3

26 Feb 21:29
2.1.3
7cdfc40
Compare
Choose a tag to compare

Fixed

  • Fixed front matter parsing with Windows line endings (#821)

2.0.4

26 Feb 21:29
Compare
Choose a tag to compare

Fixed

  • Fixed front matter parsing with Windows line endings (#821)

2.2.2

13 Feb 15:03
2.2.2
13d7751
Compare
Choose a tag to compare

Fixed

  • Fixed double-escaping of image alt text (#806, #810)
  • Fixed Psalm typehints for event class names

2.1.2

13 Feb 14:58
2.1.2
34712ca
Compare
Choose a tag to compare

Fixed

  • Fixed double-escaping of image alt text (#806, #810)
  • Fixed Psalm typehints for event class names

2.0.3

13 Feb 14:23
2.0.3
36949f8
Compare
Choose a tag to compare

Fixed

  • Fixed double-escaping of image alt text (#806, #810)
  • Fixed Psalm typehints for event class names

2.2.1

25 Jan 14:41
2.2.1
f8afb78
Compare
Choose a tag to compare

Fixed

  • Fixed symfony/deprecation-contracts constraint

Removed

  • Removed deprecation trigger from MarkdownConverterInterface to reduce noise

2.2.0

22 Jan 14:07
2.2.0
c5aadcc
Compare
Choose a tag to compare

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

13 Jan 17:19
Compare
Choose a tag to compare

Changed

  • Added ReturnTypeWillChange attribute to prevent PHP 8.1 deprecation warnings (#785)
  • Coerced punctuation counts to integers to ensure floats are never used