1 Version 2.6.0 (Nov 19, 2003)
\r
2 ----------------------------
\r
4 - move Smarty::quote_replace() to Smarty_Compiler::_quote_replace() (messju)
\r
5 - remove import of of attributes of {include_php} to php's namespace.
\r
6 use $params[name] instead (messju)
\r
8 Version 2.6.0-RC3 (Nov 13, 2003)
\r
9 --------------------------------
\r
11 - fix handling of $var.key inside [] (messju)
\r
12 - fix handling of assign inside {insert}-tags (messju)
\r
13 - fix handling if [...] inside triple-quotes in config-files (messju)
\r
14 - fix handling of simple-math-operators inside modifiers (Dominik, messju)
\r
15 - fix handling of trailing-slashes in open_basedir in
\r
16 smarty_core_create_dir_structure() (packman, messju)
\r
18 Version 2.6.0-RC2 (Oct 8, 2003)
\r
19 -------------------------------
\r
21 - apply modifiers only once to section-loop and foreach-from attrs (messju)
\r
22 - remove use of _smarty_cached_paths-files (messju)
\r
23 - remove Smarty::_plugin_implementation_exists() - use is_callable() (messju)
\r
24 - ignore {strip}/{/strip) inside {strip}-blocks (messju)
\r
25 - fixed removal of leading/trailing newlines in {strip}-blocks (messju)
\r
26 - fixed proper escaping of " and ' with escape:javascript (messju)
\r
27 - fixed bug in traversal of $smarty->plugins_dir-array. now the
\r
28 first matching plugin is taken (messju)
\r
29 - moved {strip} back into the compiler (messju)
\r
30 - fixed config_load: handling of section-attribute and use of
\r
31 multiple config-files in one template (atu, messju)
\r
33 Version 2.6.0-RC1 (August 11, 2003)
\r
34 -----------------------------------
\r
36 - fixed status-header for cache_modified_check under cgi-sapi (messju)
\r
37 - added optional parameter $cache_attrs to register_function() and
\r
38 register_block(). $cache_attrs is an array containing attribute-
\r
39 names that should be cached on calls to functions that have
\r
40 $cacheable set to false. (messju)
\r
41 - enabled registration of class-methods as callbacks for the register_*-
\r
42 functions (use: array('classname', 'method_name')) as callback) (messju)
\r
43 - added filepath caching (Monte)
\r
44 - added optional assign-attribute to {capture}-tag (messju)
\r
45 - added $cacheable-parameter to register_compiler_function() (messju)
\r
46 - added $cacheable-parameter with default=true to register_function()
\r
47 and register_block() (messju)
\r
48 - add math speedup to core (Dominik, Monte)
\r
49 - fix newlines for tags without template output (Monte)
\r
50 - added config-option "request_use_auto_globals" to make auto-globals be
\r
51 used as request vars instead of HTTP_*_VARS (messju)
\r
52 - speed up config_load, simplify compiling (Monte)
\r
53 - added block-methods for registered objects (Bharat Mediratta, messju)
\r
54 - ignore one char resource names like c:foo.tpl (Monte)
\r
55 - added default_resource_type feature (Monte)
\r
56 - fix bug where config file starts with hidden section (boots, Monte)
\r
57 - add discrete error checking pertaining to $cache_dir
\r
58 and $compile_dir, their existance and writability (Monte)
\r
59 - fixed behaviour of start=... for {counter} (messju)
\r
60 - fixed assign for {counter} (messju)
\r
61 - added params vdir, hdir and inner to html_table to allow looping
\r
62 over the data in various directions (messju)
\r
63 - allow spaces in literal tags (Paul Lockaby, Monte)
\r
64 - speed up compiled templates, hardcode plugin filepaths
\r
65 instead of dynamically calculate at runtime. (Monte)
\r
66 - abstract many core components from Smarty.class.php,
\r
67 speeding up core class instantiation (Monte)
\r
68 - fixed bug in _create_dir_structure() when used with open_basedir-
\r
69 restriction and relative paths (messju)
\r
70 - use DIRECTORY_SEPARATOR exclusively, keep DIR_SEP for BC (Monte)
\r
71 - changed "link" to "href" in html_image. "link" is still working
\r
72 but deprecated (messju)
\r
73 - html_image always renders an alt-tag now (default alt="") (messju)
\r
74 - fixed assign attribute for multiple counters (messju)
\r
75 - added simple math operators to variables (Monte)
\r
76 - enabled array(&$obj. 'source', 'timestamp', 'secure', 'trusted')
\r
77 as callback for register_resource() (messju);
\r
78 - enabled array(&$obj, 'method') as callback for
\r
79 $default_template_handler_func (messju)
\r
80 - remove unnecessary close/open tags from compiled templates
\r
82 - fixed errornous creation of '//' in image_path in html_image (messju)
\r
83 - fix escapement of special chars for key vals in debug
\r
85 - fixed debug timing logic for config_load (Tom Sommer, Monte)
\r
86 - all in-code doc comments converted to phpDocumentor format (Greg)
\r
87 - moved strip from smarty core to plugin (Monte)
\r
88 - moved config_load from smarty core to plugin (Monte)
\r
89 - added &$repeat-parameter to block-functions (messju)
\r
90 - enabled hex-constants in function.math.php (messju)
\r
91 - enabled hex-constants (0x...) as function-attributes, inside if-statements
\r
92 and as modifier-parameters (messju)
\r
93 - fixed bug with passing $smarty as reference in Smarty.compiler.class
\r
95 - corrected output with {strip} and PHP tag newlines (Monte)
\r
96 - added possibility to register function-callbacks as "array(&$obj, 'method)"
\r
97 this affects register_function(), -block, -compiler_function, -modifier,
\r
98 -prefilter, -postfilter, -outputfilter-functions() and $cache_handler_func
\r
100 - added <labels> to html_checkboxes and html_radios (Philippe, messju)
\r
101 - added "labels"-options to turn off labels in html_checkboxes and _radios
\r
104 Version 2.5.0 (April 11, 2003)
\r
105 ------------------------------
\r
107 - fixed bug with default modifier when passing integer 0
\r
109 - change backtic syntax from $`foo` to `$foo` (Monte)
\r
110 - recognize $foo[][] syntax inside embedded quotes without
\r
112 - name=123 is passed as an integer (not a string) to plugins now (messju)
\r
113 - $length is now propagated to sub-values in debug_print_var (messju)
\r
115 Version 2.5.0-RC2 (March 26, 2003)
\r
116 ----------------------------------
\r
118 - made clear_cache() ignore compile_id, when clearing cache-groups (this
\r
119 is when no $tpl_file is supplied) (messju)
\r
120 - made onmouseout XHTML-compliant in function.popup.php (messju)
\r
121 - applied local-var-naming-scheme to fetch() (messju)
\r
122 - renamed $localvars to $_localvars in cache-file-handling-functions,
\r
123 added _get_auto_id()-function (messju)
\r
124 - swapped compile_id and cache_id in read_cache_file and write_cache_file
\r
126 - reverted patch for cache-file-handling (messju)
\r
127 - made html_radios and html_checkboxes accept "selected" instead
\r
128 of "checked" optionally. (messju)
\r
129 - made compile_id ignored in clear_cache, made order of
\r
130 auto_file_name $cache_id.$compile_id again, applied the the new
\r
131 variable-naming-scheme for cache_file_handing functions (messju)
\r
132 - removed notice of undefined var in _rm_auto() (messju)
\r
133 - added warning message when an array is passed as
\r
134 the "checked" value of html_radios (Monte)
\r
135 - fixed errormessage in _compile_smarty_ref() (messju)
\r
136 - updated docs for html_image "name" -> "file" (messju)
\r
137 - fixed bug with html_options-optgroups (Nichlas Löfdahl, messju)
\r
138 - cleaned up calls to readdir() (messju)
\r
139 - fixed bug with passing multiple modifiers to a parameter
\r
141 - updated docs for html_checkboxes, html_options and html_radios (messju)
\r
142 - fixed wrong default "name" attribute for html_options (messju)
\r
143 - html_checkboxes now expect the options as attribute "options" instead
\r
144 of "checkboxes. html_radios expect "options" instead of "radios".
\r
145 cleaned up indentiation (messju)
\r
146 - fixed too greedy str_replace in trimwhitespace outputfilter (messju)
\r
147 - html_checkboxes and html_radios passthru all unknown paramters now
\r
148 additionally their output is now XHTML compliant (messju)
\r
149 - html_options passthru all unknown paramters now (messju)
\r
150 - fix link functionality of html_image, also make
\r
151 output XHTML compatible (Hinrich Donner, Monte)
\r
152 - append "@" to default modifier vars/args
\r
153 supress possible warnings (Monte)
\r
154 - fix problem with escaped double quotes (Monte)
\r
155 - fix html_radios to not return an array (Monte)
\r
156 - fixed length in modifier.truncate.php (messju)
\r
157 - fixed handling of '$'-signs in trimwhitespace outputfilter (messju)
\r
158 - fix bug that makes config files recompile every time
\r
160 - add dpi functionality to html_image, change "name"
\r
161 parameter to "file" (Thomas Shulz, Monte)
\r
162 - fix height/width parameter index in html_image (Gerard,
\r
164 - get rid of unsetting name and script attributes
\r
165 to insert tag (Thomas Schulz, Monte)
\r
166 - changed argument order of string_format modifier back,
\r
167 was right in the first place (Monte)
\r
169 Version 2.5.0-RC1 (March 5, 2003)
\r
170 ---------------------------------
\r
172 - fixed notice in popup function (Nagger, Monte)
\r
173 - fix "once" var compiling for include_php (Monte)
\r
174 - added nl2br modifier to distribution (Monte)
\r
175 - added html_image to distribution (Monte)
\r
176 - added cat modifier to distribution (Monte)
\r
177 - added html_table to distribution (Monte)
\r
178 - added << >> <> support to if statments (SMK, Monte)
\r
179 - fix _assign_smarty_interface to not overwrite keys
\r
180 other than 'request' (Jerome Poudevigne, Monte)
\r
181 - added html_checkboxes to distribution (Christopher Kvarme, Monte)
\r
182 - added html_radios to distribution (Christopher Kvarme, Monte)
\r
183 - fixed string_format modifier args (wrong order) (Paul
\r
185 - use tmp file for file writes, avoid file lock race (Monte)
\r
186 - support syntax "$`smarty.config.foo`.tpl" for embedded
\r
187 vars in quotes, and allow full dollar var syntax (Monte)
\r
188 - add $smarty.config.varname variable for accessing config vars (Paul
\r
190 - silence PHP warnings in function.fetch.php (Eduardo,
\r
192 - added get_config_vars(), same basic functionality as
\r
193 get_template_vars() (Monte)
\r
194 - update get_template_vars() to be able to get
\r
195 individual vars (Monte)
\r
196 - fix minor logic in _fetch_template_info (Dennis Gearon,
\r
198 - fix cache groups with compile_id set (Monte)
\r
199 - add support for merging appended vars (messju, Monte)
\r
200 - allow null as function attribute value
\r
201 (André Rabold, Monte)
\r
202 - support $foo->bar[index] syntax (Monte)
\r
203 - add get_registered_object function (messju, Monte)
\r
204 - treat unrecognized param attribute syntax as string (Monte)
\r
205 - support $smarty.const.$foo syntax (messju, Monte)
\r
206 - remove E_NOTICE warnings from debug.tpl,
\r
207 escape modifier (Kanstantin, Monte)
\r
208 - don't count non-ascii chars in count_words modifier
\r
209 (Kanstantin, Monte)
\r
210 - clean up param calls to _parse_var and _parse_attrs (Monte)
\r
211 - define $template_source var, elude possible warning
\r
213 - fix syntax problem with evaluating PHP constants (Monte)
\r
214 - add @ and === as valid if statement tokens (Monte)
\r
215 - enable error messages for config_load errors,
\r
216 use $this->config_class for loading class name (Monte)
\r
217 - fix html_options to not escape already escaped entities (Monte)
\r
218 - send Last-Modified header on cache creation (Monte)
\r
219 - check strict syntax of function attributes (Monte)
\r
220 - dropped support for modifers on object parameters,
\r
221 added support for objects as modifier parameters (Monte)
\r
222 - fixed bug with decimal numbers in if statements (Monte)
\r
224 Version 2.4.2 (Feb 11, 2003)
\r
225 ----------------------------
\r
226 - support embedded variables in objects (Monte)
\r
227 - fix bug with objects with no properties (M Mohr, Monte)
\r
228 - support full dollar var syntax in quoted text (Monte)
\r
229 - fixed bug in $smarty.const.FOO introduced in 2.4.1 (M
\r
232 Version 2.4.1 (Feb 6, 2003)
\r
233 ---------------------------
\r
235 - ignore case in IF statements (Rainer Collet, Monte)
\r
236 - treat undefined constants as null (Ferdinand Beyer, Monte)
\r
237 - fix problem with inserts and nested fetches
\r
238 (Rainer Collet, Monte)
\r
239 - added support for passing params to include_php
\r
241 - added support for math operators in if statements (Monte)
\r
242 - added support for $foo->bar[$x].blah syntax (Monte)
\r
244 Version 2.4.0 (Feb 2, 2003)
\r
245 ---------------------------
\r
247 - fix known problems with php tag handling in templates
\r
248 (recursion, echoing xml tags) (Monte)
\r
249 - add support for object registration (Monte)
\r
250 - add debug template to secure_dir, add template_dir
\r
251 to secure_dir by default (Ferdinand Beyer, Monte)
\r
252 - added support for assigned object access (Monte)
\r
253 - fixed bug with directories named '0' (Frank Bauer, Monte)
\r
254 - add javascript parameter to escape modifier (Monte)
\r
255 - added calling function line numbers to syntax error
\r
256 messages in compiler (Monte)
\r
257 - added support for modifiers to function calls (Monte)
\r
258 - support return value for custom functions
\r
259 instead of echoing (but echo still works) (Monte)
\r
260 - added direct access to constants
\r
261 via $smarty.const.FOO (Monte)
\r
262 - added support for passing modifiers
\r
263 to static values (Monte)
\r
264 - fix up regex code in compiler, more accurate and
\r
265 maintainable (Monte)
\r
266 - added day_value_format to html_select_date (Marcus
\r
268 - assigned variables are no longer in global
\r
269 namespace, saving extract() calls and speeding
\r
270 up fetch() and display() linearly with no. of
\r
271 assigned variables (Monte)
\r
272 - added trimwhitespace output filter to dist. (Monte)
\r
273 - fix popup function to allow newlines in text (Monte)
\r
274 - escape html entities in html_options (Monte)
\r
275 - fixed bug with label for html_options (Monte)
\r
276 - added config_load API function (Monte)
\r
277 - added caching to config file loading (Monte)
\r
278 - added "extra" parameter to mailto function (Monte,
\r
279 Massimiliano Perantoni)
\r
280 - added mailto plugin to dist. (Monte)
\r
282 Version 2.3.1 (Nov 19, 2002)
\r
283 ----------------------------
\r
285 - added optgroup support to html_options (Monte, Robert
\r
287 - set mtime on compile files so they match source
\r
288 files (Monte, Peter Bowen)
\r
289 - added proper support for open_basedir setting
\r
290 (Monte, Alessandro Astarita)
\r
291 - added strip variable modifier, updated docs (Monte)
\r
292 - fixed access to $smarty.x variables as arrays. (Andrei)
\r
293 - fixed errors with example setup docs (Monte, Matthew
\r
295 - added textformat block function (Monte)
\r
297 Version 2.3.0 (Aug 7, 2002)
\r
298 ---------------------------
\r
300 - added assign_by_ref() and append_by_ref() functions
\r
302 - changed default warning type for plugin errors from
\r
303 E_USER_WARNING to E_USER_ERROR (Monte)
\r
304 - added $all_extra, $hour_extra, $minute_extra,
\r
305 $second_extra and $meridian_extra parameters to
\r
306 html_select_time function (Rainer Collet, Monte)
\r
307 - update debug console to print objects (Simon Willison,
\r
309 - fix Config_File class to not error when there are no
\r
310 sections (Peter Kmet, Monte)
\r
311 - add default modifier logic (Monte)
\r
312 - updated popup_init to be xhtml compliant (Tom Oram, Monte)
\r
313 - fix filename bug with windows (Gary Loescher, Monte)
\r
314 - add ability to supply expire time in seconds when clearing
\r
315 cache or compile files (Monte)
\r
316 - add {debug} plugin to distribution (Monte)
\r
317 - fixed bug with insert tags, loading from "script" attribute
\r
318 when caching is enabled (Monte)
\r
319 - fix bug with debug_tpl file path with Windows (.SMK., Monte)
\r
320 - fix append() function with string/array problem (Monte)
\r
322 Version 2.2.0 (July 11, 2002)
\r
323 -----------------------------
\r
325 - make debug.tpl work with any delimiter (Monte)
\r
326 - change logic in assign() and append() to test var names
\r
327 against != '' instead of empty() (Monte)
\r
328 - fix PHP notice in append() function (Monte)
\r
329 - allow $plugins_dir to be an array of directories
\r
330 (Andreas Kossmeier, Monte)
\r
331 - move debug.tpl to SMARTY_DIR, add to constructor (Monte)
\r
332 - fixed warning message in function.assign_debug_info (Monte)
\r
333 - fixed $template_dir, $compile_dir, $cache_dir, $config_dir,
\r
334 $plugin_dir to respect include_path (Monte)
\r
335 - fixed warning message with output filter array (Monte)
\r
336 - add optional 2nd parameter to date_format, used as
\r
337 the default date if the passed date is empty (Monte)
\r
338 - gave $reset a default value in cycle plugin (Monte)
\r
339 - fixed warnings with html_select_date and timestamp
\r
341 - added support for sub directory exlusion format (Monte)
\r
342 - added support for grouping by cache_id, compile_id
\r
343 and segments thereof (Monte)
\r
344 - changed cache and compile files to human readable
\r
346 - remove overlib.js file from distribution (Monte)
\r
347 - fixed bug with 304 Not Modified response sending
\r
349 - fixed cycle function to respect delimiter after
\r
350 initial setting (Monte)
\r
351 - update $GLOBALS references to work properly with
\r
352 track_globals settings (Michal Prinke, Monte)
\r
353 - fixed bug in math function with call to assign
\r
354 (Grigory V. Kareev, Monte)
\r
355 - optimized for loops with count() function calls (Monte)
\r
356 - add month_value_format attribute to html_select_date
\r
357 plugin (Gary Loescher, Monte)
\r
358 - made it possible to use simple variables inside [] for
\r
360 - added "once" attribute to {include_php}. (Monte)
\r
364 - added cycle function. (Monte)
\r
365 - fixed bug with resource testing, and include_path. (Monte)
\r
366 - fixed a bug with register_outputfilter function. (Monte)
\r
371 - introduced output filters. (Andrei)
\r
372 - changed the way filters are loaded, added load_filter()
\r
373 API function and $autoload_filters variable. (Andrei)
\r
374 - added caching logic for expire times per cache file
\r
375 (Norbert Rocher, Monte)
\r
376 - fixed html_select_date when field separator is "/"
\r
377 (Roberto Berto, Monte)
\r
378 - added YYYY-MM-DD format support to html_select_date
\r
379 (Jan Rosier, Monte)
\r
380 - fixed cache_lifetime logic bug, also made -1 = never
\r
382 - fixed directory separator issue for Windows. (Andrei)
\r
383 - added ability to use simple variables as array indices or
\r
384 object properties. (Andrei)
\r
385 - added ability to unregister pre/postfilters plugins at
\r
387 - added 'htmlall' attribute to escape modifier. (Monte)
\r
388 - added template_exists() API function. (Andrei)
\r
389 - fixed a problem with using dynamic values for 'file'
\r
390 attribute of {include_php} tag. (Andrei)
\r
391 - added $smarty.template variable. (Andrei)
\r
392 - fixed several plugins that would not work if the plugin
\r
393 directory was not the default one. (Andrei)
\r
394 - implemented support for block functions. (Andrei)
\r
395 - made it possible to assign variables in pre/postfilter
\r
400 - rename plugin .make_timestamp.php to shared.make_timestamp.php.
\r
402 - changed crc32() generated values, replace '-' with 'N'. (Monte)
\r
403 - added support for +/- N syntax in html_select_date year values.
\r
405 - fixed behavior of inserts with script attribute. (Andrei)
\r
406 - fixed bug with $smarty.cookies and $smarty.server. (Andrei)
\r
407 - wordwrap and indent are missing from 2.0 release, now fixed.
\r
409 - removed show_info_header and show_info_include variables. (Monte)
\r
413 - added "eval" function plugin for evaluating variables as
\r
415 - removed $tpl_file_ext class variable, no longer used. (Monte)
\r
416 - added "hex" and "hexentity" escape types to escape modifier.
\r
418 - removed dependency on PEAR. (Andrei)
\r
419 - update popup_init to accept src attribute. (Monte, Duncan Forrest)
\r
420 - implemented several optimizations, speeding up Smarty
\r
421 significantly in most cases. (Andrei,Monte)
\r
422 - implemented plugin architecture. (Andrei)
\r
423 - added wordwrap and indent modifiers. (Monte)
\r
424 - added support for 'If-Modified-Since' headers for cached content.
\r
426 - removed insert_tag_check class variable, no longer needed. (Monte)
\r
427 - optimized cache fetches by scanning for insert tags only if they
\r
429 - fixed bugs in overlib. (Monte, Duncan Forrest)
\r
430 - fixed a problem with compile_id usage. (Andrei)
\r
431 - fixed problem with using assigned vars with {include_php ...}
\r
436 - added Smarty object as fifth argument for template resource functions.
\r
438 - fixed a bug with incorrectly combined cache and compile id in
\r
439 clear_cache(). (Andrei)
\r
440 - fixed bug in smarty_make_timestamp introduced in PHP 4.1.0. (Monte)
\r
441 - fixed bug with cached insert debug timing. (Monte)
\r
442 - added 'script' attribute to {insert..} which specifies the script that
\r
443 the insert function can be found in. (Andrei)
\r
444 - added default template function handler. (Monte)
\r
448 - removed error message from the generic _read_file() method, the caller
\r
449 should take care of that. (Andrei)
\r
450 - fixed a bug with incorrectly combined cache and compile id. (Andrei)
\r
454 - added include_php built-in function, documented. (Monte)
\r
455 - added trusted_dir functionality, documented. (Monte)
\r
456 - consolidated secure_dir tests to one function. (Monte)
\r
457 - prepended _smarty_ to variable names in fetch() class function to avoid
\r
458 namespace conflicts. (Monte)
\r
459 - introduced $compile_id class variable that can be used to set persistent
\r
460 compile identifier across multiple display calls, documented. (Andrei)
\r
461 - fixed bug with concatenated null cache and compile identifiers. (Andrei)
\r
462 - added $smarty.section.* syntax for accessing section properties,
\r
463 documented. (Andrei)
\r
464 - added custom cache handling function ability, documented. (Monte)
\r
465 - added assign attribute to include, include_php, insert, fetch, math, and
\r
466 counter functions, documented. (Monte)
\r
467 - fixed bug with fetch testing for local file when http address. (Monte)
\r
468 - fixed bug with counter and skipval setting. (Monte)
\r
469 - made {config_load ...} merge globals from each config file only once per
\r
470 scope, thus avoiding several problems. (Andrei)
\r
471 - added {foreach ...} tag that can be used to iterate through
\r
472 non-sequential and associative arrays, documented. (Andrei)
\r
473 - speeded up section property access a bit. (Andrei)
\r
474 - removed $smarty variable from storage used by normal template variables,
\r
475 to prevent any problems. (Andrei)
\r
476 - fixed a bug that could cause parse error with quotes inside literal
\r
477 blocks. (Andrei, Alexander Belonosov)
\r
478 - added 'field_array' attribute to html_select_time function, documented.
\r
479 (Andrei, Michael Caplan)
\r
480 - documented {section} "max" attribute. (Monte)
\r
481 - fixed notice message in Smarty_Compiler.class.php. (Monte)
\r
482 - fixed bug with clear_cache introduced in 1.4.6, third parameter should
\r
483 default to null. (Monte)
\r
484 - updated Config_File class to support '\' path separator in OS/2. (Monte,
\r
485 Francesco Cipriani)
\r
486 - removed secure_ext setting (not used). (Monte)
\r
487 - made cache reading process more efficient. (Monte)
\r
488 - fixed bug, is_cached() now supports new 1.4.6 caching behavior. (Monte)
\r
489 - update FAQ with mailing list Reply-To header FAQ. (Monte)
\r
490 - supress error messages for fopen(), fix cache to regenerate if cache
\r
491 file is not available (i.e. cluster race condition). (Monte)
\r
492 - added index key example to QUICKSTART guide. (Monte)
\r
496 - fixed bug with {assign ...} when passing an empty value. (Monte)
\r
497 - add more warning message fixes. (Monte, Tara Johnson)
\r
498 - documentation updates. (Monte)
\r
499 - update fetch function to give proper warning when fetching a non-readable
\r
500 or non-existant file. (Monte)
\r
501 - fixed problem with newline at the end of included templates (Monte, Andrei)
\r
502 - added feature to regenerate cache if compile_check is enabled and an
\r
503 involved template or config file gets modified. (Monte)
\r
504 - added DEBUG execution times to included files: REQUIRES updated debug.tpl
\r
506 - added support for hidden config variables that cannot be read by
\r
507 templates. (Andrei)
\r
508 - added execution time to DEBUG console, total and inserts. (Monte)
\r
509 - fixed bug where DEBUG console would not appear with cached content. (Monte)
\r
510 - added support for postfilter functions that are applied to compiled
\r
511 template right after compilation. (Andrei)
\r
512 - fixed the name of clear_compile_tpl() API function to clear_compiled_tpl.
\r
514 - added fix for removing comments so that the line numbers are reported
\r
515 correctly in case of errors. (patch from Anders Janson)
\r
516 - made html_options output xhtml compatible code. (Monte, Arnaud Limbourg)
\r
520 - update FAQ with index of questions at the top
\r
521 - update overlib to 3.50, adjust addon code so that the overlib.js
\r
522 file isn't modified, and not using the mini one. (Monte)
\r
523 - added many more options to html_select_date. (Alexander Skwar, Andrei)
\r
524 - added support for generating different compiled templates from the same
\r
525 source template. (Hans-Peter Oeri, Andrei)
\r
526 - modified Smarty to pass itself to insert functions as the second
\r
527 parameter. (Andrei)
\r
528 - modified Smarty to pass itself to prefilter functions as the second
\r
529 parameter. (Andrei)
\r
530 - fixed syntax error when including a non-existant template with security
\r
532 - fixed comments handling to allow commenting out template blocks. (Andrei)
\r
533 - implemented named capture buffers, with results accessible via
\r
534 $smarty.capture.<name>. (Andrei)
\r
535 - added ability to index arrays directly by numbers. (Andrei)
\r
536 - fixed bug with SMARTY_DIR not prepended to Config_File include. (Monte)
\r
540 - fixed problem with including insecure templates with security enabled.
\r
542 - numerous documentation updates. (Monte)
\r
543 - added ENT_QUOTES to escapement of html. (Monte, Sam Beckwith)
\r
544 - implemented access to request variables via auto-assigned $smarty
\r
545 template variable. (Andrei)
\r
546 - fixed a bug with parsing function arguments inside {if} tags if a comma
\r
547 was present. (Andrei)
\r
548 - updated debug console with config file vars. (Monte)
\r
549 - added SMARTY_DIR constant as an alternative to relying on include_path.
\r
551 - added popup_init and popup functions (requires overlib.js). (Monte)
\r
552 - updated debug console with config file vars. (Monte)
\r
553 - added debugging url control. (Monte)
\r
554 - added 'quotes' type to escape modifier. (Monte, Mike Krus)
\r
555 - added 'total' and 'iteration' section properties. (Andrei)
\r
556 - added 'start', 'max', and 'step' section attributes/properties. (Andrei)
\r
557 - fixed a bug with security checking of functions inside {if} tags.
\r
559 - fixed a bug in Config_File that would incorrectly booleanize values that
\r
560 weren't really booleans. (Andrei)
\r
564 - added regex_replace modifier, documented. (Monte)
\r
565 - added debugging console feature and custom function assign_debug_info,
\r
566 documented. (Monte)
\r
567 - added 'scope' attribute for {config_load}, 'global' is now deprecated but
\r
568 is still supported. (Andrei)
\r
569 - reduced template symbol table pollution by moving config array into the
\r
570 class itself. (Andrei)
\r
571 - fixed a bug with passing quoted arguments to modifiers inside {if}
\r
572 statements. (Andrei, Sam Beckwith)
\r
573 - added security features for third party template editing, documented
\r
575 - added assign custom function, documented. (Monte)
\r
576 - fixed bug with template header using version instead of _version. (Monte)
\r
577 - fixed a problem with putting $ followed by numbers inside {strip} and
\r
578 {/strip} tags. (Andrei)
\r
579 - fixed Config_File class to allow empty config paths (defaults to current
\r
580 directory). (Andrei)
\r
584 - move $version to internal variable, remove from docs. (Monte)
\r
585 - cleaned up compiled templates global scope by moving some variables into
\r
586 the class itself. (Andrei)
\r
587 - fixed a bug that would not allow referring to a section in the including
\r
588 file from the included file. (Andrei)
\r
589 - configs directory missing from 1.4.1 release, added back in. (Monte)
\r
590 - added windows include_path setup instructions to FAQ & QUICKSTART.
\r
595 - fix LOCK_EX logic for all windows platforms (Monte)
\r
596 - fixed indexing by section properties with the new syntax. (Andrei)
\r
597 - updated Smarty to use absolute paths when requiring/including Smarty
\r
598 components. (Andrei, John Lim)
\r
602 - added {capture}{/capture} function, documented (Monte)
\r
603 - added {counter} function, documented (Monte)
\r
607 - fixed issue in Config_File.class with referencing blank sections (Andrei)
\r
608 - fixed problem with passing variables to included files (Andrei)
\r
609 - fixed resource path recognition for windows (Monte)
\r
613 - added "componentized templates" tip into documentation (Monte)
\r
614 - added {php}{/php} tags for embedding php code into templates (Monte)
\r
615 - changed default value of $show_info_header to false (Monte)
\r
616 - implemented '->' syntax for accessing properties of objects passed to the
\r
618 - allowed custom functions to receive Smarty object as the second
\r
619 parameter; this can be used to dynamically change template variables, for
\r
621 - added custom compiler functions support, register_compiler_function() and
\r
622 unregister_compiler_function() API functions. (Andrei, Ivo Jansch).
\r
623 - updated GLOBAL_ASSIGN to take SCRIPT_NAME from HTTP_SERVER_VARS
\r
624 instead of global variable. You can also assign several variables
\r
625 in one shot with an array. (Monte, Roman Neuhauser)
\r
626 - added template prefilters, register_prefilter() and
\r
627 unregister_prefilter() API functions. (Monte)
\r
628 - added RELEASE_NOTES file to distribution. (Monte)
\r
629 - moved CREDITS out of manual into its own file. (Monte)
\r
630 - added register_resource() and unregister_resource() API functions. (Monte)
\r
631 - changed the syntax of indexing template variables, thus supporting
\r
632 structures of arbitrary complexity; supplied fix_vars.php script to fix
\r
633 old syntax. (Andrei)
\r
634 - added $insert_tag_check to speed up cached pages if {insert ...} is not
\r
636 - added $compiler_class variable to allow specifying a different compiler
\r
638 - changed Smarty to compile templates at runtime, allowing for arbitrary
\r
639 template resources. (Monte)
\r
640 - added fix for LOCK_EX under Windows and changed a couple of file
\r
641 permissions for security. (Monte, Fernando Nunes)
\r
642 - allow arbitrary date strings to date_format, html_select_date and
\r
643 html_select_time (Monte)
\r
647 - fixed a bug that caused some nested includes to loop infinitely. (Andrei)
\r
648 - added optional HTML header to output. (Monte)
\r
649 - significantly improved config_load performance. (Andrei)
\r
650 - added format attribute to math function. (Monte)
\r
651 - added html_select_time custom function. (Andrei)
\r
652 - fixed minor PHP warning when attempting to unset an unset variable
\r
654 - added count_characters, count_words, count_sentences, count_paragraphs
\r
659 - bug fix, recovered missing _syntax_error function (Monte)
\r
663 - document first, last, index_prev, index_next (Monte)
\r
664 - added 'first' and 'last' section properties. (Andrei)
\r
665 - split out compiling code to separate class for faster template execution
\r
667 - fixed a couple of minor PHP warnings (Monte)
\r
668 - added and documented unregister_modifier() and unregister_function() API
\r
670 - added and documented 'fetch' and 'math' functions. (Monte)
\r
671 - added ability to index looped variables by section properties, e.g.
\r
672 $foo.index_prev/bar. (Andrei)
\r
673 - added index_prev and index_next section properties. (Andrei)
\r
674 - fixed issue with php executing in literal blocks. (Monte)
\r
678 - moved license from GPL to LGPL (Monte)
\r
679 - implemented workaround for PHP "feature" that eats carriage returns
\r
680 if the PHP tag is at the end of the line. (Andrei)
\r
681 - removed $allow_php, added $php_handling logic (Monte)
\r
682 - added file locking to prevent reader/writer problem. (Andrei)
\r
683 - made Smarty catch unimplemented modifiers and custom functions and output
\r
684 error messages during compilation instead of failing during run time.
\r
686 - removed short-tags at the top of the smarty scripts (Monte)
\r
687 - added register_function() and register_modifier() API calls to make
\r
688 registering stuff easier. (Andrei)
\r
689 - added template results caching capability. (Monte, Andrei)
\r
690 - added optional 'options' attribute to html_options custom function
\r
691 that allows passing associative arrays for values/output. (Andrei)
\r
692 - modifier arguments can now contain '|' and ':' characters inside quoted
\r
697 - fixed bug that would not respect nested template directories and would
\r
698 put all compiled files into top-level one. (Andrei)
\r
699 - fixed bug using $PHP_VERSION instead of environment var PHP_VERSION.
\r
701 - a couple small warning fixes. (Monte)
\r
705 - added $compile_dir, removed $compile_dir_ext, simplified usage. (Monte)
\r
706 - added tips & tricks chapter to documentation. (Monte)
\r
707 - misc documentation updates. (Monte)
\r
711 - updated documentation (Monte)
\r
712 - added file and line number information to syntax error messages. (Andrei)
\r
713 - added ability to index template vars by a key. (Andrei)
\r
717 - misc documentation changes, official stable release
\r
721 - fixed the bug that prevented using non-array values for 'loop' attribute.
\r
723 - many misc documentation changes & additions (Monte)
\r
727 - fixed bug that caused templates to recompile every time (Monte)
\r
733 /* vim: set et tw=64 ft=changelog: */
\r