Changelog
*Sourced from [twig/twig's changelog](https://github.com/twigphp/Twig/blob/2.x/CHANGELOG).*
> * 2.11.1 (2019-06-04)
>
> * added support for "Twig\Markup" instances in the "in" test (again)
> * allowed string operators as variables names in assignments
> * fixed support for macros defined in parent templates
>
> * 2.11.0 (2019-05-31)
>
> * added the possibility to register classes/interfaces as being safe for the escaper ("EscaperExtension::addSafeClass()")
> * deprecated CoreExtension::setEscaper() and CoreExtension::getEscapers() in favor of the same methods on EscaperExtension
> * macros are now auto-imported in the template they are defined (under the ``_self`` variable)
> * added support for macros on "is defined" tests
> * fixed macros "import" when using the same name in the parent and child templates
> * fixed recursive macros
> * macros imported "globally" in a template are now available in macros without re-importing them
> * fixed the "filter" filter when the argument is \Traversable but does not implement \Iterator (\SimpleXmlElement for instance)
> * fixed a PHP fatal error when calling a macro imported in a block in a nested block
> * fixed a PHP fatal error when calling a macro imported in the template in another macro
> * fixed wrong error message on "import" and "from"
>
> * 2.10.0 (2019-05-14)
>
> * deprecated "if" conditions on "for" tags
> * added "filter", "map", and "reduce" filters (and support for arrow functions)
> * fixed partial output leak when a PHP fatal error occurs
> * optimized context access on PHP 7.4
>
> * 2.9.0 (2019-04-28)
>
> * deprecated returning "false" to remove a Node from NodeVisitorInterface::leaveNode()
> * allowed Twig\NodeVisitor\NodeVisitorInterface::leaveNode() to return "null" instead of "false" (same meaning)
> * deprecated the "filter" tag (use the "apply" tag instead)
> * added the "apply" tag as a replacement for the "filter" tag
> * allowed Twig\Loader\FilesystemLoader::findTemplate() to return "null" instead of "false" (same meaning)
> * added support for "Twig\Markup" instances in the "in" test
> * fixed "import" when macros are stored in a template string
> * fixed Lexer when using custom options containing the # char
> * added template line number to twig_get_attribute()
>
> * 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
> ... (truncated)
Commits
- [`0418e17`](https://github.com/twigphp/Twig/commit/0418e17113266e84c03ccf758680af8abc4b22dc) prepared the 2.11.1 release
- [`26a0e26`](https://github.com/twigphp/Twig/commit/26a0e265bfc96e4e00104ac328f6e3e03d1f619e) minor [#3050](https://github-redirect.dependabot.com/twigphp/Twig/issues/3050) Add a doc note (fabpot)
- [`ee7be2e`](https://github.com/twigphp/Twig/commit/ee7be2e18721fa158658a429b6df83ed414da6db) added a doc note
- [`eb9a3e2`](https://github.com/twigphp/Twig/commit/eb9a3e245e69143795dd7b6f37873b7ec7c140c2) updated CHANGELOG
- [`43bc74a`](https://github.com/twigphp/Twig/commit/43bc74a7d0bfd2b873fedf5ebb7a07f10da4774a) Merge branch '1.x' into 2.x
- [`ec55f57`](https://github.com/twigphp/Twig/commit/ec55f5716ebeff9c3325006cca86c2c95a95b1eb) bug [#3049](https://github-redirect.dependabot.com/twigphp/Twig/issues/3049) Add support for "Twig\Markup" instances in the "in" test (again) (f...
- [`2218cfe`](https://github.com/twigphp/Twig/commit/2218cfe26bf4080aece8688784f2e5d86958ae7c) added support for "Twig\Markup" instances in the "in" test (again)
- [`5d70ff2`](https://github.com/twigphp/Twig/commit/5d70ff2ac2b0c066dd5f47d554b03d18dcca3f00) Merge branch '1.x' into 2.x
- [`25cc3e4`](https://github.com/twigphp/Twig/commit/25cc3e418ac2569a4888af0c452bbccf37b480c2) bug [#3046](https://github-redirect.dependabot.com/twigphp/Twig/issues/3046) Fixed: Endless loop if more than one parent without the macro exist...
- [`4497083`](https://github.com/twigphp/Twig/commit/4497083325191954609b10c547d1efd8cf4bfcd2) Fixed: Endless loop if more than one parent without the macro exists
- Additional commits viewable in [compare view](https://github.com/twigphp/Twig/compare/v2.7.4...v2.11.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.7.4 to 2.11.1.
Changelog
*Sourced from [twig/twig's changelog](https://github.com/twigphp/Twig/blob/2.x/CHANGELOG).* > * 2.11.1 (2019-06-04) > > * added support for "Twig\Markup" instances in the "in" test (again) > * allowed string operators as variables names in assignments > * fixed support for macros defined in parent templates > > * 2.11.0 (2019-05-31) > > * added the possibility to register classes/interfaces as being safe for the escaper ("EscaperExtension::addSafeClass()") > * deprecated CoreExtension::setEscaper() and CoreExtension::getEscapers() in favor of the same methods on EscaperExtension > * macros are now auto-imported in the template they are defined (under the ``_self`` variable) > * added support for macros on "is defined" tests > * fixed macros "import" when using the same name in the parent and child templates > * fixed recursive macros > * macros imported "globally" in a template are now available in macros without re-importing them > * fixed the "filter" filter when the argument is \Traversable but does not implement \Iterator (\SimpleXmlElement for instance) > * fixed a PHP fatal error when calling a macro imported in a block in a nested block > * fixed a PHP fatal error when calling a macro imported in the template in another macro > * fixed wrong error message on "import" and "from" > > * 2.10.0 (2019-05-14) > > * deprecated "if" conditions on "for" tags > * added "filter", "map", and "reduce" filters (and support for arrow functions) > * fixed partial output leak when a PHP fatal error occurs > * optimized context access on PHP 7.4 > > * 2.9.0 (2019-04-28) > > * deprecated returning "false" to remove a Node from NodeVisitorInterface::leaveNode() > * allowed Twig\NodeVisitor\NodeVisitorInterface::leaveNode() to return "null" instead of "false" (same meaning) > * deprecated the "filter" tag (use the "apply" tag instead) > * added the "apply" tag as a replacement for the "filter" tag > * allowed Twig\Loader\FilesystemLoader::findTemplate() to return "null" instead of "false" (same meaning) > * added support for "Twig\Markup" instances in the "in" test > * fixed "import" when macros are stored in a template string > * fixed Lexer when using custom options containing the # char > * added template line number to twig_get_attribute() > > * 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 > ... (truncated)Commits
- [`0418e17`](https://github.com/twigphp/Twig/commit/0418e17113266e84c03ccf758680af8abc4b22dc) prepared the 2.11.1 release - [`26a0e26`](https://github.com/twigphp/Twig/commit/26a0e265bfc96e4e00104ac328f6e3e03d1f619e) minor [#3050](https://github-redirect.dependabot.com/twigphp/Twig/issues/3050) Add a doc note (fabpot) - [`ee7be2e`](https://github.com/twigphp/Twig/commit/ee7be2e18721fa158658a429b6df83ed414da6db) added a doc note - [`eb9a3e2`](https://github.com/twigphp/Twig/commit/eb9a3e245e69143795dd7b6f37873b7ec7c140c2) updated CHANGELOG - [`43bc74a`](https://github.com/twigphp/Twig/commit/43bc74a7d0bfd2b873fedf5ebb7a07f10da4774a) Merge branch '1.x' into 2.x - [`ec55f57`](https://github.com/twigphp/Twig/commit/ec55f5716ebeff9c3325006cca86c2c95a95b1eb) bug [#3049](https://github-redirect.dependabot.com/twigphp/Twig/issues/3049) Add support for "Twig\Markup" instances in the "in" test (again) (f... - [`2218cfe`](https://github.com/twigphp/Twig/commit/2218cfe26bf4080aece8688784f2e5d86958ae7c) added support for "Twig\Markup" instances in the "in" test (again) - [`5d70ff2`](https://github.com/twigphp/Twig/commit/5d70ff2ac2b0c066dd5f47d554b03d18dcca3f00) Merge branch '1.x' into 2.x - [`25cc3e4`](https://github.com/twigphp/Twig/commit/25cc3e418ac2569a4888af0c452bbccf37b480c2) bug [#3046](https://github-redirect.dependabot.com/twigphp/Twig/issues/3046) Fixed: Endless loop if more than one parent without the macro exist... - [`4497083`](https://github.com/twigphp/Twig/commit/4497083325191954609b10c547d1efd8cf4bfcd2) Fixed: Endless loop if more than one parent without the macro exists - Additional commits viewable in [compare view](https://github.com/twigphp/Twig/compare/v2.7.4...v2.11.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.