|
@@ -0,0 +1,79 @@
|
|
|
+---
|
|
|
+title: "Uppy 1.29: Golden Retriever, disableLocalFiles, Webcam previews, uppy.logout"
|
|
|
+date: 2021-05-31
|
|
|
+author: arturi
|
|
|
+image: "https://uppy.io/images/blog/1.29/golden-retriever-all-recovered.png"
|
|
|
+published: false
|
|
|
+---
|
|
|
+
|
|
|
+In Uppy 1.29 we’ve revamped the Golden Retriever plugin with support for partially recovered “ghost” files, added `disableLocalFiles` option to the Dashboard, ability to preview Webcam videos before submitting and an `uppy.logout()` method, among with an assortment of Companion improvements.
|
|
|
+
|
|
|
+<video alt="Demo of Uppy Golden Retriever file restore plugin in action" muted autoplay loop>
|
|
|
+ <source src="/images/blog/1.29/ghosts-demo.mp4" type="video/mp4">
|
|
|
+ Your browser does not support the video tag: https://uppy.io/images/blog/1.29/ghosts-demo.mp4
|
|
|
+</video>
|
|
|
+
|
|
|
+<!--more-->
|
|
|
+
|
|
|
+## Golden Retriever
|
|
|
+
|
|
|
+[Golden Retriever](/docs/golden-retriever/) (`@uppy/golden-retriever`) is Uppy’s innovative plugin that recovers user’s files after an accidentally closed tab/window or a browser crash. Golden Retriever was first [introduced a few years ago](/blog/2017/07/golden-retriever/), during Transloadit’s company meetup in Berlin, and now finally got a proper refactor.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+In this release, we’re adding support for “ghosts” — files that we’ve restored the metadata for, but couldn’t recover the data blob itself (usually due to its size). In this case, users will see a ghost icon over the file and a “re-select” button to pick the file again.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+You can try Golden Retriever in action on [the Dashboard example page](https://uppy.io/examples/dashboard/).
|
|
|
+
|
|
|
+<center><img src="/images/blog/golden-retriever/catch-fail-2.gif" alt="Golden Retriever failing to catch something" title="Good try, girl!"></center>
|
|
|
+
|
|
|
+## Dashboard: `disableLocalFiles`
|
|
|
+
|
|
|
+`disableLocalFiles: true` option will disable drag & drop, hide the “browse” and “My Device” button, allowing only uploads from plugins, such as Webcam, Screen Capture, Google Drive, Instagram.
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+[Docs: disableLocalFiles](https://uppy.io/docs/dashboard/#disableLocalFiles).
|
|
|
+
|
|
|
+## Webcam Previews
|
|
|
+
|
|
|
+When recording a video with `@uppy/webcam` plugin, you will now be given a chance to play it back and review before submitting. If you happen to not like the way glitch crab mask you’ve used, you can re-record the video using a more appropriate baby Yoda or duckface mask.
|
|
|
+
|
|
|
+<video alt="Demo of Uppy Golden Retriever file restore plugin in action" muted autoplay loop>
|
|
|
+ <source src="/images/blog/1.29/webcam-preview-demo.mp4" type="video/mp4">
|
|
|
+ Your browser does not support the video tag: https://uppy.io/images/blog/1.29/webcam-preview-demo.mp4
|
|
|
+</video>
|
|
|
+
|
|
|
+## uppy.logout()
|
|
|
+
|
|
|
+When your users logs out of your app, you might want to also log them out of any cloud providers they might have used through Uppy, for extra security.
|
|
|
+
|
|
|
+`uppy.logout()` calls `provider.logout()` on each remote provider plugin, like Google Drive, Instagram, Dropbox etc.
|
|
|
+
|
|
|
+[Docs: uppy-logout](https://uppy.io/docs/uppy/#uppy-logout)
|
|
|
+
|
|
|
+## Companion
|
|
|
+
|
|
|
+- @uppy/companion-client: rethrow original error objects (#2889 / @goto-bus-stop)
|
|
|
+- Pull out metric middleware logic (#2854 / @mifi)
|
|
|
+- Smaller heroku deployment (#2845 / @goto-bus-stop)
|
|
|
+- Bump redis from 2.8.0 to 3.1.1 (#2865 / @dependabot, @ kiloreux)
|
|
|
+- add chunkSize companion option (#2881 / @mifi)
|
|
|
+- fix NRP typescript errors (#2884 / @mifi)
|
|
|
+- support relative redirect URLs in responses (#2901 / @ goto-bus-stop)
|
|
|
+
|
|
|
+## Misc
|
|
|
+
|
|
|
+- core: Use AggregateError when available (#2869 / @aduh95)
|
|
|
+- build: Upgrade TypeScript (#2856 / @ajkachnic)
|
|
|
+- webcam: improve MIME type detection to solve issue in iOS Safari (#2851 / @dominiceden)
|
|
|
+
|
|
|
+See [changelog](https://github.com/transloadit/uppy/blob/master/CHANGELOG.md#1291) for details.
|
|
|
+
|
|
|
+## Download
|
|
|
+
|
|
|
+<a class="TryButton" href="https://releases.transloadit.com/uppy/v1.29.1/uppy-v1.29.1.zip">Download Uppy 1.29.1</a>
|
|
|
+
|
|
|
+<small>Or [include from CDN](https://uppy.io/docs/). Note that it’s highly recommended to [pick and choose specific Uppy plugins](https://uppy.io/docs/plugins/#package-list) that you need, and install them with `npm` or `yarn`. This is because the bundle includes all Uppy plugins at once.</small>
|