Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: uppy@2.4.0 #3420

Merged
merged 2 commits into from
Jan 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion BUNDLE-README.md
Original file line number Diff line number Diff line change
@@ -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.3.3/uppy.min.js"></script>`) or bundle it with your webapp.
this from a CDN (`<script src="https://releases.transloadit.com/uppy/v2.4.0/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
Expand Down
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,31 @@ Please add your entries in this format:

In the current stage we aim to release a new version at least every month.

## 2.4.0

Released: 2022-01-10

| Package | Version | Package | Version |
| -------------------- | ------- | -------------------- | ------- |
| @uppy/drag-drop | 2.0.6 | @uppy/tus | 2.2.0 |
| @uppy/image-editor | 1.1.1 | @uppy/utils | 4.0.5 |
| @uppy/screen-capture | 2.0.6 | @uppy/robodog | 2.2.0 |
| @uppy/transloadit | 2.1.0 | uppy | 2.4.0 |

- @uppy/transloadit: ignore rate limiting errors when polling (Antoine du Hamel / #3418)
- @uppy/tus: pause all requests in response to server rate limiting (Antoine du Hamel / #3394)
- @uppy/transloadit: better defaults for rate limiting (Antoine du Hamel / #3414)
- @uppy/companion: Fix Companion deploys (kiloreux / #3388)
- meta: update aws-presigned-url example to use esm (Antoine du Hamel / #3413)
- @uppy/image-editor: namespace input range css (Merlijn Vos / #3406)
- @uppy/screen-capture: Add missing option to the screen capture types (Mustafa Navruz / #3400)
- @uppy/drag-drop: fix `undefined is not a function` TypeError (Antoine du Hamel / #3397)
- website: update december 2021 blog post (Antoine du Hamel / #3396)
- website: Polished the latest update blog (AJvanLoon / #3390)
- website: docs: fix typo in audio.md (heocoi / #3389)
- website: 2.0-2.3 post draft (Artur Paikin / #3370)


## 2.3.3

Released: 2022-01-04
Expand Down
114 changes: 57 additions & 57 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/cdn-example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.3/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v2.3.3/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.js"></script>
<script>
const uppy = new Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })
Expand Down
2 changes: 1 addition & 1 deletion examples/transloadit-textarea/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v2.1.5/robodog.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v2.2.0/robodog.css">
<style>
body {
font-family: Roboto, Open Sans;
Expand Down
4 changes: 2 additions & 2 deletions examples/uppy-with-companion/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.3/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v2.3.3/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.js"></script>
<script>
const uppy = new Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })
Expand Down
7 changes: 7 additions & 0 deletions packages/@uppy/drag-drop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @uppy/drag-drop

## 2.0.6

Released: 2022-01-10
Included in: Uppy v2.4.0

- @uppy/drag-drop: fix `undefined is not a function` TypeError (Antoine du Hamel / #3397)

## 2.0.5

Released: 2021-12-07
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/drag-drop/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uppy/drag-drop",
"description": "Droppable zone UI for Uppy. Drag and drop files into it to upload.",
"version": "2.0.5",
"version": "2.0.6",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
Expand Down
7 changes: 7 additions & 0 deletions packages/@uppy/image-editor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @uppy/image-editor

## 1.1.1

Released: 2022-01-10
Included in: Uppy v2.4.0

- @uppy/image-editor: namespace input range css (Merlijn Vos / #3406)

## 1.1.0

Released: 2021-12-07
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/image-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uppy/image-editor",
"description": "Image editor and cropping UI",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
Expand Down
4 changes: 2 additions & 2 deletions packages/@uppy/robodog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 Transloadit’s CDN: Edgly.

```html
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.3.3/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/v2.3.3/robodog.min.js"></script>
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.4.0/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/v2.4.0/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).
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/robodog/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uppy/robodog",
"description": "Transloadit SDK for browsers based on Uppy",
"version": "2.1.5",
"version": "2.2.0",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/@uppy/screen-capture/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @uppy/screen-capture

## 2.0.6

Released: 2022-01-10
Included in: Uppy v2.4.0

