Skip to content

Commit

Permalink
Merge branch 'release/5.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
wisskid committed May 28, 2024
2 parents 0be92bc + 06d6a5e commit cdee97d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion changelog/1017.md

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/GHSA-4rmg-292m-wg3w.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/Smarty.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdee97d

Please sign in to comment.