Releases: thephpleague/commonmark
Releases · thephpleague/commonmark
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
No changes were introduced since the previous 2.0.0-rc2 release.
Please refer to the full Changelog for a list of all changes between 1.x and 2.0. An upgrading guide is also available.
2.0.0-rc2
1.6.6
2.0.0-rc1
No changes were introduced since the previous release.
2.0.0-beta3
Changed
- Any leading UTF-8 BOM will be stripped from the input
- The
getEnvironment()
method ofCommonMarkConverter
andGithubFlavoredMarkdownConverter
will always return the concrete, configurableEnvironment
for upgrading convenience - Optimized AST iteration
- Lots of small micro-optimizations
2.0.0-beta2
See https://commonmark.thephpleague.com/2.0/upgrading/ for detailed information on upgrading to version 2.0.
Added
Changed
- Made compatible with CommonMark spec 0.30.0
- Optimized link label parsing
- Optimized AST iteration for a 50% performance boost in some event listeners (#683, #684)
Fixed
- Fixed processing instructions with EOLs
- Fixed case-insensitive matching for HTML tag types
- Fixed type 7 HTML blocks incorrectly interrupting lazy paragraphs
- Fixed newlines in reference labels not collapsing into spaces
- Fixed link label normalization with escaped newlines
- Fixed unnecessary AST iteration when no default attributes are configured