-
Notifications
You must be signed in to change notification settings - Fork 346
Changelog v1.6
WanWizard edited this page Mar 28, 2013
·
19 revisions
This keeps track of important changes to the 1.x branch. Important changes that need extra attention when releasing v1.6. Besides these changes there were lots of bug fixes and core and speed improvements.
When you decide to upgrade to a new version, pay attention to the changes documented in this changelog, and the upgrade procedures documented.
- This release officially introduces Composer to FuelPHP. You will have to install it, and run a 'php composer.phar update' to pull in any required packages. Without this step, 1.6 WILL NOT WORK!!!
- Class names in the Auth package have been modified to match FuelPHP coding standards. Check your configuration ('SimpleAuth' is now 'Simpleauth'!) and any class extensions you have made.
- The Log functionality has been moved back in the core. If you are upgrading from 1.5, please remove the old 'Log' package from the
always_load
section in yourconfig.php
, and remove the package from the packages folder. - The environment 'stage' has been renamed to 'staging', the corresponding constant to Fuel::STAGING.
- The ORM
validation_observer
now has multiple events. Do not define it without specifying which events to call, as it would cause validation to be called twice!
- The names of the Auth classes have been changed to comply with FuelPHP coding standards (
Auth_Login_Simpleauth
instead ofAuth_Login_SimpleAuth
), this can cause a class-not-found error if you have extended an Auth class in your application.
- tbd
- tbd
- tbd
- The Markdown library has been upgraded to 1.2.6.
-
Arr: New
search
method allows you to search for values in array structures, and get the (dot-notated) key returned. -
Arr: New
unique
method allows you to de-dup an array. Like array_unique(), but this one supports objects and closures, and doesn't sort the source array first.
- Auth: Class names have been modified to match FuelPHP coding standards.
- Log: The Log package, introduced in 1.5 as a temporary solution, has been removed again.
- Orm: Validation observer now supports 'before_insert' and 'before_update'.
- Orm: Now correctly resets foreign keys if cascade_delete is false.