Releases: caseyamcl/toc
Releases · caseyamcl/toc
Version 4.1.0
Version 4.0.0
Added
SluggerInterfaceinterface for newUniqueSluggerlogic
Changed
- Replaced
cocur/slugifywithsymfony/string - Renamed class
UniqueSlugify🠖UniqueSluggerand changed interface used inMarkupFixer- Renamed:
slugify🠖makeSlug - Added
reset()method
- Renamed:
- Modernized code and tests to PHP 8.2+ syntax
- Increased PHPStan checks to level 7
- Upgraded PHPUnit to v11
Removed
- Support for PHP < v8.2
- Support for Twig < v3
See UPGRADE.md for tips if you're upgrading from v3.
Version 3.2.0
Added
- PHP 8.2, 8.3, and 8.4 Github Builds
Changed
- Updated GitHub build action/checkout and action/cache
Fixed
- Dependency issue in
composer.jsonaffecting PHP7 versions - Build issue with PHPStan in
HtmlHelper - Implicit null in
TocGeneratorclass (for PHP 8.4)
Version 3.1
Added
- Build test for PHP 8.1
Changed
- The
MarkupFixernow prefixestoc-in cases where HTML tags are encountered with IDs that begin with a decimal
(thanks @ArdaGnsrn!) - Upgraded PHPStan to v1.4
Fixed
- Minor code and comment cleanup
Version 3.0.2
Added
- UniqueSlugifyTest to test the slugger on its own
Changed
- Bumped minimum PHP version up to v7.2
- Minor test code enhancements (thanks @peter279k!)
Removed
- Support for most pre-PHP7 versions of
cocur/slugify
Version 3.0.1
Added
- PHP >=8.0 support in
composer.json(fixes #13) - GitHub Actions build status badge in
README.md - PHPStan in dev dependencies
- Additional build checks (PHPStan and PHP-CS)
- Automatic SVG badge generation for code coverage
Removed
.travis.ymlbuild support (switched to Github Actions)- Build dependency on scrutinizer.org service
Version 3.0
Changed
- BREAKING: Renamed internal class
UniqueSluggifiertoUniqueSlugify - Minor comment fixes and make arguments optional in service constructors
- (dev) Added
*.cacheto gitignore (mostly for PHPUnit) - (dev) Made compatible with PHPUnit v9 and updated
phpunit.xml.distschema
Fixed
- Fixed bug from v2.3: If default slugifier is used (UniqueSlugify.php), then ensure unique instance each time
MarkupFixer::fix()is run. This will prevent it from continuing to generate unique slugs if used more than once.
Version 2.3.1
Fixed
- Backport: Fixed bug from v2.3: If default slugifier is used (UniqueSluggifier.php), then ensure unique instance each time
MarkupFixer::fix()is run. This will prevent it from continuing to generate unique slugs if used more than once.
Version 2.3
Version 2.2
Changed
- Added support Twig v3 in
composer.json - Minor change to
README.mdto get PhpStorm IDE to stop warning
Removed
- Dropped support for Twig < v2.4
- Dropped support for KnpMenu < v3.0
Fixed
- Bug with type-hints and older version of KnpMenu in
OrderedListRenderer