Fedora 28: php-twig Security Update
Summary
The flexible, fast, and secure template engine for PHP.
* Fast: Twig compiles templates down to plain optimized PHP code. The
overhead compared to regular PHP code was reduced to the very minimum.
* Secure: Twig has a sandbox mode to evaluate untrusted template code. This
allows Twig to be used as a template language for applications where users
may modify the template design.
* Flexible: Twig is powered by a flexible lexer and parser. This allows the
developer to define its own custom tags and filters, and create its own
DSL.
Autoloader: /usr/share/php/Twig/autoload.php
**Version 1.38.2** (2019-03-12) * added TemplateWrapper::getTemplateName()
---- **Version 1.38.1** (2019-03-12) * fixed class aliases ---- **Version
1.38.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" * added
the possibility to pass a TemplateWrapper to Twig\Environment::load() *
improved the performance of the sandbox * added a spaceless filter * added max
value to the "random" function * made namespace classes the default classes
(PSR-0 ones are aliases now) * removed duplicated directory separator in
FilesystemLoader * added Twig\Loader\ChainLoader::getLoaders() * changed
internal code to use the namespaced classes as much as possible
* Wed Mar 13 2019 Remi Collet
- update to 1.38.2
* Sat Feb 2 2019 Fedora Release Engineering
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 14 2019 Remi Collet
- update to 1.37.1
- bump dependency on PHP 5.4
* Tue Dec 18 2018 Remi Collet
- update to 1.36.0
* Fri Jul 13 2018 Remi Collet
- update to 1.35.4
su -c 'dnf upgrade --advisory FEDORA-2019-64f6c399c9' at the command
line. For more information, refer to the dnf documentation available at
https://dnf.readthedocs.io/en/latest/command_ref.html
All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/security/
package-announce mailing list -- package-announce@lists.fedoraproject.org
To unsubscribe send an email to package-announce-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/
FEDORA-2019-64f6c399c9 2019-03-23 02:24:17.869656 Product : Fedora 28 Version : 1.38.2 Release : 2.fc28 URL : Summary : The flexible, fast, and secure template engine for PHP Description : The flexible, fast, and secure template engine for PHP. * Fast: Twig compiles templates down to plain optimized PHP code. The overhead compared to regular PHP code was reduced to the very minimum. * Secure: Twig has a sandbox mode to evaluate untrusted template code. This allows Twig to be used as a template language for applications where users may modify the template design. * Flexible: Twig is powered by a flexible lexer and parser. This allows the developer to define its own custom tags and filters, and create its own DSL. Autoloader: /usr/share/php/Twig/autoload.php **Version 1.38.2** (2019-03-12) * added TemplateWrapper::getTemplateName() ---- **Version 1.38.1** (2019-03-12) * fixed class aliases ---- **Version 1.38.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" * added the possibility to pass a TemplateWrapper to Twig\Environment::load() * improved the performance of the sandbox * added a spaceless filter * added max value to the "random" function * made namespace classes the default classes (PSR-0 ones are aliases now) * removed duplicated directory separator in FilesystemLoader * added Twig\Loader\ChainLoader::getLoaders() * changed internal code to use the namespaced classes as much as possible * Wed Mar 13 2019 Remi Collet - 1.38.2-1 - update to 1.38.2 * Sat Feb 2 2019 Fedora Release Engineering - 1.37.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 14 2019 Remi Collet - 1.37.1-1 - update to 1.37.1 - bump dependency on PHP 5.4 * Tue Dec 18 2018 Remi Collet - 1.36.0-1 - update to 1.36.0 * Fri Jul 13 2018 Remi Collet - 1.35.4-1 - update to 1.35.4 su -c 'dnf upgrade --advisory FEDORA-2019-64f6c399c9' at the command line. For more information, refer to the dnf documentation available at https://dnf.readthedocs.io/en/latest/command_ref.html All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/security/ package-announce mailing list -- package-announce@lists.fedoraproject.org To unsubscribe send an email to package-announce-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/
Change Log
References