Phraseanet
Phraseanet copied to clipboard
Bump twig/twig from 1.31.0 to 1.38.0
Bumps twig/twig from 1.31.0 to 1.38.0.
Changelog
Sourced from twig/twig's changelog.
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
1.37.1 (2019-01-14)
fixed regression (key exists check for non ArrayObject objects)
fixed logic in TemplateWrapper
1.37.0 (2019-01-14)
fixed ArrayObject access with a null value
fixed embedded templates starting with a BOM
fixed using a Twig_TemplateWrapper instance as an argument to extends
switched generated code to use the PHP short array notation
dropped PHP 5.3 support
fixed float representation in compiled templates
added a second argument to the join filter (last separator configuration)
1.36.0 (2018-12-16)
made sure twig_include returns a string
fixed multi-byte UFT-8 in escape('html_attr')
added the "deprecated" tag
added support for dynamically named tests
fixed GlobalsInterface extended class
fixed filesystem loader throwing an exception instead of returning false
1.35.4 (2018-07-13)
ensured that syntax errors are triggered with the right line
added the Symfony ctype polyfill as a dependency
"js" filter now produces valid JSON
1.35.3 (2018-03-20)
fixed block names unicity
... (truncated)
Commits
754b8dfprepared the 1.38.0 release0f3af98security #2885 Fix security issue in the sandbox (fabpot)5e1a361removed one usage of Template vs TemplateWrappereac5422fixed security issue in the sandbox7e30569bug #2884 Fix "batch filter clobbers array keys when fill parameter is used "...750cb23fixed batch filter clobbers array keys when fill parameter is usedede9a60added preserveKeys support for the batch filter4eeaf76bug #2883 Fix "embed" support when used from "template_from_string" (fabpot)9f23f7cremoved dead code92a63e0fixed "embed" support when used from "template_from_string"- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.