|
发表于 2012-6-19 14:11:55
|
显示全部楼层
Change Log
Version 3.0 (planned)
Release Date: Not Released
License
CodeIgniter has been relicensed with the Open Software License (3.0), eliminating its old proprietary licensing.
All system files are licensed with OSL 3.0.
Config, error, and sample files shipped in the application folder are licensed with the Academic Free License (3.0) to allow you to retain all licensing authority over your own application code.
General Changes
Added an optional backtrace to php-error template.
Added Android to the list of user agents.
Added Windows 7 to the list of user platforms.
Callback validation rules can now accept parameters like any other validation rule.
Ability to log certain error types, not all under a threshold.
Added html_escape() to Common functions to escape HTML output for preventing XSS.
Added support for pem,p10,p12,p7a,p7c,p7m,p7r,p7s,crt,crl,der,kdb,rsa,cer,sst,csr Certs to mimes.php.
Added support pgp,gpg to mimes.php.
Added support 3gp, 3g2, mp4, wmv, f4v, vlc Video files to mimes.php.
Added support m4a, aac, m4u, xspf, au, ac3, flac, ogg Audio files to mimes.php.
Helpers
Added increment_string() to String Helper to turn “foo” into “foo-1” or “foo-1” into “foo-2”.
Altered form helper - made action on form_open_multipart helper function call optional. Fixes (#65)
url_title() will now trim extra dashes from beginning and end.
Improved speed of String Helper‘s random_string() method
Added XHTML Basic 1.1 doctype to HTML Helper.
Database
Added a CUBRID driver to the Database Driver. Thanks to the CUBRID team for supplying this patch.
Added a PDO driver to the Database Driver.
Typecast limit and offset in the Database Driver to integers to avoid possible injection.
Added additional option ‘none’ for the optional third argument for $this->db->like() in the Database Driver.
Added $this->db->insert_batch() support to the OCI8 (Oracle) driver.
Added new Active Record methods that return the SQL string of queries without executing them: get_compiled_select(), get_compiled_insert(), get_compiled_update(), get_compiled_delete().
Libraries
Changed $this->cart->insert() in the Cart Library to return the Row ID if a single item was inserted successfully.
Added support to set an optional parameter in your callback rules of validation using the Form Validation Library.
Added a Migration Library to assist with applying incremental updates to your database schema.
Driver children can be located in any package path.
Added max_filename_increment config setting for Upload library.
CI_Loader::_ci_autoloader() is now a protected method.
Added is_unique to the Form Validation library.
Modified valid_ip() to use PHP’s filter_var() when possible (>= PHP 5.2) in the Form Validation library.
Added $config[‘use_page_numbers’] to the Pagination library, which enables real page numbers in the URI.
Added TLS and SSL Encryption for SMTP.
Core
Changed private functions in CI_URI to protected so MY_URI can override them.
Removed CI_CORE boolean constant from CodeIgniter.php (no longer Reactor and Core versions). |
|