Skip to content

Releases: ramsey/twig-codeblock

3.0.0

08 Mar 23:41
3.0.0
15e14f7
Compare
Choose a tag to compare

Added

  • Introduced an Attributes class to act as a fully-typed data transfer object of {% codeblock %} attributes.

  • Introduced a Highlighter\HighlighterReference class 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

18 Apr 07:43
2.0.0
bf3a940
Compare
Choose a tag to compare
  • 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 format and lang attributes
  • Use attributes for title, link, and link_text; stay closer to Octopress Codeblock
  • Introduce class and drop support for end and range
  • Remove phpopentag attribute 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

28 Mar 06:25
1.1.0
896f353
Compare
Choose a tag to compare
  • Lock symfony/process dependency to ^2.3
  • Add integration tests and improve Travis CI build process

1.0.1

17 Mar 18:56
Compare
Choose a tag to compare
  • Add project Contributor Code of Conduct
  • Update documentation and add contributing information
  • Cleanup code according to Scrutinzer issues

1.0.0

27 Feb 23:17
Compare
Choose a tag to compare

First stable release!