Simon Wisselink
e0dedf43cb
PHP 8.5 support
2025-07-02 10:01:28 +02:00
Simon Wisselink
46cd224efb
version bump
2025-05-19 11:29:40 +02:00
Simon Wisselink
d3b716a0b9
changelog
2025-05-19 11:29:30 +02:00
Simon Wisselink
f659193c94
version bump
2025-05-03 23:36:44 +02:00
Simon Wisselink
0b6166482a
changelog
2025-05-03 23:36:27 +02:00
Simon Wisselink
6ad6a35824
version bump
2025-04-15 13:20:06 +02:00
Simon Wisselink
baa53399f5
changelog
2025-04-15 13:19:54 +02:00
Simon Wisselink
5401418258
version bump
2025-04-13 22:12:08 +02:00
Simon Wisselink
a5bbba3f05
Fix syntax error occurring when registering a function plugin that ends with the string 'close' ( #1124 )
...
Fixes #1122
2025-04-10 23:47:44 +02:00
Simon Wisselink
5d1ea5806a
change SMARTY_VERSION to $smarty.version.
...
Fixes #1073
2024-12-28 17:40:25 +01:00
Simon Wisselink
07faafe4da
version bump
2024-12-23 01:38:41 +01:00
Simon Wisselink
f47ac761af
replace/qualify call_user_func_array. ( #1083 )
...
Fixes #1074
2024-11-20 23:05:14 +01:00
Simon Wisselink
77b91a072b
version bump
2024-08-14 22:00:42 +02:00
Simon Wisselink
9ede0e40fa
changelog
2024-08-14 22:00:15 +02:00
Amaury Bouchard
2289fa69f1
Improvement of auto-escaping ( #1030 )
...
* Evolution of auto-escaping: no double-escaping when using the 'escape' modifier; add the 'force' mode to the 'escape' modifier; add the 'raw' modifier.
* Add 'raw' modifier's documentation
---------
Co-authored-by: Simon Wisselink <s.wisselink@iwink.nl >
2024-06-30 13:25:30 +02:00
Simon Wisselink
a2193eb4cf
version bump
2024-06-16 21:51:11 +02:00
Simon Wisselink
8ecde47203
fixed error when using section with nocache.
...
Fixes #1034
2024-06-16 21:48:14 +02:00
Simon Wisselink
20c08ac40d
version bump
2024-05-30 13:14:54 +02:00
Simon Wisselink
4aa1273a80
Merge branch 'support/5'
2024-05-30 13:11:33 +02:00
Simon Wisselink
2a87c65994
implemented and documented prependTemplateDir. ( #1025 )
2024-05-29 15:32:47 +02:00
Simon Wisselink
06d6a5efd9
version bump
2024-05-28 23:45:14 +02:00
Simon Wisselink
0be92bc8a6
Merge pull request from GHSA-4rmg-292m-wg3w
2024-05-28 22:44:30 +02:00
Simon Wisselink
61db287b8f
Scottchiefbaker/master ( #1019 )
...
* Add a PSR-4 loading script to allow Smarty to be used without Composer
authored-by: Scott Baker <scott@perturb.org >
2024-05-24 00:21:02 +02:00
Simon Wisselink
47c4864dd1
version bump
2024-04-23 00:22:13 +02:00
Simon Wisselink
f411247aa1
Prevent notices on null to string conversion in Template::appendCode ( #1002 )
...
Fixes #996
2024-04-19 11:14:07 +02:00
Simon Wisselink
9a8702d937
Corrected invalid classnames in Runtime code for foreach ( #1001 )
...
Fixes #1000
2024-04-19 10:42:54 +02:00
Simon Wisselink
5ee4363000
Fix change in signature of getTemplateVars ( #995 )
2024-04-13 16:53:05 +02:00
Simon Wisselink
599bcee13e
Fix Smarty::assign() not returning when called with an array as first parameter. ( #973 )
...
Fixes #972
2024-04-05 22:38:57 +02:00
Simon Wisselink
0972503aef
version bump
2024-04-05 22:38:57 +02:00
Simon Wisselink
3232277bc5
Fix warning when calling hasVariable for an undefined variable ( #978 )
...
Fixes #977
2024-03-29 23:32:49 +01:00
Simon Wisselink
52dc8adafb
version bump
2024-03-28 11:23:16 +01:00
Simon Wisselink
6f054ecc2f
Fix Smarty::assign() not returning when called with an array as first parameter. ( #973 )
...
Fixes #972
2024-03-28 11:22:29 +01:00
Simon Wisselink
fea0d02d99
version bump
2024-03-27 23:03:40 +01:00
Simon Wisselink
4efa427a87
Fix missing and bogus use lines in src/Smarty.php. ( #970 )
2024-03-27 22:55:23 +01:00
Simon Wisselink
cafe5e1e59
Fix missing and bogus use lines in src/Smarty.php. ( #970 )
2024-03-27 22:53:03 +01:00
Simon Wisselink
1da30e76e8
Documented support for is in
, added support for is not in
. ( #955 )
...
* Documented support for `is in`, added support for `is not in`.
Fixes #937
* minor docs improvement
2024-03-25 13:54:02 +01:00
Simon Wisselink
58348c38ef
changelog entry for depcreated stream variables
2024-03-25 13:48:53 +01:00
Simon Wisselink
7255b4d73c
Internal compiler classes always return a string ( #918 )
...
* Internal compiler classes always return a string (the internal has_code flag has been removed for simplicity)
* Add :string method signature to compile method everywhere.
2024-03-25 13:44:06 +01:00
Simon Wisselink
f8e63fc480
version bump
2024-03-25 12:28:42 +01:00
Simon Wisselink
82397ec7f0
Fixed that scoped variables would overwrite parent scope. ( #954 )
...
* Fixed that scoped variables would overwrite parent scope.
Fixes #952
* Moved variable stack maintenance to methods and private properties in Data class.
2024-03-15 16:10:27 +01:00
Simon Wisselink
293bc20db0
fix release tooling to auto-delete changelog files
2024-02-26 14:59:35 +01:00
Simon Wisselink
41d80b99ac
Implemented support for substr, implode and json_encode as modifiers. ( #940 )
...
* Implemented support for substr, implode and json_encode as modifiers. Fixes #939
* Added split and join in favor of explode and implode modifiers.
* Documented all available modifiers
2024-02-26 14:35:19 +01:00
Simon Wisselink
2b0ba0eabc
Add template path to CompilerException to enable rich debug features ( #936 )
...
* Add template path to CompilerException to enable rich debug features
Fixes #935
2024-02-24 23:36:06 +01:00
Simon Wisselink
d5adea5863
added changelog
2024-02-05 14:11:16 +01:00
Simon Wisselink
198338e2a2
Fix make-release script for MacOS
2023-11-11 20:26:29 +01:00