|
@@ -18,9 +18,9 @@ Selecting files doesn’t add files to Uppy immediately anymore. Instead a “Se
|
|
|
|
|
|
This addresses an undesirable case where `autoProceed: true` would begin uploading files the moment you ticked a checkbox, and you couldn’t see what was going on because the provider overlay was still open.
|
|
|
|
|
|
-## Drag & Drop or Paste Links And Images with Url Plugin
|
|
|
+## Drag & Drop or Paste Links And Images with the Url Plugin
|
|
|
|
|
|
-If you have the [Url plugin](/docs/url/) enabled, it will now accept pasted or drag-dropped direct file links and images — those will get added to Uppy as if you open the Url plugin panel and entered the URL there:
|
|
|
+If you use the [Url plugin](/docs/url/) with the [Dashboard](/docs/dashboard), you can now drop or paste URLs into the main Dashboard area. They will automatically be imported by the Url plugin:
|
|
|
|
|
|
<figure class="wide"><video alt="Demo video showing Uppy with Url plugin that accepts drag and dropped urls" autoplay loop muted playsinline><source src="/images/blog/0.25/link-drop-demo.mp4" type="video/mp4">Your browser does not support the video tag, you can <a href="/images/blog/0.25/link-drop-demo.mp4">download the video</a> to watch it.</video></figure>
|
|
|
|
|
@@ -35,9 +35,7 @@ dropPasteImport: 'Drop files here, paste, import from one of the locations above
|
|
|
browse: 'browse'
|
|
|
```
|
|
|
|
|
|
-`%{browse}` will be replaced with a button/link.
|
|
|
-
|
|
|
-We can’t do this in all situations yet, because some parts of some strings need to be wrapped in Preact elements, which the Translator can’t handle.
|
|
|
+`%{browse}` will be replaced with a button/link. Previously, these two strings were concatenated in the view layer, so the `browse` text would always be last.
|
|
|
|
|
|
Here’s a list of strings that were changed in this release, please update those in your locales:
|
|
|
|
|
@@ -47,17 +45,17 @@ Here’s a list of strings that were changed in this release, please update thos
|
|
|
- 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
|
|
|
|
|
|
-See full list of locale strings for each plugin you are using in the [Uppy Docs](/docs/).
|
|
|
+The full list of available locale strings for each plugin is now documented in the [Uppy Docs](/docs/).
|
|
|
|
|
|
## React Documentation
|
|
|
|
|
|
-React docs have been improved: we now have a [separate page](/docs/react/) for each Uppy React wrapper component that we offer.
|
|
|
+React docs have been improved: we now have a [separate page](/docs/react/) for each Uppy React wrapper component that we offer.
|
|
|
|
|
|
Other improvements in docs:
|
|
|
|
|
|
- The `id` option is now listed on each plugin's documentation page.
|
|
|
- The `replaceTargetContent` option is listed on UI plugin documentation pages.
|
|
|
-- The `locale` option is described on each plugin documentation page, and includes a short description for each string. The default value is removed from the snippet at the top of the ## Options section to save some space (since it's a very large object sometimes).
|
|
|
+- The `locale` option is described on each plugin documentation page, and includes a short description for each string.
|
|
|
|
|
|
## Typescript Definitions
|
|
|
|
|
@@ -65,23 +63,23 @@ Other improvements in docs:
|
|
|
|
|
|
## No need to `.run()`
|
|
|
|
|
|
-⚠️ **breaking**
|
|
|
+⚠️**breaking**
|
|
|
|
|
|
-We removed the need to type `uppy.run()` in [#793](https://github.com/transloadit/uppy/pull/793). You now only have to call `.use()` for the plugins that you need (as usual), and everything is then ran automatically. It comes with a few tradeoffs but we were getting a big amount of support tickets where people forgot to conclude with `.run()`, and we saw a chance to reduce boilerplate, so we decided to go ahead and pave the cowpath.
|
|
|
+We removed the need to type `uppy.run()` in [#793](https://github.com/transloadit/uppy/pull/793). You now only have to call `.use()` for the plugins that you need (as usual), and everything is then ran automatically. It comes with a few tradeoffs but we were getting a big amount of support tickets where people forgot to conclude with `.run()`, and we saw a chance to reduce boilerplate, so we decided to go ahead and pave the cowpath.
|
|
|
|
|
|
## Other Cool Changes
|
|
|
|
|
|
- Fix: Debounce render calls again, fixes #669 (#796)
|
|
|
-- Fix: XHRUPload canceled uploads progress events (#864)
|
|
|
+- Fix: XHRUpload canceled uploads progress events (#864)
|
|
|
- Improvement: Dashboard open/close animation (#852)
|
|
|
- Improvement: You can now hide action buttons in Dashboard and StatusBar (#821)
|
|
|
- Improvement: Pass `allowedFileTypes` and `maxNumberOfFiles` to `input[type=file]` to add restrictions to the system file picking dialog too (#814)
|
|
|
- Improvement: merge meta data when add file (#810)
|
|
|
- Fix: More robust failure handling for Transloadit, closes #708 (#805)
|
|
|
|
|
|
-⚠️ **heads up**
|
|
|
+⚠️**heads up**
|
|
|
|
|
|
-In the next release we are planning a [Lerna conversion](https://github.com/transloadit/uppy/pull/906), meaning that each Uppy plugin / module will get its own NPM package. Pretty excited about that one! (but also please refrain from sending us big PRs in the meantime :)
|
|
|
+In the next release we are planning a [Lerna conversion](https://github.com/transloadit/uppy/pull/906), meaning that each Uppy plugin / module will get its own NPM package. Pretty excited about that one! (but also please refrain from sending us big PRs in the meantime :)
|
|
|
|
|
|
See you in the next one!
|
|
|
|