Skip to content

Releases: smarty-php/smarty

v5.0.1

27 Mar 22:06
Compare
Choose a tag to compare
  • Fix error in Smarty\Smarty::compileAllTemplates() by including missing FilesystemIterator class #966

Full Changelog: v5.0.0...v5.0.1

v5.0.0

25 Mar 11:36
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.5.1...v5.0.0

v4.5.1

18 Mar 14:20
Compare
Choose a tag to compare

What's Changed

  • Using PHP functions and static class methods in expressions now also triggers a deprecation notice by @wisskid in #880

Full Changelog: v4.4.0...v4.5.1

v5.0.0-rc3

26 Feb 13:42
Compare
Choose a tag to compare
v5.0.0-rc3 Pre-release
Pre-release

What's Changed

  • Fixed failing {debug} tag. by @wisskid in #923
  • Add php8.3 support by @wisskid in #926
  • Fix incorrect code when escape_html=true by @wxiaoguang in #930
  • Add template path to CompilerException to enable rich debug features by @wisskid in #936
  • Implemented support for substr, implode and json_encode as modifiers. by @wisskid in #940

New Contributors

Full Changelog: v5.0.0-rc2...v5.0.0-rc3

v4.4.1

26 Feb 14:00
Compare
Choose a tag to compare

Full Changelog: v4.4.0...v4.4.1

v4.4.0

26 Feb 14:00
Compare
Choose a tag to compare

What's Changed

  • Fix incorrect compilation of expressions when escape_html=true by @wisskid in #932
  • Prevent deprecation notices for implode, json_encode and substr modif… by @wisskid in #942

Full Changelog: v4.3.5...v4.4.0

v5.0.0-rc2

11 Nov 19:29
bc4e70f
Compare
Choose a tag to compare
v5.0.0-rc2 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v4.3.2...v5.0.0-rc2

v4.3.4

01 Oct 20:24
Compare
Choose a tag to compare

What's Changed

  • Fix strip_tags modifier for falsy input. by @wisskid in #893
  • Fix use of negative numbers in math equations (4.3 port of #903) by @wisskid in #904

Full Changelog: v4.3.2...v4.3.4

v4.3.2

19 Jul 12:07
Compare
Choose a tag to compare

What's Changed

  • Remove md5 modifier from debug.tpl by @j-applese3d in #871
  • muteUndefinedOrNullWarnings() now also mutes PHP8 warnings for undefi… by @wisskid in #891

New Contributors

Full Changelog: v4.3.1...v4.3.2

v4.3.1

28 Mar 19:50
Compare
Choose a tag to compare

Security

  • Fixed Cross site scripting vulnerability in Javascript escaping. This addresses CVE-2023-28447.

Fixed

  • $smarty->muteUndefinedOrNullWarnings() now also mutes PHP7 notices for undefined array indexes #736
  • $smarty->muteUndefinedOrNullWarnings() now treats undefined vars and array access of a null or false variables
    equivalent across all supported PHP versions
  • $smarty->muteUndefinedOrNullWarnings() now allows dereferencing of non-objects across all supported PHP versions #831
  • PHP 8.1 deprecation warnings on null strings in modifiers #834