Changelogs: Uploader v3.6

A new version of Uploader has been released, version 3.6. Please download the new tag or view the documentation. If you have any questions, be sure to send me an email or comment on this post. If you run into any problems, be sure to report an issue on the Github repository.

Version: 3.6
Tested On: PHP 5.3, CakePHP 2.0.5
Requires: PHP 5.2, CakePHP 2.0
Commit Hash: d1f2f0c253d4c132836049dee6c84422155fb05e

  • Fixed PHP 5.4 strict errors
  • Fixed a bug where empty file uploads will still trigger validation
  • Added an allowEmpty option for Uploader::uploadAll()
  • Added width and height validation rules to FileValidationBehavior
  • Refactored Uploader::uploadAll() to accept an array of options instead of arguments (backwards compatible)
  • Refactored so that on/allowEmpty rules can be passed to FileValidationBehavior like regular validation rules
  • Required validation rule is now by default, allowEmpty true and on create
  • Replaced errors with exceptions
  • Allow empty extension validation to use all mime types [Issue #56]
  • Allow empty file uploads to continue when multiple uploads are used [Issue #62]
  • Use uploadDir in AttachmentBehavior::beforeDelete() if saveAsFilename is true [Issue #63]
  • Use cURL to grab the ext/mimetype for Uploader::importRemote() [Issue #55]
  • Grab image dimensions at the end of Uploader::upload() to work for all upload formats [Issue #60]


  • It is really a better and useful details of Uploader version 3.6. Please keep us suggested like this. that was really needed.
  • I was wondering how can I rename the uploaded files to the table's ID. Could you help me with that?
  • So I'm looking at this plugin, do I need to create my own schema in the db, or is there a sample we should start off?