-
Notifications
You must be signed in to change notification settings - Fork 346
Changelog v1.5
WanWizard edited this page Jan 12, 2013
·
28 revisions
This keeps track of important changes to the 1.x branch. Important changes that need extra attention when releasing v1.5. 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.
- The "Undefined constant MYSQL_ATTR_COMPRESS" issue that pops up under certain conditions has been fixed.
- It has been reported that under certain circumstances there might be issues with serialized data stored in the Auth user table, field "profile_fields", and the "payload" field in the sessions table. It is strongly advised to define those columns as "blob" to avoid these issues.
- A new
Log
package has been introduced in preparation for the transition to 2.0, which replaces theLog
class.
-
Uri::to_assoc() no longer throws an exception with uneven segments, but returns
null
as value of the last segment - ORM Model::find() no longer accepts
null
as only parameter. If you want to use that, you are now REQUIRED to also pass the options array (or an empty array). - Sessions have been refactored, all validation and validation data has been moved server side. Because of this, pre-1.5 sessions are not longer compatible.
- The
Log
class has been removed and replaced by thelog
package. If you have extended theLog
class in your application, you will have to extend\Log\Log
instead, and check the compatibility of your changes. If they are about logging to other locations, you might want to look into the Monolog stream handlers instead.
- tbd
- tbd
- tbd
- Controller_Hybrid: Now sets the correct content-type header on empty responses.
- Controller_Rest: Now sets the correct content-type header on empty responses.
-
Arr: New
filter_recursive
method, a recursive version of PHP'sarray_filter()
function. -
Debug:
dump()
method now html encodes string variables. -
Debug:
dump()
andinspect()
can now be styled using CSS (a classname has been added to the div). -
Fieldset: New
set_tabular_form()
method allows creation of one-to-many forms. -
Fieldset: New
get_tabular_form()
method to check if a fieldset defines a tabular form. -
Image: New
flip()
method for vertical/horizontal image flipping. -
Inflector:
friendly_title()
now has an option to deal with non-ascii characters. -
Inflector:
pluralize()
now has an count parameter to return a singular value if the count is 1. - Migrate: Now allows you to define the DB connection to be used for migrations in the global migrations config file.
- Mongo_Db: Will now log it's queries to the profiler if enabled.
- Pagination: Now support pagination using a Query String variable.
- Pagination: Now has support for first/last page links.
-
Session: Now correctly erases the session cookie on a
destroy
. - Session: Now silently (re)creates the session if data is present by no session is created.
- Session: Cookie encryption can now be disabled using a session configuration key.
- Session: Session cookie now only contains the session id. validation now happens server-side.
-
Session:
get_flash()
now has to option to expire the flash variable immediately. -
Session:
set_flash()
now has to partial array dot-notation support. -
Uri:
to_assoc()
now accepts a start parameter allowing you to skip leading segments. - Validation: Now has a new built-in rule 'numeric_between' allowing you to specify a range.
- Database_Query_Builder_Join: Now supports both AND and ON chaining of join condition.
- Orm: Supports the new tabular form fieldset in it's models.
-
Orm:
find()
options array now has support for 'group_by'. -
Orm: New
Model_Soft
implements soft-delete functionality (thanks to Steve West). -
Orm:
from_array()
can now also populate related objects. -
Oil:
oil install
now installs packages without 'fuel_' prefix too. - Oil: scaffolding now supports subdirectories.
- Oil: Now has a config file that allows you to configure the location of phpunit.
- Parser: Twig driver has been updated to work with Twig v1.12.0.