summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wisselink <s.wisselink@iwink.nl>2024-05-28 23:45:14 +0200
committerSimon Wisselink <s.wisselink@iwink.nl>2024-05-28 23:45:14 +0200
commit06d6a5efd936221e5220805c9d07fba72254be80 (patch)
tree0e25958c8d5ca6a6652a1357cd6830c3c24f64e5
parent0be92bc8a6fb83e6e0d883946f7e7c09ba4e857a (diff)
downloadsmarty-06d6a5efd936221e5220805c9d07fba72254be80.tar.gz
smarty-06d6a5efd936221e5220805c9d07fba72254be80.tar.bz2
smarty-06d6a5efd936221e5220805c9d07fba72254be80.zip
version bump
-rw-r--r--CHANGELOG.md6
-rw-r--r--changelog/1017.md1
-rw-r--r--changelog/GHSA-4rmg-292m-wg3w.md2
-rw-r--r--src/Smarty.php2
4 files changed, 7 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e679aeb7..f359cec2 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 cb9dd555..00000000
--- 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 c0e28bc1..00000000
--- 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 9c27d7a8..5af9c9b3 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