Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

[Security] Bump twig/twig from 2.5.0 to 2.11.3 #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps twig/twig from 2.5.0 to 2.11.3. This update includes security fixes.

Vulnerabilities fixed

Sourced from The PHP Security Advisories Database.

Sandbox Information Disclosure

Affected versions: <1.38.0; >=2.0.0, <2.7.0

Changelog

Sourced from twig/twig's changelog.

  • 2.11.3 (2019-06-18)

  • display partial output (PHP buffer) when an error occurs in debug mode

  • fixed the filter filter (allow the result to be used several times)

  • fixed macro auto-import when a template contains only macros

  • 2.11.2 (2019-06-05)

  • fixed macro auto-import

  • 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)

... (truncated)
Commits
  • 699ed23 prepared the 2.11.3 release
  • 14e2f42 Merge branch '1.x' into 2.x
  • 1107684 bug #3065 Fix the filter filter (fabpot)
  • 29ad145 fixed the filter filter
  • 8c4b748 minor #3062 Escape DIR in the test suite (lyrixx)
  • fa0213a Escape DIR in the test suite
  • b957ff6 Merge branch '1.x' into 2.x
  • 0390a9d bug #3059 Don't clear PHP buffer when an error occurs with debug=true (lyrixx)
  • c910e71 Don't clear PHP buffer when an error occurs with debug=true
  • aa564b2 minor #3061 Remove duplicate phpdoc (tvdijen)
  • Additional commits viewable in compare view

Dependabot compatibility score

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:

  • 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](https://github.com/twigphp/Twig) from 2.5.0 to 2.11.3. **This update includes security fixes.**
- [Release notes](https://github.com/twigphp/Twig/releases)
- [Changelog](https://github.com/twigphp/Twig/blob/2.x/CHANGELOG)
- [Commits](twigphp/Twig@v2.5.0...v2.11.3)

Signed-off-by: dependabot-preview[bot] <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants