From f80f43797348f5b23f96ee48f18c84a6de00ed3a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Jun 2022 21:45:29 +0100 Subject: [PATCH] Release: uppy@3.0.0-beta.1 (#3822) | Package | Version | Package | Version | | ------------------------- | ------------ | ------------------------- | ------------ | | uppy | 3.0.0-beta.1 | @uppy/google-drive | 3.0.0-beta.1 | | @uppy/audio | 1.0.0-beta.1 | @uppy/informer | 3.0.0-beta.1 | | @uppy/box | 2.0.0-beta.1 | @uppy/instagram | 3.0.0-beta.1 | | @uppy/compressor | 1.0.0-beta.1 | @uppy/locales | 3.0.0-beta.1 | | @uppy/drop-target | 2.0.0-beta.1 | @uppy/onedrive | 3.0.0-beta.1 | | @uppy/image-editor | 2.0.0-beta.1 | @uppy/progress-bar | 3.0.0-beta.1 | | @uppy/remote-sources | 1.0.0-beta.1 | @uppy/provider-views | 3.0.0-beta.1 | | @uppy/svelte | 2.0.0-beta.1 | @uppy/react | 3.0.0-beta.1 | | @uppy/vue | 1.0.0-beta.1 | @uppy/redux-dev-tools | 3.0.0-beta.1 | | @uppy/zoom | 2.0.0-beta.1 | @uppy/robodog | 3.0.0-beta.1 | | @uppy/aws-s3 | 3.0.0-beta.1 | @uppy/screen-capture | 3.0.0-beta.1 | | @uppy/aws-s3-multipart | 3.0.0-beta.1 | @uppy/status-bar | 3.0.0-beta.1 | | @uppy/companion-client | 3.0.0-beta.1 | @uppy/store-default | 3.0.0-beta.1 | | @uppy/core | 3.0.0-beta.1 | @uppy/store-redux | 3.0.0-beta.1 | | @uppy/dashboard | 3.0.0-beta.1 | @uppy/thumbnail-generator | 3.0.0-beta.1 | | @uppy/drag-drop | 3.0.0-beta.1 | @uppy/transloadit | 3.0.0-beta.1 | | @uppy/dropbox | 3.0.0-beta.1 | @uppy/tus | 3.0.0-beta.1 | | @uppy/facebook | 3.0.0-beta.1 | @uppy/unsplash | 3.0.0-beta.1 | | @uppy/file-input | 3.0.0-beta.1 | @uppy/url | 3.0.0-beta.1 | | @uppy/form | 3.0.0-beta.1 | @uppy/webcam | 3.0.0-beta.1 | | @uppy/golden-retriever | 3.0.0-beta.1 | @uppy/xhr-upload | 3.0.0-beta.1 | - meta: improve release process for beta branch (Antoine du Hamel / #3809) - uppy: refactor to ESM (Antoine du Hamel / #3807) - @uppy/core,@uppy/dashboard: fix types for some events (Antoine du Hamel / #3812) - example: update Vue2 example (Antoine du Hamel / #3802) --- BUNDLE-README.md | 2 +- CHANGELOG.md | 34 +++++++++++++++++++ README.md | 8 ++--- examples/cdn-example/index.html | 4 +-- examples/transloadit-textarea/index.html | 2 +- .../uppy-with-companion/client/index.html | 4 +-- packages/@uppy/audio/package.json | 2 +- packages/@uppy/aws-s3-multipart/package.json | 2 +- packages/@uppy/aws-s3/package.json | 2 +- packages/@uppy/box/package.json | 2 +- packages/@uppy/companion-client/package.json | 2 +- packages/@uppy/compressor/package.json | 2 +- packages/@uppy/core/CHANGELOG.md | 7 ++++ packages/@uppy/core/package.json | 2 +- packages/@uppy/dashboard/CHANGELOG.md | 7 ++++ packages/@uppy/dashboard/package.json | 2 +- packages/@uppy/drag-drop/package.json | 2 +- packages/@uppy/drop-target/package.json | 2 +- packages/@uppy/dropbox/package.json | 2 +- packages/@uppy/facebook/package.json | 2 +- packages/@uppy/file-input/package.json | 2 +- packages/@uppy/form/package.json | 2 +- packages/@uppy/golden-retriever/package.json | 2 +- packages/@uppy/google-drive/package.json | 2 +- packages/@uppy/image-editor/package.json | 2 +- packages/@uppy/informer/package.json | 2 +- packages/@uppy/instagram/package.json | 2 +- packages/@uppy/locales/package.json | 2 +- packages/@uppy/onedrive/package.json | 2 +- packages/@uppy/progress-bar/package.json | 2 +- packages/@uppy/provider-views/package.json | 2 +- packages/@uppy/react/package.json | 2 +- packages/@uppy/redux-dev-tools/package.json | 2 +- packages/@uppy/remote-sources/package.json | 5 +-- packages/@uppy/robodog/README.md | 4 +-- packages/@uppy/robodog/package.json | 2 +- packages/@uppy/screen-capture/package.json | 2 +- packages/@uppy/status-bar/package.json | 2 +- packages/@uppy/store-default/package.json | 2 +- packages/@uppy/store-redux/package.json | 2 +- packages/@uppy/svelte/package.json | 2 +- .../@uppy/thumbnail-generator/package.json | 2 +- packages/@uppy/transloadit/package.json | 2 +- packages/@uppy/tus/package.json | 2 +- packages/@uppy/unsplash/package.json | 2 +- packages/@uppy/url/package.json | 2 +- packages/@uppy/vue/package.json | 2 +- packages/@uppy/webcam/package.json | 2 +- packages/@uppy/xhr-upload/package.json | 2 +- packages/@uppy/zoom/package.json | 2 +- packages/uppy/package.json | 2 +- website/src/docs/index.md | 10 +++--- website/src/docs/locales.md | 4 +-- website/src/docs/migration-guides.md | 6 ++-- website/src/docs/robodog-form.md | 6 ++-- website/src/docs/robodog.md | 4 +-- website/src/examples/dashboard/app.es6 | 2 +- website/src/examples/i18n/app.html | 8 ++--- .../src/examples/markdown-snippets/app.es6 | 2 +- .../src/examples/markdown-snippets/app.html | 2 +- website/themes/uppy/layout/index.ejs | 6 ++-- 61 files changed, 129 insertions(+), 80 deletions(-) diff --git a/BUNDLE-README.md b/BUNDLE-README.md index f11f0ad103..53105fa168 100644 --- a/BUNDLE-README.md +++ b/BUNDLE-README.md @@ -1,7 +1,7 @@ # Uppy Hi, thanks for trying out the bundled version of the Uppy File Uploader. You can use -this from a CDN (``) or bundle it with your webapp. +this from a CDN (``) or bundle it with your webapp. Note that the recommended way to use Uppy is to install it with yarn/npm and use a bundler like Webpack so that you can create a smaller custom build with only the diff --git a/CHANGELOG.md b/CHANGELOG.md index e053ba4812..4aa30d8253 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,40 @@ Please add your entries in this format: In the current stage we aim to release a new version at least every month. +## 3.0.0-beta.1 + +Released: 2022-06-09 + +| Package | Version | Package | Version | +| ------------------------- | ------------ | ------------------------- | ------------ | +| uppy | 3.0.0-beta.1 | @uppy/google-drive | 3.0.0-beta.1 | +| @uppy/audio | 1.0.0-beta.1 | @uppy/informer | 3.0.0-beta.1 | +| @uppy/box | 2.0.0-beta.1 | @uppy/instagram | 3.0.0-beta.1 | +| @uppy/compressor | 1.0.0-beta.1 | @uppy/locales | 3.0.0-beta.1 | +| @uppy/drop-target | 2.0.0-beta.1 | @uppy/onedrive | 3.0.0-beta.1 | +| @uppy/image-editor | 2.0.0-beta.1 | @uppy/progress-bar | 3.0.0-beta.1 | +| @uppy/remote-sources | 1.0.0-beta.1 | @uppy/provider-views | 3.0.0-beta.1 | +| @uppy/svelte | 2.0.0-beta.1 | @uppy/react | 3.0.0-beta.1 | +| @uppy/vue | 1.0.0-beta.1 | @uppy/redux-dev-tools | 3.0.0-beta.1 | +| @uppy/zoom | 2.0.0-beta.1 | @uppy/robodog | 3.0.0-beta.1 | +| @uppy/aws-s3 | 3.0.0-beta.1 | @uppy/screen-capture | 3.0.0-beta.1 | +| @uppy/aws-s3-multipart | 3.0.0-beta.1 | @uppy/status-bar | 3.0.0-beta.1 | +| @uppy/companion-client | 3.0.0-beta.1 | @uppy/store-default | 3.0.0-beta.1 | +| @uppy/core | 3.0.0-beta.1 | @uppy/store-redux | 3.0.0-beta.1 | +| @uppy/dashboard | 3.0.0-beta.1 | @uppy/thumbnail-generator | 3.0.0-beta.1 | +| @uppy/drag-drop | 3.0.0-beta.1 | @uppy/transloadit | 3.0.0-beta.1 | +| @uppy/dropbox | 3.0.0-beta.1 | @uppy/tus | 3.0.0-beta.1 | +| @uppy/facebook | 3.0.0-beta.1 | @uppy/unsplash | 3.0.0-beta.1 | +| @uppy/file-input | 3.0.0-beta.1 | @uppy/url | 3.0.0-beta.1 | +| @uppy/form | 3.0.0-beta.1 | @uppy/webcam | 3.0.0-beta.1 | +| @uppy/golden-retriever | 3.0.0-beta.1 | @uppy/xhr-upload | 3.0.0-beta.1 | + +- meta: improve release process for beta branch (Antoine du Hamel / #3809) +- uppy: refactor to ESM (Antoine du Hamel / #3807) +- @uppy/core,@uppy/dashboard: fix types for some events (Antoine du Hamel / #3812) +- example: update Vue2 example (Antoine du Hamel / #3802) + + ## 3.0.0-beta Released: 2022-05-30 diff --git a/README.md b/README.md index 1ffccec54e..fda9163953 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ const uppy = new Uppy({ autoProceed: false }) $ npm install @uppy/core @uppy/dashboard @uppy/tus ``` -Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v3.0.0-beta/uppy.min.css), either to your HTML page’s `` or include in JS, if your bundler of choice supports it. +Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css), either to your HTML page’s `` or include in JS, if your bundler of choice supports it. Alternatively, you can also use a pre-built bundle from Transloadit’s CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object. @@ -75,10 +75,10 @@ Alternatively, you can also use a pre-built bundle from Transloadit’s CDN: Edg ```html - + - +
@@ -184,7 +184,7 @@ If you’re using Uppy from CDN, those polyfills are already included in the leg bundle, so no need to include anything additionally: ```html - + ``` ## FAQ diff --git a/examples/cdn-example/index.html b/examples/cdn-example/index.html index dd1d71bc22..69d497efb5 100644 --- a/examples/cdn-example/index.html +++ b/examples/cdn-example/index.html @@ -4,11 +4,11 @@ - + - + + + + ``` Then, a global `Robodog` variable will be available. For usage instructions, please see the [main Robodog documentation](https://uppy.io/docs/robodog). diff --git a/packages/@uppy/robodog/package.json b/packages/@uppy/robodog/package.json index f0f33c7e63..025adcc928 100644 --- a/packages/@uppy/robodog/package.json +++ b/packages/@uppy/robodog/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/robodog", "description": "Transloadit SDK for browsers based on Uppy", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "jsnext:main": "src/index.js", diff --git a/packages/@uppy/screen-capture/package.json b/packages/@uppy/screen-capture/package.json index 742703790b..117f6e974c 100644 --- a/packages/@uppy/screen-capture/package.json +++ b/packages/@uppy/screen-capture/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/screen-capture", "description": "Uppy plugin that captures video from display or application.", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "style": "dist/style.min.css", diff --git a/packages/@uppy/status-bar/package.json b/packages/@uppy/status-bar/package.json index c2c9d0b4c1..21ebc200cc 100644 --- a/packages/@uppy/status-bar/package.json +++ b/packages/@uppy/status-bar/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/status-bar", "description": "A progress bar for Uppy, with many bells and whistles.", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "style": "dist/style.min.css", diff --git a/packages/@uppy/store-default/package.json b/packages/@uppy/store-default/package.json index 77b7565ecc..fd4b78a841 100644 --- a/packages/@uppy/store-default/package.json +++ b/packages/@uppy/store-default/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/store-default", "description": "The default simple object-based store for Uppy.", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/store-redux/package.json b/packages/@uppy/store-redux/package.json index a60d394537..d31adc6086 100644 --- a/packages/@uppy/store-redux/package.json +++ b/packages/@uppy/store-redux/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/store-redux", "description": "Make Uppy use your existing Redux store.", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/svelte/package.json b/packages/@uppy/svelte/package.json index 31dd624979..7d9d110684 100644 --- a/packages/@uppy/svelte/package.json +++ b/packages/@uppy/svelte/package.json @@ -3,7 +3,7 @@ "svelte": "src/index.js", "module": "dist/index.mjs", "main": "dist/index.js", - "version": "3.0.0-beta", + "version": "2.0.0-beta.1", "scripts": { "build": "rollup -c", "prepublishOnly": "yarn run build", diff --git a/packages/@uppy/thumbnail-generator/package.json b/packages/@uppy/thumbnail-generator/package.json index 0a46318080..bfad4041f7 100644 --- a/packages/@uppy/thumbnail-generator/package.json +++ b/packages/@uppy/thumbnail-generator/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/thumbnail-generator", "description": "Uppy plugin that generates small previews of images to show on your upload UI.", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/transloadit/package.json b/packages/@uppy/transloadit/package.json index 1f099d3aa2..43385a5bd6 100644 --- a/packages/@uppy/transloadit/package.json +++ b/packages/@uppy/transloadit/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/transloadit", "description": "The Transloadit plugin can be used to upload files to Transloadit for all kinds of processing, such as transcoding video, resizing images, zipping/unzipping, and more", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/tus/package.json b/packages/@uppy/tus/package.json index d490cc32c2..8e50bf4da9 100644 --- a/packages/@uppy/tus/package.json +++ b/packages/@uppy/tus/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/tus", "description": "Resumable uploads for Uppy using Tus.io", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/unsplash/package.json b/packages/@uppy/unsplash/package.json index 7dbaafc0a8..8579843d11 100644 --- a/packages/@uppy/unsplash/package.json +++ b/packages/@uppy/unsplash/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/unsplash", "description": "Import files from Unsplash, the free stock photography resource, into Uppy", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/url/package.json b/packages/@uppy/url/package.json index a735198688..1f9e64c2b7 100644 --- a/packages/@uppy/url/package.json +++ b/packages/@uppy/url/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/url", "description": "The Url plugin lets users import files from the Internet. Paste any URL and it’ll be added!", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "style": "dist/style.min.css", diff --git a/packages/@uppy/vue/package.json b/packages/@uppy/vue/package.json index 1befc3e7e1..0273ea1661 100644 --- a/packages/@uppy/vue/package.json +++ b/packages/@uppy/vue/package.json @@ -1,6 +1,6 @@ { "name": "@uppy/vue", - "version": "3.0.0-beta", + "version": "1.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/webcam/package.json b/packages/@uppy/webcam/package.json index 77bfeb0d8c..fe9daf2778 100644 --- a/packages/@uppy/webcam/package.json +++ b/packages/@uppy/webcam/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/webcam", "description": "Uppy plugin that takes photos or records videos using the device's camera.", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "style": "dist/style.min.css", diff --git a/packages/@uppy/xhr-upload/package.json b/packages/@uppy/xhr-upload/package.json index 9b86b3a193..66157c2d45 100644 --- a/packages/@uppy/xhr-upload/package.json +++ b/packages/@uppy/xhr-upload/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/xhr-upload", "description": "Plain and simple classic HTML multipart form uploads with Uppy, as well as uploads using the HTTP PUT method.", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/@uppy/zoom/package.json b/packages/@uppy/zoom/package.json index 5dbef188b9..a3aa16fc38 100644 --- a/packages/@uppy/zoom/package.json +++ b/packages/@uppy/zoom/package.json @@ -1,7 +1,7 @@ { "name": "@uppy/zoom", "description": "Import files from zoom, into Uppy.", - "version": "3.0.0-beta", + "version": "2.0.0-beta.1", "license": "MIT", "main": "lib/index.js", "types": "types/index.d.ts", diff --git a/packages/uppy/package.json b/packages/uppy/package.json index d817481585..8e24b826e2 100644 --- a/packages/uppy/package.json +++ b/packages/uppy/package.json @@ -1,7 +1,7 @@ { "name": "uppy", "description": "Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:", - "version": "3.0.0-beta", + "version": "3.0.0-beta.1", "license": "MIT", "main": "index.mjs", "module": "index.mjs", diff --git a/website/src/docs/index.md b/website/src/docs/index.md index d964be5e09..21021d7c62 100644 --- a/website/src/docs/index.md +++ b/website/src/docs/index.md @@ -19,12 +19,12 @@ Here’s the simplest example html page with Uppy (it uses a CDN bundle, while w Uppy - +
- + + ``` 2\. Add CSS to ``: ```html - + ``` 3\. Initialize at the bottom of the closing `` tag: @@ -181,5 +181,5 @@ export * from '@uppy/core' If you’re using Uppy from CDN, those polyfills are already included in the bundle, no need to include anything additionally: ```html - + ``` diff --git a/website/src/docs/locales.md b/website/src/docs/locales.md index 0e51331bf8..ea429c8237 100644 --- a/website/src/docs/locales.md +++ b/website/src/docs/locales.md @@ -34,8 +34,8 @@ const uppy = new Uppy({ Add a ` - + + + - - + + ``` Please note that while you may be able to get 2.0 to work in IE11 this way, we do not officially support it anymore. diff --git a/website/src/docs/robodog-form.md b/website/src/docs/robodog-form.md index 422fac8e36..8fdaa9e362 100644 --- a/website/src/docs/robodog-form.md +++ b/website/src/docs/robodog-form.md @@ -150,7 +150,7 @@ Make sure to also include the Uppy css file in your `` tag in case you wan ```html - + ``` @@ -162,7 +162,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra Testing Robodog - +
@@ -172,7 +172,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra
- + + + ``` diff --git a/website/src/examples/dashboard/app.es6 b/website/src/examples/dashboard/app.es6 index 1f8d6b4aca..b2efd04f29 100644 --- a/website/src/examples/dashboard/app.es6 +++ b/website/src/examples/dashboard/app.es6 @@ -242,7 +242,7 @@ function loadLocaleFromCDN (localeName) { const head = document.getElementsByTagName('head')[0] const js = document.createElement('script') js.type = 'text/javascript' - js.src = `https://releases.transloadit.com/uppy/locales/v3.0.0-beta/${localeName}.min.js` + js.src = `https://releases.transloadit.com/uppy/locales/v3.0.0-beta.1/${localeName}.min.js` head.appendChild(js) } diff --git a/website/src/examples/i18n/app.html b/website/src/examples/i18n/app.html index d102e1200f..7c52e50b66 100644 --- a/website/src/examples/i18n/app.html +++ b/website/src/examples/i18n/app.html @@ -1,7 +1,7 @@ - +
@@ -12,9 +12,9 @@
Uploaded files:
- - - + + + +// const robodog = require('@uppy/robodog') const TRANSLOADIT_EXAMPLE_KEY = '35c1aed03f5011e982b6afe82599b6a0' diff --git a/website/src/examples/markdown-snippets/app.html b/website/src/examples/markdown-snippets/app.html index 0903529379..073e90e8d2 100644 --- a/website/src/examples/markdown-snippets/app.html +++ b/website/src/examples/markdown-snippets/app.html @@ -1,6 +1,6 @@ + -->

Create a new snippet

diff --git a/website/themes/uppy/layout/index.ejs b/website/themes/uppy/layout/index.ejs index 2562bff240..b582202f05 100644 --- a/website/themes/uppy/layout/index.ejs +++ b/website/themes/uppy/layout/index.ejs @@ -187,9 +187,9 @@

© <%- date(Date.now(), 'YYYY') %> Transloadit

- - - + + +