Skip to content

v0.4.0

Compare
Choose a tag to compare
@lionng429 lionng429 released this 26 Mar 00:20
· 13 commits to master since this release
825e1dc

Changelog

Dependencies

  • updated React peer dependency to ^15.0.0 || ^16.0.0
  • added back react into dependencies
  • moved prop-types from devDependencies to dependencies

Features

Receiver.js

  • added file type checking in onDragEnter

UploadManager.js

  • added reqConfigs as a prop which accepts accept, method, timeout and withCredentials properties
  • added formDataParser as a prop which allows custom fields to be sent through in the request (#5)
  • these changes refer to #9, thanks for the contribution from @digital-flowers

Bug Fixes

  • fixed missing DragEvent on Safari (#7)
  • fixed unnecessary key props in UploadHandler (#8)
  • refactored basic example

ESLint

  • removed airbnb and related dependencies
  • fixed eslint errors