Skip to content

Releases: smarty-php/smarty

v4.2.0

01 Aug 21:59
Compare
Choose a tag to compare

What's Changed

  • add local testrunners for all supported PHP versions using docker. by @wisskid in #770
  • Fix PHP 8.1 htmlspecialchars deprecation by @gkreitz in #766
  • Do not use obsolete smarty properties '_dir_perms', '_file_perms', 'p… by @wisskid in #772
  • Update to HTML5-syntax in debug template by @JonisoftGermany in #599
  • Merge branch 'fix-issue-549-v3' of github.com:AnrDaemon/smarty into A… by @wisskid in #771
  • Fixed second param of unescape modifier by @wisskid in #778

New Contributors

Full Changelog: v4.1.1...v4.2.0

v3.1.46

01 Aug 21:59
Compare
Choose a tag to compare

What's Changed

  • Fixed replace modifier by converting encoding if needed by @AnrDaemon in #740
  • Fixed second param of unescape modifier by @wisskid in #779

Full Changelog: v3.1.45...v3.1.46

v4.1.1

17 May 12:59
Compare
Choose a tag to compare

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

v3.1.45

17 May 12:59
Compare
Choose a tag to compare

Security

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

Fixed

  • Math equation max(x, y) didn't work anymore #721

v4.1.0

06 Feb 20:35
Compare
Choose a tag to compare

Added support for PHP 8.1.

What's Changed

  • PHP 8.1 compatibility (without IntlDateFormatter) by @thirsch in #713
  • Updating PHP 8.0 to 8.1 in the docs. by @thirsch in #717

Full Changelog: v4.0.4...v4.1.0

v4.0.4

17 Jan 23:18
Compare
Choose a tag to compare

What's Changed

  • Support multiple operators in math equations by @caugner in #708

Full Changelog: v4.0.3...v4.0.4

v3.1.44

17 Jan 23:18
Compare
Choose a tag to compare

What's Changed

  • Fixes illegal characters warning in math

Full Changelog: v3.1.43...v3.1.44

v4.0.3

10 Jan 09:53
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: v4.0.2...v4.0.3

v3.1.43

10 Jan 09:53
Compare
Choose a tag to compare

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

Full Changelog: v3.1.42...v3.1.43

v4.0.2

09 Jan 23:09
Compare
Choose a tag to compare

Prevent arbitrary PHP code execution through maliciously crafted expression for the math function. This addresses CVE-2021-29454

Full Changelog: v4.0.1...v4.0.2