Commit Graph

4968 Commits

Author SHA1 Message Date
Simon Wisselink
a8d77c8666 Merge branch 'release/4.5.6' into support/4 v4.5.6 2025-08-26 10:37:46 +02:00
Simon Wisselink
7721e5d786 version bump 2025-08-26 10:37:44 +02:00
Simon Wisselink
3e6a478e93 Fixed escaping of array/object keys in debug_print_var 2025-08-26 10:37:17 +02:00
Shad
c438c79d7d add count and debug_print_var modifier doc (#1116) 2025-03-17 09:18:09 +01:00
Shad
e1ef353ccf add missing closing tr tag (#1117)
Add missing end tag for 'assigned template variables' section.
backport of d6153d4
2025-03-17 09:15:32 +01:00
Simon Wisselink
5cb412d040 Bugfix/1100 modifier called like a function compiled to modifier name not callback (#1101)
* Fixed that modifiers called like function would be compiled to modifier name instead of calling the registered callback
2025-02-13 23:21:21 +01:00
Simon Wisselink
272a407e9d change SMARTY_VERSION to $smarty.version.
Fixes #1073
2024-12-28 17:39:36 +01:00
Simon Wisselink
c4851c12e3 Merge branch 'release/4.5.5' into support/4 v4.5.5 2024-11-21 23:06:22 +01:00
Simon Wisselink
48f9d291de version bump 2024-11-21 23:06:19 +01:00
Simon Wisselink
4fbff32417 changelog 2024-11-21 23:06:02 +01:00
Jonathan Lelievre
bf87aee3f0 Add PHP 8.4 support to Smarty (#1084)
* Add nullable types

* Removing deprecated E_STRICT constant from test suite.

* Added PHP 8.4 RC1 as test image

* PHP version bump in the README.md.

* Added PHP 8.4 to CI

* Add running tests for PHP 8.4
2024-11-21 23:04:22 +01:00
Simon Wisselink
ffc4415a4f Add unit tests for short hand template function definition and shorthand template function calls. 2024-10-06 22:03:23 +02:00
Simon Wisselink
c11676e85a Merge branch 'release/4.5.4' into support/4 v4.5.4 2024-08-14 22:04:35 +02:00
Simon Wisselink
44a08bea7c version bump 2024-08-14 22:04:33 +02:00
Simon Wisselink
2adb8801a5 Fixed that using count() would trigger a deprecation notice. (#1054) 2024-08-14 10:58:02 +02:00
Simon Wisselink
9fc96a13db Merge branch 'release/4.5.3' into support/4 v4.5.3 2024-05-28 23:46:01 +02:00
Simon Wisselink
09e211cbfd version bump 2024-05-28 23:45:58 +02:00
Simon Wisselink
76881c8d33 Merge pull request from GHSA-4rmg-292m-wg3w
* Fixed a code injection vulnerability in extends-tag

* update tests for smarty v4
2024-05-28 22:44:30 +02:00
Simon Wisselink
4549822cdd fixed sample output of section in the docs and added this example as a unit test 2024-04-19 11:10:01 +02:00
Simon Wisselink
55799a9b65 Add test for getTemplateVars returning array of values 2024-04-13 10:34:51 +02:00
Simon Wisselink
6592bd4ad3 fixed changelog 2024-04-07 22:48:33 +02:00
Simon Wisselink
7320402766 Merge branch 'release/4.5.2' into support/4 v4.5.2 2024-04-06 00:34:05 +02:00
Simon Wisselink
1115eb6f65 version bump 2024-04-06 00:33:17 +02:00
Simon Wisselink
9656f553d1 Throw deprecation notice about unregistered functions without changing the compilation flow (#985)
Fixes #964
2024-04-05 17:41:54 +02:00
Simon Wisselink
42b869e3a0 Merge branch 'release/4.5.1' into support/4 v4.5.1 2024-03-18 15:19:07 +01:00
Simon Wisselink
4cb00900d7 version bump 2024-03-18 15:19:05 +01:00
Simon Wisselink
204f3bc74e fix branch name in release script 2024-03-18 15:16:08 +01:00
Simon Wisselink
409802db04 Merge branch 'release/4.5.0' into support/4 2024-03-18 15:14:37 +01:00
Simon Wisselink
1015e5472b version bump 2024-03-18 15:12:18 +01:00
Simon Wisselink
c7a271323b Using unsupported PHP functions and unregistered static class methods in modifiers and expressions now triggers a deprecation notice
* Using unsupported PHP functions and unregistered static class methods in modifiers and expressions now triggers a deprecation notice because we will drop support for this in the next major release
2024-03-18 14:44:29 +01:00
Simon Wisselink
e2cb9873ff New unit test for function scope 2024-03-15 16:18:19 +01:00
Simon Wisselink
f4152e9b81 auto-delete changelog files v4.5.0 v4.4.1 2024-02-26 14:58:37 +01:00
Simon Wisselink
5d0dd09632 changelog update 2024-02-26 14:58:17 +01:00
Simon Wisselink
9d559827fd Merge branch 'release/4.4.1' into support/4.3 2024-02-26 14:56:21 +01:00
Simon Wisselink
5e2a9fbb26 version bump 2024-02-26 14:56:21 +01:00
Simon Wisselink
9614a59199 changelog 2024-02-26 14:56:15 +01:00
Simon Wisselink
ee58a2173b Updated release tooling 2024-02-26 14:55:24 +01:00
Simon Wisselink
29dd621b53 Add some guidance on upgrading from v3 to v4 checkout v4.4.0 2024-02-26 14:46:35 +01:00
Simon Wisselink
de1bc77f7f Prevent deprecation notices for implode, json_encode and substr modifiers
* Prevent deprecation notices for implode, json_encode and substr modifiers.
* unit tests
2024-02-26 14:33:47 +01:00
Simon Wisselink
326b2da8da Fix incorrect compilation of expressions when escape_html=true (#932)
Fixes #930
2024-02-05 14:37:52 +01:00
Simon Wisselink
e0cbbdf6ea Update php version number in docs v4.3.5 2024-01-23 11:47:54 +01:00
Simon Wisselink
b4bbc17f1c Add PHP8.3 support for Smarty 4.3. (#927)
See #925
2024-01-23 11:45:13 +01:00
Simon Wisselink
6e067ed327 Add unit tests to clarify current behavior 2023-09-21 23:50:10 +02:00
Simon Wisselink
3931d8f54b Merge branch 'release/4.3.4' into support/4.3 v4.3.3 v4.3.4 2023-09-14 12:59:08 +02:00
Simon Wisselink
d8c1dfe56e version bump 2023-09-14 12:59:07 +02:00
Simon Wisselink
6887e55ded Merge branch 'release/4.3.3' into support/4.3 2023-09-14 11:00:40 +02:00
Simon Wisselink
642fd69fea version bump 2023-09-14 11:00:38 +02:00
Simon Wisselink
17a7d6fb5b Fix release-script to user support-branch 2023-09-14 11:00:08 +02:00
Simon Wisselink
b96a5c3953 version bump 2023-09-14 10:57:44 +02:00
Simon Wisselink
2ff66e0fcc Fix use of negative numbers in math equations. (#904)
Fixes #895
2023-09-14 10:38:53 +02:00