Kohana 1.0 Released
The Kohana Team is very happy to announce we've released the first version of Kohana PHP Framework. This release is backwards compatible with CI 1.5.x. Please see the Release Notes and Upgrade Instructions.
Download Kohana 1.0
NOTE: This is a pre-release of Kohana 1.0, and does not include a user guide. We will be releasing a final version of 1.0 when the user guide is complete. This will be the only release that will not include a complete user guide.
Download:
kohanaphp.com
Mirrors:
wgilk.com
jaaulde.com
What's New?
We started with CI 1.5.3 (revision 566) and took off with the goal of fixing all the bugs we could find and making the framework faster. Our plan was to create a solid, stable, and fast base to build the next version of BF on. We dug through the bug tracker and the forums to find bugs for weeks. 44 tickets and 143 revisions later, we have what you've been waiting for. Here are some of the changes we've made:
Features:
- Added GET support to URIs
- Added missing functionality to the cookie helper
- Added $this->db->count_records()
- Added $this->session->get_once() to the Session class
- New Validation rules digit and valid_email_rfc
- Added individual query times in the Profiler
Improvements:
- Added better .htaccess example for removing index.php in the URI
- Numerous regex optimizations and improvements
- Improvements to many Validation rules
- Added more functionality to redirect() URL Helper
Bug Fixes:
- Fixed a fatal error in the PostgreSQL driver for insert_id()
- Changed how Active Record is enabled/disabled in configuration
- Fixed a bug in the loader in regards to the database
- Fixed bugs in the Inflector Helper dealing with plural and singular words that end with "s"
- Fixed a bug where the loader class tries to redeclare extended libraries
- Fixed a bug in the email class having to deal with newline characters
- Resolved a logic issue in database transactions' trans_status()
- Fixed an issue where Active Record wasn't escaping numeric fields
- Fixed a bug in the Postgres driver that caused a fatal error
- Fixed a bug in the email class that prevented Yahoo! Mail from receiving HTML emails
- Fixed/Improved xss_clean() to work properly with latest PHP version
- Fixed bug in resizing images in the Image Manipulation library
- Active Record now handles NULL correctly
- Fixed bug in the Security Helper where strip_image_tags() wasn't properly stripping img tags
- Fixed newline characters in emails
- Fixed bugs in the magic_quotes_gpc handling process. stripslashes() has been centralized to Input, and is no longer applied if magic_quotes_gpc is off
- Fixed a few typos in the User Guide
How to Upgrade
It's easy. If you've been using CodeIgniter 1.5.x, then just:
- Move the /system/application directory to /application (so that system and application are in the same directory)
- This is only necessary if your application directory exists inside the system directory. Absolute paths are still supported.
- If you use CI's logging, the system/logs directory has been moved to application/logs and will have to be relocated
- Replace the CI system directory with your Kohana system directory
- Replace index.php with the copy of index.php from Kohana, and edit as necessary (This step is required)
- The main configuration file application/config/config.php file has been updated. You do not have to replace this file, but it is suggested that you familiarize yourself with the new configuration options. For future capability, we recommend that you replace the CI config.php with the new Kohana config.php file, and reconfigure it as necessary.
I Found A Bug!
No worries! Go to http://kohanaphp.com/trac/ and submit a new ticket! Please explain the bug in detail and give examples. Our development team is hyper-active and will address it quickly. Also feel free to discuss it with us in #kohana on Freenode IRC.
What's Next?
Our next big release is Kohana 1.1, for which we have very big plans. This release will be adding many new features and improvements to the framework. You can learn more by checking out our RoadMap.
Credits
The Kohana Team
Jim Auldridge (JAAulde)
Oscar Bajner (OscarB)
Jeremy Bush (zombor)
Geert De Deckere (Geert)
Woody Gilk (Shadowhand)
Greg MacLellan (groogs)
Todd Wilson (Tido)
Ted Wood (coolfactor)
Fred Wu (Canglan)
Special Thanks
Derek Allard
Don Pinkster (Phoop)
sophistry
Very Special Thanks
Rick Ellis
