|
http://codeigniter.com/forums/viewthread/69051/
原本是1.5.5的,但现在CI官方决定直接把版本号定为1.6.0。
更新列表:
Version 1.6.0
Release Date: -- still in development
* DBForge
o Added DBForge to the database tools.
o Moved create_database() and drop_database() into DBForge.
o Added add_field(), add_key(), create_table(), drop_table(), add_column(), drop_column(), modify_column() into DBForge.
* Active Record
o Added protect_identifiers() in Active Record.
o All AR queries are backticked if appropriate to the database.
o Added where_in(), where_in_or(), where_not_in(), where_not_in_or(), not_like() and or_not_like() to Active Record.
o Added support for limit() into update() and delete() statements in Active Record.
o Added empty_table() and truncate_table() to Active Record.
o Added the ability to pass an array of tables to the delete() statement in Active Record.
o Added count_all_results() function to Active Record.
o Added select_max(), select_min(), select_avg() and select_sum() to Active Record.
o Added the ability to use aliases with joins in Active Record.
o Added a third parameter to Active Record's like() clause to control where the wildcard goes.
o Added a third parameter to set() in Active Record that withholds escaping data.
o Changed the behaviour of variables submitted to the where() clause with no values to auto set "IS NULL"
* Other Database Related
o Added $this->DB->save_queries variable to DB driver, enabling queries to get saved or not. Previously they were always saved.
o Added 'random' as an order_by() option , and removed "rand()" as a listed option as it was MySQL only.
o Added a check for NULL fields in the MySQL database backup utility.
o Added "constrain_by_prefix" parameter to db->list_table() function. If set to TRUE it will limit the result to only table names with the current prefix.
o Deprecated from Active Record; getwhere() for get_where(); groupby() for group_by(); havingor() for having_or(); orderby() for order_by; orwhere() for or_where(); and orlike() for or_like().
* Core changes
o Added ability to load multiple views, whose content will be appended to the output in the order loaded.
o Added the ability to auto-load Models
o Reorganized the URI and Routes classes for better clarity.
o Added Compat.php to allow function overrides for older versions of PHP or PHP environments missing certain extensions / libraries
o Added memory usage, GET, and URI string data to Profiler output.
o Deprecated Scaffolding.
* Libraries
o Added Flashdata variables, session_id regeneration and configurable session update times to the Session class.
o Added a language entry for valid_ip validation error.
o Moved the safe mode and auth checks for the Email library into the constructor.
o Modified prep_for_form() in the Validation class to accept arrays, adding support for POST array validation (via callbacks only)
o Changed the behaviour of custom callbacks so that they no longer trigger the "required" rule.
o Modified Upload class $_FILE error messages to be more precise.
o Modified variable names in _ci_load() method of Loader class to avoid conflicts with view variables.
o Added a few additional mime type variations for CSV.
* Helpers & Plugins
o Added an email helper into core helpers.
o Added strip_quotes() function to string helper.
o Added reduce_multiples() function to string helper.
o Added quotes_to_entities() function to string helper.
o Added form_fieldset(), form_fieldset_close(), form_label(), and form_reset() function to form helper.
o Added support for external urls in form_open().
o Javascript Calendar plugin now uses the months and days from the calendar language file, instead of hard-coded values, internationalizing it.
o Strengthened the Encryption library to help protect against man in the middle attacks when MCRYPT_MODE_CBC mode is used.
* Documentation Changes
o Added titles to all user manual pages.
o Added attributes into <html> of userguide for valid html.
o Added Zip Encoding Class to the table of contents of the userguide.
o Moved part of the userguide menu javascript to an external file.
o Documented distinct() in Active Record.
o Documented the timezones() function in the Date Helper.
o Documented unset_userdata in the Session class.
o Documented 2 config options to the Database configuration page.
Bug fixes for Version 1.6.0
* Fixed a bug (#3268) where the Router could leave '/' as the path.
* Fixed a bug in highlight_phrase() that caused an error with slashes.
* Fixed a bug: $field_names[] vs $Ffield_names[] in postgre and sqlite drivers.
* Fixed a bug in the upload library when allowed_files wasn't defined.
* Fixed a bug in word_wrap() of the Text Helper that incorrectly referenced an object.
* Fixed a bug in the Email library where some timezones were calculated incorrectly.
* Fixed a bug in Validation where valid_ip() wasn't called properly.
* Fixed a bug in Validation where individual error messages for checkboxes wasn't supported.
* Fixed a bug in the Session library where user agent matching would fail on user agents ending with a space.
* Fixed a bug in database driver where num_rows property wasn't getting updated.
* Fixed a bug in captcha calling an invalid PHP function.
* Fixed a bug in _html_entity_decode_callback() when 'global_xss_filtering' is enabled.
* Fixed a bug in the cookie helper "set_cookie" function. It was not honoring the config settings.
* Fixed a bug that was making validation callbacks required even when not set as such.
* Fixed a bug in _object_to_array that broke some types of inserts and updates.
* Fixed a bug in get_filenames() in the File Helper where the array wasn't cleared after each call.
* Fixed a bug that prevented num_rows from working in Oracle.
* Fixed a bug in the parser class where numeric data was ignored.
* Fixed a bug when loading plugin files as _plugin. and not _pi.
* Fixed a bug in the SQLite driver for PHP 4.
* Fixed a bug in the clean_email() method of the Email class to allow for non-numeric / non-sequential array keys.
* Fixed a bug in Pagination to scan for non-positive num_links.
* Fixed a bug in the typography helper causing extraneous paragraph tags when string contains tags.
* Fixed a bug in the Encryption Library to support modes other than MCRYPT_MODE_ECB
* Fixed a bug in the Typography Helper where unordered list was listed "un" (#3267)
* Fixed a bug (#3175) preventing certain libraries from working properly when autoloaded in PHP 4
* Fixed an example of comma-separated emails in the email library documentation.
* Fixed an example in the Calendar library for Showing Next/Previous Month Links.
* Fixed a typo in the database language file.
* Fixed a typo in the image language file "suppor" to "support".
* Fixed an example for XML RPC.
* Fixed an example of accept_charset() in the User Agent Library.
* Fixed a typo in the docblock comments that had CodeIgniter spelled CodeIgnitor.
* Fixed a typo in the String Helper (uniquid changed to uniqid).
* Fixed typos in the email Language class (email_attachment_unredable, email_filed_smtp_login).
* Fixed assorted user guide typos. |
|