All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added a
token
prop so that a JWT for the Authorization header can be passed. Thanks, @MikeKotte
0.2.0 — 2018-06-26
handleUpload
now takesFile[]
orFileList
for greater flexibility.
0.1.1 — 2018-04-30
- Correctly send multiple blob ids for multiple attachments.
0.1.0 — 2018-04-27
- Allows host to be configured, since some apps host their front-end on a different server than their API. Thanks, @derigible
0.0.3 — 2018-02-12
- Exports flow types so you can import them
0.0.2 — 2018-02-09
- Parses the server response as JSON automatically and calls
onSubmit
with the contents of the response body - Uses
Accept: 'application/json'
so you don’t need to endendpoint.path
with.json
- A component that handles the direct upload of a file to an ActiveStorage service and calls render props with arguments that let you build your own upload widget.