Skip to content

Commit

Permalink
Merge branch 'release/5.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
wisskid committed Apr 22, 2024
2 parents f411247 + 47c4864 commit 8d53d3c
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [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)
- Fix Smarty::assign() not returning $this when called with an array as first parameter [#972](https://github.com/smarty-php/smarty/pull/972)
- Documented support for `{if $element is in $array}` syntax [#937](https://github.com/smarty-php/smarty/issues/937)
- Added support for `{if $element is not in $array}` syntax [#937](https://github.com/smarty-php/smarty/issues/937)
- Using stream variables in templates now throws a deprecation notice [#933](https://github.com/smarty-php/smarty/pull/933)
- 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)
- Fix invalid classnames in Runtime code for foreach [#1000](https://github.com/smarty-php/smarty/issues/1000)


## [5.0.1] - 2024-03-27
- Fix error in Smarty\Smarty::compileAllTemplates() by including missing FilesystemIterator class [#966](https://github.com/smarty-php/smarty/issues/966)

Expand Down
1 change: 0 additions & 1 deletion changelog/1000.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/918.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/933.md

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/937.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/972.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/994.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/996.md

This file was deleted.

2 changes: 1 addition & 1 deletion src/Smarty.php
Expand Up @@ -54,7 +54,7 @@ class Smarty extends \Smarty\TemplateBase {
/**
* smarty version
*/
const SMARTY_VERSION = '5.0.1';
const SMARTY_VERSION = '5.1.0';

/**
* define caching modes
Expand Down

0 comments on commit 8d53d3c

Please sign in to comment.