Bumps twig/twig from 2.6.2 to 2.8.1. This update includes security fixes.
Vulnerabilities fixed
*Sourced from [The PHP Security Advisories Database](https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/2019-03-12.yaml).*
> **Sandbox Information Disclosure**
>
> Affected versions: <1.38.0; >=2.0.0, <2.7.0
Changelog
*Sourced from [twig/twig's changelog](https://github.com/twigphp/Twig/blob/2.x/CHANGELOG).*
> * 2.8.1 (2019-04-16)
>
> * fixed EscaperNodeVisitor
> * deprecated passing a 3rd, 4th, and 5th arguments to the Sandbox exception classes
> * deprecated Node::setTemplateName() in favor of Node::setSourceContext()
>
> * 2.8.0 (2019-04-16)
>
> * added Traversable support for the length filter
> * fixed some wrong location in error messages
> * made exception creation faster
> * made escaping on ternary expressions (?: and ??) more fine-grained
> * added the possibility to give a nice name to string templates (template_from_string function)
> * fixed the "with" behavior to always include the globals (for consistency with the "include" and "embed" tags)
> * fixed "include" with "ignore missing" when an error loading occurs in the included template
> * added support for a new whitespace trimming option ({%~ ~%}, {{~ ~}}, {#~ ~#})
> * added the "column" filter
>
> * 2.7.4 (2019-03-23)
>
> * fixed variadic support
> * fixed CheckToStringNode implementation (broken when a function/filter is variadic)
>
> * 2.7.3 (2019-03-21)
>
> * fixed the spaceless filter so that it behaves like the spaceless tag
> * fixed BC break on Environment::resolveTemplate()
> * allowed Traversable objects to be used in the "with" tag
> * allowed Traversable objects to be used in the "with" tag
> * allowed Traversable objects to be used in the "with" argument of the "include" and "embed" tags
>
> * 2.7.2 (2019-03-12)
>
> * added TemplateWrapper::getTemplateName()
>
> * 2.7.1 (2019-03-12)
>
> * fixed class aliases
>
> * 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)
> ... (truncated)
Commits
- [`91cc259`](https://github.com/twigphp/Twig/commit/91cc2594d3143761ce0399c1caffd0b500ffe5b9) prepared the 2.8.1 release
- [`d7d521e`](https://github.com/twigphp/Twig/commit/d7d521e4ca4823e43160306b06a43a57b126db84) updated CHANGELOG
- [`3d13c58`](https://github.com/twigphp/Twig/commit/3d13c582eed12a1ec0bba5a82cbee7f5dc86465e) Merge branch '1.x' into 2.x
- [`bcb367f`](https://github.com/twigphp/Twig/commit/bcb367fc0746ad9b84ce20b7c82d767e53157b16) bug [#2943](https://github-redirect.dependabot.com/twigphp/Twig/issues/2943) Hotfix (fabpot)
- [`a3fc639`](https://github.com/twigphp/Twig/commit/a3fc63923a98e49d827fa49b74d3c04827edbd6e) fixed EscaperNodeVisitor
- [`3f17746`](https://github.com/twigphp/Twig/commit/3f177464cc4744932dd28a33dd1fe76c5e36105c) fixed CS
- [`ee6ef99`](https://github.com/twigphp/Twig/commit/ee6ef99d7b63f1a24953e36380fe0d92962356ad) feature [#2941](https://github-redirect.dependabot.com/twigphp/Twig/issues/2941) Deprecate the 3rd argument of Sandbox error classes (fabpot)
- [`a165ce6`](https://github.com/twigphp/Twig/commit/a165ce67d435880f3d66077a3b069d7994e46b95) added the source for all sandbox security exceptions
- [`d8cb0f9`](https://github.com/twigphp/Twig/commit/d8cb0f9764e481c5f8a0ec52d1393deb36b62326) deprecated the 3rd argument of Sandbox error classes
- [`1119616`](https://github.com/twigphp/Twig/commit/1119616c2044ca15b3cf797924b3dbdbf15443fd) fixed CS
- Additional commits viewable in [compare view](https://github.com/twigphp/Twig/compare/v2.6.2...v2.8.1)
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps twig/twig from 2.6.2 to 2.8.1. This update includes security fixes.
Vulnerabilities fixed
*Sourced from [The PHP Security Advisories Database](https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/2019-03-12.yaml).* > **Sandbox Information Disclosure** > > Affected versions: <1.38.0; >=2.0.0, <2.7.0Changelog
*Sourced from [twig/twig's changelog](https://github.com/twigphp/Twig/blob/2.x/CHANGELOG).* > * 2.8.1 (2019-04-16) > > * fixed EscaperNodeVisitor > * deprecated passing a 3rd, 4th, and 5th arguments to the Sandbox exception classes > * deprecated Node::setTemplateName() in favor of Node::setSourceContext() > > * 2.8.0 (2019-04-16) > > * added Traversable support for the length filter > * fixed some wrong location in error messages > * made exception creation faster > * made escaping on ternary expressions (?: and ??) more fine-grained > * added the possibility to give a nice name to string templates (template_from_string function) > * fixed the "with" behavior to always include the globals (for consistency with the "include" and "embed" tags) > * fixed "include" with "ignore missing" when an error loading occurs in the included template > * added support for a new whitespace trimming option ({%~ ~%}, {{~ ~}}, {#~ ~#}) > * added the "column" filter > > * 2.7.4 (2019-03-23) > > * fixed variadic support > * fixed CheckToStringNode implementation (broken when a function/filter is variadic) > > * 2.7.3 (2019-03-21) > > * fixed the spaceless filter so that it behaves like the spaceless tag > * fixed BC break on Environment::resolveTemplate() > * allowed Traversable objects to be used in the "with" tag > * allowed Traversable objects to be used in the "with" tag > * allowed Traversable objects to be used in the "with" argument of the "include" and "embed" tags > > * 2.7.2 (2019-03-12) > > * added TemplateWrapper::getTemplateName() > > * 2.7.1 (2019-03-12) > > * fixed class aliases > > * 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) > ... (truncated)Commits
- [`91cc259`](https://github.com/twigphp/Twig/commit/91cc2594d3143761ce0399c1caffd0b500ffe5b9) prepared the 2.8.1 release - [`d7d521e`](https://github.com/twigphp/Twig/commit/d7d521e4ca4823e43160306b06a43a57b126db84) updated CHANGELOG - [`3d13c58`](https://github.com/twigphp/Twig/commit/3d13c582eed12a1ec0bba5a82cbee7f5dc86465e) Merge branch '1.x' into 2.x - [`bcb367f`](https://github.com/twigphp/Twig/commit/bcb367fc0746ad9b84ce20b7c82d767e53157b16) bug [#2943](https://github-redirect.dependabot.com/twigphp/Twig/issues/2943) Hotfix (fabpot) - [`a3fc639`](https://github.com/twigphp/Twig/commit/a3fc63923a98e49d827fa49b74d3c04827edbd6e) fixed EscaperNodeVisitor - [`3f17746`](https://github.com/twigphp/Twig/commit/3f177464cc4744932dd28a33dd1fe76c5e36105c) fixed CS - [`ee6ef99`](https://github.com/twigphp/Twig/commit/ee6ef99d7b63f1a24953e36380fe0d92962356ad) feature [#2941](https://github-redirect.dependabot.com/twigphp/Twig/issues/2941) Deprecate the 3rd argument of Sandbox error classes (fabpot) - [`a165ce6`](https://github.com/twigphp/Twig/commit/a165ce67d435880f3d66077a3b069d7994e46b95) added the source for all sandbox security exceptions - [`d8cb0f9`](https://github.com/twigphp/Twig/commit/d8cb0f9764e481c5f8a0ec52d1393deb36b62326) deprecated the 3rd argument of Sandbox error classes - [`1119616`](https://github.com/twigphp/Twig/commit/1119616c2044ca15b3cf797924b3dbdbf15443fd) fixed CS - Additional commits viewable in [compare view](https://github.com/twigphp/Twig/compare/v2.6.2...v2.8.1)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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.