Skip to content

Releases: caseyamcl/toc

Version 2.0

09 Nov 16:16
Compare
Choose a tag to compare

Changed

  • BREAKING: TocGenerator::getMenu() returns an empty menu item instead of an empty array when no
    markup exists.
  • Improved unique identifier generation in MarkupFixer

Added

  • Markup test to test for non-standard attributes (e.g. Vue, Angular, etc)
  • Added support for more recent versions of cocur/slugify library in composer.json

Version 1.2

23 Mar 18:43
Compare
Choose a tag to compare

Changed

  • Formatting changes
  • PSR-2 code style compliance

Fixed

  • HtmlHelper evaluates body tags correctly (thanks @Schlaefer)
  • Removed composer.lock from Git
  • Removed IDE files (.idea) and replaced it with .editorconfig

Added

  • Added CONTRIBUTING.md, CODE_OF_CONDUCT.md, and PULL_REQUEST_TEMPLATE.md to make contributing easier
  • Added tests for PHP5.5, 5.6, 7.0, 7.1, and 7.2

Version 1.1

07 Apr 00:55
Compare
Choose a tag to compare

Changed

  • Replaced simple_dom_parser with masterminds/html5 parser library

Fixed

  • The MarkupFixer class now correctly preserves whitespace in HTML, correcting issues with code in pre.../pre tags

Added

  • Unit tests for Trait and Twig Extension to achieve 100% unit test coverage
  • Created a .gitattributes file