From f8e63fc480788db07856968956850fe21f8a08d1 Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Mon, 25 Mar 2024 12:28:42 +0100 Subject: [PATCH] version bump --- CHANGELOG.md | 5 +++++ changelog/952.md | 2 -- src/Smarty.php | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) delete mode 100644 changelog/952.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d98abbb5..724651bc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.0.0] - 2024-03-25 +- Fixed that scoped variables would overwrite parent scope [#952](https://github.com/smarty-php/smarty/issues/952) +- Removed publicly accessible `$tpl->_var_stack` variable + + ### Fixed - Too many shorthand attributes error when using a modifier as a function with more than 3 parameters in an expression [#949](https://github.com/smarty-php/smarty/issues/949) diff --git a/changelog/952.md b/changelog/952.md deleted file mode 100644 index 838ed4fbe..000000000 --- a/changelog/952.md +++ /dev/null @@ -1,2 +0,0 @@ -- Fixed that scoped variables would overwrite parent scope [#952](https://github.com/smarty-php/smarty/issues/952) -- Removed publicly accessible `$tpl->_var_stack` variable \ No newline at end of file diff --git a/src/Smarty.php b/src/Smarty.php index 0fdf6dbd6..6925d4060 100644 --- a/src/Smarty.php +++ b/src/Smarty.php @@ -53,7 +53,7 @@ class Smarty extends \Smarty\TemplateBase { /** * smarty version */ - const SMARTY_VERSION = '5.0.0-rc3'; + const SMARTY_VERSION = '5.0.0'; /** * define caching modes