diff options
| author | Simon Wisselink <s.wisselink@iwink.nl> | 2024-04-23 00:22:15 +0200 |
|---|---|---|
| committer | Simon Wisselink <s.wisselink@iwink.nl> | 2024-04-23 00:22:15 +0200 |
| commit | 8d53d3cbf2a986f392d680349be0fc22661bf16c (patch) | |
| tree | 9264e9674597769e93bba9c301d0393cb5b12ba4 | |
| parent | f411247aa11e2a88455581128c9bb1e8895af890 (diff) | |
| parent | 47c4864dd11f60038689763c0dfe8f706c0cbf42 (diff) | |
| download | smarty-8d53d3cbf2a986f392d680349be0fc22661bf16c.tar.gz smarty-8d53d3cbf2a986f392d680349be0fc22661bf16c.tar.bz2 smarty-8d53d3cbf2a986f392d680349be0fc22661bf16c.zip | |
Merge branch 'release/5.1.0'v5.1.0
| -rw-r--r-- | CHANGELOG.md | 11 | ||||
| -rw-r--r-- | changelog/1000.md | 1 | ||||
| -rw-r--r-- | changelog/918.md | 1 | ||||
| -rw-r--r-- | changelog/933.md | 1 | ||||
| -rw-r--r-- | changelog/937.md | 2 | ||||
| -rw-r--r-- | changelog/972.md | 1 | ||||
| -rw-r--r-- | changelog/994.md | 1 | ||||
| -rw-r--r-- | changelog/996.md | 1 | ||||
| -rw-r--r-- | src/Smarty.php | 2 |
9 files changed, 12 insertions, 9 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 274c3b74..e679aeb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/changelog/1000.md b/changelog/1000.md deleted file mode 100644 index 5aa31f8c..00000000 --- a/changelog/1000.md +++ /dev/null @@ -1 +0,0 @@ -- Fix invalid classnames in Runtime code for foreach [#1000](https://github.com/smarty-php/smarty/issues/1000)
\ No newline at end of file diff --git a/changelog/918.md b/changelog/918.md deleted file mode 100644 index 853fdd12..00000000 --- a/changelog/918.md +++ /dev/null @@ -1 +0,0 @@ -- 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) diff --git a/changelog/933.md b/changelog/933.md deleted file mode 100644 index 7c6633cf..00000000 --- a/changelog/933.md +++ /dev/null @@ -1 +0,0 @@ -- Using stream variables in templates now throws a deprecation notice [#933](https://github.com/smarty-php/smarty/pull/933) diff --git a/changelog/937.md b/changelog/937.md deleted file mode 100644 index 37f80e99..00000000 --- a/changelog/937.md +++ /dev/null @@ -1,2 +0,0 @@ -- 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)
\ No newline at end of file diff --git a/changelog/972.md b/changelog/972.md deleted file mode 100644 index e1e930a3..00000000 --- a/changelog/972.md +++ /dev/null @@ -1 +0,0 @@ -- Fix Smarty::assign() not returning $this when called with an array as first parameter [#972](https://github.com/smarty-php/smarty/pull/972)
\ No newline at end of file diff --git a/changelog/994.md b/changelog/994.md deleted file mode 100644 index 16c58c51..00000000 --- a/changelog/994.md +++ /dev/null @@ -1 +0,0 @@ -- Fix that getTemplateVars would return an array of objects instead of the assigned variables values [#994](https://github.com/smarty-php/smarty/issues/994)
\ No newline at end of file diff --git a/changelog/996.md b/changelog/996.md deleted file mode 100644 index 3735bcc7..00000000 --- a/changelog/996.md +++ /dev/null @@ -1 +0,0 @@ -- Prevent deprecation notices during compilation in PHP8.3 [#996](https://github.com/smarty-php/smarty/issues/996) diff --git a/src/Smarty.php b/src/Smarty.php index 5a9654b6..dbb91726 100644 --- a/src/Smarty.php +++ b/src/Smarty.php @@ -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 |
