From 08b0a1cb53f0c3b54a2bf7f8ac0f8b2cd5d8f0ff Mon Sep 17 00:00:00 2001
From: Phil Sturgeon
Date: Wed, 26 Oct 2011 23:39:38 +0100
Subject: Added changelog entry for bugfix.
---
user_guide/changelog.html | 135 +++++++++++++++++++++++-----------------------
1 file changed, 68 insertions(+), 67 deletions(-)
(limited to 'user_guide/changelog.html')
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index b4bd8bb7f..dc1a1f366 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -59,13 +59,13 @@ Change Log
The indicates items that were contributed to CodeIgniter via CodeIgniter Reactor.
-Version 2.1.0 (planned)
-Release Date: Not Released
+Version 2.1.0
+Release Date: November 01, 2011
- General Changes
- - Callback validation rules can now accept parameters like any other validation rule.
+ - Callback validation rules can now accept parameters like any other validation rule.
- Helpers
@@ -78,27 +78,28 @@ Change Log
- Database
- - Added a CUBRID driver to the Database Driver. Thanks to the CUBRID team for supplying this patch.
- - Typecast limit and offset in the Database Driver to integers to avoid possible injection.
+ - Added a CUBRID driver to the Database Driver. Thanks to the CUBRID team for supplying this patch.
+ - Typecast limit and offset in the Database Driver to integers to avoid possible injection.
- 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.
+ - 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.
Bug fixes for 2.1.0
- - 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 #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 (#60) - Added _file_mime_type() method to the File Uploading Library in order to fix a possible MIME-type injection (also fixes bug #394).
+ - Fixed a bug (#537) - Support for all wav type in browser.
Version 2.0.3
@@ -116,43 +117,43 @@ Change Log
Added Session Class userdata to the output profiler. Additionally, added a show/hide toggle on HTTP Headers, Session Data and Config Variables.
Removed internal usage of the EXT constant.
Visual updates to the welcome_message view file and default error templates. Thanks to danijelb for the pull request.
- Added insert_batch() function to the PostgreSQL database driver. Thanks to epallerols for the patch.
- Added "application/x-csv" to mimes.php.
+ Added insert_batch() function to the PostgreSQL database driver. Thanks to epallerols for the patch.
+ Added "application/x-csv" to mimes.php.
Fixed a bug where Email library attachments with a "." in the name would using invalid MIME-types.
Helpers
- Added an optional third parameter to heading() which allows adding html attributes to the rendered heading tag.
- - form_open() now only adds a hidden (Cross-site Reference Forgery) protection field when the form's action is internal and is set to the post method. (Reactor #165)
- - Re-worked plural() and singular() functions in the Inflector helper to support considerably more words.
+ - form_open() now only adds a hidden (Cross-site Reference Forgery) protection field when the form's action is internal and is set to the post method. (Reactor #165)
+ - Re-worked plural() and singular() functions in the Inflector helper to support considerably more words.
Libraries
- Altered Session to use a longer match against the user_agent string. See upgrade notes if using database sessions.
- - Added is_unique to the Form Validation library.
- - Added $this->db->set_dbprefix() to the Database Driver.
- - Changed $this->cart->insert() in the Cart Library to return the Row ID if a single item was inserted successfully.
- - Added $this->load->get_var() to the Loader library to retrieve global vars set with $this->load->view() and $this->load->vars().
- - Changed $this->db->having() to insert quotes using escape() rather than escape_str().
+ - Added is_unique to the Form Validation library.
+ - Added $this->db->set_dbprefix() to the Database Driver.
+ - Changed $this->cart->insert() in the Cart Library to return the Row ID if a single item was inserted successfully.
+ - Added $this->load->get_var() to the Loader library to retrieve global vars set with $this->load->view() and $this->load->vars().
+ - Changed $this->db->having() to insert quotes using escape() rather than escape_str().
Bug fixes for 2.0.3
- - Added ENVIRONMENT to reserved constants. (Reactor #196)
- - Changed server check to ensure SCRIPT_NAME is defined. (Reactor #57)
- - Removed APPPATH.'third_party' from the packages autoloader to negate needless file stats if no packages exist or if the developer does not load any other packages by default.
+ - Added ENVIRONMENT to reserved constants. (Reactor #196)
+ - Changed server check to ensure SCRIPT_NAME is defined. (Reactor #57)
+ - Removed APPPATH.'third_party' from the packages autoloader to negate needless file stats if no packages exist or if the developer does not load any other packages by default.
- Fixed a bug (Reactor #231) where Sessions Library database table example SQL did not contain an index on last_activity. See Upgrade Notes.
- Fixed a bug (Reactor #229) where the Sessions Library example SQL in the documentation contained incorrect SQL.
- Fixed a bug (Core #340) where when passing in the second parameter to $this->db->select(), column names in subsequent queries would not be properly escaped.
- - Fixed issue #199 - Attributes passed as string does not include a space between it and the opening tag.
- - Fixed a bug where the method $this->cart->total_items() from Cart Library now returns the sum of the quantity of all items in the cart instead of your total count.
- - Fixed a bug where not setting 'null' when adding fields in db_forge for mysql and mysqli drivers would default to NULL instead of NOT NULL as the docs suggest.
- - Fixed a bug where using $this->db->select_max(), $this->db->select_min(), etc could throw notices. Thanks to w43l for the patch.
- - Replace checks for STDIN with php_sapi_name() == 'cli' which on the whole is more reliable. This should get parameters in crontab working.
+ - Fixed issue #199 - Attributes passed as string does not include a space between it and the opening tag.
+ - Fixed a bug where the method $this->cart->total_items() from Cart Library now returns the sum of the quantity of all items in the cart instead of your total count.
+ - Fixed a bug where not setting 'null' when adding fields in db_forge for mysql and mysqli drivers would default to NULL instead of NOT NULL as the docs suggest.
+ - Fixed a bug where using $this->db->select_max(), $this->db->select_min(), etc could throw notices. Thanks to w43l for the patch.
+ - Replace checks for STDIN with php_sapi_name() == 'cli' which on the whole is more reliable. This should get parameters in crontab working.
Version 2.0.2
@@ -164,36 +165,36 @@ Hg Tag: v2.0.2
- The Security library was moved to the core and is now loaded automatically. Please remove your loading calls.
- The CI_SHA class is now deprecated. All supported versions of PHP provide a sha1() function.
- - constants.php will now be loaded from the environment folder if available.
- - Added language key error logging
- - Made Environment Support optional. Comment out or delete the constant to stop environment checks.
- - Added Environment Support for Hooks.
- - Added CI_ Prefix to the Cache driver.
- - Added CLI usage documentation.
+ - constants.php will now be loaded from the environment folder if available.
+ - Added language key error logging
+ - Made Environment Support optional. Comment out or delete the constant to stop environment checks.
+ - Added Environment Support for Hooks.
+ - Added CI_ Prefix to the Cache driver.
+ - Added CLI usage documentation.
Helpers
- Removed the previously deprecated dohash() from the Security helper; use do_hash() instead.
- - Changed the 'plural' function so that it doesn't ruin the captalization of your string. It also take into consideration acronyms which are all caps.
+ - Changed the 'plural' function so that it doesn't ruin the captalization of your string. It also take into consideration acronyms which are all caps.
Database
- - $this->db->count_all_results() will now return an integer instead of a string.
+ - $this->db->count_all_results() will now return an integer instead of a string.
Bug fixes for 2.0.2
- - Fixed a bug (Reactor #145) where the Output Library had parse_exec_vars set to protected.
- - Fixed a bug (Reactor #80) where is_really_writable would create an empty file when on Windows or with safe_mode enabled.
- - Fixed various bugs with User Guide.
- - Added is_cli_request() method to documentation for Input class.
- - Added form_validation_lang entries for decimal, less_than and greater_than.
- - Fixed issue #153 Escape Str Bug in MSSQL driver.
- - Fixed issue #172 Google Chrome 11 posts incorrectly when action is empty.
+ - Fixed a bug (Reactor #145) where the Output Library had parse_exec_vars set to protected.
+ - Fixed a bug (Reactor #80) where is_really_writable would create an empty file when on Windows or with safe_mode enabled.
+ - Fixed various bugs with User Guide.
+ - Added is_cli_request() method to documentation for Input class.
+ - Added form_validation_lang entries for decimal, less_than and greater_than.
+ - Fixed issue #153 Escape Str Bug in MSSQL driver.
+ - Fixed issue #172 Google Chrome 11 posts incorrectly when action is empty.
@@ -205,34 +206,34 @@ Hg Tag: v2.0.1
General changes
- Added $config['cookie_secure'] to the config file to allow requiring a secure (HTTPS) in order to set cookies.
- - Added the constant CI_CORE to help differentiate between Core: TRUE and Reactor: FALSE.
- - Added an ENVIRONMENT constant in index.php, which affects PHP error reporting settings, and optionally,
+
- Added the constant CI_CORE to help differentiate between Core: TRUE and Reactor: FALSE.
+ - Added an ENVIRONMENT constant in index.php, which affects PHP error reporting settings, and optionally,
which configuration files are loaded (see below). Read more on the Handling Environments page.
- - Added support for environment-specific configuration files.
+ - Added support for environment-specific configuration files.
Libraries
- - Added decimal, less_than and greater_than rules to the Form validation Class.
- - Input Class methods post() and get() will now return a full array if the first argument is not provided.
- - Secure cookies can now be made with the set_cookie() helper and Input Class method.
- - Added set_content_type() to Output Class to set the output Content-Type HTTP header based on a MIME Type or a config/mimes.php array key.
- - Output Class will now support method chaining.
+ - Added decimal, less_than and greater_than rules to the Form validation Class.
+ - Input Class methods post() and get() will now return a full array if the first argument is not provided.
+ - Secure cookies can now be made with the set_cookie() helper and Input Class method.
+ - Added set_content_type() to Output Class to set the output Content-Type HTTP header based on a MIME Type or a config/mimes.php array key.
+ - Output Class will now support method chaining.
Helpers
- - Changed the logic for form_open() in Form helper. If no value is passed it will submit to the current URL.
+ - Changed the logic for form_open() in Form helper. If no value is passed it will submit to the current URL.
Bug fixes for 2.0.1
- - CLI requests can now be run from any folder, not just when CD'ed next to index.php.
- - Fixed issue #41: Added audio/mp3 mime type to mp3.
- - Fixed a bug (Core #329) where the file caching driver referenced the incorrect cache directory.
- - Fixed a bug (Reactor #69) where the SHA1 library was named incorrectly.
+ - CLI requests can now be run from any folder, not just when CD'ed next to index.php.
+ - Fixed issue #41: Added audio/mp3 mime type to mp3.
+ - Fixed a bug (Core #329) where the file caching driver referenced the incorrect cache directory.
+ - Fixed a bug (Reactor #69) where the SHA1 library was named incorrectly.
Version 2.0.0
@@ -246,7 +247,7 @@ Hg Tag: v2.0.0
Scaffolding, having been deprecated for a number of versions, has been removed.
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.
Added new special Library type: Drivers.
- Added full query-string support. See the config file for details.
+ Added full query-string support. See the config file for details.
Moved the application folder outside of the system folder.
Moved system/cache and system/logs directories to the application directory.
Added routing overrides to the main index.php file, enabling the normal routing to be overridden on a per "index" file basis.
@@ -256,15 +257,15 @@ Hg Tag: v2.0.0
In-development code is now hosted at BitBucket.
Removed the deprecated Validation Class.
Added CI_ Prefix to all core classes.
- Package paths can now be set in application/config/autoload.php.
- Upload library file_name can now be set without an extension, the extension will be taken from the uploaded file instead of the given name.
- In Database Forge the name can be omitted from $this->dbforge->modify_column()'s 2nd param if you aren't changing the name.
- $config['base_url'] is now empty by default and will guess what it should be.
- Enabled full Command Line Interface compatibility with config['uri_protocol'] = 'CLI';.
+ Package paths can now be set in application/config/autoload.php.
+ Upload library file_name can now be set without an extension, the extension will be taken from the uploaded file instead of the given name.
+ In Database Forge the name can be omitted from $this->dbforge->modify_column()'s 2nd param if you aren't changing the name.
+ $config['base_url'] is now empty by default and will guess what it should be.
+ Enabled full Command Line Interface compatibility with config['uri_protocol'] = 'CLI';.
Libraries
- - Added a Cache driver with APC, memcached, and file-based support.
+ - Added a Cache driver with APC, memcached, and file-based support.
- Added $prefix, $suffix and $first_url properties to Pagination library.
- Added the ability to suppress first, previous, next, last, and page links by setting their values to FALSE in the Pagination library.
- Added Security library, which now contains the xss_clean function, filename_security function and other security related functions.
@@ -295,8 +296,8 @@ Hg Tag: v2.0.0
- Altered Form_Validation library to allow for method chaining on set_rules(), set_message() and set_error_delimiters() functions.
- Altered Email Library to allow for method chaining.
- Added request_headers(), get_request_header() and is_ajax_request() to the input class.
- - Altered User agent library so that is_browser(), is_mobile() and is_robot() can optionally check for a specific browser or mobile device.
- - Altered Input library so that post() and get() will return all POST and GET items (respectively) if there are no parameters passed in.
+ - Altered User agent library so that is_browser(), is_mobile() and is_robot() can optionally check for a specific browser or mobile device.
+ - Altered Input library so that post() and get() will return all POST and GET items (respectively) if there are no parameters passed in.
Database
@@ -358,7 +359,7 @@ Hg Tag: v2.0.0
Bug fixes for 2.0.0
- - Fixed a bug where you could not change the User-Agent when sending email.
+ - Fixed a bug where you could not change the User-Agent when sending email.
- Fixed a bug where the Output class would send incorrect cached output for controllers implementing their own _output() method.
- 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.
--
cgit v1.2.3-24-g4f1b