Skip to content

Changelog v1.6.1

Harro Verton edited this page May 20, 2013 · 17 revisions

This keeps track of important changes to the 1.x branch.

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, changes, notes. Read them carefully.

t.b.d.

Backward compability notes

This is a hotfix release, that contains bugfixes only.

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

This is a hotfix release, that contains bugfixes only.

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

This is a hotfix release, that contains bugfixes only.

Security related

t.b.d.

System changes

  • Fixed broken CSS code in the welcome controller views.
  • Improvement to the query analysis information displayed in the profiler (MySQL only).
  • The included Markdown library has been upgraded to v1.2.6.
  • Lots of path processing improvement to have the framework work better on Windows.
  • Finder now ignores the cache if there are permission issues on the cache file.

Specific classes

  • Agent: Don't try to fetch browser information if no user agent is present in the server data.
  • Arr: New previous_by_key() method to fetch the previous key or value from an array using the current key.
  • Arr: New previous_by_value() method to fetch the previous key or value from an array using the current value.
  • Arr: New next_by_key() method to fetch the next key or value from an array using the current key.
  • Arr: New next_by_value() method to fetch the next key or value from an array using the current value.
  • Controller_Rest: Fixed using a controller method to determine the authentication status.
  • Controller_Rest: Fixed warning when the format passed in the URL is not a valid format.
  • Crypt: Now uses the file permissions defined in the file.php configuration file when generating the crypt configuration file.
  • Input: New headers method allows you to fetch HTTP headers.
  • Inflector: Method friendly_title() now correctly deals with apostrophes by replacing them with a separator.
  • Request_Curl: Added support for the 'HEAD' method to the cURL driver.
  • Response: New redirect_back() method to redirect back to the previous page in your application.
  • Session_Redis : Fixed recovering from expired sessions when using the Redis driver.
  • Viewmodel: New get_view() method returns the associated View object.

Packages

  • Auth: Fixed typo in the Simpleauth migation file, causing a missing 'group' column
  • Auth: Ormauth's create_user() method now supports updating profile fields (which are mapped to EAV attributes) for compatibility with Simpleauth.
  • Auth: Now includes an OpAuth interface to integrate OAuth authentication with Simpleauth or Ormauth.
  • Auth: When running migrations for Ormauth, groups and roles created now mimic the functionality of Simpleauth.
  • Oil: Command processor updated to work from Windows' powershell.
  • Oil: The refine() method of the Command processor now accepts arguments so you can call it from code with the same arguments as from the commandline.
  • Orm: You can now create new EAV attributes by simply assigning a value to a new property (note: this disables Custom data for models with EAV support!).
  • Orm: You can now use unset() to delete an EAV attribute.
  • Orm: Several bugfixes in Model_Soft and Model_Temporal.
  • Parser: You can now call Markdown::parse() from within a Twig template.