Skip to content

Update twig/twig requirement from 1.* to 1.* || 2.*#13

Open
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/twig/twig-1.staror-2.star
Open

Update twig/twig requirement from 1.* to 1.* || 2.*#13
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/twig/twig-1.staror-2.star

Conversation

@dependabot-preview
Copy link

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

Changelog

Sourced from twig/twig's changelog.

  • 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

  • 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

... (truncated)
Commits
  • 5240e21 prepared the 2.10.0 release
  • c304a3d Merge branch '1.x' into 2.x
  • a77e7f8 minor #3001 Correct Twig_SimpleFilter, Twig_SimpleFunction, Twig_SimpleTest d...
  • 6504748 Correct Twig_SimpleFilter/Twig_SimpleFunction/Twig_SimpleTest deprecation doc...
  • 44f02b2 fixed PHP 7.4 support
  • 2efd1c5 Merge branch '1.x' into 2.x
  • 611a29c bug #3004 Fix support for PHP 7.4 (fabpot)
  • f958bd1 fixed deprecation under PHP 7.4
  • 1fb0f97 fixed PHP 7.4 support
  • 7be8e94 added PHP 7.4 in Travis config
  • 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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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.


Dependabot has been acquired by GitHub  🎉

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 27, 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.

0 participants