Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Breaking Changes: Wrapper classes moved to external package

Compare
Choose a tag to compare
@rnicholus rnicholus released this 01 Feb 03:16
· 52 commits to master since this release

All wrapper classes were moved to the fine-uploader-wrappers project. React Fine Uploader now depends on fine-uploader-wrappers.

Breaking changes:

Traditional, S3, and Azure wrappers must be imported from 'fine-uploader-wrappers'

You must now import the wrapper classes as follows:

  • Traditional - import FineUploaderTraditional from 'fine-uploader-wrappers'
  • S3 - import FineUploaderS3 from 'fine-uploader-wrappers/s3'
  • Azure - import FineUploaderAzure from 'fine-uploader-wrappers/azure'

Components are now at the root of the package

Instead of import FileInput from 'react-fine-uploader/components/file-input', you would pull in the <FileInput /> component as import FileInput from 'react-fine-uploader/file-input'. All components have moved up one level - the 'components' folder is no more.

Also, <Gallery /> is now the default export for this package. It can be imported as import Gallery from 'react-fine-uploader'.

re: #21