Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update twig/twig requirement from ^2.0 to ^2.11 #21

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on twig/twig to permit the latest version.

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 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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 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.

Updates the requirements on [twig/twig](https://github.com/twigphp/Twig) to permit the latest version.
- [Release notes](https://github.com/twigphp/Twig/releases)
- [Changelog](https://github.com/twigphp/Twig/blob/2.x/CHANGELOG)
- [Commits](twigphp/Twig@v2.0.0...v2.11.3)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the Dependencies Pull requests that update a dependency file label Sep 23, 2019
@lcobucci
Copy link
Owner

@dependabot merge

@dependabot-preview dependabot-preview bot merged commit 166b2bd into master Sep 23, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/composer/twig/twig-tw-2.11 branch September 23, 2019 08:23
@lcobucci lcobucci added this to the 2.1.0 milestone Sep 23, 2019
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant