Mathew Davies home

Upgrading Kohana 3.0 to 3.1

Last updated on Sunday the 16th of January 2011

Common things to look out for when upgrading from Kohana 3.0 to 3.1

Auth

Controller

Core

ORM

Request

Validation

<?php
// Filtering post values using a lambda function.
Arr::map(function($value)
{
	return trim($value);
},
$_POST);
<?php $validation->rule('email', array($this, 'email_available'), array(':validation', ':field'));

Changelog

Discuss on Reddit or Hacker News.