Skip to content

Commit 8d53d3c

Browse files
committed
Merge branch 'release/5.1.0'
2 parents f411247 + 47c4864 commit 8d53d3c

9 files changed

Lines changed: 12 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [5.1.0] - 2024-04-22
10+
- Prevent deprecation notices during compilation in PHP8.3 [#996](https://github.com/smarty-php/smarty/issues/996)
11+
- Fix that getTemplateVars would return an array of objects instead of the assigned variables values [#994](https://github.com/smarty-php/smarty/issues/994)
12+
- Fix Smarty::assign() not returning $this when called with an array as first parameter [#972](https://github.com/smarty-php/smarty/pull/972)
13+
- Documented support for `{if $element is in $array}` syntax [#937](https://github.com/smarty-php/smarty/issues/937)
14+
- Added support for `{if $element is not in $array}` syntax [#937](https://github.com/smarty-php/smarty/issues/937)
15+
- Using stream variables in templates now throws a deprecation notice [#933](https://github.com/smarty-php/smarty/pull/933)
16+
- Internal compiler classes always return a string (the internal has_code flag has been removed for simplicity) [#918](https://github.com/smarty-php/smarty/pull/918)
17+
- Fix invalid classnames in Runtime code for foreach [#1000](https://github.com/smarty-php/smarty/issues/1000)
18+
19+
920
## [5.0.1] - 2024-03-27
1021
- Fix error in Smarty\Smarty::compileAllTemplates() by including missing FilesystemIterator class [#966](https://github.com/smarty-php/smarty/issues/966)
1122

changelog/1000.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/918.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/933.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/937.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog/972.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/994.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/996.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Smarty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Smarty extends \Smarty\TemplateBase {
5454
/**
5555
* smarty version
5656
*/
57-
const SMARTY_VERSION = '5.0.1';
57+
const SMARTY_VERSION = '5.1.0';
5858

5959
/**
6060
* define caching modes

0 commit comments

Comments
 (0)