Simon Wisselink
7721e5d786
version bump
2025-08-26 10:37:44 +02:00
Simon Wisselink
48f9d291de
version bump
2024-11-21 23:06:19 +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
44a08bea7c
version bump
2024-08-14 22:04:33 +02:00
Simon Wisselink
09e211cbfd
version bump
2024-05-28 23:45:58 +02:00
Simon Wisselink
1115eb6f65
version bump
2024-04-06 00:33:17 +02:00
Simon Wisselink
4cb00900d7
version bump
2024-03-18 15:19:05 +01:00
Simon Wisselink
1015e5472b
version bump
2024-03-18 15:12:18 +01:00
Simon Wisselink
5e2a9fbb26
version bump
2024-02-26 14:56:21 +01:00
Simon Wisselink
d8c1dfe56e
version bump
2023-09-14 12:59:07 +02:00
Simon Wisselink
642fd69fea
version bump
2023-09-14 11:00:38 +02:00
Simon Wisselink
edfd4c91da
version bump
2023-07-19 12:27:34 +02:00
Simon Wisselink
fe7817c301
version bump
2023-03-28 21:47:01 +02:00
Simon Wisselink
044647bd71
Also mute php7 notices for undefined array indexes when muteUndefinedOrNullWarnings is activated. ( #829 )
...
Fixes #736
2022-11-23 23:26:24 +01:00
Simon Wisselink
67ab8f6879
version bump
2022-11-22 22:47:30 +01:00
Raimondas Rimkevičius
1b556c7077
Use __DIR__ instead of dirname(__FILE__) ( #817 )
2022-09-27 12:03:34 +02:00
Alec Smecher
0fb29024e7
#155 Adapt Smarty upper/lower functions to be codesafe (e.g. for Turkish locale) ( #586 )
...
* Implemented locale safe strotoupper, strolower and ucfirst functions for translating user string to filenames etc.
Fixes #155
Co-Authored-By: Alexkurd <7689609+Alexkurd@users.noreply.github.com >
2022-09-22 23:32:55 +02:00
Simon Wisselink
c693d81370
version bump
2022-09-14 12:58:59 +02:00
Simon Wisselink
ed454551a3
version bump
2022-08-01 23:57:36 +02:00
Simon Wisselink
78f0cf5f65
version bump
2022-05-17 14:56:26 +02:00
Jorge Sá Pereira
962f266483
Fix PHP 8.1 deprecated warning when calling rtrim
...
Fixes - Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated
2022-03-10 02:06:00 +00:00
Simon Wisselink
265cf4f3bc
version bump
2022-02-06 21:34:26 +01:00
Simon Wisselink
995b7eb36f
version bump
2022-01-18 00:17:17 +01:00
Simon Wisselink
ace1c8e90f
version bump
2022-01-10 10:52:13 +01:00
Simon Wisselink
a535445dfd
version bump
2022-01-10 00:09:06 +01:00
Simon Wisselink
23be620fc8
version bump
2022-01-09 23:20:44 +01:00
Simon Wisselink
e603269eda
version bump
2021-11-25 22:18:24 +01:00
Simon Wisselink
d0863f0d0b
version bump
2021-10-13 12:16:19 +02:00
Simon Wisselink
39b69f0142
Feature/php8 support ( #629 )
...
Adds support for PHP8.0, dropping support for PHP7.0 and below.
Backwards incompatible changes:
- Dropped support for php asp tags in templates (removed from php since php7.0)
- Dropped deprecated API calls that where only accessible through SmartyBC
- Dropped support for {php} and {include_php} tags and embedded PHP in templates. Embedded PHP will now be passed through as is.
- Removed all PHP_VERSION_ID and compare_version checks and conditional code blocks that are now no longer required
- Dropped deprecated SMARTY_RESOURCE_CHAR_SET and SMARTY_RESOURCE_DATE_FORMAT constants
- Dropped deprecated Smarty::muteExpectedErrors and Smarty::unmuteExpectedErrors API methods
- Dropped deprecated $smarty->getVariable() method. Use $smarty->getTemplateVars() instead.
- $smarty->registerResource() no longer accepts an array of callback functions
See the changelog for more details.
Switched CI from Travis to Github CI.
2021-10-13 12:15:17 +02:00
Simon Wisselink
7c4354e7b8
version bump
2021-10-13 12:04:29 +02:00
Simon Wisselink
a21f59663c
version bump
2021-02-17 22:57:50 +01:00
Simon Wisselink
2af2a07906
version bump
2021-01-08 15:05:40 +01:00
Simon Wisselink
cb4254355e
Removed unused error_reporting.ini file, updated version number in Smarty::SMARTY_VERSION, fixed inline phpdoc that caused an IDE error
2021-01-08 15:05:10 +01:00
Simon Wisselink
e2b28167f8
Clarify correct LGPL version.
...
Fixes #612
2021-01-05 22:23:13 +01:00
♚ PH⑦ de Soria™♛
859a09e1bb
Bumped phpdoc @version tag to 3.1.36 ( #598 )
...
Although this could be removed, since the header comment is still there, it's good to keep the @version tag updated in order to avoid confusion for those who read it :)
2020-09-11 13:34:15 +02:00
Sławomir Kaleta
e1c050a32c
Fix comment - Method can return string ( #583 )
2020-04-14 17:26:20 +02:00
Simon Wisselink
07772aac90
version bump
2020-04-14 16:44:24 +02:00
Simon Wisselink
e0ea6899c8
fixed version of Smarty::SMARTY_VERSION and updates make-release script to do so automatically from now on
2020-04-14 16:40:44 +02:00
uwetews
68537949f2
- bugfix a nested subblock in an inheritance child template was not replace by
...
outer level block with same name in same child template https://github.com/smarty-php/smarty/issues/500
2018-10-30 01:03:52 +01:00
uwetews
433d220fa1
- bugfix Smarty::$php_handling == PHP_PASSTHRU (default) did eat the "\n" (newline) character if it did directly followed
...
a PHP tag like "?>" or other https://github.com/smarty-php/smarty/issues/501
2018-10-29 23:32:22 +01:00
uwetews
3626e37c53
- bugfix autoloader exit shortcut https://github.com/smarty-php/smarty/issues/467
2018-10-14 04:18:45 +02:00
uwetews
b05bc1b617
- bugfix in date-format modifier; NULL at date string or default_date did not produce correct output
...
https://github.com/smarty-php/smarty/pull/458
2018-10-11 09:22:23 +02:00
uwetews
c930f0e207
- bugfix {insert} not works when caching is enabled and included template is present
...
https://github.com/smarty-php/smarty/issues/496
2018-10-11 06:56:22 +02:00
uwetews
7f531f6a44
09.10.2018
...
- bugfix fix of 26.8.2017 https://github.com/smarty-php/smarty/issues/327
modifier is applied to sum expression https://github.com/smarty-php/smarty/issues/491
- bugfix indexed arrays could not be defined "array(...)""
2018-10-09 03:36:14 +02:00
uwetews
a6cb648dfc
- bugfix large plain text template sections without a Smarty tag > 700kB could
...
could fail in version 3.1.32 and 3.1.33 because PHP preg_match() restrictions
https://github.com/smarty-php/smarty/issues/488
2018-09-18 04:46:30 +02:00
uwetews
dd55b23121
Prepare 3.1.33 release
2018-09-12 22:54:16 +02:00
uwetews
2d1905cd88
- bugfix {foreach} using new style property access like {$item@property} on
...
Smarty 2 style named foreach loop could produce errors https://github.com/smarty-php/smarty/issues/484
2018-09-03 01:18:26 +02:00
uwetews
2c60503dfc
- bugfix some custom left and right delimiters like '{^' '^}' did not work
...
https://github.com/smarty-php/smarty/issues/450 https://github.com/smarty-php/smarty/pull/482
2018-08-31 17:32:44 +02:00
uwetews
4f7cd8f1b3
- reformating for PSR-2 coding standards https://github.com/smarty-php/smarty/pull/483
2018-08-31 16:45:09 +02:00
uwetews
8a4a817c66
- bugfix on Windows absolute filepathes did fail if the drive letter was followed by a linux DIRECTORY_SEPARATOR
...
like C:/ at Smarty > 3.1.33-dev-5 https://github.com/smarty-php/smarty/issues/451
2018-08-31 16:07:47 +02:00