Skip to content

Releases: fris-fruitig/react-firebase-file-uploader

Fixed reference of onProgress & onUploadSuccess

Choose a tag to compare

@sprmn sprmn released this 01 Dec 08:31
7593e0d

Changes

  • [BUG] Fixed reference of onProgress & onUploadSuccess (a5a4ba7 from @knxlab)

v2.4.1

Choose a tag to compare

@sprmn sprmn released this 22 Sep 08:28

Bug fixes

  • Fixed issue with missing file argument when providing a function for the filename

v2.4.0

Choose a tag to compare

@sprmn sprmn released this 21 Sep 19:42

New features

  • Add support for multiple uploads

v2.3.0

Choose a tag to compare

@sprmn sprmn released this 21 Sep 14:08

New features

  • The html input can now be hidden using the hidden prop.
  • The CustomUploadButton component can be used to render a custom button instead of the default html file input.

v2.2.0

Choose a tag to compare

@sprmn sprmn released this 06 Jun 19:07

New features

  • You can now provide a function as filename attribute, which will be called using the selected file as first argument to generate a filename. In the future the randomizeFilename prop will probably be depracated, so that you'll have to bring your own filename generator function. This allows us to remove the uuid dependency and follows the vision that the lib should be as basic, simple and generic as possible.
  • The uploader now naively checks for a file extension in the filename and adds the extension of the original file if none was found. A little more work might be required to make this reliable, so for now I'd recommend you to always provide an extension in the provided filename yourself.

Breaking changes

  • Since the uploader will now automatically add an extension to your filename, you could experience some issues in case you're code relies on not having any filename, but this should be very unlikely.