From 06d6a5efd936221e5220805c9d07fba72254be80 Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Tue, 28 May 2024 23:45:14 +0200 Subject: [PATCH] version bump --- CHANGELOG.md | 6 ++++++ changelog/1017.md | 1 - changelog/GHSA-4rmg-292m-wg3w.md | 2 -- src/Smarty.php | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) delete mode 100644 changelog/1017.md delete mode 100644 changelog/GHSA-4rmg-292m-wg3w.md 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