Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
# Change Log
2
All notable changes to this project will be documented in this file.
3
Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
4
 
5
**Upgrading from 1.x?** See <https://commonmark.thephpleague.com/2.0/upgrading/> for additional information.
6
 
7
## [Unreleased][unreleased]
8
 
621 lars 9
## [2.3.9] - 2023-02-15
10
 
11
### Fixed
12
 
13
- Fixed autolink extension not detecting some URIs with underscores (#956)
14
 
148 lars 15
## [2.3.8] - 2022-12-10
16
 
17
### Fixed
18
 
19
- Fixed parsing issues when `mb_internal_encoding()` is set to something other than `UTF-8` (#951)
20
 
21
## [2.3.7] - 2022-11-03
22
 
23
### Fixed
24
 
25
- Fixed `TaskListItemMarkerRenderer` not including HTML attributes set on the node by other extensions (#947)
26
 
27
## [2.3.6] - 2022-10-30
28
 
29
### Fixed
30
 
31
- Fixed unquoted attribute parsing when closing curly brace is followed by certain characters (like a `.`) (#943)
32
 
33
## [2.3.5] - 2022-07-29
34
 
35
### Fixed
36
 
37
- Fixed error using `InlineParserEngine` when no inline parsers are registered in the `Environment` (#908)
38
 
39
## [2.3.4] - 2022-07-17
40
 
41
### Changed
42
 
43
- Made a number of small tweaks to the embed extension's parsing behavior to fix #898:
44
    - Changed `EmbedStartParser` to always capture embed-like lines in container blocks, regardless of parent block type
45
    - Changed `EmbedProcessor` to also remove `Embed` blocks that aren't direct children of the `Document`
46
    - Increased the priority of `EmbedProcessor` to `1010`
47
 
48
### Fixed
49
 
50
- Fixed `EmbedExtension` not parsing embeds following a list block (#898)
51
 
52
## [2.3.3] - 2022-06-07
53
 
54
### Fixed
55
 
56
- Fixed `DomainFilteringAdapter` not reindexing the embed list (#884, #885)
57
 
58
## [2.3.2] - 2022-06-03
59
 
60
### Fixed
61
 
62
- Fixed FootnoteExtension stripping extra characters from tab-indented footnotes (#881)
63
 
64
## [2.2.5] - 2022-06-03
65
 
66
### Fixed
67
 
68
- Fixed FootnoteExtension stripping extra characters from tab-indented footnotes (#881)
69
 
70
## [2.3.1] - 2022-05-14
71
 
72
### Fixed
73
 
74
- Fixed AutolinkExtension not ignoring trailing strikethrough syntax (#867)
75
 
76
## [2.2.4] - 2022-05-14
77
 
78
### Fixed
79
 
80
- Fixed AutolinkExtension not ignoring trailing strikethrough syntax (#867)
81
 
82
## [2.3.0] - 2022-04-07
83
 
84
### Added
85
 
86
- Added new `EmbedExtension` (#805)
87
- Added `DocumentRendererInterface` as a replacement for the now-deprecated `MarkdownRendererInterface`
88
 
89
### Deprecated
90
 
91
- Deprecated `MarkdownRendererInterface`; use `DocumentRendererInterface` instead
92
 
93
## [2.2.3] - 2022-02-26
94
 
95
### Fixed
96
 
97
- Fixed front matter parsing with Windows line endings (#821)
98
 
99
## [2.1.3] - 2022-02-26
100
 
101
### Fixed
102
 
103
- Fixed front matter parsing with Windows line endings (#821)
104
 
105
## [2.0.4] - 2022-02-26
106
 
107
### Fixed
108
 
109
- Fixed front matter parsing with Windows line endings (#821)
110
 
111
## [2.2.2] - 2022-02-13
112
 
113
### Fixed
114
 
115
- Fixed double-escaping of image alt text (#806, #810)
116
- Fixed Psalm typehints for event class names
117
 
118
## [2.2.1] - 2022-01-25
119
 
120
### Fixed
121
 
122
 - Fixed `symfony/deprecation-contracts` constraint
123
 
124
### Removed
125
 
126
 - Removed deprecation trigger from `MarkdownConverterInterface` to reduce noise
127
 
128
## [2.2.0] - 2022-01-22
129
 
130
### Added
131
 
132
 - Added new `ConverterInterface`
133
 - Added new `MarkdownToXmlConverter` class
134
 - Added new `HtmlDecorator` class which can wrap existing renderers with additional HTML tags
135
 - Added new `table/wrap` config to apply an optional wrapping/container element around a table (#780)
136
 
137
### Changed
138
 
139
 - `HtmlElement` contents can now consist of any `Stringable`, not just `HtmlElement` and `string`
140
 
141
### Deprecated
142
 
143
 - Deprecated `MarkdownConverterInterface` and its `convertToHtml()` method; use `ConverterInterface` and `convert()` instead
144
 
145
## [2.1.2] - 2022-02-13
146
 
147
### Fixed
148
 
149
- Fixed double-escaping of image alt text (#806, #810)
150
- Fixed Psalm typehints for event class names
151
 
152
## [2.1.1] - 2022-01-02
153
 
154
### Added
155
 
156
 - Added missing return type to `Environment::dispatch()` to fix deprecation warning (#778)
157
 
158
## [2.1.0] - 2021-12-05
159
 
160
### Added
161
 
162
- Added support for ext-yaml in FrontMatterExtension (#715)
163
- Added support for symfony/yaml v6.0 in FrontMatterExtension (#739)
164
- Added new `heading_permalink/aria_hidden` config option (#741)
165
 
166
### Fixed
167
 
168
 - Fixed PHP 8.1 deprecation warning (#759, #762)
169
 
170
## [2.0.3] - 2022-02-13
171
 
172
### Fixed
173
 
174
- Fixed double-escaping of image alt text (#806, #810)
175
- Fixed Psalm typehints for event class names
176
 
177
## [2.0.2] - 2021-08-14
178
 
179
### Changed
180
 
181
- Bumped minimum version of league/config to support PHP 8.1
182
 
183
### Fixed
184
 
185
- Fixed ability to register block parsers that identify lines starting with letters (#706)
186
 
187
## [2.0.1] - 2021-07-31
188
 
189
### Fixed
190
 
191
- Fixed nested autolinks (#689)
192
- Fixed description lists being parsed incorrectly (#692)
193
- Fixed Table of Contents not respecting Heading Permalink prefixes (#690)
194
 
195
## [2.0.0] - 2021-07-24
196
 
197
No changes were introduced since the previous RC2 release.
198
See all entries below for a list of changes between 1.x and 2.0.
199
 
200
## [2.0.0-rc2] - 2021-07-17
201
 
202
### Fixed
203
 
204
- Fixed Mentions inside of links creating nested links against the spec's rules (#688)
205
 
206
## [2.0.0-rc1] - 2021-07-10
207
 
208
No changes were introduced since the previous release.
209
 
210
## [2.0.0-beta3] - 2021-07-03
211
 
212
### Changed
213
 
214
 - Any leading UTF-8 BOM will be stripped from the input
215
 - The `getEnvironment()` method of `CommonMarkConverter` and `GithubFlavoredMarkdownConverter` will always return the concrete, configurable `Environment` for upgrading convenience
216
 - Optimized AST iteration
217
 - Lots of small micro-optimizations
218
 
219
## [2.0.0-beta2] - 2021-06-27
220
 
221
### Added
222
 
223
- Added new `Node::iterator()` method and `NodeIterator` class for faster AST iteration (#683, #684)
224
 
225
### Changed
226
 
227
- Made compatible with CommonMark spec 0.30.0
228
- Optimized link label parsing
229
- Optimized AST iteration for a 50% performance boost in some event listeners (#683, #684)
230
 
231
### Fixed
232
 
233
- Fixed processing instructions with EOLs
234
- Fixed case-insensitive matching for HTML tag types
235
- Fixed type 7 HTML blocks incorrectly interrupting lazy paragraphs
236
- Fixed newlines in reference labels not collapsing into spaces
237
- Fixed link label normalization with escaped newlines
238
- Fixed unnecessary AST iteration when no default attributes are configured
239
 
240
## [2.0.0-beta1] - 2021-06-20
241
 
242
### Added
243
 
244
 - **Added three new extensions:**
245
   - `FrontMatterExtension` ([see documentation](https://commonmark.thephpleague.com/extensions/front-matter/))
246
   - `DescriptionListExtension` ([see documentation](https://commonmark.thephpleague.com/extensions/description-lists/))
247
   - `DefaultAttributesExtension` ([see documentation](https://commonmark.thephpleague.com/extensions/default-attributes/))
248
 - **Added new `XmlRenderer` to simplify AST debugging** ([see documentation](https://commonmark.thephpleague.com/xml/)) (#431)
249
 - **Added the ability to configure disallowed raw HTML tags** (#507)
250
 - **Added the ability for Mentions to use multiple characters for their symbol** (#514, #550)
251
 - **Added the ability to delegate event dispatching to PSR-14 compliant event dispatcher libraries**
252
 - **Added new configuration options:**
253
   - Added `heading_permalink/min_heading_level` and `heading_permalink/max_heading_level` options to control which headings get permalinks (#519)
254
   - Added `heading_permalink/fragment_prefix` to allow customizing the URL fragment prefix (#602)
255
   - Added `footnote/backref_symbol` option for customizing backreference link appearance (#522)
256
   - Added `slug_normalizer/max_length` option to control the maximum length of generated URL slugs
257
   - Added `slug_normalizer/unique` option to control whether unique slugs should be generated per-document or per-environment
258
 - **Added purity markers throughout the codebase** (verified with Psalm)
259
 - Added `Query` class to simplify Node traversal when looking to take action on certain Nodes
260
 - Added new `HtmlFilter` and `StringContainerHelper` utility classes
261
 - Added new `AbstractBlockContinueParser` class to simplify the creation of custom block parsers
262
 - Added several new classes and interfaces:
263
   - `BlockContinue`
264
   - `BlockContinueParserInterface`
265
   - `BlockContinueParserWithInlinesInterface`
266
   - `BlockStart`
267
   - `BlockStartParserInterface`
268
   - `ChildNodeRendererInterface`
269
   - `ConfigurableExtensionInterface`
270
   - `CursorState`
271
   - `DashParser` (extracted from `PunctuationParser`)
272
   - `DelimiterParser`
273
   - `DocumentBlockParser`
274
   - `DocumentPreRenderEvent`
275
   - `DocumentRenderedEvent`
276
   - `EllipsesParser` (extracted from `PunctuationParser`)
277
   - `ExpressionInterface`
278
   - `FallbackNodeXmlRenderer`
279
   - `InlineParserEngineInterface`
280
   - `InlineParserMatch`
281
   - `MarkdownParserState`
282
   - `MarkdownParserStateInterface`
283
   - `MarkdownRendererInterface`
284
   - `Query`
285
   - `RawMarkupContainerInterface`
286
   - `ReferenceableInterface`
287
   - `RenderedContent`
288
   - `RenderedContentInterface`
289
   - `ReplaceUnpairedQuotesListener`
290
   - `SpecReader`
291
   - `TableOfContentsRenderer`
292
   - `UniqueSlugNormalizer`
293
   - `UniqueSlugNormalizerInterface`
294
   - `XmlRenderer`
295
   - `XmlNodeRendererInterface`
296
 - Added several new methods:
297
   - `Cursor::getCurrentCharacter()`
298
   - `Environment::createDefaultConfiguration()`
299
   - `Environment::setEventDispatcher()`
300
   - `EnvironmentInterface::getExtensions()`
301
   - `EnvironmentInterface::getInlineParsers()`
302
   - `EnvironmentInterface::getSlugNormalizer()`
303
   - `FencedCode::setInfo()`
304
   - `Heading::setLevel()`
305
   - `HtmlRenderer::renderDocument()`
306
   - `InlineParserContext::getFullMatch()`
307
   - `InlineParserContext::getFullMatchLength()`
308
   - `InlineParserContext::getMatches()`
309
   - `InlineParserContext::getSubMatches()`
310
   - `LinkParserHelper::parsePartialLinkLabel()`
311
   - `LinkParserHelper::parsePartialLinkTitle()`
312
   - `Node::assertInstanceOf()`
313
   - `RegexHelper::isLetter()`
314
   - `StringContainerInterface::setLiteral()`
315
   - `TableCell::getType()`
316
   - `TableCell::setType()`
317
   - `TableCell::getAlign()`
318
   - `TableCell::setAlign()`
319
 
320
### Changed
321
 
322
 - **Changed the converter return type**
323
   - `CommonMarkConverter::convertToHtml()` now returns an instance of `RenderedContentInterface`. This can be cast to a string for backward compatibility with 1.x.
324
 - **Table of Contents items are no longer wrapped with `<p>` tags** (#613)
325
 - **Heading Permalinks now link to element IDs instead of using `name` attributes** (#602)
326
 - **Heading Permalink IDs and URL fragments now have a `content` prefix by default** (#602)
327
 - **Changes to configuration options:**
328
     - `enable_em` has been renamed to `commonmark/enable_em`
329
     - `enable_strong` has been renamed to `commonmark/enable_strong`
330
     - `use_asterisk` has been renamed to `commonmark/use_asterisk`
331
     - `use_underscore` has been renamed to `commonmark/use_underscore`
332
     - `unordered_list_markers` has been renamed to `commonmark/unordered_list_markers`
333
     - `mentions/*/symbol` has been renamed to `mentions/*/prefix`
334
     - `mentions/*/regex` has been renamed to `mentions/*/pattern` and requires partial regular expressions (without delimiters or flags)
335
     - `max_nesting_level` now defaults to `PHP_INT_MAX` and no longer supports floats
336
     - `heading_permalink/slug_normalizer` has been renamed to `slug_normalizer/instance`
337
 - **Event dispatching is now fully PSR-14 compliant**
338
 - **Moved and renamed several classes** - [see the full list here](https://commonmark.thephpleague.com/2.0/upgrading/#classesnamespaces-renamed)
339
 - The `HeadingPermalinkExtension` and `FootnoteExtension` were modified to ensure they never produce a slug which conflicts with slugs created by the other extension
340
 - `SlugNormalizer::normalizer()` now supports optional prefixes and max length options passed in via the `$context` argument
341
 - The `AbstractBlock::$data` and `AbstractInline::$data` arrays were replaced with a `Data` array-like object on the base `Node` class
342
 - **Implemented a new approach to block parsing.** This was a massive change, so here are the highlights:
343
   - Functionality previously found in block parsers and node elements has moved to block parser factories and block parsers, respectively ([more details](https://commonmark.thephpleague.com/2.0/upgrading/#new-block-parsing-approach))
344
   - `ConfigurableEnvironmentInterface::addBlockParser()` is now `EnvironmentBuilderInterface::addBlockParserFactory()`
345
   - `ReferenceParser` was re-implemented and works completely different than before
346
   - The paragraph parser no longer needs to be added manually to the environment
347
 - **Implemented a new approach to inline parsing** where parsers can now specify longer strings or regular expressions they want to parse (instead of just single characters):
348
   - `InlineParserInterface::getCharacters()` is now `getMatchDefinition()` and returns an instance of `InlineParserMatch`
349
   - `InlineParserContext::__construct()` now requires the contents to be provided as a `Cursor` instead of a `string`
350
 - **Implemented delimiter parsing as a special type of inline parser** (via the new `DelimiterParser` class)
351
 - **Changed block and inline rendering to use common methods and interfaces**
352
   - `BlockRendererInterface` and `InlineRendererInterface` were replaced by `NodeRendererInterface` with slightly different parameters. All core renderers now implement this interface.
353
   - `ConfigurableEnvironmentInterface::addBlockRenderer()` and `addInlineRenderer()` were combined into `EnvironmentBuilderInterface::addRenderer()`
354
   - `EnvironmentInterface::getBlockRenderersForClass()` and `getInlineRenderersForClass()` are now just `getRenderersForClass()`
355
 - **Completely refactored the Configuration implementation**
356
   - All configuration-specific classes have been moved into a new `league/config` package with a new namespace
357
   - `Configuration` objects must now be configured with a schema and all options must match that schema - arbitrary keys are no longer permitted
358
   - `Configuration::__construct()` no longer accepts the default configuration values - use `Configuration::merge()` instead
359
   - `ConfigurationInterface` now only contains a `get(string $key)`; this method no longer allows arbitrary default values to be returned if the option is missing
360
   - `ConfigurableEnvironmentInterface` was renamed to `EnvironmentBuilderInterface`
361
   - `ExtensionInterface::register()` now requires an `EnvironmentBuilderInterface` param instead of `ConfigurableEnvironmentInterface`
362
 - **Added missing return types to virtually every class and interface method**
363
 - Re-implemented the GFM Autolink extension using the new inline parser approach instead of document processors
364
   - `EmailAutolinkProcessor` is now `EmailAutolinkParser`
365
   - `UrlAutolinkProcessor` is now `UrlAutolinkParser`
366
 - `HtmlElement` can now properly handle array (i.e. `class`) and boolean (i.e. `checked`) attribute values
367
 - `HtmlElement` automatically flattens any attributes with array values into space-separated strings, removing duplicate entries
368
 - Combined separate classes/interfaces into one:
369
   - `DisallowedRawHtmlRenderer` replaces `DisallowedRawHtmlBlockRenderer` and `DisallowedRawHtmlInlineRenderer`
370
   - `NodeRendererInterface` replaces `BlockRendererInterface` and `InlineRendererInterface`
371
 - Renamed the following methods:
372
   - `Environment` and `ConfigurableEnvironmentInterface`:
373
     - `addBlockParser()` is now `addBlockStartParser()`
374
   - `ReferenceMap` and `ReferenceMapInterface`:
375
     - `addReference()` is now `add()`
376
     - `getReference()` is now `get()`
377
     - `listReferences()` is now `getIterator()`
378
   - Various node (block/inline) classes:
379
     - `getContent()` is now `getLiteral()`
380
     - `setContent()` is now `setLiteral()`
381
 - Moved and renamed the following constants:
382
   - `EnvironmentInterface::HTML_INPUT_ALLOW` is now `HtmlFilter::ALLOW`
383
   - `EnvironmentInterface::HTML_INPUT_ESCAPE` is now `HtmlFilter::ESCAPE`
384
   - `EnvironmentInterface::HTML_INPUT_STRIP` is now `HtmlFilter::STRIP`
385
   - `TableCell::TYPE_HEAD` is now `TableCell::TYPE_HEADER`
386
   - `TableCell::TYPE_BODY` is now `TableCell::TYPE_DATA`
387
 - Changed the visibility of the following properties:
388
   - `AttributesInline::$attributes` is now `private`
389
   - `AttributesInline::$block` is now `private`
390
   - `TableCell::$align` is now `private`
391
   - `TableCell::$type` is now `private`
392
   - `TableSection::$type` is now `private`
393
 - Several methods which previously returned `$this` now return `void`
394
   - `Delimiter::setPrevious()`
395
   - `Node::replaceChildren()`
396
   - `Context::setTip()`
397
   - `Context::setContainer()`
398
   - `Context::setBlocksParsed()`
399
   - `AbstractStringContainer::setContent()`
400
   - `AbstractWebResource::setUrl()`
401
 - Several classes are now marked `final`:
402
   - `ArrayCollection`
403
   - `Emphasis`
404
   - `FencedCode`
405
   - `Heading`
406
   - `HtmlBlock`
407
   - `HtmlElement`
408
   - `HtmlInline`
409
   - `IndentedCode`
410
   - `Newline`
411
   - `Strikethrough`
412
   - `Strong`
413
   - `Text`
414
 - `Heading` nodes no longer directly contain a copy of their inner text
415
 - `StringContainerInterface` can now be used for inlines, not just blocks
416
 - `ArrayCollection` only supports integer keys
417
 - `HtmlElement` now implements `Stringable`
418
 - `Cursor::saveState()` and `Cursor::restoreState()` now use `CursorState` objects instead of arrays
419
 - `NodeWalker::next()` now enters, traverses any children, and leaves all elements which may have children (basically all blocks plus any inlines with children). Previously, it only did this for elements explicitly marked as "containers".
420
 - `InvalidOptionException` was removed
421
 - Anything with a `getReference(): ReferenceInterface` method now implements `ReferencableInterface`
422
 - The `SmartPunct` extension now replaces all unpaired `Quote` elements with `Text` elements towards the end of parsing, making the `QuoteRenderer` unnecessary
423
 - Several changes made to the Footnote extension:
424
   - Footnote identifiers can no longer contain spaces
425
   - Anonymous footnotes can now span subsequent lines
426
   - Footnotes can now contain multiple lines of content, including sub-blocks, by indenting them
427
   - Footnote event listeners now have numbered priorities (but still execute in the same order)
428
   - Footnotes must now be separated from previous content by a blank line
429
 - The line numbers (keys) returned via `MarkdownInput::getLines()` now start at 1 instead of 0
430
 - `DelimiterProcessorCollectionInterface` now extends `Countable`
431
 - `RegexHelper::PARTIAL_` constants must always be used in case-insensitive contexts
432
 - `HeadingPermalinkProcessor` no longer accepts text normalizers via the constructor - these must be provided via configuration instead
433
 - Blocks which can't contain inlines will no longer be asked to render inlines
434
 - `AnonymousFootnoteRefParser` and `HeadingPermalinkProcessor` now implement `EnvironmentAwareInterface` instead of `ConfigurationAwareInterface`
435
 - The second argument to `TextNormalizerInterface::normalize()` must now be an array
436
 - The `title` attribute for `Link` and `Image` nodes is now stored using a dedicated property instead of stashing it in `$data`
437
 - `ListData::$delimiter` now returns either `ListBlock::DELIM_PERIOD` or `ListBlock::DELIM_PAREN` instead of the literal delimiter
438
 
439
### Fixed
440
 
441
 - **Fixed parsing of footnotes without content**
442
 - **Fixed rendering of orphaned footnotes and footnote refs**
443
 - **Fixed some URL autolinks breaking too early** (#492)
444
 - Fixed `AbstractStringContainer` not actually being `abstract`
445
 
446
### Removed
447
 
448
 - **Removed support for PHP 7.1, 7.2, and 7.3** (#625, #671)
449
 - **Removed all previously-deprecated functionality:**
450
   - Removed the ability to pass custom `Environment` instances into the `CommonMarkConverter` and `GithubFlavoredMarkdownConverter` constructors
451
   - Removed the `Converter` class and `ConverterInterface`
452
   - Removed the `bin/commonmark` script
453
   - Removed the `Html5Entities` utility class
454
   - Removed the `InlineMentionParser` (use `MentionParser` instead)
455
   - Removed `DefaultSlugGenerator` and `SlugGeneratorInterface` from the `Extension/HeadingPermalink/Slug` sub-namespace (use the new ones under `./SlugGenerator` instead)
456
   - Removed the following `ArrayCollection` methods:
457
     - `add()`
458
     - `set()`
459
     - `get()`
460
     - `remove()`
461
     - `isEmpty()`
462
     - `contains()`
463
     - `indexOf()`
464
     - `containsKey()`
465
     - `replaceWith()`
466
     - `removeGaps()`
467
   - Removed the `ConfigurableEnvironmentInterface::setConfig()` method
468
   - Removed the `ListBlock::TYPE_UNORDERED` constant
469
   - Removed the `CommonMarkConverter::VERSION` constant
470
   - Removed the `HeadingPermalinkRenderer::DEFAULT_INNER_CONTENTS` constant
471
   - Removed the `heading_permalink/inner_contents` configuration option
472
 - **Removed now-unused classes:**
473
   - `AbstractStringContainerBlock`
474
   - `BlockRendererInterface`
475
   - `Context`
476
   - `ContextInterface`
477
   - `Converter`
478
   - `ConverterInterface`
479
   - `InlineRendererInterface`
480
   - `PunctuationParser` (was split into two classes: `DashParser` and `EllipsesParser`)
481
   - `QuoteRenderer`
482
   - `UnmatchedBlockCloser`
483
 - Removed the following methods, properties, and constants:
484
   - `AbstractBlock::$open`
485
   - `AbstractBlock::$lastLineBlank`
486
   - `AbstractBlock::isContainer()`
487
   - `AbstractBlock::canContain()`
488
   - `AbstractBlock::isCode()`
489
   - `AbstractBlock::matchesNextLine()`
490
   - `AbstractBlock::endsWithBlankLine()`
491
   - `AbstractBlock::setLastLineBlank()`
492
   - `AbstractBlock::shouldLastLineBeBlank()`
493
   - `AbstractBlock::isOpen()`
494
   - `AbstractBlock::finalize()`
495
   - `AbstractBlock::getData()`
496
   - `AbstractInline::getData()`
497
   - `ConfigurableEnvironmentInterface::addBlockParser()`
498
   - `ConfigurableEnvironmentInterface::mergeConfig()`
499
   - `Delimiter::setCanClose()`
500
   - `EnvironmentInterface::getConfig()`
501
   - `EnvironmentInterface::getInlineParsersForCharacter()`
502
   - `EnvironmentInterface::getInlineParserCharacterRegex()`
503
   - `HtmlRenderer::renderBlock()`
504
   - `HtmlRenderer::renderBlocks()`
505
   - `HtmlRenderer::renderInline()`
506
   - `HtmlRenderer::renderInlines()`
507
   - `Node::isContainer()`
508
   - `RegexHelper::matchAll()` (use the new `matchFirst()` method instead)
509
   - `RegexHelper::REGEX_WHITESPACE`
510
 - Removed the second `$contents` argument from the `Heading` constructor
511
 
512
### Deprecated
513
 
514
**The following things have been deprecated and will not be supported in v3.0:**
515
 
516
 - `Environment::mergeConfig()` (set configuration before instantiation instead)
517
 - `Environment::createCommonMarkEnvironment()` and `Environment::createGFMEnvironment()`
518
    - Alternative 1: Use `CommonMarkConverter` or `GithubFlavoredMarkdownConverter` if you don't need to customize the environment
519
    - Alternative 2: Instantiate a new `Environment` and add the necessary extensions yourself
520
 
621 lars 521
[unreleased]: https://github.com/thephpleague/commonmark/compare/2.3.9...main
522
[2.3.9]: https://github.com/thephpleague/commonmark/compare/2.3.8...2.3.9
148 lars 523
[2.3.8]: https://github.com/thephpleague/commonmark/compare/2.3.7...2.3.8
524
[2.3.7]: https://github.com/thephpleague/commonmark/compare/2.3.6...2.3.7
525
[2.3.6]: https://github.com/thephpleague/commonmark/compare/2.3.5...2.3.6
526
[2.3.5]: https://github.com/thephpleague/commonmark/compare/2.3.4...2.3.5
527
[2.3.4]: https://github.com/thephpleague/commonmark/compare/2.3.3...2.3.4
528
[2.3.3]: https://github.com/thephpleague/commonmark/compare/2.3.2...2.3.3
529
[2.3.2]: https://github.com/thephpleague/commonmark/compare/2.3.2...main
530
[2.3.1]: https://github.com/thephpleague/commonmark/compare/2.3.0...2.3.1
531
[2.3.0]: https://github.com/thephpleague/commonmark/compare/2.2.3...2.3.0
532
[2.2.5]: https://github.com/thephpleague/commonmark/compare/2.2.4...2.2.5
533
[2.2.4]: https://github.com/thephpleague/commonmark/compare/2.2.3...2.2.4
534
[2.2.3]: https://github.com/thephpleague/commonmark/compare/2.2.2...2.2.3
535
[2.2.2]: https://github.com/thephpleague/commonmark/compare/2.2.1...2.2.2
536
[2.2.1]: https://github.com/thephpleague/commonmark/compare/2.2.0...2.2.1
537
[2.2.0]: https://github.com/thephpleague/commonmark/compare/2.1.1...2.2.0
538
[2.1.3]: https://github.com/thephpleague/commonmark/compare/2.1.2...2.1.3
539
[2.1.2]: https://github.com/thephpleague/commonmark/compare/2.1.1...2.1.2
540
[2.1.1]: https://github.com/thephpleague/commonmark/compare/2.0.2...2.1.1
541
[2.1.0]: https://github.com/thephpleague/commonmark/compare/2.0.2...2.1.0
542
[2.0.4]: https://github.com/thephpleague/commonmark/compare/2.0.3...2.0.4
543
[2.0.3]: https://github.com/thephpleague/commonmark/compare/2.0.2...2.0.3
544
[2.0.2]: https://github.com/thephpleague/commonmark/compare/2.0.1...2.0.2
545
[2.0.1]: https://github.com/thephpleague/commonmark/compare/2.0.0...2.0.1
546
[2.0.0]: https://github.com/thephpleague/commonmark/compare/2.0.0-rc2...2.0.0
547
[2.0.0-rc2]: https://github.com/thephpleague/commonmark/compare/2.0.0-rc1...2.0.0-rc2
548
[2.0.0-rc1]: https://github.com/thephpleague/commonmark/compare/2.0.0-beta3...2.0.0-rc1
549
[2.0.0-beta3]: https://github.com/thephpleague/commonmark/compare/2.0.0-beta2...2.0.0-beta3
550
[2.0.0-beta2]: https://github.com/thephpleague/commonmark/compare/2.0.0-beta1...2.0.0-beta2
551
[2.0.0-beta1]: https://github.com/thephpleague/commonmark/compare/1.6...2.0.0-beta1