2012-04-26 21:53:20 +01:00
CHANGELOG
=========
2019-05-29 17:42:27 +01:00
5.0.0
-----
* updated default value for the `strict_variables` option to `%kernel.debug%` parameter
2019-05-28 22:10:04 +01:00
* removed support to load templates from the legacy directories `src/Resources/views/` and `src/Resources/<BundleName>/views/`
2019-06-03 03:41:00 +01:00
* removed `TwigEngine` class, use `Twig\Environment` instead
* removed `FilesystemLoader` and `NativeFilesystemLoader` , use Twig notation for templates instead
2019-05-29 17:42:27 +01:00
2019-06-03 17:55:55 +01:00
4.4.0
-----
* marked the `TemplateIterator` as `internal`
2019-05-21 08:45:21 +01:00
* added HTML comment to beginning and end of `exception_full.html.twig`
2019-06-03 17:55:55 +01:00
2018-10-16 15:49:09 +01:00
4.2.0
-----
* deprecated support for legacy templates directories `src/Resources/views/` and `src/Resources/<BundleName>/views/` , use `templates/` and `templates/bundles/<BundleName>/` instead.
2017-10-31 21:52:50 +00:00
4.1.0
-----
* added priority to Twig extensions
2018-01-12 21:15:14 +00:00
* deprecated relying on the default value (`false`) of the `twig.strict_variables` configuration option. The `%kernel.debug%` parameter will be the new default in 5.0
2017-10-31 21:52:50 +00:00
2018-01-01 12:55:57 +00:00
4.0.0
2017-05-18 08:47:18 +01:00
-----
* removed `ContainerAwareRuntimeLoader`
2017-07-15 11:11:15 +01:00
3.4.0
-----
2017-09-19 18:13:19 +01:00
* added exclusive Twig namespace only for root bundles
2017-07-15 11:11:15 +01:00
* deprecated `Symfony\Bundle\TwigBundle\Command\DebugCommand` , use `Symfony\Bridge\Twig\Command\DebugCommand` instead
* deprecated relying on the `ContainerAwareInterface` implementation for `Symfony\Bundle\TwigBundle\Command\LintCommand`
2017-09-01 22:54:17 +01:00
* added option to configure default path templates (via `default_path` )
2017-07-15 11:11:15 +01:00
2017-02-14 19:09:41 +00:00
3.3.0
-----
* Deprecated `ContainerAwareRuntimeLoader`
2014-12-28 18:57:17 +00:00
2.7.0
-----
2015-01-30 08:44:56 +00:00
* made it possible to configure the default formats for both the `date` and the `number_format` filter
2014-12-28 18:57:17 +00:00
* added support for the new Asset component (from Twig bridge)
* deprecated the assets extension (use the one from the Twig bridge instead)
2014-06-07 20:47:27 +01:00
2.6.0
-----
* [BC BREAK] changed exception.json.twig to match same structure as error.json.twig making clients independent of runtime environment.
2013-03-26 11:13:06 +00:00
2.3.0
-----
2013-04-21 09:18:50 +01:00
* added option to configure a custom template escaping guesser (via `autoescape_service` and `autoescape_service_method` )
2013-03-26 11:13:06 +00:00
2012-10-01 14:32:36 +01:00
2.2.0
-----
2012-12-13 14:44:37 +00:00
* moved the exception controller to be a service (`twig.controller.exception:showAction` vs `Symfony\\Bundle\\TwigBundle\\Controller\\ExceptionController::showAction` )
2012-12-02 18:25:07 +00:00
* added support for multiple loaders via the "twig.loader" tag.
2012-10-01 14:32:36 +01:00
* added automatic registration of namespaced paths for registered bundles
* added support for namespaced paths
2012-04-26 21:53:20 +01:00
2.1.0
-----
2012-07-09 16:35:58 +01:00
* added a new setting ("paths") to configure more paths for the Twig filesystem loader
2012-05-07 09:53:05 +01:00
* added contextual escaping based on the template file name (disabled if you explicitly pass an autoescape option)
2012-04-26 21:53:20 +01:00
* added a command that extracts translation messages from templates
* added the real template name when an error occurs in a Twig template
* added the twig:lint command that will validate a Twig template syntax.