diff --git a/Config_File.class.php b/Config_File.class.php index 617b8424..af7d4bdf 100644 --- a/Config_File.class.php +++ b/Config_File.class.php @@ -5,7 +5,7 @@ require_once "PEAR.php"; /** * Config_File class. * - * @version 1.4.5 + * @version 1.4.6 * @author Andrei Zmievski * @access public * diff --git a/NEWS b/NEWS index a6a0b71f..bb507e74 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +Version 1.4.6 +------------- - fixed bug with {assign ...} when passing an empty value. (Monte) - add more warning message fixes. (Monte, Tara Johnson) - documentation updates. (Monte) diff --git a/README b/README index 75330610..15257610 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME: Smarty - the PHP compiling template engine -VERSION: 1.4.5 +VERSION: 1.4.6 AUTHORS: diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 81efd618..b4b44501 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -1,3 +1,23 @@ +1.4.6 +----- + +The behavior with caching and compile_check has been slightly enhanced. If +caching is enabled AND compile_check is enabled, the cache will immediately get +regenerated if _any_ involved template or config file is updated. This imposes +a slight performance hit because it must check all the files for changes, so be +sure to run live sites with caching enabled and compile_check disabled for best +performance. If you update a template or config file, simply turn on +compile_check, load the page, then turn it back off. This will update the cache +file with the new content. This is accomplished by maintaining a list of +included/loaded templates and config files at the beginning of the cache file. +Therefore it is advisable to remove all cache files after upgrading to 1.4.6 +(although not absolutely necessary, old cache file formats will be skipped of +this check) + +The debug console now has script timing and array values printed. You MUST +update your debug.tpl file with this version of Smarty. Also, the new debug.tpl +will not work with older versions of Smarty. + 1.4.5 ----- diff --git a/Smarty.addons.php b/Smarty.addons.php index ec6ea3c4..a6e56fdc 100644 --- a/Smarty.addons.php +++ b/Smarty.addons.php @@ -4,7 +4,7 @@ * File: Smarty.addons.php * Author: Monte Ohrt * Andrei Zmievski - * Version: 1.4.5 + * Version: 1.4.6 * Copyright: 2001 ispi of Lincoln, Inc. * * This library is free software; you can redistribute it and/or diff --git a/Smarty.class.php b/Smarty.class.php index 0060f2ba..360a6ebc 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -5,7 +5,7 @@ * Author: Monte Ohrt * Andrei Zmievski * - * Version: 1.4.5 + * Version: 1.4.6 * Copyright: 2001 ispi of Lincoln, Inc. * * This library is free software; you can redistribute it and/or @@ -193,7 +193,7 @@ class Smarty var $_conf_obj = null; // configuration object var $_config = array(); // loaded configuration settings var $_smarty_md5 = 'f8d698aea36fcbead2b9d5359ffca76f'; // md5 checksum of the string 'Smarty' - var $_version = '1.4.5'; // Smarty version number + var $_version = '1.4.6'; // Smarty version number var $_extract = false; // flag for custom functions var $_inclusion_depth = 0; // current template inclusion depth var $_compile_id = null; // for different compiled templates diff --git a/Smarty_Compiler.class.php b/Smarty_Compiler.class.php index b502b38c..32a19fd5 100644 --- a/Smarty_Compiler.class.php +++ b/Smarty_Compiler.class.php @@ -6,7 +6,7 @@ * Author: Monte Ohrt * Andrei Zmievski * - * Version: 1.4.5 + * Version: 1.4.6 * Copyright: 2001 ispi of Lincoln, Inc. * * This library is free software; you can redistribute it and/or diff --git a/docs.sgml b/docs.sgml index 69097d4a..162ea252 100644 --- a/docs.sgml +++ b/docs.sgml @@ -14,7 +14,7 @@
andrei@php.net
- Version 1.4.3 + Version 1.4.6 2001ispi of Lincoln, Inc. diff --git a/libs/Config_File.class.php b/libs/Config_File.class.php index 617b8424..af7d4bdf 100644 --- a/libs/Config_File.class.php +++ b/libs/Config_File.class.php @@ -5,7 +5,7 @@ require_once "PEAR.php"; /** * Config_File class. * - * @version 1.4.5 + * @version 1.4.6 * @author Andrei Zmievski * @access public * diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 0060f2ba..360a6ebc 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -5,7 +5,7 @@ * Author: Monte Ohrt * Andrei Zmievski * - * Version: 1.4.5 + * Version: 1.4.6 * Copyright: 2001 ispi of Lincoln, Inc. * * This library is free software; you can redistribute it and/or @@ -193,7 +193,7 @@ class Smarty var $_conf_obj = null; // configuration object var $_config = array(); // loaded configuration settings var $_smarty_md5 = 'f8d698aea36fcbead2b9d5359ffca76f'; // md5 checksum of the string 'Smarty' - var $_version = '1.4.5'; // Smarty version number + var $_version = '1.4.6'; // Smarty version number var $_extract = false; // flag for custom functions var $_inclusion_depth = 0; // current template inclusion depth var $_compile_id = null; // for different compiled templates diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index b502b38c..32a19fd5 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -6,7 +6,7 @@ * Author: Monte Ohrt * Andrei Zmievski * - * Version: 1.4.5 + * Version: 1.4.6 * Copyright: 2001 ispi of Lincoln, Inc. * * This library is free software; you can redistribute it and/or