This version is outdated. You should upgrade your project to Mako 9.1 or Mako 10.0!
Getting started

Upgrading



This guide takes you through the steps needed to migrate from Mako 6.2.x to 6.3.x. The release does not contain any breaking changes but there are a couple of deprecations. Follow this upgrade guide to future-proof your application.


Redirects

The Redirect::multipleChoices(), Redirect::notModified() and Redirect::useProxy() methods have been deprecated and will be removed in Mako 7.0.


Uploaded files

The UploadedFile::getName() and UploadedFile::getReportedType() are deprecated and will be removed in Mako 7.0. You can replace the method calls with UploadedFile::getReportedFilename() and UploadedFile::getReportedMimeType().


Validation rules

The max_filesize and mimetype rules have been deprecated and will be removed in Mako 7.0. They have been renamed to max_file_size and mime_type.