All Versions
58
Latest Version
Avg Release Cycle
34 days
Latest Release
89 days ago

Changelog History
Page 6

  • v1.1.1 Changes

    November 11, 2019

    ๐Ÿ›  Fixed

    • Fixed handling of link destinations with unbalanced unescaped parens
    • Fixed adding delimiters to stack which can neither open nor close a run
  • v1.1.0 Changes

    October 31, 2019

    โž• Added

    • โž• Added a new Html5EntityDecoder class (#387)

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Improved performance by 10% (#389)
    • Made entity decoding less memory-intensive (#386, #387)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed PHP 7.4 compatibility issues

    ๐Ÿ—„ Deprecated

    • ๐Ÿ—„ Deprecated the Html5Entities class - use Html5EntityDecoder instead (#387)
  • v1.0.0 Changes

    June 29, 2019

    No changes were made since 1.0.0-rc1.

  • v1.0.0-rc1 Changes

    June 19, 2019

    โž• Added

    • Extracted a ReferenceMapInterface from the ReferenceMap class
    • Added optional ReferenceMapInterface parameter to the Document constructor

    ๐Ÿ”„ Changed

    • Replaced all references to ReferenceMap with ReferenceMapInterface
    • ReferenceMap::addReference() no longer returns $this

    ๐Ÿ›  Fixed

    • Fixed bug where elements with content of "0" wouldn't be rendered (#376)
  • v1.0.0-beta4 Changes

    June 05, 2019

    โž• Added

    • Added event dispatcher functionality (#359, #372)

    โœ‚ Removed

    • Removed DocumentProcessorInterface functionality in favor of event dispatching (#373)
  • v1.0.0-beta3 Changes

    May 27, 2019

    ๐Ÿ”„ Changed

    • Made the Delimiter class final and extracted a new DelimiterInterface
      • Modified most external usages to use this new interface
    • Renamed three Delimiter methods:
      • getOrigDelims() renamed to getOriginalLength()
      • getNumDelims() renamed to getLength()
      • setNumDelims() renamed to setLength()
    • Made additional classes final:
      • DelimiterStack
      • ReferenceMap
      • ReferenceParser
    • Moved ReferenceParser into the Reference sub-namespace

    โœ‚ Removed

    • Removed unused Delimiter methods:
      • setCanOpen()
      • setCanClose()
      • setChar()
      • setIndex()
      • setInlineNode()
    • Removed fluent interface from Delimiter (setter methods now have no return values)
  • v1.0.0-beta2 Changes

    May 27, 2019

    ๐Ÿ”„ Changed

    • DelimiterProcessorInterface::process() will accept any type of AbstractStringContainer now, not just Text nodes
    • The Delimiter constructor, getInlineNode(), and setInlineNode() no longer accept generic Node elements - only AbstractStringContainers

    โœ‚ Removed

    • Removed all deprecated functionality:
      • The safe option (use html_input and allow_unsafe_links options instead)
      • All deprecated RegexHelper constants
      • DocParser::getEnvironment() (you should obtain it some other way)
      • AbstractInlineContainer (use AbstractInline instead and make isContainer() return true)
  • v1.0.0-beta1 Changes

    May 26, 2019

    โž• Added

    • Added proper support for delimiters, including custom delimiters
      • addDelimiterProcessor() added to ConfigurableEnvironmentInterface and Environment
    • Basic delimiters no longer need custom parsers - they'll be parsed automatically
    • Added new methods:
      • AdjacentTextMerger::mergeTextNodesBetweenExclusive()
      • CommonMarkConveter::getEnvironment()
      • Configuration::set()
    • Extracted some new interfaces from base classes:
      • DocParserInterface created from DocParser
      • ConfigurationInterface created from Configuration
      • ReferenceInterface created from Reference

    ๐Ÿ”„ Changed

    • Renamed several methods of the Configuration class:
      • getConfig() renamed to get()
      • mergeConfig() renamed to merge()
      • setConfig() renamed to replace()
    • Changed ConfigurationAwareInterface::setConfiguration() to accept the new ConfigurationInterface instead of the concrete class
    • Renamed the AdjoiningTextCollapser class to AdjacentTextMerger
      • Replaced its collapseTextNodes() method with the new mergeChildNodes() method
    • Made several classes final:
      • Configuration
      • DocParser
      • HtmlRenderer
      • InlineParserEngine
      • NodeWalker
      • Reference
      • All of the block/inline parsers and renderers
    • Reduced visibility of several internal methods to private:
      • DelimiterStack::findEarliest()
      • All protected methods in InlineParserEngine
    • Marked some classes and methods as @internal
    • ElementRendererInterface now requires a public renderInline() method; added this to HtmlRenderer
    • Changed InlineParserEngine::parse() to require an AbstractStringContainerBlock instead of the generic Node class
    • Un-deprecated the CommonmarkConverter::VERSION constant
    • The Converter constructor now requires an instance of DocParserInterface instead of the concrete DocParser
    • Changed Emphasis, Strong, and AbstractWebResource to directly extend AbstractInline instead of the (now-deprecated) intermediary AbstractInlineContainer class

    ๐Ÿ›  Fixed

    • Fixed null errors when inserting sibling Nodes without parents
    • Fixed NodeWalkerEvent not requiring a Node via its constructor
    • Fixed Reference::normalizeReference() improperly converting to uppercase instead of performing proper Unicode case-folding
    • Fixed strong emphasis delimiters not being preserved when enable_strong is set to false (it now works identically to enable_em)

    ๐Ÿ—„ Deprecated

    • Deprecated DocParser::getEnvironment() (you should obtain it some other way)
    • Deprecated AbstractInlineContainer (use AbstractInline instead and make isContainer() return true)

    โœ‚ Removed

    • Removed inline processor functionality now that we have proper delimiter support:
      • Removed addInlineProcessor() from ConfigurableEnvironmentInterface and Environment
      • Removed getInlineProcessors() from EnvironmentInterface and Environment
      • Removed EmphasisProcessor
      • Removed InlineProcessorInterface
    • Removed EmphasisParser now that we have proper delimiter support
    • Removed support for non-UTF-8-compatible encodings
      • Removed getEncoding() from ContextInterface
      • Removed getEncoding(), setEncoding(), and $encoding from Context
      • Removed getEncoding() and the second $encoding constructor param from Cursor
    • Removed now-unused methods
      • Removed DelimiterStack::getTop() (no replacement)
      • 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