|
@@ -1,18 +1,20 @@
|
|
|
---
|
|
|
-title: "Uppy 1.24: Happy Holidays"
|
|
|
-date: 2020-12-23
|
|
|
+title: "Uppy 1.24: 🎅 Happy Holidays — Svelte, React hook, Auto Open Image Editor"
|
|
|
+date: 2020-12-24
|
|
|
author: renee
|
|
|
-image: "https://uppy.io/images/blog/1.23/vue-code-cover.png"
|
|
|
-published: false
|
|
|
+image: "https://uppy.io/images/blog/1.24/uppy-svelte.png"
|
|
|
+published: true
|
|
|
---
|
|
|
|
|
|
-Uppy 1.24 adds an experimental Svelte integration, additional React components, and a Norwegian (bokmål) translation!
|
|
|
+Uppy 1.24 adds an experimental Svelte integration, additional React components, `autoOpenFileEditor` option for Dashboard, and a Norwegian (bokmål) translation!
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<!--more-->
|
|
|
|
|
|
## Svelte
|
|
|
|
|
|
-Last month we introduced the first release of official Vue.js components for Uppy. This month, we're releasing `@uppy/svelte`: a set of components for the Svelte framework.
|
|
|
+Last month we introduced the first release of official Vue.js components for Uppy. This month, we're releasing `@uppy/svelte`: a set of components for the Svelte framework. Credit, once again, goes to [Andrew Kachnic](https://github.com/ajkachnic) (and special thanks to [Adam Medford](https://github.com/adammedford))!
|
|
|
|
|
|
```sh
|
|
|
npm install @uppy/svelte
|
|
@@ -36,7 +38,7 @@ let uppy = new Uppy().use(Webcam)
|
|
|
</script>
|
|
|
```
|
|
|
|
|
|
-Please see [the documentation](https://uppy.io/docs/svelte/) for all the components.
|
|
|
+Please see [the Uppy Svelte documentation](https://uppy.io/docs/svelte/) for all the components.
|
|
|
|
|
|
## React
|
|
|
|
|
@@ -70,6 +72,27 @@ This does not solve all our problems yet: dynamic configuration is still difficu
|
|
|
|
|
|
[@elkebab](https://github.com/elkebab) contributed a Norwegian translation!
|
|
|
|
|
|
+## Auto Open Image Editor
|
|
|
+
|
|
|
+If you are using Image Editor plugin with the Dashboard, there’s a new option [`autoOpenFileEditor`](https://uppy.io/docs/dashboard/#autoOpenFileEditor-false), which will open Image Editor automatically for the first image that was added to Uppy.
|
|
|
+
|
|
|
+```js
|
|
|
+let uppy = new Uppy()
|
|
|
+ .use(Dashboard, {
|
|
|
+ autoOpenFileEditor: true
|
|
|
+ })
|
|
|
+```
|
|
|
+
|
|
|
+<img class="border" src="/images/blog/1.24/image-editor-alone.jpg" alt="Uppy Image Editor in Dashboard">
|
|
|
+
|
|
|
+## Misc
|
|
|
+
|
|
|
+- @uppy/core: new event `files-added` with all files added in one batch (#2681 / @arturi)
|
|
|
+- @uppy/utils: Add archive mime types (#2703 / @ahmedkandel)
|
|
|
+- @uppy/companion: fix crash when Dropbox API returns an error (#2687 / @ifedapoolarewaju)
|
|
|
+
|
|
|
+See [changelog](https://github.com/transloadit/uppy/blob/master/CHANGELOG.md#1240) for details.
|
|
|
+
|
|
|
## Happy Holidays!
|
|
|
|
|
|
-Many thanks to all our contributors and users over the past year! We hope to see you again soon in our first release of 2021 :)
|
|
|
+Many thanks to all our contributors and users over the past year! Uppy has gained quite a few new features and important improvements in 2020 (despite everything going on offline!). We hope to see you again soon in our first release of 2021 :)
|