Browse Source

Release: uppy@3.0.0-beta.2 (#3868)


| Package              |      Version | Package              |      Version |
| -------------------- | ------------ | -------------------- | ------------ |
| @uppy/companion      | 4.0.0-beta.1 | @uppy/transloadit    | 3.0.0-beta.2 |
| @uppy/locales        | 3.0.0-beta.2 | @uppy/robodog        | 3.0.0-beta.2 |
| @uppy/provider-views | 3.0.0-beta.2 | uppy                 | 3.0.0-beta.2 |

- example: fix `custom-provider` example (Antoine du Hamel / #3854)
- example: fix Vue3 example (Antoine du Hamel / #3774)
- @uppy/companion: remove deprecated duplicated metrics (Mikael Finstad / #3833)
- example: update CDN example (Antoine du Hamel / #3803)
- @uppy/companion: Companion 3 default to no s3 acl (Mikael Finstad / #3826)
- @uppy/companion: rewrite companion.app() to return an object (Mikael Finstad / #3827)
- @uppy/companion: remove companion provider compat api (Mikael Finstad / #3828)
- @uppy/companion: rewrite code for node >=14 (Mikael Finstad / #3829)
- @uppy/companion: remove chunkSize backwards compatibility (Mikael Finstad / #3830)
- @uppy/companion: Companion: make `emitSuccess` and `emitError` private (Mikael Finstad / #3832)
- @uppy/companion: do not use a default upload protocol (Mikael Finstad / #3834)
github-actions[bot] 2 years ago
parent
commit
73388f0b23

+ 1 - 1
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 (`<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>`) or bundle it with your webapp.
+this from a CDN (`<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>`) 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

+ 23 - 0
CHANGELOG.md

@@ -12,6 +12,29 @@ 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.2
+
+Released: 2022-07-06
+
+| Package              |      Version | Package              |      Version |
+| -------------------- | ------------ | -------------------- | ------------ |
+| @uppy/companion      | 4.0.0-beta.1 | @uppy/transloadit    | 3.0.0-beta.2 |
+| @uppy/locales        | 3.0.0-beta.2 | @uppy/robodog        | 3.0.0-beta.2 |
+| @uppy/provider-views | 3.0.0-beta.2 | uppy                 | 3.0.0-beta.2 |
+
+- example: fix `custom-provider` example (Antoine du Hamel / #3854)
+- example: fix Vue3 example (Antoine du Hamel / #3774)
+- @uppy/companion: remove deprecated duplicated metrics (Mikael Finstad / #3833)
+- example: update CDN example (Antoine du Hamel / #3803)
+- @uppy/companion: Companion 3 default to no s3 acl (Mikael Finstad / #3826)
+- @uppy/companion: rewrite companion.app() to return an object (Mikael Finstad / #3827)
+- @uppy/companion: remove companion provider compat api (Mikael Finstad / #3828)
+- @uppy/companion: rewrite code for node >=14 (Mikael Finstad / #3829)
+- @uppy/companion: remove chunkSize backwards compatibility (Mikael Finstad / #3830)
+- @uppy/companion: Companion: make `emitSuccess` and `emitError` private (Mikael Finstad / #3832)
+- @uppy/companion: do not use a default upload protocol (Mikael Finstad / #3834)
+
+
 ## 3.0.0-beta.1
 
 Released: 2022-06-09

+ 4 - 4
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.1/uppy.min.css), either to your HTML page’s `<head>` 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.2/uppy.min.css), either to your HTML page’s `<head>` 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
 <!-- 1. Add CSS to `<head>` -->
-<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
+<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css" rel="stylesheet">
 
 <!-- 2. Add JS before the closing `</body>` -->
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
 
 <!-- 3. Initialize -->
 <div class="UppyDragDrop"></div>
@@ -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
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.legacy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.legacy.min.js"></script>
 ```
 
 ## FAQ

+ 3 - 3
examples/cdn-example/index.html

@@ -4,7 +4,7 @@
     <title></title>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
-    <link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet" />
+    <link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css" rel="stylesheet" />
   </head>
   <body>
     <noscript>You need JavaScript enabled for this example to work.</noscript>
@@ -16,7 +16,7 @@
         Dashboard,
         Webcam,
         Tus,
-      } from "https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.mjs";
+      } from "https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.mjs";
 
       const uppy = new Core.Uppy({ debug: true, autoProceed: false })
         .use(Dashboard, { trigger: "#uppyModalOpener" })
@@ -29,7 +29,7 @@
     </script>
 
     <!-- To support older browsers, you can use the legacy bundle which adds a global `Uppy` object.  -->
-    <script nomodule src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.legacy.min.js"></script>
+    <script nomodule src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.legacy.min.js"></script>
     <script nomodule>
       {
         const { Core, Dashboard, Webcam, Tus } = Uppy;

+ 1 - 1
examples/transloadit-textarea/index.html

@@ -2,7 +2,7 @@
 <html>
   <head>
     <meta charset="utf-8">
-    <link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/robodog.css">
+    <link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.css">
     <style>
       body {
         font-family: Roboto, Open Sans;

+ 2 - 2
examples/uppy-with-companion/client/index.html

@@ -4,11 +4,11 @@
     <title></title>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
-    <link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
+    <link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css" rel="stylesheet">
   </head>
   <body>
     <button id="uppyModalOpener">Open Modal</button>
-    <script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
+    <script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
     <script>
       const uppy = new Uppy.Core({debug: true, autoProceed: false})
         .use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })

+ 14 - 0
packages/@uppy/companion/CHANGELOG.md

@@ -1,5 +1,19 @@
 # @uppy/companion
 
+## 4.0.0-beta.1
+
+Released: 2022-07-06
+Included in: Uppy v3.0.0-beta.2
+
+- @uppy/companion: remove deprecated duplicated metrics (Mikael Finstad / #3833)
+- @uppy/companion: Companion 3 default to no s3 acl (Mikael Finstad / #3826)
+- @uppy/companion: rewrite companion.app() to return an object (Mikael Finstad / #3827)
+- @uppy/companion: remove companion provider compat api (Mikael Finstad / #3828)
+- @uppy/companion: rewrite code for node >=14 (Mikael Finstad / #3829)
+- @uppy/companion: remove chunkSize backwards compatibility (Mikael Finstad / #3830)
+- @uppy/companion: Companion: make `emitSuccess` and `emitError` private (Mikael Finstad / #3832)
+- @uppy/companion: do not use a default upload protocol (Mikael Finstad / #3834)
+
 ## 4.0.0-beta
 
 Released: 2022-05-30

+ 1 - 1
packages/@uppy/companion/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@uppy/companion",
-  "version": "4.0.0-beta",
+  "version": "4.0.0-beta.1",
   "description": "OAuth helper and remote fetcher for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:",
   "main": "lib/companion.js",
   "types": "lib/companion.d.ts",

+ 1 - 1
packages/@uppy/locales/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@uppy/locales",
   "description": "Uppy language packs",
-  "version": "3.0.0-beta.1",
+  "version": "3.0.0-beta.2",
   "license": "MIT",
   "type": "module",
   "keywords": [

+ 1 - 1
packages/@uppy/provider-views/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@uppy/provider-views",
   "description": "View library for Uppy remote provider plugins.",
-  "version": "3.0.0-beta.1",
+  "version": "3.0.0-beta.2",
   "license": "MIT",
   "main": "lib/index.js",
   "style": "dist/style.min.css",

+ 2 - 2
packages/@uppy/robodog/README.md

@@ -18,8 +18,8 @@ $ npm install @uppy/robodog
 Alternatively, you can also use this package in a pre-built bundle from Transloadit’s CDN: Edgly.
 
 ```html
-<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/robodog.min.css">
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/robodog.min.js"></script>
+<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/robodog.min.css">
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/robodog.min.js"></script>
 ```
 
 Then, a global `Robodog` variable will be available. For usage instructions, please see the [main Robodog documentation](https://uppy.io/docs/robodog).

+ 1 - 1
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.1",
+  "version": "3.0.0-beta.2",
   "license": "MIT",
   "main": "lib/index.js",
   "jsnext:main": "src/index.js",

+ 1 - 1
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.1",
+  "version": "3.0.0-beta.2",
   "license": "MIT",
   "main": "lib/index.js",
   "types": "types/index.d.ts",

+ 1 - 1
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.1",
+  "version": "3.0.0-beta.2",
   "license": "MIT",
   "main": "index.mjs",
   "module": "index.mjs",

+ 5 - 5
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
   <head>
     <meta charset="utf-8">
     <title>Uppy</title>
-    <link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
+    <link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css" rel="stylesheet">
   </head>
   <body>
     <div id="drag-drop-area"></div>
 
-    <script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
+    <script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
     <script>
       var uppy = new Uppy.Core()
         .use(Uppy.Dashboard, {
@@ -118,13 +118,13 @@ You can also use a pre-built bundle from Transloadit’s CDN: Edgly. `Uppy` will
 1\. Add a script at the bottom of the closing `</body>` tag:
 
 ```html
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
 ```
 
 2\. Add CSS to `<head>`:
 
 ```html
-<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
+<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css" rel="stylesheet">
 ```
 
 3\. Initialize at the bottom of the closing `</body>` 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
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
 ```

+ 2 - 2
website/src/docs/locales.md

@@ -34,8 +34,8 @@ const uppy = new Uppy({
 Add a `<script>` tag with Uppy bundle and the locale pack you’d like to use. You can copy/paste the link from the CDN column in the [locales table](#List-of-locale-packs). The locale will attach itself to the `Uppy.locales` object.
 
 ```html
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
-<script src="https://releases.transloadit.com/uppy/locales/v3.0.0-beta.1/de_DE.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/locales/v3.0.0-beta.2/de_DE.min.js"></script>
 
 <script>
 var uppy = new Uppy.Core({

+ 3 - 3
website/src/docs/migration-guides.md

@@ -41,11 +41,11 @@ If you’re using Uppy from a CDN, we now provide two bundles: one for up-to-dat
 
 ```html
 <!-- Modern browsers (recommended) -->
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
 
 <!-- Legacy browsers (IE11+) -->
-<script nomodule src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.legacy.min.js"></script>
-<script type="module">import "https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js";</script>
+<script nomodule src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.legacy.min.js"></script>
+<script type="module">import "https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js";</script>
 ```
 
 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.

+ 3 - 3
website/src/docs/robodog-form.md

@@ -150,7 +150,7 @@ Make sure to also include the Uppy css file in your `<head>` tag in case you wan
 
 ```html
 <head>
-  <link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/robodog.min.css">
+  <link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.min.css">
 </head>
 ```
 
@@ -162,7 +162,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra
 <html>
   <head>
     <title>Testing Robodog</title>
-    <link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/robodog.min.css">
+    <link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.min.css">
   </head>
   <body>
     <form id="upload-form" action="/uploads" enctype="multipart/form-data" method="POST">
@@ -172,7 +172,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra
       <button type="submit">Upload</button>
     </form>
 
-    <script src="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/robodog.min.js"></script>
+    <script src="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.min.js"></script>
     <script type="text/javascript">
     window.Robodog.form('#upload-form', {
       waitForEncoding: true,

+ 2 - 2
website/src/docs/robodog.md

@@ -31,8 +31,8 @@ import '@uppy/robodog/dist/robodog.css'
 If you are not using a bundler, you can also import Robodog using an HTML script tag.
 
 ```html
-<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/robodog.min.css">
-<script src="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/robodog.min.js"></script>
+<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.min.css">
+<script src="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.min.js"></script>
 <!-- you can now use: window.Robodog.pick() -->
 ```
 

+ 1 - 1
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.1/${localeName}.min.js`
+  js.src = `https://releases.transloadit.com/uppy/locales/v3.0.0-beta.2/${localeName}.min.js`
 
   head.appendChild(js)
 }

+ 4 - 4
website/src/examples/i18n/app.html

@@ -1,7 +1,7 @@
 <!-- Load Uppy CSS bundle. It is advisable to install Uppy
   from npm/yarn instead, and pick and choose the plugins/styles you need.
   But for experimenting, you can use Transloadit’s CDN, Edgly: -->
-<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css">
+<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css">
 
 <div class="UppyDragDrop"></div>
 <div class="for-ProgressBar"></div>
@@ -12,9 +12,9 @@
 </div>
 
 <!-- Load Uppy JS bundle. -->
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js" type="module"></script>
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.legacy.min.js" nomodule></script>
-<script src="https://releases.transloadit.com/uppy/locales/v3.0.0-beta.1/ru_RU.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js" type="module"></script>
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.legacy.min.js" nomodule></script>
+<script src="https://releases.transloadit.com/uppy/locales/v3.0.0-beta.2/ru_RU.min.js"></script>
 <script>
 window.addEventListener('DOMContentLoaded', function () {
   'use strict';

+ 1 - 1
website/src/examples/markdown-snippets/app.es6

@@ -3,7 +3,7 @@ const marked = require('marked')
 const dragdrop = require('drag-drop')
 // Add Robodog JS. It is advisable to install Robodog from npm/yarn.
 // But for experimenting, you can use also Transloadit’s CDN, Edgly:
-// <script src="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/robodog.min.js"></script>
+// <script src="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.min.js"></script>
 const robodog = require('@uppy/robodog')
 
 const TRANSLOADIT_EXAMPLE_KEY = '35c1aed03f5011e982b6afe82599b6a0'

+ 1 - 1
website/src/examples/markdown-snippets/app.html

@@ -1,6 +1,6 @@
 <!-- Add Robodog styles. It is advisable to install Robodog from npm/yarn.
   But for experimenting, you can use also Transloadit’s CDN, Edgly:
-  <link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/robodog.min.css"> -->
+  <link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.min.css"> -->
   <link rel="stylesheet" href="/uppy/robodog.min.css">
   <form id="new" class="form-snippet">
     <h2>Create a new snippet</h2>

+ 3 - 3
website/themes/uppy/layout/index.ejs

@@ -187,9 +187,9 @@
   <p>© <%- date(Date.now(), 'YYYY') %> <a href="https://transloadit.com" target="_blank">Transloadit</a></p>
 </footer>
 
-<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js" type="module"></script>
-<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.legacy.min.js" nomodule></script>
+<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css" rel="stylesheet">
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js" type="module"></script>
+<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.legacy.min.js" nomodule></script>
 
 <script>
   window.addEventListener('DOMContentLoaded', function() {