CodeIgniter 2.0 доступен для скачивания
Ellislab перешли с SVN на Mercurial и выложили на bitbucket версию 2.0.0 : http://bitbucket.org/ellislab/codeigniter/
Changelog:
* General changes
o PHP 4 support is deprecated. Features new to 2.0.0 may not support PHP 4, and all legacy features will no longer support PHP 4 as of 2.1.0.
o Scaffolding, having been deprecated for a number of versions, has been removed.
o Plugins have been removed, in favor of Helpers. The CAPTCHA plugin has been converted to a Helper and documented. The JavaScript calendar plugin was removed due to the ready availability of great JavaScript calendars, particularly with jQuery.
o Added new special Library type: Drivers.
o Added routing overrides to the main index.php file, enabling the normal routing to be overridden on a per "index" file basis.
o Added the ability to set config values (or override config values) directly from data set in the main index.php file. This allows a single application to be used with multiple front controllers, each having its own config values.
o Added $config['directory_trigger'] to the config file so that a controller sub-directory can be specified when running _GET strings instead of URI segments.
o Added ability to set "Package" paths - specific paths where the Loader and Config classes should try to look first for a requested file. This allows distribution of sub-applications with their own libraries, models, config files, etc. in a single "package" directory. See the Loader class documentation for more details.
o In-development code is now hosted at BitBucket.
* Libraries
o Added Security library, which now contains the xss_clean function, filename_security function and other security related functions.
o Added CSRF (Cross-site Reference Forgery) protection to the Security library.
o Added $parse_exec_vars property to Output library.
o Added ability to enable / disable individual sections of the Profiler
o Added a wildcard option $config['allowed_types'] = '*' to the File Uploading Class.
o Added an 'object' config variable to the XML-RPC Server library so that one can specify the object to look for requested methods, instead of assuming it is in the $CI superobject.
o Added "is_object" into the list of unit tests capable of being run.
o Table library will generate an empty cell with a blank string, or NULL value.
o Added ability to set tag attributes for individual cells in the Table library
o Added a parse_string() method to the Parser Class.
o Added HTTP headers and Config information to the Profiler output.
o Added Chrome and Flock to the list of detectable browsers by browser() in the User Agent Class.
o The Unit Test Class now has an optional "notes" field available to it, and allows for discrete display of test result items using $this->unit->set_test_items().
* Database
o Added swap_pre value to database configuration.
o Added autoinit value to database configuration.
o Added stricton value to database configuration.
o Added database_exists() to the Database Utilities Class.
o Semantic change to db->version() function to allow a list of exceptions for databases with functions to return version string instead of specially formed SQL queries. Currently this list only includes Oracle and SQLite.
o Fixed a bug where driver specific table identifier protection could lead to malformed queries in the field_data() functions.
o Fixed a bug where an undefined class variable was referenced in database drivers.
* Helpers
o Added convert_accented_characters() function to text helper.
o Added accept-charset to the list of inserted attributes of form_open() in the Form Helper.
o Deprecated the dohash() function in favour of do_hash() for naming consistency.
o Non-backwards compatible change made to get_dir_file_info() in the File Helper. No longer recurses by default so as to encourage responsible use (this function can cause server performance issues when used without caution).
o Modified the second parameter of directory_map() in the Directory Helper to accept an integer to specify recursion depth.
o Modified delete_files() in the File Helper to return FALSE on failure.
o Added an optional second parameter to byte_format() in the Number Helper to allow for decimal precision.
o Added alpha, and sha1 string types to random_string() in the String Helper.
* Other Changes
o Updated loader to automatically apply the sub-class prefix as an option when loading classes. Class names can be prefixed with the standard "CI_" or the same prefix as the subclass prefix, or no prefix at all.
o Increased randomness with is_really_writable() to avoid file collisions when hundreds or thousands of requests occur at once.
o Switched some DIR_WRITE_MODE constant uses to FILE_WRITE_MODE where files and not directories are being operated on.
o get_mime_by_extension() is now case insensitive.
o Added "default" to the list Reserved Names.
o Added 'application/x-msdownload' for .exe files and ''application/x-gzip-compressed' for .tgz files to config/mimes.php.
o Documented append_output() in the Output Class.
o Documented a second argument in the decode() function for the Encryption Class.
o Documentd db->close().
Bug fixes for 2.0.0
* Fixed a bug where a failed query would not have a saved query execution time causing errors in the Profiler
* Fixed a bug that was writing log entries when multiple identical helpers and plugins were loaded.
* Fixed assorted user guide typos or examples (#10693, #8951, #7825, #8660, #7883, #6771, #10656).
* Fixed a language key in the profiler: "profiler_no_memory_usage" to "profiler_no_memory".
* Fixed an error in the Zip library that didn't allow downloading on PHP 4 servers.
* Fixed a bug in the Form Validation library where fields passed as rule parameters were not being translated (#9132)
* Modified inflector helper to properly pluralize words that end in 'ch' or 'sh'
* Fixed a bug in xss_clean() that was not allowing hyphens in query strings of submitted URLs.
* Fixed bugs in get_dir_file_info() and get_file_info() in the File Helper with recursion, and file paths on Windows.
* Fixed a bug where Active Record override parameter would not let you disable Active Record if it was enabled in your database config file.
* Fixed a bug in reduce_double_slashes() in the String Helper to properly remove duplicate leading slashes (#7585)
* Fixed a bug in values_parsing() of the XML-RPC library which prevented NULL variables typed as 'string' from being handled properly.
* Fixed a bug were form_open_multipart() didn't accept string attribute arguments (#10930).
* Fixed a bug (#10470) where get_mime_by_extension() was case sensitive.
* Fixed a bug where some error messages for the SQLite and Oracle drivers would not display.
Changelog:
* General changes
o PHP 4 support is deprecated. Features new to 2.0.0 may not support PHP 4, and all legacy features will no longer support PHP 4 as of 2.1.0.
o Scaffolding, having been deprecated for a number of versions, has been removed.
o Plugins have been removed, in favor of Helpers. The CAPTCHA plugin has been converted to a Helper and documented. The JavaScript calendar plugin was removed due to the ready availability of great JavaScript calendars, particularly with jQuery.
o Added new special Library type: Drivers.
o Added routing overrides to the main index.php file, enabling the normal routing to be overridden on a per "index" file basis.
o Added the ability to set config values (or override config values) directly from data set in the main index.php file. This allows a single application to be used with multiple front controllers, each having its own config values.
o Added $config['directory_trigger'] to the config file so that a controller sub-directory can be specified when running _GET strings instead of URI segments.
o Added ability to set "Package" paths - specific paths where the Loader and Config classes should try to look first for a requested file. This allows distribution of sub-applications with their own libraries, models, config files, etc. in a single "package" directory. See the Loader class documentation for more details.
o In-development code is now hosted at BitBucket.
* Libraries
o Added Security library, which now contains the xss_clean function, filename_security function and other security related functions.
o Added CSRF (Cross-site Reference Forgery) protection to the Security library.
o Added $parse_exec_vars property to Output library.
o Added ability to enable / disable individual sections of the Profiler
o Added a wildcard option $config['allowed_types'] = '*' to the File Uploading Class.
o Added an 'object' config variable to the XML-RPC Server library so that one can specify the object to look for requested methods, instead of assuming it is in the $CI superobject.
o Added "is_object" into the list of unit tests capable of being run.
o Table library will generate an empty cell with a blank string, or NULL value.
o Added ability to set tag attributes for individual cells in the Table library
o Added a parse_string() method to the Parser Class.
o Added HTTP headers and Config information to the Profiler output.
o Added Chrome and Flock to the list of detectable browsers by browser() in the User Agent Class.
o The Unit Test Class now has an optional "notes" field available to it, and allows for discrete display of test result items using $this->unit->set_test_items().
* Database
o Added swap_pre value to database configuration.
o Added autoinit value to database configuration.
o Added stricton value to database configuration.
o Added database_exists() to the Database Utilities Class.
o Semantic change to db->version() function to allow a list of exceptions for databases with functions to return version string instead of specially formed SQL queries. Currently this list only includes Oracle and SQLite.
o Fixed a bug where driver specific table identifier protection could lead to malformed queries in the field_data() functions.
o Fixed a bug where an undefined class variable was referenced in database drivers.
* Helpers
o Added convert_accented_characters() function to text helper.
o Added accept-charset to the list of inserted attributes of form_open() in the Form Helper.
o Deprecated the dohash() function in favour of do_hash() for naming consistency.
o Non-backwards compatible change made to get_dir_file_info() in the File Helper. No longer recurses by default so as to encourage responsible use (this function can cause server performance issues when used without caution).
o Modified the second parameter of directory_map() in the Directory Helper to accept an integer to specify recursion depth.
o Modified delete_files() in the File Helper to return FALSE on failure.
o Added an optional second parameter to byte_format() in the Number Helper to allow for decimal precision.
o Added alpha, and sha1 string types to random_string() in the String Helper.
* Other Changes
o Updated loader to automatically apply the sub-class prefix as an option when loading classes. Class names can be prefixed with the standard "CI_" or the same prefix as the subclass prefix, or no prefix at all.
o Increased randomness with is_really_writable() to avoid file collisions when hundreds or thousands of requests occur at once.
o Switched some DIR_WRITE_MODE constant uses to FILE_WRITE_MODE where files and not directories are being operated on.
o get_mime_by_extension() is now case insensitive.
o Added "default" to the list Reserved Names.
o Added 'application/x-msdownload' for .exe files and ''application/x-gzip-compressed' for .tgz files to config/mimes.php.
o Documented append_output() in the Output Class.
o Documented a second argument in the decode() function for the Encryption Class.
o Documentd db->close().
Bug fixes for 2.0.0
* Fixed a bug where a failed query would not have a saved query execution time causing errors in the Profiler
* Fixed a bug that was writing log entries when multiple identical helpers and plugins were loaded.
* Fixed assorted user guide typos or examples (#10693, #8951, #7825, #8660, #7883, #6771, #10656).
* Fixed a language key in the profiler: "profiler_no_memory_usage" to "profiler_no_memory".
* Fixed an error in the Zip library that didn't allow downloading on PHP 4 servers.
* Fixed a bug in the Form Validation library where fields passed as rule parameters were not being translated (#9132)
* Modified inflector helper to properly pluralize words that end in 'ch' or 'sh'
* Fixed a bug in xss_clean() that was not allowing hyphens in query strings of submitted URLs.
* Fixed bugs in get_dir_file_info() and get_file_info() in the File Helper with recursion, and file paths on Windows.
* Fixed a bug where Active Record override parameter would not let you disable Active Record if it was enabled in your database config file.
* Fixed a bug in reduce_double_slashes() in the String Helper to properly remove duplicate leading slashes (#7585)
* Fixed a bug in values_parsing() of the XML-RPC library which prevented NULL variables typed as 'string' from being handled properly.
* Fixed a bug were form_open_multipart() didn't accept string attribute arguments (#10930).
* Fixed a bug (#10470) where get_mime_by_extension() was case sensitive.
* Fixed a bug where some error messages for the SQLite and Oracle drivers would not display.