Releases: caseyamcl/toc
Releases · caseyamcl/toc
Version 2.0
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 incomposer.json
Version 1.2
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
, andPULL_REQUEST_TEMPLATE.md
to make contributing easier - Added tests for PHP5.5, 5.6, 7.0, 7.1, and 7.2
Version 1.1
Changed
- Replaced
simple_dom_parser
withmasterminds/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