Kevin van Zonneveld vor 7 Jahren
Ursprung
Commit
2884e2f54d
2 geänderte Dateien mit 22 neuen und 21 gelöschten Zeilen
  1. 22 21
      website/src/_posts/2018-02-0.24.md
  2. BIN
      website/src/images/blog/0.24/powered-by-1.png

+ 22 - 21
website/src/_posts/2018-02-0.24.md

@@ -6,7 +6,7 @@ image: "https://uppy.io/images/blog/0.24/uppy-screenshot.jpg"
 published: true
 ---
 
-Uppy 0.24.2 brings a refreshed UI in Dashboard and StatusBar, synchronous `addFile()`, cancel button, style protections, documentation on writing your own Uppy plugins, revamped XHR response handling and tons of fixes.
+Uppy 0.24.2 brings a refreshed UI in the Dashboard and StatusBar plugins, a synchronous `addFile()` method, a cancel button, style protections, documentation on writing your own Uppy plugin, revamped XHR response handling and tons of bugfixes.
 
 <!--more-->
 
@@ -32,13 +32,13 @@ Import from URL (Link):
 
 And more, check out the [Dashboard example page](https://uppy.io/examples/dashboard/).
 
-## Better StatusBar
+## A Better StatusBar
 
-StatusBar used to always show a lot of (unnecessary) progress details. This has been improved, by default it will now only show percentage:
+The StatusBar plugin used to always show a lot of (unnecessary) progress details. This has been improved, by default it will now only show a percentage:
 
 <img src="/images/blog/0.24/statusbar-2.jpg">
 
-But there’s an option `showProgressDetails: true` for the StatusBar and Dashboard (which passes it to StatusBar included in the Dashboard), that will show two lines of easy to understand progress:
+But there’s an option `showProgressDetails: true` for the StatusBar and Dashboard (which passes it to StatusBar included in the Dashboard) to bring back this detailed information, spread over two lines:
 
 <img src="/images/blog/0.24/statusbar-1.jpg">
 
@@ -50,7 +50,7 @@ uppy.use(StatusBar, { ..., showProgressDetails: true })
 uppy.use(Dashboard, { ..., showProgressDetails: true })
 ```
 
-We’ve also added a handy “cancel” button, which should cancel everything in progress regardless of the type of the upload.
+We’ve also added a handy “cancel” button, which will cancel everything in progress regardless of the type of the upload (wether uppy-server or local powered, and wether tus-resumable or old school XHR/form uploads).
 
 ## XHR Response Handling
 
@@ -60,7 +60,7 @@ When the upload completes (regardless of whether it succeeded), a `response` key
 getResponseData (responseText, response) { }
 ```
 
-Example: this is what the default JSON parsing implementation (which you can override looks like in `XHRUpload` plugin:
+This is what the default JSON parsing implementation looks like in the `XHRUpload` plugin, but you can override it with your own:
 
 ```js
 getResponseData (responseText, response) {
@@ -86,45 +86,46 @@ When uploading files from remote providers such as Dropbox or Instagram, Uppy Se
 
 ## Powered by Uppy
 
-Uppy is provided for the world for free by the [Transloadit](https://transloadit.com) team. In return, we ask that you consider keeping a tiny tasteful Uppy logo at the bottom of the Dashboard, so that more people can discover and use Uppy.
+Uppy is provided to the world for free. In return, we ask that you consider keeping a tiny tasteful Uppy logo at the bottom of the Dashboard, so that more people can discover and enjoy Uppy. This really helps to grow the community which will directly result in more issues reported, more features requested, more PRs merged, and a better Uppy for you to use tomorrow, for free.
 
 This is entirely optional of course, just set `proudlyDisplayPoweredByUppy: false` option if you do not wish to display Uppy logo.
 
+<img src="/images/blog/0.24/powered-by-1.png">
+
 ## Other Fixes & Improvements
 
 - ⚠️ **breaking** `addFile()`, `onBeforeFileAdded()` and `onBeforeUpload()` are now synchronous and have to return nothing or file objects to proceed, or false to abort; please check out the update docs for details: [onBeforeFileAdded()](https://uppy.io/docs/uppy/#onBeforeFileAdded) and [onBeforeUpload()](https://uppy.io/docs/uppy/#onBeforeUpload).
-- ⚠️ **breaking** Most event now emit the whole `file` object instead of a `fileId`. So you can access `file.name` right away, for example, without having to fish the file using its id first, like before.
-- ⚠️ **breaking** We’ve added `postcss-safe-important` to out style build step, so now 90% of rules got `!important` declaration added to them. This is done to prevent page styles (especially global like Bootstrap) from leaking into the Uppy widget. There are other solutions we are looking into, like iFrames and WebComponents, this is an experiment. Keep in mind that to override Uppy styles, you now have to also use `!important`.
+- ⚠️ **breaking** Most events now emit the whole `file` object instead of a `fileId`. So you can access `file.name` right away, for example, so you no longer have to fish for the file using its id.
+- ⚠️ **breaking** We’ve added `postcss-safe-important` to our style build step, so now 90% of rules got `!important` declaration added to them. This is done to prevent page styles (especially global ones like from Bootstrap) from leaking into the Uppy widget. There are other solutions we are looking into, like iFrames and WebComponents, this is an experiment. Keep in mind that to override Uppy styles, you now have to also use `!important`.
 - dashboard: ⚠️ **breaking** `maxWidth`, `maxHeight` options have been converted to `width` and `height`, because this makes more sense, `maxWidth` and `maxHeight` are actually `100%`.
-- There is now an option `showLinkToFileUploadResult: true` to disable linking to the upload result in Dashboard UI.
+- There is now an option `showLinkToFileUploadResult: false` to disable linking to the upload result in Dashboard UI.
 - We are now using the image time and date as a file name in Instagram, instead of a generic file id.
-- URL plugin now checks for http(s) protocol, and add http by default if no protocol is present.
+- The URL plugin now checks for HTTP(S) protocol, and adds HTTP by default if no protocol is present.
 - It’s now possible to override `<DashboardModal />` React component’s target prop.
-- Provider views now have `showFilter` and `showBreadcrumbs` options, those are off for Instagram plugin, for example.
-- Uppy Server to Client communication has been refactored into `Provider` and `Request` modules. Request can be used when a simple request needs to be made to Uppy Server, like in URL plugin, for example. Provider is used for more complex implementations shared between Google Drive and Instagram, for example.
-- We’ve added Transloadit example to the website, [check it out](https://uppy.io/examples/transloadit/).
+- Provider views now have `showFilter` and `showBreadcrumbs` options, those are `false` for the Instagram plugin, for example.
+- Uppy Server to Client communication has been refactored into `Provider` and `Request` modules. `Request` can be used when a simple request needs to be made to Uppy Server, like in the URL plugin. `Provider` is used for more complex implementations shared between Google Drive and Instagram, for example.
+- We’ve added a Transloadit example to the website, [check it out](https://uppy.io/examples/transloadit/).
 
 ## Docs
 
-- Uppy Server docs now point to a detailed write-up on how to run Uppy Server in Kubernetes (#706 / @kiloreux)
-- Uppy Server custom provider example has been added, so now it’s easier create your own custom providers.
-- More useful events, i18n strings, typos, fixes and improvements.
+- Uppy Server docs now point to a detailed write-up on how to run Uppy Server on Kubernetes (#706 / @kiloreux)
+- An Uppy Server custom provider example has been added, so now it’s easier create your own custom providers.
+- Added more useful events, i18n strings, fixed typos, and other polish.
 
 ## Server News
 
-On the Server side we tackled a number of security issues.
+On the Server side we tackled a number of security issues:
 
 - Fixed security vulnerability in transient dependency [#70](https://github.com/transloadit/uppy-server/issues/70)
 - Auto-generate tmp download file name to avoid Path traversal
 - Namespace redis key storage/lookup to avoid collisions
 - Validate callback redirect url after completing OAuth
-- Reduce the permission level required by google drive
+- Reduce the permission level required by Google Drive
 
-Other non security improvements are:
+Other non-security improvements are:
 
 - Auto-generate Server secret if none is provided on startup
 - We implemented a more standard logger for Uppy Server
 - Added an example project to run Uppy Server on Serverless, [see](https://github.com/transloadit/uppy-server/tree/master/examples/serverless).
 
 The Uppy Team
-

BIN
website/src/images/blog/0.24/powered-by-1.png