Explorar o código

fixes for 22 post draft

Artur Paikin %!s(int64=7) %!d(string=hai) anos
pai
achega
6cf7c279c5
Modificáronse 1 ficheiros con 10 adicións e 2 borrados
  1. 10 2
      website/src/_posts/2017-12-0.22.md

+ 10 - 2
website/src/_posts/2017-12-0.22.md

@@ -22,7 +22,8 @@ See [#451 PR](https://github.com/transloadit/uppy/pull/451) for details on why w
 - **⚠️ Breaking** We’ve renamed calls to `core` to `uppy` in plugins. So instead of `this.core.state` we now use `this.uppy.state`.
 - **⚠️ Breaking** Events have been renamed to remove `core:` prefix. So `core:success` becomes just `success`, and so does `error`, `upload-started` and so on. Prefixed event names are used for plugin-specific event sometimes, like `dashboard:file-card`.
 - **⚠️ Breaking** CSS class names have been altered to use `uppy-` namespace, so `.UppyDashboard-files` becomes `.uppy-Dashboard-files` and so on.
-- **⚠️ Breaking** `getMetaFromForm` was deprecated in favor of new `Form` plugin (see below).
+- **⚠️ Breaking** `getMetaFromForm` was removed in favor of new `Form` plugin (see below).
+- **⚠️ Breaking** `MetaData` plugin was removed in favor of `metaFields` option in Dashboard, [see docs](https://uppy.io/docs/dashboard/#metaFields) for more details.
 - Plugins now use `this.el` to refer to their UI element instead of `this.target`.
 - `setPluginState` and `getPluginState` are now used in Providers.
 
@@ -33,6 +34,7 @@ See [#451 PR](https://github.com/transloadit/uppy/pull/451) for details on why w
 - File cards are simpler, we’ve removed the excess white backgrounds, improved the remove icon, reduced paddings, added slight shadows.
 - Cicular upload button in the Dashboard has been moved to the StatusBar. It’s also not circular anymore, and there’s no cloud icon. Plain and simple.
 - Redesigned “retry” and “add +1 file” buttons.
+- Added `metaFields` option: an array of settings for UI field objects, which previousely lived in a separate `MetaData` plugin: `{ id: 'caption', name: 'Caption', placeholder: 'describe what the image is about' }`, [see docs](https://uppy.io/docs/dashboard/#metaFields) for more details.
 
 See [#434 PR](https://github.com/transloadit/uppy/pull/451) for more screenshots and details.
 
@@ -92,6 +94,12 @@ uppy.use(Form, {
 
 Read [more about the Form plugin](https://uppy.io/docs/form/) in docs.
 
+## Encoding support in Golden Retriever
+
+Our browser crash / page refresh restore plugin `Golden Retriever` (read [more about it](https://uppy.io/docs/golden-retriever/)) now supports correctly restoring [Transloadit](https://transloadit.com) assemblies!
+
+Also, we’ve fixed restoring from paused state. Now uploads will remain paused and not get out of sync.
+
 ## And there’s more
 
 - New `setFileState` method as a nice shorthand to update file-specific state.
@@ -100,7 +108,7 @@ Read [more about the Form plugin](https://uppy.io/docs/form/) in docs.
 - Misc bugs fixes and improvements in Webcam, Dashboard, Provider, so things should be more stable all around.
 - Added an option to limit simultaneous uploads in XHRUpload.
 - Fixed remote server error handler for uppy-server.
-- Added [Snyk](https://snyk.io/) to uppy-server to aid vulnerability detection.  
+- Added [Snyk](https://snyk.io/) to uppy-server to aid vulnerability detection.
 
 ## Full Changelog