Release: uppy@2.9.3 (#3631)

| Package       | Version | Package       | Version |
| ------------- | ------- | ------------- | ------- |
| @uppy/core    |   2.1.8 | uppy          |   2.9.3 |
| @uppy/robodog |   2.5.3 |               |         |

- @uppy/core: fix TypeError in event handler when file was removed (Antoine du Hamel / #3629)
This commit is contained in:
github-actions[bot] 2022-04-07 20:05:07 +01:00 committed by GitHub
parent cf749be6e5
commit 8754114bba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 58 additions and 39 deletions

View file

@ -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/v2.9.2/uppy.min.js"></script>`) or bundle it with your webapp.
this from a CDN (`<script src="https://releases.transloadit.com/uppy/v2.9.3/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

View file

@ -12,6 +12,18 @@ Please add your entries in this format:
In the current stage we aim to release a new version at least every month.
## 2.9.3
Released: 2022-04-07
| Package | Version | Package | Version |
| ------------- | ------- | ------------- | ------- |
| @uppy/core | 2.1.8 | uppy | 2.9.3 |
| @uppy/robodog | 2.5.3 | | |
- @uppy/core: fix TypeError in event handler when file was removed (Antoine du Hamel / #3629)
## 2.9.2
Released: 2022-04-07

View file

@ -69,7 +69,7 @@ $ npm install @uppy/core @uppy/dashboard @uppy/tus
We recommend installing from npm and then using a module bundler such as [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/).
Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v2.9.2/uppy.min.css), either to your HTML pages `<head>` or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v2.9.3/uppy.min.css), either to your HTML pages `<head>` or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
Alternatively, you can also use a pre-built bundle from Transloadits CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object.
@ -77,10 +77,10 @@ Alternatively, you can also use a pre-built bundle from Transloadits CDN: Edg
```html
<!-- 1. Add CSS to `<head>` -->
<link href="https://releases.transloadit.com/uppy/v2.9.2/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.css" rel="stylesheet">
<!-- 2. Add JS before the closing `</body>` -->
<script src="https://releases.transloadit.com/uppy/v2.9.2/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.js"></script>
<!-- 3. Initialize -->
<div class="UppyDragDrop"></div>
@ -186,7 +186,7 @@ If youre 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/v2.9.2/uppy.legacy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.legacy.min.js"></script>
```
## FAQ
@ -256,9 +256,9 @@ Use Uppy in your project? [Let us know](https://github.com/transloadit/uppy/issu
:---: |:---: |:---: |:---: |:---: |:---: |
[sadovnychyi](https://github.com/sadovnychyi) |[samuelayo](https://github.com/samuelayo) |[richardwillars](https://github.com/richardwillars) |[ajkachnic](https://github.com/ajkachnic) |[dependabot\[bot\]](https://github.com/apps/dependabot) |[zcallan](https://github.com/zcallan) |
[<img alt="tim-kos" src="https://avatars.githubusercontent.com/u/15005?v=4&s=117" width="117">](https://github.com/tim-kos) |[<img alt="janko" src="https://avatars.githubusercontent.com/u/795488?v=4&s=117" width="117">](https://github.com/janko) |[<img alt="github-actions[bot]" src="https://avatars.githubusercontent.com/in/15368?v=4&s=117" width="117">](https://github.com/apps/github-actions) |[<img alt="wilkoklak" src="https://avatars.githubusercontent.com/u/17553085?v=4&s=117" width="117">](https://github.com/wilkoklak) |[<img alt="oliverpool" src="https://avatars.githubusercontent.com/u/3864879?v=4&s=117" width="117">](https://github.com/oliverpool) |[<img alt="Botz" src="https://avatars.githubusercontent.com/u/2706678?v=4&s=117" width="117">](https://github.com/Botz) |
[<img alt="tim-kos" src="https://avatars.githubusercontent.com/u/15005?v=4&s=117" width="117">](https://github.com/tim-kos) |[<img alt="github-actions[bot]" src="https://avatars.githubusercontent.com/in/15368?v=4&s=117" width="117">](https://github.com/apps/github-actions) |[<img alt="janko" src="https://avatars.githubusercontent.com/u/795488?v=4&s=117" width="117">](https://github.com/janko) |[<img alt="wilkoklak" src="https://avatars.githubusercontent.com/u/17553085?v=4&s=117" width="117">](https://github.com/wilkoklak) |[<img alt="oliverpool" src="https://avatars.githubusercontent.com/u/3864879?v=4&s=117" width="117">](https://github.com/oliverpool) |[<img alt="Botz" src="https://avatars.githubusercontent.com/u/2706678?v=4&s=117" width="117">](https://github.com/Botz) |
:---: |:---: |:---: |:---: |:---: |:---: |
[tim-kos](https://github.com/tim-kos) |[janko](https://github.com/janko) |[github-actions\[bot\]](https://github.com/apps/github-actions) |[wilkoklak](https://github.com/wilkoklak) |[oliverpool](https://github.com/oliverpool) |[Botz](https://github.com/Botz) |
[tim-kos](https://github.com/tim-kos) |[github-actions\[bot\]](https://github.com/apps/github-actions) |[janko](https://github.com/janko) |[wilkoklak](https://github.com/wilkoklak) |[oliverpool](https://github.com/oliverpool) |[Botz](https://github.com/Botz) |
[<img alt="YukeshShr" src="https://avatars.githubusercontent.com/u/71844521?v=4&s=117" width="117">](https://github.com/YukeshShr) |[<img alt="mcallistertyler" src="https://avatars.githubusercontent.com/u/14939210?v=4&s=117" width="117">](https://github.com/mcallistertyler) |[<img alt="mokutsu-coursera" src="https://avatars.githubusercontent.com/u/65177495?v=4&s=117" width="117">](https://github.com/mokutsu-coursera) |[<img alt="DJWassink" src="https://avatars.githubusercontent.com/u/1822404?v=4&s=117" width="117">](https://github.com/DJWassink) |[<img alt="taoqf" src="https://avatars.githubusercontent.com/u/15901911?v=4&s=117" width="117">](https://github.com/taoqf) |[<img alt="tuoxiansp" src="https://avatars.githubusercontent.com/u/3960056?v=4&s=117" width="117">](https://github.com/tuoxiansp) |
:---: |:---: |:---: |:---: |:---: |:---: |

View file

@ -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/v2.9.2/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v2.9.2/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.js"></script>
<script>
const uppy = new Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })

View file

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

View file

@ -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/v2.9.2/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v2.9.2/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.js"></script>
<script>
const uppy = new Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })

View file

@ -1,5 +1,12 @@
# @uppy/core
## 2.1.8
Released: 2022-04-07
Included in: Uppy v2.9.3
- @uppy/core: fix TypeError in event handler when file was removed (Antoine du Hamel / #3629)
## 2.1.7
Released: 2022-03-29

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/core",
"description": "Core module for the 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": "2.1.7",
"version": "2.1.8",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -20,8 +20,8 @@ We recommend installing from npm and then using a module bundler such as [Webpac
Alternatively, you can also use this package in a pre-built bundle from Transloadits CDN: Edgly.
```html
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.9.2/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/v2.9.2/robodog.min.js"></script>
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.9.3/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/v2.9.3/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).

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/robodog",
"description": "Transloadit SDK for browsers based on Uppy",
"version": "2.5.2",
"version": "2.5.3",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",

View file

@ -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": "2.9.2",
"version": "2.9.3",
"license": "MIT",
"main": "index.js",
"module": "index.mjs",

View file

@ -19,12 +19,12 @@ Heres 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/v2.9.2/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.css" rel="stylesheet">
</head>
<body>
<div id="drag-drop-area"></div>
<script src="https://releases.transloadit.com/uppy/v2.9.2/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/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 Transloadits CDN: Edgly. `Uppy` will
1\. Add a script at the bottom of the closing `</body>` tag:
```html
<script src="https://releases.transloadit.com/uppy/v2.9.2/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.js"></script>
```
2\. Add CSS to `<head>`:
```html
<link href="https://releases.transloadit.com/uppy/v2.9.2/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.css" rel="stylesheet">
```
3\. Initialize at the bottom of the closing `</body>` tag:
@ -181,5 +181,5 @@ export * from '@uppy/core'
If youre 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/v2.9.2/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.js"></script>
```

View file

@ -34,7 +34,7 @@ const uppy = new Uppy({
Add a `<script>` tag with Uppy bundle and the locale pack youd 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/v2.9.2/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v2.0.8/de_DE.min.js"></script>
<script>

View file

@ -41,11 +41,11 @@ If youre 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/v2.9.2/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.js"></script>
<!-- Legacy browsers (IE11+) -->
<script nomodule src="https://releases.transloadit.com/uppy/v2.9.2/uppy.legacy.min.js"></script>
<script type="module">import "https://releases.transloadit.com/uppy/v2.9.2/uppy.min.js";</script>
<script nomodule src="https://releases.transloadit.com/uppy/v2.9.3/uppy.legacy.min.js"></script>
<script type="module">import "https://releases.transloadit.com/uppy/v2.9.3/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.

View file

@ -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/v2.5.2/robodog.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v2.5.3/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/v2.5.2/robodog.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v2.5.3/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/v2.5.2/robodog.min.js"></script>
<script src="https://releases.transloadit.com/uppy/robodog/v2.5.3/robodog.min.js"></script>
<script type="text/javascript">
window.Robodog.form('#upload-form', {
waitForEncoding: true,

View file

@ -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/v2.5.2/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/robodog/v2.5.2/robodog.min.js"></script>
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v2.5.3/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/robodog/v2.5.3/robodog.min.js"></script>
<!-- you can now use: window.Robodog.pick() -->
```

View file

@ -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 Transloadits CDN, Edgly: -->
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.9.2/uppy.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.css">
<div class="UppyDragDrop"></div>
<div class="for-ProgressBar"></div>
@ -12,8 +12,8 @@
</div>
<!-- Load Uppy JS bundle. -->
<script src="https://releases.transloadit.com/uppy/v2.9.2/uppy.min.js" type="module"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.2/uppy.legacy.min.js" nomodule></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.js" type="module"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.legacy.min.js" nomodule></script>
<script src="https://releases.transloadit.com/uppy/locales/v2.0.8/ru_RU.min.js"></script>
<script>
window.addEventListener('DOMContentLoaded', function () {

View file

@ -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 Transloadits CDN, Edgly:
// <script src="https://releases.transloadit.com/uppy/robodog/v2.5.2/robodog.min.js"></script>
// <script src="https://releases.transloadit.com/uppy/robodog/v2.5.3/robodog.min.js"></script>
const robodog = require('@uppy/robodog')
const TRANSLOADIT_EXAMPLE_KEY = '35c1aed03f5011e982b6afe82599b6a0'

View file

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

View file

@ -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/v2.9.2/uppy.min.css" rel="stylesheet">
<script src="https://releases.transloadit.com/uppy/v2.9.2/uppy.min.js" type="module"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.2/uppy.legacy.min.js" nomodule></script>
<link href="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.css" rel="stylesheet">
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.min.js" type="module"></script>
<script src="https://releases.transloadit.com/uppy/v2.9.3/uppy.legacy.min.js" nomodule></script>
<script>
window.addEventListener('DOMContentLoaded', function() {