diff --git a/CHANGELOG.md b/CHANGELOG.md index e679aeb79..f359cec2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.2.0] - 2024-05-28 +- Fixed a code injection vulnerability in extends-tag. This addresses CVE-2024-35226. +- Added `$smarty->setCacheModifiedCheck()` setter for cache_modified_check +- Added a PSR-4 loading script to allow Smarty to be used without Composer [#1017](https://github.com/smarty-php/smarty/pull/1017) + + ## [5.1.0] - 2024-04-22 - Prevent deprecation notices during compilation in PHP8.3 [#996](https://github.com/smarty-php/smarty/issues/996) - Fix that getTemplateVars would return an array of objects instead of the assigned variables values [#994](https://github.com/smarty-php/smarty/issues/994) diff --git a/changelog/1017.md b/changelog/1017.md deleted file mode 100644 index cb9dd5552..000000000 --- a/changelog/1017.md +++ /dev/null @@ -1 +0,0 @@ -- Added a PSR-4 loading script to allow Smarty to be used without Composer [#1017](https://github.com/smarty-php/smarty/pull/1017) diff --git a/changelog/GHSA-4rmg-292m-wg3w.md b/changelog/GHSA-4rmg-292m-wg3w.md deleted file mode 100644 index c0e28bc16..000000000 --- a/changelog/GHSA-4rmg-292m-wg3w.md +++ /dev/null @@ -1,2 +0,0 @@ -- Fixed a code injection vulnerability in extends-tag. This addresses CVE-2024-35226. -- Added `$smarty->setCacheModifiedCheck()` setter for cache_modified_check \ No newline at end of file diff --git a/src/Smarty.php b/src/Smarty.php index 9c27d7a83..5af9c9b36 100644 --- a/src/Smarty.php +++ b/src/Smarty.php @@ -54,7 +54,7 @@ class Smarty extends \Smarty\TemplateBase { /** * smarty version */ - const SMARTY_VERSION = '5.1.0'; + const SMARTY_VERSION = '5.2.0'; /** * define caching modes