Skip to content

Changelog v1.5

WanWizard edited this page Nov 30, 2012 · 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.

Important fixes or changes

  • tbd

Backward compability notes

  • 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).

Removed code (because it was deprecated in v1.4 or earlier)

  • tbd

Code deprecated in v1.5 (to be removed in the next release)

  • tbd

Security related

  • tbd

System changes

  • Controller_Hybrid: Now sets the correct content-type header on empty responses.
  • Controller_Rest: Now sets the correct content-type header on empty responses.

Specific classes

  • Arr: New filter_recursive method, a recursive version of PHP's array_filter() function.
  • 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.
  • 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.
  • Mongo_Db: Will now log it's queries to the profiler if enabled.
  • Pagination: Now support pagination using a Query String variable.
  • 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.
  • 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.

Packages

  • Orm: Supports the new tabular form fieldset in it's models.
Clone this wiki locally