Version 2.1.0 (planned)
Release Date: Not Released
- General Changes
- 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 <a href=”helpers/string_helper.html”>String Helper</a>’s <b>random_string()</b> method
- Added XHTML Basic 1.1 doctype to <a href=”helpers/html_helper.html”>HTML Helper</a>.
- Database
- Added a CUBRID driver to the Database Driver <database/index>. Thanks to the CUBRID team for supplying this patch.
- Added a PDO driver to the <a href=”database/index.html”>Database Driver</a>.
- 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 <kbd>$this->db->insert_batch()</kbd> support to the OCI8 (Oracle) driver.
- 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.
- 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 <a href=”libraries/form_validation.html”>Form Validation</a> library.
- Added <kbd>$config[‘use_page_numbers’]</kbd> to the <a href=”libraries/pagination.html”>Pagination library</a>, 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).
Bug fixes for 2.1.0
- Unlink raised an error if cache file did not exist when you try to delete it.
- Fixed #378 Robots identified as regular browsers by the User Agent class.
- If a config class was loaded first then a library with the same name is loaded, the config would be ignored.
- Fixed a bug (Reactor #19) where 1) the 404_override route was being ignored in some cases, and 2) auto-loaded libraries were not available to the 404_override controller when a controller existed but the requested method did not.
- Fixed a bug (Reactor #89) where MySQL export would fail if the table had hyphens or other non alphanumeric/underscore characters.
- Fixed a bug (#200) where MySQL queries would be malformed after calling count_all() then db->get()
- Fixed bug #105 that stopped query errors from being logged unless database debugging was enabled
- Fixed a bug (#181) where a mis-spelling was in the form validation language file.
- Fixed a bug (#160) - Removed unneeded array copy in the file cache driver.
- Fixed a bug (#150) - field_data() now correctly returns column length.
- Fixed a bug (#8) - load_class() now looks for core classes in APPPATH first, allowing them to be replaced.
- Fixed a bug (#24) - ODBC database driver called incorrect parent in __construct().
- Fixed a bug (#85) - OCI8 (Oracle) database escape_str() function did not escape correct.
- Fixed a bug (#344) - Using schema found in <a href=”libraries/sessions.html”>Saving Session Data to a Database</a>, system would throw error “user_data does not have a default value” when deleting then creating a session.
- Fixed a bug (#112) - OCI8 (Oracle) driver didn’t pass the configured database character set when connecting.
- Fixed a bug (#182) - OCI8 (Oracle) driver used to re-execute the statement whenever num_rows() is called.
- Fixed a bug (#82) - WHERE clause field names in the DB <samp>update_string()</samp> method were not escaped, resulting in failed queries in some cases.
- Fixed a bug (#89) - Fix a variable type mismatch in DB <samp>display_error()</samp> where an array is expected, but a string could be set instead.
- Fixed a bug (#467) - Suppress warnings generated from get_magic_quotes_gpc() (deprecated in PHP 5.4)
- Fixed a bug (#484) - First time _csrf_set_hash() is called, hash is never set to the cookie (in Security.php).
- Fixed a bug (#60) - Added _file_mime_type() method to the File Uploading Library <libraries/file_uploading> in order to fix a possible MIME-type injection.
- Fixed a bug (#537) - Support for all wav type in browser.
|