Uppy v0.25.0 Release Notes
-
π Released: 2018-06-01.
- π₯ core: β οΈ breaking Removed
.run()
(to solve issues like #756), just.use()
all the way (#793 / goto-bus-stop) - π₯ core: β οΈ breaking Changed some of the strings that we were concatenating in Preact, now their interpolation is handled by the Translator instead. This is important for languages that have different word order than English. (#845 / @goto-bus-stop)
π Changed strings:
- core:
failedToUpload
needs to contain%{file}
, substituted by the name of the file that failed - dashboard:
dropPaste
anddropPasteImport
need to contain%{browse}
, substituted by the "browse" text button - dashboard:
editing
needs to contain%{file}
, substituted by the name of the file being edited - dashboard:
fileSource
andimportFrom
need to contain%{name}
, substituted by the name of the provider - dragdrop:
dropHereOr
needs to contain%{browse}
, substituted by the "browse" text button
- core:
- π₯ providers: β οΈ breaking select files only after βselectβ is pressed, donβt add them right away when they are checked β better UI + solves issue with autoProceed uploading in background, which is weird; re-read https://github.com/transloadit/uppy/pull/419#issuecomment-345210519(#826 / @goto-bus-stop, @arturi)
- π core: Add error if trying to setFileState() for a file thatβs been removed; clear error on cancelAll (#864 / @goto-bus-stop, @arturi)
- π core: Debounce render calls again, fixes #669 (#796 / @goto-bus-stop)
- core: add more mime-to-extension mappings from https://github.com/micnic/mime.json/blob/master/index.json (#806 /@arturi, @goto-bus-stop)
- π» core: addFile not passing restrictions shouldnβt throw when called from UI (@arturi)
- β
core: set
bytesUploaded = bytesTotal
when upload is complete (#f51ab0f / @arturi) - core: use uppy.getState() instead of uppy.state (#863 / @goto-bus-stop)
- dashboard & statusbar: allow to hide cancel, pause-resume and retry buttons: hideUploadButton: false, hideRetryButton: false, hidePauseResumeCancelButtons: false (#821, #853 / @mrbatista, @arturi)
- β‘οΈ dashboard: Dashboard open/close animation; move ESC and TAB event listener, improve FOCUSABLE_ELEMENTS, update docs (#852 / @arturi)
- dashboard: Donβt use h1-h6 tags (add role=heading), might solve some styling issues for embedded Uppy; fix weird artifacts instead of ellipsis issue (#868 / @arturi)
- dashboard: Use i18n for save/cancel in Dashboard file card (#841 / @arturi)
- π₯οΈ dashboard: disallow removing files if bundle: true in XHRUpload (#853 / @arturi)
- π docs: improve on React docs https://uppy.io/docs/react/, add small example for each component: Dashboard, DragDrop, ProgressBar, etc; more plugin options, better group (#845 / @goto-bus-stop)
- provider: Fix an issue where .focus() is scrolling the page, same as in UrlUI (#51df805 / @arturi)
- provider: show message for empty provider files (#ff628b6 / @ifedapoolarewaju)
- providers: Add user/account names to Uppy provider views (61bf0a7 / @ifedapoolarewaju)
- providers: display username in provider view (61bf0a7 / @ifedapoolarewaju)
- β react: Added tests for mounting/unmounting React components (#854 / @goto-bus-stop)
- π react: Fixed plugin ID mismatch in React components, fixes #850 (#854 / @goto-bus-stop)
- s3: implement multipart uploads (#726 / @goto-bus-stop)
- tus: add
filename
andfiletype
, so that tusd servers knows what headers to set (#844 / @vith) - π ui-plugins: Add try/catch to
addfile()
calls from UI plugins (@arturi / #867) - β uppy-server: benchmarks / stress test, large file, uppy-server / tus / S3 (10 GB) (@ifedapoolarewaju)
- π³ uppy-server: document docker image setup for uppy-server (@ifedapoolarewaju)
- π url: Add support for drag-dropping urls, links or images from webpages (#836 / @arturi)
- π webcam: swap record/stop button icons, fixes #859 (#fdcca95 / @arturi)
- β xhrupload: fix bytesUploaded and bytesTotal for bundled progress (#864 / @arturi)
- β± xhrupload: fix retry/timer issues, add timer.done() to
cancel-all
events; disable progress throttling in Core; Ignore progress events in timeout tracker after upload was aborted (#864 / @goto-bus-stop, @arturi) - Server: Allow custom headers to be set for remote multipart uploads (@ifedapoolarewaju)
- π Server: Add type to metadata as
filetype
- π¨ uppy/uppy-server: refactor oauth flow tonot use cookies anymore (@ifedapoolarewaju)
- π₯ core: β οΈ breaking Removed