用户
 找回密码
 入住 CI 中国社区
搜索
查看: 4301|回复: 5
收起左侧

CodeIgniter v1.6.2 Released

[复制链接]
发表于 2008-5-13 23:00:34 | 显示全部楼层 |阅读模式
CodeIgniter v1.6.2 Released                                                                                We’repleased to announce that CodeIgniter version 1.6.2 has been officiallyreleased.  This release includes more than 29 bug fixes and 34 featureadditions and enhancements.  Among these are some improvements toActive Record and transactional database interaction, the introductionof a constants file, improvements to the Zip library, a CompatibilityHelper, new features to the File Helper, the removal of closing PHPtags from the framework files, and many other goodies.  Checkout the Change log for the full details!
Paired with this release is the introduction of Tags in the Subversion server for version snapshots.  CLIgeeks, starting with version 1.6.1, you can checkout/export fullrelease versions directly from Subversion.  Details can be found on thedownloads page.  We are also now on Twitter.
                                                                Posted by Derek Jones on May 13, 2008
 楼主| 发表于 2008-5-13 23:01:17 | 显示全部楼层

Change Log

Version 1.6.2

Release Date: May 13, 2008
SVN Revision: 1152

    * Active Record
          o Added the ability to prevent escaping in having() clauses.
          o Added rename_table() into DBForge.
          o Fixed a bug that wasn't allowing escaping to be turned off if the value of a query was NULL.
          o DB Forge is now assigned to any models that exist after loading (#3457).
    * Database
          o Added Strict Mode to database transactions.
          o Escape behaviour in where() clauses has changed; values in those with the "FALSE" argument are no longer escaped (ie: quoted).
    * Config
          o Added 'application/vnd.ms-powerpoint' to list of mime types.
          o Added 'audio/mpg' to list of mime types.
          o Added new user-modifiable file constants.php containing file mode and fopen constants.
          o Added the ability to set CRLF settings via config in the Email class.
    * Libraries
          o Added increased security for filename handling in the Upload library.
          o Added increased security for sessions for client-side data tampering.
          o The MySQLi forge class is now in sync with MySQL forge.
          o Added the ability to set CRLF settings via config in the Email class.
          o Unit Testing results are now colour coded, and a change was made to the default template of results.
          o Added a valid_emails rule to the Validation class.
          o The Zip class now exits within download().
          o The Zip class has undergone a substantial re-write for speed and clarity (thanks stanleyxu for the hard work and code contribution in bug report #3425!)
    * Helpers
          o Added a Compatibility Helper for using some common PHP 5 functions safely in applications that might run on PHP 4 servers (thanks Seppo for the hard work and code contribution!)
          o Added form_button() in the Form helper.
          o Changed the radio() and checkbox() functions to default to not checked by default.
          o Added the ability to include an optional HTTP Response Code in the redirect() function of the URL Helper.
          o Modified img() in the HTML Helper to remove an unneeded space (#4208).
          o Modified anchor() in the URL helper to no longer add a default title= attribute (#4209).
          o The Download helper now exits within force_download().
          o Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to the File Helper.
          o Added symbolic_permissions() and octal_permissions() to the File helper.
    * Plugins
          o Modified captcha generation to first look for the function imagecreatetruecolor, and fallback to imagecreate if it isn't available (#4226).
    * Other Changes
          o Added ability for xss_clean() to accept arrays.
          o Removed closing PHP tags from all PHP files to avoid accidental output and potential 'cannot modify headers' errors.
          o Removed "scripts" from the auto-load search path. Scripts were deprecated in Version 1.4.1 (September 21, 2006). If you still need to use them for legacy reasons, they must now be manually loaded in each Controller.
          o Added a Reserved Names page to the userguide, and migrated reserved controller names into it.
          o Added a Common Functions page to the userguide for globally available functions.
          o Improved security and performance of xss_clean().

Bugfixes for 1.6.2

    * Fixed a bug where SET queries were not being handled as "write" queries.
    * Fixed a bug (#3191) with ORIG_PATH_INFO URI parsing.
    * Fixed a bug in DB Forge, when inserting an id field (#3456).
    * Fixed a bug in the table library that could cause identically constructed rows to be dropped (#3459).
    * Fixed DB Driver and MySQLi result driver checking for resources instead of objects (#3461).
    * Fixed an AR_caching error where it wasn't tracking table aliases (#3463).
    * Fixed a bug in AR compiling, where select statements with arguments got incorrectly escaped (#3478).
    * Fixed an incorrect documentation of $this->load->language (#3520).
    * Fixed bugs (#3523, #4350) in get_filenames() with recursion and problems with Windows when $include_path is used.
    * Fixed a bug (#4153) in the XML-RPC class preventing dateTime.iso8601 from being used.
    * Fixed an AR bug with or_where_not_in() (#4171).
    * Fixed a bug with xss_clean() that would add semicolons to GET URI variable strings.
    * Fixed a bug (#4206) in the Directory Helper where the directory resource was not being closed, and minor improvements.
    * Fixed a bug in the FTP library where delete_dir() was not working recursively (#4215).
    * Fixed a Validation bug when set_rules() is used with a non-array field name and rule (#4220).
    * Fixed a bug (#4223) where DB caching would not work for returned DB objects or multiple DB connections.
    * Fixed a bug in the Upload library that might output the same error twice (#4390).
    * Fixed an AR bug when joining with a table alias and table prefix (#4400).
    * Fixed a bug in the DB class testing the $params argument.
    * Fixed a bug in the Table library where the integer 0 in cell data would be displayed as a blank cell.
    * Fixed a bug in link_tag() of the URL helper where a key was passed instead of a value.
    * Fixed a bug in DB_result::row() that prevented it from returning individual fields with MySQL NULL values.
    * Fixed a bug where SMTP emails were not having dot transformation performed on lines that begin with a dot.
    * Fixed a bug in display_error() in the DB driver that was instantiating new Language and Exception objects, and not using the error heading.
    * Fixed a bug (#4413) where a URI containing slashes only e.g. 'http://example.com/index.php?//' would result in PHP errors
    * Fixed an array to string conversion error in the Validation library (#4425)
    * Fixed bug (#4451, #4299, #4339) where failed transactions will not rollback when debug mode is enabled.
    * Fixed a bug (#4506) with overlay_watermark() in the Image library preventing support for PNG-24s with alpha transparency
    * Fixed assorted user guide typos (#3453, #4364, #4379, #4399, #4408, #4412, #4448, #4488).
 楼主| 发表于 2008-5-13 23:02:42 | 显示全部楼层
发表于 2008-5-14 08:56:28 | 显示全部楼层
都出1.6.2了,我马上更新主页。
头像被屏蔽
发表于 2008-5-14 09:05:40 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2008-5-23 09:51:46 | 显示全部楼层
哪位兄弟帮忙翻译下吧,实在是看不懂啊

本版积分规则