소스 검색

Iteration

Kevin van Zonneveld 6 년 전
부모
커밋
3e284b7305
1개의 변경된 파일14개의 추가작업 그리고 7개의 파일을 삭제
  1. 14 7
      website/src/_posts/2018-06-0.25.md

+ 14 - 7
website/src/_posts/2018-06-0.25.md

@@ -6,7 +6,7 @@ image: "https://uppy.io/images/blog/0.25/new-select-provider.jpg"
 published: true
 ---
 
-Uppy 0.25 comes with a couple of new features, like drag-and-dropping urls and images with Url plugin, Dashboard modal animation and interactive components in i18n strings, as well as a ton of under the hood fixes and improvements.
+Uppy 0.25 comes with a couple of new features, like drag-and-dropping URLs and images with the Url plugin, Dashboard modal animation and interactive components in i18n strings, as well as a ton of under the hood fixes and improvements.
 
 <!--more-->
 
@@ -20,7 +20,7 @@ This addresses an undesirable case where `autoProceed: true` would begin uploadi
 
 ## Drag & Drop or Paste Links And Images with 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 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:
 
 <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>
 
@@ -28,7 +28,7 @@ If you have the [Url plugin](/docs/url/) enabled, it will now accept pasted or d
 
 ⚠️ **breaking**
 
-We’ve changed how i18n strings work with interactive components. We now use placeholder for those interactive buttons, so it works nicely in languages that have different word order than English. Example:
+We’ve changed how i18n strings work with interactive components. We now use a placeholder for e.g. buttons, so it works nicely in languages that have different word order than English. Example:
 
 ```js
 dropPasteImport: 'Drop files here, paste, import from one of the locations above or %{browse}'
@@ -47,7 +47,7 @@ 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 on [Uppy Docs](/docs/).
+See full list of locale strings for each plugin you are using in the [Uppy Docs](/docs/).
 
 ## React Documentation
 
@@ -61,20 +61,27 @@ Other improvements in docs:
 
 ## Typescript Definitions
 
-[@taoqf](https://github.com/taoqf) went ahead and added a lot of type defenitions to Uppy in [#834](https://github.com/transloadit/uppy/pull/834). So if you are using TypeScript (and even if not, your code editor / linting tool likely supports type defenitions), you are in for a treat!
+[@taoqf](https://github.com/taoqf) went ahead and added a lot of type definitions to Uppy in [#834](https://github.com/transloadit/uppy/pull/834). So if you are using TypeScript (and even if not, your code editor / linting tool likely supports type definitions), you are in for a treat!
+
+## No need to `.run()`
+
+⚠️ **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. 
 
 ## Other Cool Changes
 
 - Fix: Debounce render calls again, fixes #669 (#796)
 - Fix: XHRUPload canceled uploads progress events (#864) 
-- Improvement: ⚠️ **breaking** Remove `uppy.run()` — everything is now run automatically, you only need to call `.use()` for plugins that you need, as usual (#793)
 - 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)
 
-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. 
+⚠️ **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 :) 
 
 See you in the next one!