stable

php-twig2-2.7.2-1.fc28

FEDORA-2019-e86155be6e created by remi 5 years ago for Fedora 28

Version 2.7.2 (2019-03-12)

  • added TemplateWrapper::getTemplateName()

Version 2.7.1 (2019-03-12)

  • fixed class aliases

Version 2.7.0 (2019-03-12)

  • fixed sandbox security issue (under some circumstances, calling the __toString() method on an object was possible even if not allowed by the security policy)
  • fixed batch filter clobbers array keys when fill parameter is used
  • added preserveKeys support for the batch filter
  • fixed "embed" support when used from "template_from_string"
  • deprecated passing a Twig\Template to Twig\Environment::load()/Twig\Environment::resolveTemplate()
  • added the possibility to pass a TemplateWrapper to Twig\Environment::load()
  • marked Twig\Environment::getTemplateClass() as internal (implementation detail)
  • improved the performance of the sandbox
  • deprecated the spaceless tag
  • added a spaceless filter
  • added max value to the "random" function
  • deprecated Twig\Extension\InitRuntimeInterface
  • deprecated Twig\Loader\ExistsLoaderInterface
  • deprecated PSR-0 classes in favor of namespaced ones
  • made namespace classes the default classes (PSR-0 ones are aliases now)
  • added Twig\Loader\ChainLoader::getLoaders()
  • removed duplicated directory separator in FilesystemLoader
  • deprecated the "base_template_class" option on Twig\Environment
  • deprecated the Twig\Environment::getBaseTemplateClass() and Twig\Environment::setBaseTemplateClass() methods
  • changed internal code to use the namespaced classes as much as possible
  • deprecated Twig_Parser::isReservedMacroName()

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2019-e86155be6e

This update has been submitted for testing by remi.

5 years ago

This update has been pushed to testing.

5 years ago

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

5 years ago

This update has been submitted for batched by remi.

5 years ago

This update has been submitted for stable by bodhi.

5 years ago

This update has been pushed to stable.

5 years ago

Please login to add feedback.

Metadata
Type
security
Severity
low
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
5 years ago
in testing
5 years ago
in stable
5 years ago

Automated Test Results