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

fix(deps): update dependency twig/twig to v3 #440

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 19, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
twig/twig (source) ^2|^3 -> 3.8.0 age adoption passing confidence

Release Notes

twigphp/Twig (twig/twig)

v3.8.0

Compare Source

  • Catch errors thrown during template rendering
  • Fix IntlExtension::formatDateTime use of date formatter prototype
  • Fix premature loop exit in Security Policy lookup of allowed methods/properties
  • Remove NumberFormatter::TYPE_CURRENCY (deprecated in PHP 8.3)
  • Restore return type annotations
  • Allow Symfony 7 packages to be installed
  • Deprecate twig_test_iterable function. Use the native is_iterable instead.

v3.7.1

Compare Source

  • Fix some phpdocs

v3.7.0

Compare Source

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

v3.6.1

Compare Source

  • Suppress some native return type deprecation messages

v3.6.0

Compare Source

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

v3.5.1

Compare Source

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

v3.5.0

Compare Source

  • 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

v3.4.3

Compare Source

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

v3.4.2

Compare Source

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

v3.4.1

Compare Source

  • Fix optimizing non-public named closures

v3.4.0

Compare Source

  • Add support for named closures

v3.3.10

Compare Source

  • Enable bytecode invalidation when auto_reload is enabled

v3.3.9

Compare Source

  • Fix custom escapers when using multiple Twig environments
  • Add support for "constant('class', object)"
  • Do not reuse internally generated variable names during parsing

v3.3.8

Compare Source

  • Fix a security issue when in a sandbox: the sort filter must require a Closure for the arrow parameter
  • Fix deprecation notice on round
  • Fix call to deprecated convertToHtml method

v3.3.7

Compare Source

  • Allow more null support when Twig expects a string (for better 8.1 support)
  • Only use Commonmark extensions if markdown enabled

v3.3.6

Compare Source

  • Only use Commonmark extensions if markdown enabled

v3.3.5

Compare Source

  • Allow CommonMark extensions to easily be added
  • Allow null when Twig expects a string (for better 8.1 support)
  • Make some performance optimizations
  • Allow Symfony translation contract v3+

v3.3.4

Compare Source

  • Bump minimum supported Symfony component versions
  • Fix a deprecated message

v3.3.3

Compare Source

  • Allow Symfony 6
  • Improve compatibility with PHP 8.1
  • Explicitly specify the encoding for mb_ord in JS escaper

v3.3.2

Compare Source

  • Revert "Throw a proper exception when a template name is an absolute path (as it has never been supported)"

v3.3.1

Compare Source

  • Enable bytecode invalidation when auto_reload is enabled

v3.3.0

Compare Source

  • Fix macro calls in a "cache" tag
  • Add the slug filter
  • Allow extra bundle to be compatible with Twig 2

v3.2.1

Compare Source

  • Fix extra bundle compat with older versions of Symfony

v3.1.1

Compare Source

  • Fix "include(template_from_string())"

v3.1.0

Compare Source

  • Fix sandbox support when using "include(template_from_string())"
  • Make round brackets optional for one argument tests like "same as" or "divisible by"
  • Add support for ES2015 style object initialisation shortcut { a } is the same as { 'a': a }

v3.0.5

Compare Source

  • Fix twig_compare w.r.t. whitespace trimming
  • Fix sandbox not disabled if syntax error occurs within {% sandbox %} tag
  • Fix a regression when not using a space before an operator
  • Restrict callables to closures in filters
  • Allow trailing commas in argument lists (in calls as well as definitions)

v3.0.4

Compare Source

  • Fix comparison operators
  • Fix options not taken into account when using "Michelf\MarkdownExtra"
  • Fix "Twig\Extra\Intl\IntlExtension::getCountryName()" to accept "null" as a first argument
  • Throw exception in case non-Traversable data is passed to "filter"
  • Fix context optimization on PHP 7.4
  • Fix PHP 8 compatibility
  • Fix ambiguous syntax parsing

