Contents
Spis treści
2.2 Changelog
Libraries
Helpers
Modules
Config
Controllers
Status
Draft
2.2 Changelog
Kohana is now
PHP
5.2+ only.
Libraries
New
Captcha : Generates and validates
captcha
images
Database : Added Mssql driver
Payment : Added Paypal Pro driver
Session : Added Cache driver
Removed
Removed Loader :
$this→load
no longer available, see
loading
Changes
User_Agent : moved functionality to
Kohana::user_agent()
Database : Added in() and notin()
Database : Added config variable to turn off automatic query escaping. Defaults to TRUE
Database : Fixed a bug in in has_operator() to correctly detect IS NOT NULL
ORM: Rewrote ORM for better performance and better relationships support,
overview of changes
Cache : Configuration is now stored in groups as with Database
Pagination : Added pagination config groups
Helpers
New
Added upload
Added format
Changes
Added arr::callback_string()
Added arr::extract()
Added arr::overwrite()
Added arr::range()
Added html::email()
Removed file::extension()
Modules
New
Unit_test : Allows creating
unit tests
for Kohana
Removed
Forge : Moved to
KohanaModules
Media : Moved to
KohanaModules
Changes
Auth : Added Auth::logged_in() method
Auth : Added Auth::force_login() method
Auth : Autologin cookie has been renamed from 'autologin' to 'authautologin'
Auth : User_Model is now stored in session rather than the id, username and roles
Auth : 'auth' controller has been renamed to 'auth_demo'
Config
New
Added http
Changes
Added core.render_stats : Enable or disable rendering strings like
{execution_time}
in rendered output
Added log.prefix : Allows multiple applications to be logged into a single directory
Changed log.threshold order : 1 - errors, 2 - application alert, 3 - application info, 4 - debug
Removed core.preload : Preloading should now be done in the controller
__construct
Removed core.allow_config_set : Config setting is always enabled
Removed routes._allowed : All routes are allowed, but
html::specialchars()
is applied
Removed cookie.prefix : Cookies can no longer be prefixed universally
Controllers
Template : Changed method Template_Controller::_display to _render
changelog/2.2.txt · ostatnio zmienione: 2008-09-16 14:25 przez shadowhand