Releases: ramsey/twig-codeblock
Releases · ramsey/twig-codeblock
3.0.0
Added
-
Introduced an
Attributesclass to act as a fully-typed data transfer object of{% codeblock %}attributes. -
Introduced a
Highlighter\HighlighterReferenceclass as a fully-typed data transfer object to specify which highlighter to use when compiling the Twig templates.
Changed
-
PHP 8.2 is the new minimum version required.
-
Twig 3.11.2 is the new minimum version required.
-
All classes in this package are now
final. -
Types are now declared everywhere.
-
ramsey/pygments is no longer a required dependency; it is a suggested dependency.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.
2.0.0
- Upgrade dependencies to require PHP 5.6 as the minimum PHP version
- Use ramsey/pygments for syntax highlighting with Pygments
- Quoted strings must now be used for
formatandlangattributes - Use attributes for
title,link, andlink_text; stay closer to Octopress Codeblock - Introduce
classand drop support forendandrange - Remove
phpopentagattribute and intelligently choose to "start inline" when using Pygments - Support extension for Twig 1.15 and up, including Twig 2.0 and up
1.1.0
1.0.1
- Add project Contributor Code of Conduct
- Update documentation and add contributing information
- Cleanup code according to Scrutinzer issues