Downloads
Release notes
We've been in -rc long enough, plus the Drupal 6 port of filefield finally needs to be tackled. Therefore, some final polish and one nice feature compared to the last release candidate.
You get all the features and bugfixes from rc1 (doesn't have a release node), rc2, rc3 and rc4, plus these three additional improvements:
- Fixed wrong $op names being passed to hook_filefield().
- Now displays the maximum possible file size for uploads - does not fix, but hopefully prevent this serious bug in most cases.
- And my favorite new feature: freedesktop.org standards compliant icon names! By making use of mimetypes and the additional goodness of the mimedetect module (filefield dependency since 2.3-rc*) we can tell file types pretty reliably, so that extensions don't matter anymore for determining file icons. Instead, only the file type itself matters determined by extension *and* contents. It even makes use of fallbacks so if there is no exact icon matching the mimetype (e.g. "image-png") then it uses the matching generic icon (e.g. "image-x-generic"). And with such a nice icon system in place, we can finally display icons in the node view as well.
So, recap of the most important features in FileField 2.3, compared to 2.2:
- Works reliably with Views, including a "Has File" filter.
- Support for revisions, although with an annoying known bug for now. But hey.
- Dependency on MimeDetect for more consistent server side mime type detection
- hook_filefield() makes it possible for extension modules to customize loading, saving and deleting of files, as well as additional validation.
- Support for uploading any file types, by leaving the extension filter setting empty.
- Icons in the node view by default, more generic, more reliable, and really good looking.
If you come from 5.x-2.2, please run update.php to make sure that the new and more intuitive "Always list files" option replaces any previously modified "Show 'List' option" setting correctly. In case you used custom icon sets before, please note that the method for loading icons has changed and does not consider the old icons from the ico/ directory anymore.
If you find any bugs, please report them to the issue queue as usual. So much for that - now let's have some Drupal 6 porting action...