Smarty 3.1, 3.0.9 released

9 views
Skip to first unread message

Monte Ohrt

unread,
Sep 16, 2011, 12:00:04 PM9/16/11
to smarty-d...@googlegroups.com, smarty-...@googlegroups.com, smarty-d...@googlegroups.com
Smarty 3.1 has been released. There are many changes to this release, please see the notes file with the distribution, or you can read it here:

http://smarty-php.googlecode.com/svn/trunk/distribution/SMARTY_3.1_NOTES.txt

change log here:

http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt

For those not quite ready to jump from 3.0.8 to 3.1, 3.0.9 has also been released with some minor bug fixes. change log here:
http://smarty-php.googlecode.com/svn/tags/Smarty_3_0_9/distribution/change_log.txt

download here:

http://www.smarty.net/download

Notable 3.1 changes/features:

* Smarty 2 BC removed from codebase, use SmartyBC.class.php for this
* Full UTF-8 compatibility with all plugins
* Default Template Handler for handling non-exiting template files
* Default Config Handler for handling non-exiting config files
* Default Plugin Handler for handling non-exiting plugin files
* {block hide} feature when no corresponding child block is found
* {setfilter}{/setfilter} to apply filters to a specific block of template code
* Improved Resource API
* Improved Cache Resource API
* Relative paths in template files {include file="../header.tpl"}
* Access to specific $template_dir via array index
* Access multiple template resources with extends: feature
* Simple global HTML escapement option with escape_html property
* Compile-Check on cache miss option
* Automatic template recompile on Smarty upgrade
* New Getters/Setters for main Smarty directory configuration

Reply all
Reply to author
Forward
0 new messages