slimphp / Twig-View

Slim Framework view helper built on top of the Twig templating component
http://slimframework.com
MIT License
356 stars 86 forks source link

Update twig/twig requirement from ^3.6 to ^3.7 #292

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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

Changelog

Sourced from twig/twig's changelog.

3.7.0 (2023-07-26)

  • Add support for the ...spread operator on arrays and hashes

3.6.1 (2023-06-08)

  • Suppress some native return type deprecation messages

3.6.0 (2023-05-03)

  • Allow psr/container 2.0
  • Add the new PHP 8.0 IntlDateFormatter::RELATIVE_* constants for date formatting
  • Make the Lexer initialize itself lazily

3.5.1 (2023-02-08)

  • Arrow functions passed to the "reduce" filter now accept the current key as a third argument
  • Restores the leniency of the matches twig comparison
  • Fix error messages in sandboxed mode for "has some" and "has every"

3.5.0 (2022-12-27)

  • Make Twig\ExpressionParser non-internal
  • Add "has some" and "has every" operators
  • Add Compile::reset()
  • Throw a better runtime error when the "matches" regexp is not valid
  • Add "twig *_names" intl functions
  • Fix optimizing closures callbacks
  • Add a better exception when getting an undefined constant via constant
  • Fix if nodes when outside of a block and with an empty body

3.4.3 (2022-09-28)

  • Fix a security issue on filesystem loader (possibility to load a template outside a configured directory)

3.4.2 (2022-08-12)

  • Allow inherited magic method to still run with calling class
  • Fix CallExpression::reflectCallable() throwing TypeError
  • Fix typo in naming (currency_code)

3.4.1 (2022-05-17)

  • Fix optimizing non-public named closures

3.4.0 (2022-05-22)

  • Add support for named closures

3.3.10 (2022-04-06)

... (truncated)

Commits
  • 5cf942b Prepare the 3.7.0 release
  • 07c4b11 Update CHANGELOG
  • 4ef92bf minor #3860 Fix spread operator implementation (nicolas-grekas)
  • 75efa5e Fix spread operator implementation
  • 09177a7 feature #3839 Adding support for the ...spread operator on arrays and hashes ...
  • ba4fe3b Adding support for the ...spread operator on arrays and hashes
  • e145d36 minor #3856 Fix callable phpdoc for twig elements (VincentLanglet)
  • cd68de5 Fix callable phpdoc for twig elements
  • 58f7b22 minor #3854 add extra example to slice filter (expedition-robin-martijn)
  • 0170dc3 add extra example to slice filter
  • 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)