Downloads

Download filefield-5.x-2.3.tar.gztar.gz 22.99 KB
MD5: 46c1d59a8690f531b8443ef3b2fe67c6
SHA-1: 815e640765679e904616db6548ee1a034a0653c6
SHA-256: 854b2251d24e01ed97d2d5864be65ab9f4884a619cb290f85343782031eeffcc
Download filefield-5.x-2.3.zipzip 31.6 KB
MD5: 3cc2d2ce25f5c82674aebbedf6690e63
SHA-1: 2ed8f58399f83002194b16e52cfb428d100e76c6
SHA-256: e6f20d805e32ccaf875083b5896d40f04ce5ae343bf51a32c2f7ef0d50fcf2e8

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...

Created by: jpetso
Created on: 3 Jun 2008 at 03:20 UTC
Last updated: 1 Aug 2018 at 20:25 UTC
New features
Bug fixes
Insecure

Other releases