Uppy is an open source project by Transloadit
New: Transloadit Community Plan — get free hosted Companion & tusd, unlimited uploading, and 5GB/month encoding traffic!

🎃 Uppy 1.22: Webcam camera source, Unsplash and maxTotalFileSize

Friday Oct 30, 2020

Uppy 1.22 (the spooky Halloween edition) adds a new Unsplash provider, Webcam camera selector dropdown and a maxTotalFileSize restriction.

Webcam Camera Source

If your device has multiple cameras, you can now choose which one you want to use (if you allow the showVideoSourceDropdown option).

maxTotalFileSize

New maxTotalFileSize restriction makes sure the total size of all the files selected isn’t over a certain threshold:

const uppy = new Uppy({
  restrictions: {
    maxTotalFileSize: 104857600
  }
})

Unsplash

Unsplash is a popular website dedicated to sharing free stock photography. With a new Uppy plugin you can search for “trains”, “New York” or “Harry Potter” images and upload them where needed:

The plugin launches in beta, but you can already try it out by installing @uppy/unsplash and upgrading @uppy/companion to the latest version (2.1.0).

Misc

  • @uppy/companion: add option to hide welcome and metrics (#2521 / @szh)
  • @uppy/companion: add more test cases to companion tests (#2585 / @ifedapoolarewaju)
  • @uppy/companion: upgrade prometheus (fixes memory leak) (#2600 / @ifedapoolarewaju)
  • @uppy/locales: update th_TH.js (#2571 / @dogrocker)
  • @uppy/locales: add missing camera translations to de_DE (#2574 / @ferdiusa)
  • @uppy/locales: update el_GR.js with more proper wording for Drag’n’Drop (#2578 / @aalepis)
  • @uppy/core: add postprocess progress when upload success (#2535 / @mejiaej)
  • @uppy/react: Webpack5: Fix react imports (#2589 / @olemoign)
  • @uppy/thumbnail-generator: Add support for png thumbnails (#2603 / @SxDx)
  • website: mobile issues fixes + compact Companion migration table (#2593 / @nqst)

As always, you can find the full list of changes and package versions, as well as future plans, in our changelog.


Star