v3.0.3

Compare Source

  • Add a check to ensure that iconv() is defined

v3.0.2

Compare Source

  • Avoid exceptions when an intl resource is not found
  • Fix implementation of case-insensitivity for method names

v3.0.1

Compare Source

  • fixed Symfony 5.0 support for the HTML extra extension

v3.0.0

Compare Source

  • fixed number formatter in Intl extra extension when using a formatter prototype

v2.16.0

Compare Source

v2.15.6

Compare Source

v2.15.5

Compare Source

v2.15.4

Compare Source

v2.15.3

Compare Source

v2.15.2

Compare Source

v2.15.1

Compare Source

v2.15.0

Compare Source

v2.14.13

Compare Source

v2.14.12

Compare Source

v2.14.11

Compare Source

v2.14.10

Compare Source

v2.14.9

Compare Source

v2.14.8

Compare Source

v2.14.7

Compare Source

v2.14.6

Compare Source

v2.14.5

Compare Source

v2.14.4

Compare Source

v2.14.3

Compare Source

v2.14.2

Compare Source

v2.14.1

Compare Source

v2.14.0

Compare Source

v2.13.1

Compare Source

v2.13.0

Compare Source

v2.12.5

Compare Source

v2.12.4

Compare Source

v2.12.3

Compare Source

v2.12.2

Compare Source

v2.12.1

Compare Source

v2.12.0

Compare Source

v2.11.3

Compare Source

v2.11.2

Compare Source

v2.11.1

Compare Source

v2.11.0

Compare Source

v2.10.0

Compare Source

v2.9.0

Compare Source

v2.8.1

Compare Source

v2.8.0

Compare Source

v2.7.4

Compare Source

v2.7.3

Compare Source

v2.7.2

Compare Source

v2.7.1

Compare Source

v2.7.0

Compare Source

v2.6.2

Compare Source

v2.6.1

Compare Source

v2.6.0

Compare Source

v2.5.0

Compare Source

v2.4.8

Compare Source

v2.4.7

Compare Source

v2.4.6

Compare Source

v2.4.5

Compare Source

v2.4.4

Compare Source

v2.4.3

Compare Source

v2.4.2

Compare Source

v2.4.1

Compare Source

v2.4.0

Compare Source

v2.3.2

Compare Source

v2.3.1

Compare Source

v2.3.0

Compare Source

v2.2.0

Compare Source

v2.1.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@github-actions github-actions bot temporarily deployed to pantheon-pr-440 February 19, 2024 20:06 Destroyed
@deviantintegral
Copy link
Member

Leaving open because I think we should see this fixed when we update our renovate config as a part of #437. If that issue is solved, and this PR isn't autoclosed or updated appropriately, we'll know we have more work to do.

@deviantintegral deviantintegral added the dependencies Changes required to keep up to date with upstream software label Feb 19, 2024
@github-actions github-actions bot temporarily deployed to pantheon-pr-440 February 21, 2024 13:31 Destroyed
@github-actions github-actions bot temporarily deployed to pantheon-pr-440 February 22, 2024 14:43 Destroyed
@renovate renovate bot force-pushed the renovate/twig-twig-3.x branch 2 times, most recently from 0b11102 to d1a5f07 Compare February 22, 2024 15:19
@github-actions github-actions bot temporarily deployed to pantheon-pr-440 February 22, 2024 15:24 Destroyed
@github-actions github-actions bot temporarily deployed to pantheon-pr-440 February 22, 2024 17:36 Destroyed
@github-actions github-actions bot temporarily deployed to pantheon-pr-440 February 23, 2024 11:21 Destroyed
@github-actions github-actions bot temporarily deployed to pantheon-pr-440 February 23, 2024 11:29 Destroyed
@justafish justafish closed this Feb 23, 2024
@justafish justafish deleted the renovate/twig-twig-3.x branch February 23, 2024 11:30
Copy link
Contributor Author

renovate bot commented Feb 23, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes required to keep up to date with upstream software
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants