Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps twig/twig from 1.18.0 to 1.42.2. 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

Sourced from The PHP Security Advisories Database.

Remote code execution in templates

Affected versions: <1.20.0

Changelog

Sourced from twig/twig's changelog.

  • 1.42.2 (2019-06-18)

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

  • 1.42.1 (2019-06-04)

  • added support for "Twig\Markup" instances in the "in" test (again)

  • allowed string operators as variables names in assignments

  • 1.42.0 (2019-05-31)

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

  • 1.41.0 (2019-05-14)

  • fixed support for PHP 7.4

  • 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

  • 1.40.1 (2019-04-29)

  • fixed regression in NodeTraverser

  • 1.40.0 (2019-04-28)

  • allowed Twig\NodeVisitor\NodeVisitorInterface::leaveNode() to return "null" instead of "false" (same meaning)

  • 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 Lexer when using custom options containing the # char

  • fixed "import" when macros are stored in a template string

  • 1.39.1 (2019-04-16)

  • fixed EscaperNodeVisitor

  • 1.39.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 ({%~ %}, {{ }}, {# ~#})

... (truncated)
Commits
  • 21707d6 prepared the 1.42.2 release
  • 8c4b748 minor #3062 Escape DIR in the test suite (lyrixx)
  • fa0213a Escape DIR in the test suite
  • 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)
  • 2c1c00b Remove duplicate phpdoc
  • 2a293b6 bug #3056 Fix end of constructor node logic (fabpot)
  • 8a29b42 fixed end of constructor node logic
  • f4c2b1a fix CS
  • 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)
  • 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 1.18.0 to 1.42.2. **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@v1.18.0...v1.42.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Jun 24, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #62.

@dependabot-preview dependabot-preview bot deleted the dependabot-composer-twig-twig-1.42.2 branch August 26, 2019 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant