This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bridge/Twig/CHANGELOG.md

1.5 KiB

CHANGELOG

2.7.0

  • added LogoutUrlExtension (provides logout_url and logout_path)
  • added an HttpFoundation extension (provides the absolute_url and the relative_path functions)
  • added AssetExtension (provides the asset and asset_version functions)
  • Added possibility to extract translation messages from a file or files besides extracting from a directory

2.5.0

  • moved command twig:lint from TwigBundle

2.4.0

  • added stopwatch tag to time templates with the WebProfilerBundle

2.3.0

  • added helpers form(), form_start() and form_end()
  • deprecated form_enctype() in favor of form_start()

2.2.0

  • added a controller function to help generating controller references
  • added a render_esi and a render_hinclude function
  • [BC BREAK] restricted the render tag to only accept URIs or ControllerReference instances (the signature changed)
  • added a render function to render a request
  • The app global variable is now injected even when using the twig service directly.
  • Added an optional parameter to the path and url function which allows to generate relative paths (e.g. "../parent-file") and scheme-relative URLs (e.g. "//example.com/dir/file").

2.1.0

  • added global variables access in a form theme
  • added TwigEngine
  • added TwigExtractor
  • added a csrf_token function
  • added a way to specify a default domain for a Twig template (via the 'trans_default_domain' tag)