This version is outdated. You should upgrade your project to Mako 7.3 or Mako 8.1!


This guide takes you through the steps needed to migrate from Mako 5.6.x to 5.7.x.




The forceLogin method will now return true when a login is successful and a status code instead of false when the login fails.

Password hashing

The mako\security\Password class has been removed. If you were using it they you'll have to update your code to use the new password hashing library introduced in 5.6.0.


Query builder

The JSON representation of a result set returned by the Query::paginate() method will now be an object where the results are available as data and pagination information will be available as pagination. See the query builder documentation for more details.


The ORM::$exists property and ORM::exists() method has been removed. Use ORM::$isPersisted and ORM::isPersisted() instead.