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 and dropPasteImport 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 and importFrom need to contain %{name}, substituted by the name of the provider
      • dragdrop: dropHereOr needs to contain %{browse}, substituted by the "browse" text button
    • πŸ’₯ 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 and filetype, 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)