- @uppy/screen-capture: Add missing option to the screen capture types (Mustafa Navruz / #3400)

## 2.0.5

Released: 2021-12-07
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/screen-capture/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uppy/screen-capture",
"description": "Uppy plugin that captures video from display or application.",
"version": "2.0.5",
"version": "2.0.6",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
Expand Down
8 changes: 8 additions & 0 deletions packages/@uppy/transloadit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @uppy/transloadit

## 2.1.0

Released: 2022-01-10
Included in: Uppy v2.4.0

- @uppy/transloadit: ignore rate limiting errors when polling (Antoine du Hamel / #3418)
- @uppy/transloadit: better defaults for rate limiting (Antoine du Hamel / #3414)

## 2.0.5

Released: 2021-12-07
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/transloadit/package.json
Original file line number Diff line number Diff line change
@@ -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": "2.0.5",
"version": "2.1.0",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
8 changes: 8 additions & 0 deletions packages/@uppy/tus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @uppy/tus

## 2.2.0

Released: 2022-01-10
Included in: Uppy v2.4.0

- @uppy/tus: pause all requests in response to server rate limiting (Antoine du Hamel / #3394)
2 changes: 1 addition & 1 deletion packages/@uppy/tus/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uppy/tus",
"description": "Resumable uploads for Uppy using Tus.io",
"version": "2.1.2",
"version": "2.2.0",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uppy/utils",
"description": "Shared utility functions for Uppy Core and plugins maintained by the Uppy team.",
"version": "4.0.4",
"version": "4.0.5",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/uppy/package.json
Original file line number Diff line number Diff line change
@@ -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.3.3",
"version": "2.4.0",
"license": "MIT",
"main": "index.js",
"module": "index.mjs",
Expand Down
10 changes: 5 additions & 5 deletions website/src/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/v2.3.3/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.css" rel="stylesheet">
</head>
<body>
<div id="drag-drop-area"></div>

<script src="https://releases.transloadit.com/uppy/v2.3.3/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.js"></script>
<script>
var uppy = new Uppy.Core()
.use(Uppy.Dashboard, {
Expand Down Expand Up @@ -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/v2.3.3/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.js"></script>
```

2\. Add CSS to `<head>`:

```html
<link href="https://releases.transloadit.com/uppy/v2.3.3/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.css" rel="stylesheet">
```

3\. Initialize at the bottom of the closing `</body>` tag:
Expand Down Expand Up @@ -183,5 +183,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/v2.3.3/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.js"></script>
```
2 changes: 1 addition & 1 deletion website/src/docs/locales.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ 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/v2.3.3/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v2.0.5/de_DE.min.js"></script>

<script>
Expand Down
6 changes: 3 additions & 3 deletions website/src/docs/migration-guides.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/v2.3.3/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.js"></script>

<!-- Legacy browsers (IE11+) -->
<script nomodule src="https://releases.transloadit.com/uppy/v2.3.3/uppy.legacy.min.js"></script>
<script type="module">import "https://releases.transloadit.com/uppy/v2.3.3/uppy.min.js";</script>
<script nomodule src="https://releases.transloadit.com/uppy/v2.4.0/uppy.legacy.min.js"></script>
<script type="module">import "https://releases.transloadit.com/uppy/v2.4.0/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.
Expand Down
6 changes: 3 additions & 3 deletions website/src/docs/robodog-form.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.5/robodog.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v2.2.0/robodog.min.css">
</head>
```

Expand All @@ -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.1.5/robodog.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v2.2.0/robodog.min.css">
</head>
<body>
<form id="upload-form" action="/uploads" enctype="multipart/form-data" method="POST">
Expand All @@ -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.1.5/robodog.min.js"></script>
<script src="https://releases.transloadit.com/uppy/robodog/v2.2.0/robodog.min.js"></script>
<script type="text/javascript">
window.Robodog.form('#upload-form', {
waitForEncoding: true,
Expand Down
4 changes: 2 additions & 2 deletions website/src/docs/robodog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.5/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/robodog/v2.1.5/robodog.min.js"></script>
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v2.2.0/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/robodog/v2.2.0/robodog.min.js"></script>
<!-- you can now use: window.Robodog.pick() -->
```

Expand Down
4 changes: 2 additions & 2 deletions website/src/examples/i18n/app.html
Original file line number Diff line number Diff line change
@@ -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/v2.3.3/uppy.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.css">

<div class="UppyDragDrop"></div>
<div class="for-ProgressBar"></div>
Expand All @@ -12,7 +12,7 @@ <h5>Uploaded files:</h5>
</div>

<!-- Load Uppy JS bundle. -->
<script src="https://releases.transloadit.com/uppy/v2.3.3/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v2.0.5/ru_RU.min.js"></script>
<script>
var uppy = new Uppy.Core({
Expand Down
2 changes: 1 addition & 1 deletion website/src/examples/markdown-snippets/app.es6
Original file line number Diff line number Diff line change
Expand Up @@ -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/v2.1.5/robodog.min.js"></script>
// <script src="https://releases.transloadit.com/uppy/robodog/v2.2.0/robodog.min.js"></script>
const robodog = require('@uppy/robodog')

const TRANSLOADIT_EXAMPLE_KEY = '35c1aed03f5011e982b6afe82599b6a0'
Expand Down
2 changes: 1 addition & 1 deletion website/src/examples/markdown-snippets/app.html
Original file line number Diff line number Diff line change
@@ -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/v2.1.5/robodog.min.css"> -->
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v2.2.0/robodog.min.css"> -->
<link rel="stylesheet" href="/uppy/robodog.min.css">
<form id="new" class="form-snippet">
<h2>Create a new snippet</h2>
Expand Down
4 changes: 2 additions & 2 deletions website/themes/uppy/layout/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@
<p>© <%- date(Date.now(), 'YYYY') %> <a href="https://transloadit.com" target="_blank">Transloadit</a></p>
</footer>

<link href="https://releases.transloadit.com/uppy/v2.3.3/uppy.min.css" rel="stylesheet">
<script src="https://releases.transloadit.com/uppy/v2.3.3/uppy.min.js"></script>
<link href="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.css" rel="stylesheet">
<script src="https://releases.transloadit.com/uppy/v2.4.0/uppy.min.js"></script>

<script>
var TUS_ENDPOINT = 'https://tusd.tusdemo.net/files/'
Expand Down