diff options
Diffstat (limited to 'vendor/league/commonmark/CHANGELOG.md')
| -rw-r--r-- | vendor/league/commonmark/CHANGELOG.md | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/vendor/league/commonmark/CHANGELOG.md b/vendor/league/commonmark/CHANGELOG.md index f506d92fd3..f6aaa5fde2 100644 --- a/vendor/league/commonmark/CHANGELOG.md +++ b/vendor/league/commonmark/CHANGELOG.md @@ -4,6 +4,46 @@ Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) princi ## [Unreleased][unreleased] +## [1.5.0] - 2020-06-21 + +### Added + + - Added new `AttributesExtension` based on <https://github.com/webuni/commonmark-attributes-extension> (#474) + - Added new `FootnoteExtension` based on <https://github.com/rezozero/commonmark-ext-footnotes> (#474) + - Added new `MentionExtension` to replace `InlineMentionParser` with more flexibility and customization + - Added the ability to render `TableOfContents` nodes anywhere in a document (given by a placeholder) + - Added the ability to properly clone `Node` objects + - Added options to customize the value of `rel` attributes set via the `ExternalLink` extension (#476) + - Added a new `heading_permalink/slug_normalizer` configuration option to allow custom slug generation (#460) + - Added a new `heading_permalink/symbol` configuration option to replace the now deprecated `heading_permalink/inner_contents` configuration option (#505) + - Added `SlugNormalizer` and `TextNormalizer` classes to make normalization reusable by extensions (#485) + - Added new classes: + - `TableOfContentsGenerator` + - `TableOfContentsGeneratorInterface` + - `TableOfContentsPlaceholder` + - `TableOfContentsPlaceholderParser` + - `TableOfContentsPlaceholderRenderer` + +### Changed + + - "Moved" the `TableOfContents` class into a new `Node` sub-namespace (with backward-compatibility) + - Reference labels are now generated and stored in lower-case instead of upper-case + - Reference labels are no longer normalized inside the `Reference`, only the `ReferenceMap` + +### Fixed + + - Fixed reference label case folding polyfill not being consistent between different PHP versions + +### Deprecated + + - Deprecated the `CommonMarkConverter::VERSION` constant (#496) + - Deprecated `League\CommonMark\Extension\Autolink\InlineMentionParser` (use `League\CommonMark\Extension\Mention\MentionParser` instead) + - Deprecated everything under `League\CommonMark\Extension\HeadingPermalink\Slug` (use the classes under `League\CommonMark\Normalizer` instead) + - Deprecated `League\CommonMark\Extension\TableOfContents\TableOfContents` (use the one in the new `Node` sub-namespace instead) + - Deprecated the `STYLE_` and `NORMALIZE_` constants in `TableOfContentsBuilder` (use the ones in `TableOfContentsGenerator` instead) + - Deprecated the `\League\CommonMark\Extension\HeadingPermalink\HeadingPermalinkRenderer::DEFAULT_INNER_CONTENTS` constant (#505) + - Deprecated the `heading_permalink/inner_contents` configuration option in the `HeadingPermalink` extension (use the new `heading_permalink/symbol` configuration option instead) (#505) + ## [1.4.3] - 2020-05-04 ### Fixed @@ -301,7 +341,8 @@ No changes were made since 1.0.0-rc1. - Removed `DelimiterStack::iterateByCharacters()` (use the new `processDelimiters()` method instead) - Removed the protected `DelimiterStack::findMatchingOpener()` method -[unreleased]: https://github.com/thephpleague/commonmark/compare/1.4.3...HEAD +[unreleased]: https://github.com/thephpleague/commonmark/compare/1.5.0...HEAD +[1.5.0]: https://github.com/thephpleague/commonmark/compare/1.4.3...1.5.0 [1.4.3]: https://github.com/thephpleague/commonmark/compare/1.4.2...1.4.3 [1.4.2]: https://github.com/thephpleague/commonmark/compare/1.4.1...1.4.2 [1.4.1]: https://github.com/thephpleague/commonmark/compare/1.4.0...1.4.1 |
