Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Releases: odan/twig-translation

3.1.0

25 Dec 21:35

Choose a tag to compare

Added

  • Add PHP 8 support

Removed

  • Remove PHP 7.2 support

3.0.1

06 Apr 20:41

Choose a tag to compare

Fixed

  • Fixed translation function for poedit

3.0.0

06 Apr 14:21

Choose a tag to compare

Breaking Canges

  • The translator has been decoupled the from the symfony/translation component. You can use your own translator, that implements the TranslatorInterface interface from symfony/translation-contracts .
  • The class TwigTranslationExtension requires a TranslatorInterface instance, instead of a callback function.
  • The __() function requires a TranslatorInterface to inject the translator and must be updated according to the readme.

Changes

  • Updated the readme
  • Removed travis from build process
  • Add github actions
  • Added more tests
  • Minor changes

2.0.2

22 Feb 12:54

Choose a tag to compare

Fixed

  • Fix TwigCompiler absolute cache path #5 - Thanks to darkalchemy for reporting

2.0.1

22 Feb 10:02

Choose a tag to compare

Fixed

  • Fix TwigCompiler absolute cache path #5 - Thanks to darkalchemy for reporting

2.0.0

16 Feb 19:49

Choose a tag to compare

Breaking Changes

  • Update to Twig 3
  • Removed deprecated dependency twig/extensions
  • Add final to all classes
  • Requires PHP 7.2+

Other

  • Update readme

1.3.1

30 Sep 19:44

Choose a tag to compare

  • Remove test namespace from release build

1.3.0

25 Aug 22:19

Choose a tag to compare

  • Add TwigCompiler verbose output (disabled by default)
  • Add Slim 4 documentation
  • Minor improvements

1.2.1

25 Aug 21:09

Choose a tag to compare

  • Enable TwigCompiler cache by default

1.2.0

12 Apr 21:21

Choose a tag to compare

  • Changed Twig class names and namespaces
  • Fixed code styles
  • Updated build environment
  • Added tests