diff --git a/.gitattributes b/.gitattributes index 760ebd19..f58d5806 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,6 +13,7 @@ /.gitignore export-ignore /.travis.yml export-ignore /error_reporting.ini export-ignore +/make-release.sh export-ignore /phpunit.sh export-ignore /phpunit.xml export-ignore /TODO.md export-ignore diff --git a/change_log.txt b/CHANGELOG.md similarity index 98% rename from change_log.txt rename to CHANGELOG.md index 13f147a1..6c8a9bd6 100644 --- a/change_log.txt +++ b/CHANGELOG.md @@ -1,10 +1,18 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] - remove whitespaces after comments https://github.com/smarty-php/smarty/issues/447 - fix foreachelse on arrayiterators https://github.com/smarty-php/smarty/issues/506 - fix files contained in git export archive for package maintainers https://github.com/smarty-php/smarty/issues/325 - throw SmartyException when setting caching attributes for cacheable plugin https://github.com/smarty-php/smarty/issues/457 - fix errors that occured where isset was replaced with null check such as https://github.com/smarty-php/smarty/issues/453 + - unit tests are now in the repository -===== 3.1.34 release ===== 05.11.2019 +## 3.1.34 release - 05.11.2019 13.01.2020 - fix typo in exception message (JercSi) - fix typehint warning with callable (bets4breakfast) @@ -13,7 +21,8 @@ - fix wrong set/get methods for memcached (IT-Experte) - fix pborm assigning value to object variables in smarty_internal_compile_assign (Hunman) - exclude error_reporting.ini from git export (glensc) -===== 3.1.34-dev-6 ===== + +## 3.1.34-dev-6 - 30.10.2018 - 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 @@ -41,8 +50,8 @@ could fail in version 3.1.32 and 3.1.33 because PHP preg_match() restrictions https://github.com/smarty-php/smarty/issues/488 -===== 3.1.33 release ===== 12.09.2018 -===== 3.1.33-dev-12 ===== +## 3.1.33 release - 12.09.2018 +## 3.1.33-dev-12 - 03.09.2018 - 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 @@ -64,14 +73,14 @@ - bugfix/enhancement {capture} allow variable as capture block name in Smarty special variable like $smarty.capture.$foo https://github.com/smarty-php/smarty/issues/478 https://github.com/smarty-php/smarty/pull/481 -===== 3.1.33-dev-6 ===== +## 3.1.33-dev-6 - 19.08.2018 - fix PSR-2 coding standards and PHPDoc blocks https://github.com/smarty-php/smarty/pull/452 https://github.com/smarty-php/smarty/pull/475 https://github.com/smarty-php/smarty/pull/473 - bugfix PHP5.2 compatibility https://github.com/smarty-php/smarty/pull/472 -===== 3.1.33-dev-4 ===== +## 3.1.33-dev-4 - 17.05.2018 - bugfix strip-block produces different output in Smarty v3.1.32 https://github.com/smarty-php/smarty/issues/436 - bugfix Smarty::compileAllTemplates ignores `$extension` parameter https://github.com/smarty-php/smarty/issues/437 @@ -83,7 +92,7 @@ - bugfix regarding Security Vulnerability did not solve the problem under Linux. Security issue CVE-2018-16831 -===== 3.1.32 ===== (24.04.2018) +## 3.1.32 - (24.04.2018) 24.04.2018 - bugfix possible Security Vulnerability in Smarty_Security class. @@ -224,7 +233,7 @@ 13.4.2017 - bugfix array_merge() parameter should be checked https://github.com/smarty-php/smarty/issues/350 -===== 3.1.31 ===== (14.12.2016) +## 3.1.31 - (14.12.2016) 23.11.2016 - move template object cache into static variables @@ -338,7 +347,7 @@ compiled or cached template files https://github.com/smarty-php/smarty/issues/269 - optimization remove unneeded call to update acopes when {assign} scope and template scope was local (default) -===== 3.1.30 ===== (07.08.2016) +## 3.1.30 - (07.08.2016) 07.08.2016 - bugfix update of 04.08.2016 was incomplete @@ -561,7 +570,7 @@ - optimization of filepath normalization - bugfix {strip} must remove all blanks between html tags https://github.com/smarty-php/smarty/issues/136 - ===== 3.1.29 ===== (21.12.2015) + - 3.1.29 - (21.12.2015) 21.12.2015 - optimization improve speed of filetime checks on extends and extendsall resource @@ -597,7 +606,7 @@ - bugfix {$smarty.config.foo} broken in 3.1.28 https://github.com/smarty-php/smarty/issues/120 - bugfix multiple calls of {section} with same name droped E_NOTICE error https://github.com/smarty-php/smarty/issues/118 - ===== 3.1.28 ===== (13.12.2015) + - 3.1.28 - (13.12.2015) 13.12.2015 - bugfix {foreach} and {section} with uppercase characters in name attribute did not work (forum topic 25819) - bugfix $smarty->debugging_ctrl = 'URL' did not work (forum topic 25811) @@ -776,18 +785,18 @@ 19.06.2015 - improvement allow closures as callback at $smarty->registerFilter() https://github.com/smarty-php/smarty/issues/59 - ===== 3.1.27===== (18.06.2015) + - 3.1.27- (18.06.2015) 18.06.2015 - bugfix another update on file path normalization failed on path containing something like "/.foo/" https://github.com/smarty-php/smarty/issues/56 - ===== 3.1.26===== (18.06.2015) + - 3.1.26- (18.06.2015) 18.06.2015 - bugfix file path normalization failed on path containing something like "/.foo/" https://github.com/smarty-php/smarty/issues/56 17.06.2015 - bugfix calling a plugin with nocache option but no other attributes like {foo nocache} caused call to undefined function https://github.com/smarty-php/smarty/issues/55 - ===== 3.1.25===== (15.06.2015) + - 3.1.25- (15.06.2015) 15.06.2015 - optimization of smarty_cachereource_keyvaluestore.php code @@ -817,7 +826,7 @@ 24.05.2015 - bugfix if condition string 'neq' broken due to a typo https://github.com/smarty-php/smarty/issues/42 - ===== 3.1.24===== (23.05.2015) + - 3.1.24- (23.05.2015) 23.05.2015 - improvement on php_handling to allow very large PHP sections, better error handling - improvement allow extreme large comment sections (forum 25538) @@ -855,12 +864,12 @@ - bugfix access to undefined config variable like {#undef#} did fail https://github.com/smarty-php/smarty/issues/29 - bugfix in nested {foreach} saved item attributes got overwritten https://github.com/smarty-php/smarty/issues/33 - ===== 3.1.23 ===== (12.05.2015) + - 3.1.23 - (12.05.2015) 12.05.2015 - bugfix of smaller performance issue introduce in 3.1.22 when caching is enabled - bugfix missig entry for smarty-temmplate-config in autoloader - ===== 3.1.22 ===== tag was deleted because 3.1.22 did fail caused by the missing entry for smarty-temmplate-config in autoloader + - 3.1.22 - tag was deleted because 3.1.22 did fail caused by the missing entry for smarty-temmplate-config in autoloader 10.05.2015 - bugfix custom cache resource did not observe compile_id and cache_id when $cache_locking == true - bugfix cache lock was not handled correctly after timeout when $cache_locking == true @@ -1012,7 +1021,7 @@ - bugfix E_NOTICE message was created during compilation when ASP tags '<%' or '%>' are in template source text - bugfix merge_compiled_includes option failed when caching enables and same subtemplate was included cached and not cached - ===== 3.1.21 ===== (18.10.2014) + - 3.1.21 - (18.10.2014) 18.10.2014 - composer moved to github @@ -1035,7 +1044,7 @@ - bugfix change of 08.10.2014 could create E_NOTICE meassage when using "" with $php_handling PHP_PASSTHRU was executed in {nocache} sections - ===== 3.1.20 ===== (09.10.2014) + - 3.1.20 - (09.10.2014) 08.10.2014 - bugfix security mode of "