[PR #291] [CLOSED] Bump smarty/smarty from 3.1.44 to 4.2.1 #310

Closed
opened 2026-02-26 10:30:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/opensolutions/ViMbAdmin/pull/291
Author: @dependabot[bot]
Created: 9/17/2022
Status: Closed

Base: masterHead: dependabot/composer/smarty/smarty-4.2.1


📝 Commits (1)

  • 56861ec Bump smarty/smarty from 3.1.44 to 4.2.1

📊 Changes

2 files changed (+18 additions, -15 deletions)

View changed files

📝 composer.json (+1 -1)
📝 composer.lock (+17 -14)

📄 Description

Bumps smarty/smarty from 3.1.44 to 4.2.1.

Release notes

Sourced from smarty/smarty's releases.

v4.2.1

If you use the {mailto} plugin in your templates, please check if you are escaping the address value explicitly like this {mailto address=$htmladdress|escape}. This could cause problems through double escaping.

What's Changed

Security

  • Applied appropriate javascript and html escaping in mailto plugin to counter injection attacks #454

Fixed

  • Fixed PHP8.1 deprecation errors in modifiers (upper, explode, number_format and replace) #755 and #788
  • Fixed PHP8.1 deprecation errors in capitalize modifier #789
  • Fixed use of rand() without a parameter in math function #794
  • Fixed unselected year/month/day not working in html_select_date #395

New Contributors

Full Changelog: https://github.com/smarty-php/smarty/compare/v4.2.0...v4.2.1

v4.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/smarty-php/smarty/compare/v4.1.1...v4.2.0

v4.1.1

Security

  • Prevent PHP injection through malicious block name or include file name. This addresses CVE-2022-29221

Fixed

  • Exclude docs and demo from export and composer #751
  • PHP 8.1 deprecation notices in demo/plugins/cacheresource.pdo.php #706
  • PHP 8.1 deprecation notices in truncate modifier #699
  • Math equation max(x, y) didn't work anymore #721
  • Fix PHP 8.1 deprecated warning when calling rtrim #743
  • PHP 8.1: fix deprecation in escape modifier #727

v4.1.0

Added support for PHP 8.1.

... (truncated)

Changelog

Sourced from smarty/smarty's changelog.

[4.2.1] - 2022-09-14

Security

  • Applied appropriate javascript and html escaping in mailto plugin to counter injection attacks #454

Fixed

  • Fixed PHP8.1 deprecation errors in modifiers (upper, explode, number_format and replace) #755 and #788
  • Fixed PHP8.1 deprecation errors in capitalize modifier #789
  • Fixed use of rand() without a parameter in math function #794
  • Fixed unselected year/month/day not working in html_select_date #395

[4.2.0] - 2022-08-01

Fixed

  • Fixed problems with smarty_mb_str_replace #549
  • Fixed second parameter of unescape modifier not working #777

Changed

  • Updated HTML of the debug template #599

[4.1.1] - 2022-05-17

Security

  • Prevent PHP injection through malicious block name or include file name. This addresses CVE-2022-29221

Fixed

  • Exclude docs and demo from export and composer #751
  • PHP 8.1 deprecation notices in demo/plugins/cacheresource.pdo.php #706
  • PHP 8.1 deprecation notices in truncate modifier #699
  • Math equation max(x, y) didn't work anymore #721
  • Fix PHP 8.1 deprecated warning when calling rtrim #743
  • PHP 8.1: fix deprecation in escape modifier #727

[4.1.0] - 2022-02-06

Added

  • PHP8.1 compatibility #713

[4.0.4] - 2022-01-18

Fixed

  • Fixed illegal characters bug in math function security check #702

[4.0.3] - 2022-01-10

Security

  • Prevent evasion of the static_classes security policy. This addresses CVE-2021-21408

[4.0.2] - 2022-01-10

... (truncated)

Commits
  • ffa2b81 Merge branch 'release/4.2.1'
  • c693d81 version bump
  • 813c83f Fixed unselected year/month/day not working in html_select_date
  • 55ea25d Applied appropriate javascript and html escaping in mailto plugin to counter ...
  • d304d34 Fixed PHP8.1 deprecation errors in capitalize modifier
  • 7494818 prevent double CI workflows in PRs
  • 50d5890 Exclude unit test files from git export
  • 6872e78 Utility script for running unit tests on all PHP versions locally
  • 5479e33 Fixed use of rand() without a parameter in math function (#795)
  • f8f97b4 Fixed PHP8.1 deprecation errors in upper modifier #788
  • 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 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

You can disable automated security fix PRs for this repo from the Security Alerts page.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/opensolutions/ViMbAdmin/pull/291 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 9/17/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/composer/smarty/smarty-4.2.1` --- ### 📝 Commits (1) - [`56861ec`](https://github.com/opensolutions/ViMbAdmin/commit/56861ecdbf565d20e0402071b4f3e74caeb64ef5) Bump smarty/smarty from 3.1.44 to 4.2.1 ### 📊 Changes **2 files changed** (+18 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `composer.json` (+1 -1) 📝 `composer.lock` (+17 -14) </details> ### 📄 Description Bumps [smarty/smarty](https://github.com/smarty-php/smarty) from 3.1.44 to 4.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/smarty-php/smarty/releases">smarty/smarty's releases</a>.</em></p> <blockquote> <h2>v4.2.1</h2> <p>If you use the {mailto} plugin in your templates, please check if you are escaping the address value explicitly like this <code>{mailto address=$htmladdress|escape}</code>. This could cause problems through double escaping.</p> <h2>What's Changed</h2> <h3>Security</h3> <ul> <li>Applied appropriate javascript and html escaping in mailto plugin to counter injection attacks <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/454">#454</a></li> </ul> <h3>Fixed</h3> <ul> <li>Fixed PHP8.1 deprecation errors in modifiers (upper, explode, number_format and replace) <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/755">#755</a> and <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/788">#788</a></li> <li>Fixed PHP8.1 deprecation errors in capitalize modifier <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/789">#789</a></li> <li>Fixed use of <code>rand()</code> without a parameter in math function <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/794">#794</a></li> <li>Fixed unselected year/month/day not working in html_select_date <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/395">#395</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mfettig"><code>@​mfettig</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/755">smarty-php/smarty#755</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/smarty-php/smarty/compare/v4.2.0...v4.2.1">https://github.com/smarty-php/smarty/compare/v4.2.0...v4.2.1</a></p> <h2>v4.2.0</h2> <h2>What's Changed</h2> <ul> <li>add local testrunners for all supported PHP versions using docker. by <a href="https://github.com/wisskid"><code>@​wisskid</code></a> in <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/770">smarty-php/smarty#770</a></li> <li>Fix PHP 8.1 htmlspecialchars deprecation by <a href="https://github.com/gkreitz"><code>@​gkreitz</code></a> in <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/766">smarty-php/smarty#766</a></li> <li>Do not use obsolete smarty properties '_dir_perms', '_file_perms', 'p… by <a href="https://github.com/wisskid"><code>@​wisskid</code></a> in <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/772">smarty-php/smarty#772</a></li> <li>Update to HTML5-syntax in debug template by <a href="https://github.com/JonisoftGermany"><code>@​JonisoftGermany</code></a> in <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/599">smarty-php/smarty#599</a></li> <li>Merge branch 'fix-issue-549-v3' of github.com:AnrDaemon/smarty into A… by <a href="https://github.com/wisskid"><code>@​wisskid</code></a> in <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/771">smarty-php/smarty#771</a></li> <li>Fixed second param of unescape modifier by <a href="https://github.com/wisskid"><code>@​wisskid</code></a> in <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/778">smarty-php/smarty#778</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/gkreitz"><code>@​gkreitz</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/766">smarty-php/smarty#766</a></li> <li><a href="https://github.com/JonisoftGermany"><code>@​JonisoftGermany</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/599">smarty-php/smarty#599</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/smarty-php/smarty/compare/v4.1.1...v4.2.0">https://github.com/smarty-php/smarty/compare/v4.1.1...v4.2.0</a></p> <h2>v4.1.1</h2> <h3>Security</h3> <ul> <li>Prevent PHP injection through malicious block name or include file name. This addresses CVE-2022-29221</li> </ul> <h3>Fixed</h3> <ul> <li>Exclude docs and demo from export and composer <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/751">#751</a></li> <li>PHP 8.1 deprecation notices in demo/plugins/cacheresource.pdo.php <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/706">#706</a></li> <li>PHP 8.1 deprecation notices in truncate modifier <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/699">#699</a></li> <li>Math equation <code>max(x, y)</code> didn't work anymore <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/721">#721</a></li> <li>Fix PHP 8.1 deprecated warning when calling rtrim <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/743">#743</a></li> <li>PHP 8.1: fix deprecation in escape modifier <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/727">#727</a></li> </ul> <h2>v4.1.0</h2> <p>Added support for PHP 8.1.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/smarty-php/smarty/blob/master/CHANGELOG.md">smarty/smarty's changelog</a>.</em></p> <blockquote> <h2>[4.2.1] - 2022-09-14</h2> <h3>Security</h3> <ul> <li>Applied appropriate javascript and html escaping in mailto plugin to counter injection attacks <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/454">#454</a></li> </ul> <h3>Fixed</h3> <ul> <li>Fixed PHP8.1 deprecation errors in modifiers (upper, explode, number_format and replace) <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/755">#755</a> and <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/788">#788</a></li> <li>Fixed PHP8.1 deprecation errors in capitalize modifier <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/789">#789</a></li> <li>Fixed use of <code>rand()</code> without a parameter in math function <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/794">#794</a></li> <li>Fixed unselected year/month/day not working in html_select_date <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/395">#395</a></li> </ul> <h2>[4.2.0] - 2022-08-01</h2> <h3>Fixed</h3> <ul> <li>Fixed problems with smarty_mb_str_replace <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/549">#549</a></li> <li>Fixed second parameter of unescape modifier not working <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/777">#777</a></li> </ul> <h3>Changed</h3> <ul> <li>Updated HTML of the debug template <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/599">#599</a></li> </ul> <h2>[4.1.1] - 2022-05-17</h2> <h3>Security</h3> <ul> <li>Prevent PHP injection through malicious block name or include file name. This addresses CVE-2022-29221</li> </ul> <h3>Fixed</h3> <ul> <li>Exclude docs and demo from export and composer <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/751">#751</a></li> <li>PHP 8.1 deprecation notices in demo/plugins/cacheresource.pdo.php <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/706">#706</a></li> <li>PHP 8.1 deprecation notices in truncate modifier <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/699">#699</a></li> <li>Math equation <code>max(x, y)</code> didn't work anymore <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/721">#721</a></li> <li>Fix PHP 8.1 deprecated warning when calling rtrim <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/743">#743</a></li> <li>PHP 8.1: fix deprecation in escape modifier <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/727">#727</a></li> </ul> <h2>[4.1.0] - 2022-02-06</h2> <h3>Added</h3> <ul> <li>PHP8.1 compatibility <a href="https://github-redirect.dependabot.com/smarty-php/smarty/pull/713">#713</a></li> </ul> <h2>[4.0.4] - 2022-01-18</h2> <h3>Fixed</h3> <ul> <li>Fixed illegal characters bug in math function security check <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/702">#702</a></li> </ul> <h2>[4.0.3] - 2022-01-10</h2> <h3>Security</h3> <ul> <li>Prevent evasion of the <code>static_classes</code> security policy. This addresses CVE-2021-21408</li> </ul> <h2>[4.0.2] - 2022-01-10</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/smarty-php/smarty/commit/ffa2b81a8e354a49fd8a2f24742dc9dc399e8007"><code>ffa2b81</code></a> Merge branch 'release/4.2.1'</li> <li><a href="https://github.com/smarty-php/smarty/commit/c693d8137073a5e6d58d62f321b76fa9edf6d378"><code>c693d81</code></a> version bump</li> <li><a href="https://github.com/smarty-php/smarty/commit/813c83f7a3c3344f64b8e4b634612a2aebfaf4c0"><code>813c83f</code></a> Fixed unselected year/month/day not working in html_select_date</li> <li><a href="https://github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9"><code>55ea25d</code></a> Applied appropriate javascript and html escaping in mailto plugin to counter ...</li> <li><a href="https://github.com/smarty-php/smarty/commit/d304d349b4deb19c84742b29b53bb3f8e59413fc"><code>d304d34</code></a> Fixed PHP8.1 deprecation errors in capitalize modifier</li> <li><a href="https://github.com/smarty-php/smarty/commit/749481843422c72a016a111a85d090bfbe77dbd3"><code>7494818</code></a> prevent double CI workflows in PRs</li> <li><a href="https://github.com/smarty-php/smarty/commit/50d5890eaca5192a7352f1906a556341890db0ce"><code>50d5890</code></a> Exclude unit test files from git export</li> <li><a href="https://github.com/smarty-php/smarty/commit/6872e78238e967fe06657658245079bffc73db03"><code>6872e78</code></a> Utility script for running unit tests on all PHP versions locally</li> <li><a href="https://github.com/smarty-php/smarty/commit/5479e3362ca66d1e485d7585f08f439c6fdeb20b"><code>5479e33</code></a> Fixed use of <code>rand()</code> without a parameter in math function (<a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/795">#795</a>)</li> <li><a href="https://github.com/smarty-php/smarty/commit/f8f97b4e2d0eedcc5b24acbec2d456447b556398"><code>f8f97b4</code></a> Fixed PHP8.1 deprecation errors in upper modifier <a href="https://github-redirect.dependabot.com/smarty-php/smarty/issues/788">#788</a></li> <li>Additional commits viewable in <a href="https://github.com/smarty-php/smarty/compare/v3.1.44...v4.2.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=smarty/smarty&package-manager=composer&previous-version=3.1.44&new-version=4.2.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/opensolutions/ViMbAdmin/network/alerts). </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 10:30:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#310
No description provided.