Skip to content

Commit

Permalink
Release: uppy@3.6.1 (#4348)
Browse files Browse the repository at this point in the history
| Package         | Version | Package         | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/core      |   3.1.1 | uppy            |   3.6.1 |
| @uppy/dashboard |   3.3.1 |                 |         |

- @uppy/dashboard: Fix low-contrast hover styles (Alexander Zaytsev / #4347)
  • Loading branch information
github-actions[bot] committed Mar 7, 2023
1 parent df32c1c commit 233435f
Show file tree
Hide file tree
Showing 17 changed files with 52 additions and 32 deletions.
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/v3.6.0/uppy.min.js"></script>`) or bundle it with your webapp.
this from a CDN (`<script src="https://releases.transloadit.com/uppy/v3.6.1/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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## 3.6.1

Released: 2023-03-07

| Package | Version | Package | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/core | 3.1.1 | uppy | 3.6.1 |
| @uppy/dashboard | 3.3.1 | | |

- @uppy/dashboard: Fix low-contrast hover styles (Alexander Zaytsev / #4347)


## 3.6.0

Released: 2023-03-07
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,20 @@ const uppy = new Uppy()
npm install @uppy/core @uppy/dashboard @uppy/tus
```

Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v3.6.0/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.6.1/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.

> ⚠️ The bundle consists of most Uppy plugins, so this method is not recommended for production, as your users will have to download all plugins when you are likely using only a few.
```html
<!-- 1. Add CSS to `<head>` -->
<link href="https://releases.transloadit.com/uppy/v3.6.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.css" rel="stylesheet">

<!-- 2. Initialize -->
<div id="files-drag-drop"></div>
<script type="module">
import { Uppy, Dashboard, Tus } from "https://releases.transloadit.com/uppy/v3.6.0/uppy.min.mjs"
import { Uppy, Dashboard, Tus } from "https://releases.transloadit.com/uppy/v3.6.1/uppy.min.mjs"
const uppy = new Uppy()
uppy.use(Dashboard, { target: '#files-drag-drop' })
Expand Down Expand Up @@ -182,7 +182,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.6.0/uppy.legacy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.6.1/uppy.legacy.min.js"></script>
```
## FAQ
Expand Down Expand Up @@ -482,3 +482,4 @@ We use Browserstack for manual testing <a href="https://www.browserstack.com" ta
## License
[The MIT License](LICENSE).
E).
4 changes: 2 additions & 2 deletions examples/aws-nodejs/public/drag.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Uppy</title>
<link href="https://releases.transloadit.com/uppy/v3.6.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.css" rel="stylesheet">
</head>
<body>
<section class="example">
Expand All @@ -14,7 +14,7 @@ <h5>Uploaded files:</h5>
<ol></ol>
</div>
<script type="module">
import {Uppy, DragDrop, ProgressBar, AwsS3 } from "https://releases.transloadit.com/uppy/v3.6.0/uppy.min.mjs"
import {Uppy, DragDrop, ProgressBar, AwsS3 } from "https://releases.transloadit.com/uppy/v3.6.1/uppy.min.mjs"

// Function for displaying uploaded files
const onUploadSuccess = (elForUploadedFiles) => (file, response) => {
Expand Down
4 changes: 2 additions & 2 deletions examples/aws-nodejs/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Uppy – AWS upload example</title>
<link href="https://releases.transloadit.com/uppy/v3.6.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.css" rel="stylesheet">
</head>
<body>
<h1>AWS upload example</h1>
Expand All @@ -12,7 +12,7 @@ <h2>AWS S3 (non multipart)</h2>
<h2>AWS S3 multipart</h2>
<div id="aws-multipart"></div>
<script type="module">
import { Uppy, Dashboard, AwsS3Multipart, AwsS3 } from "https://releases.transloadit.com/uppy/v3.6.0/uppy.min.mjs"
import { Uppy, Dashboard, AwsS3Multipart, AwsS3 } from "https://releases.transloadit.com/uppy/v3.6.1/uppy.min.mjs"
{
const uppy = new Uppy()
.use(Dashboard, {
Expand Down
6 changes: 3 additions & 3 deletions examples/cdn-example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.0/uppy.min.css" rel="stylesheet" />
<link href="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.css" rel="stylesheet" />
</head>
<body>
<noscript>You need JavaScript enabled for this example to work.</noscript>
Expand All @@ -16,7 +16,7 @@
Dashboard,
Webcam,
Tus,
} from "https://releases.transloadit.com/uppy/v3.6.0/uppy.min.mjs";
} from "https://releases.transloadit.com/uppy/v3.6.1/uppy.min.mjs";

const uppy = new Uppy({ debug: true, autoProceed: false })
.use(Dashboard, { trigger: "#uppyModalOpener" })
Expand All @@ -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.6.0/uppy.legacy.min.js"></script>
<script nomodule src="https://releases.transloadit.com/uppy/v3.6.1/uppy.legacy.min.js"></script>
<script nomodule>
{
const { Dashboard, Webcam, Tus } = Uppy;
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,13 +4,13 @@
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://releases.transloadit.com/uppy/v3.6.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<noscript>This web page requires JavaScript to work properly.</noscript>
<script type="module">
import { Uppy, Dashboard, Instagram, GoogleDrive, Tus } from "https://releases.transloadit.com/uppy/v3.6.0/uppy.min.mjs"
import { Uppy, Dashboard, Instagram, GoogleDrive, Tus } from "https://releases.transloadit.com/uppy/v3.6.1/uppy.min.mjs"

const uppy = new Uppy({debug: true, autoProceed: false})
.use(Dashboard, { trigger: '#uppyModalOpener' })
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/core/package.json
Original file line number Diff line number Diff line change
@@ -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": "3.1.0",
"version": "3.1.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
Expand Down
7 changes: 7 additions & 0 deletions packages/@uppy/dashboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @uppy/dashboard

## 3.3.1

Released: 2023-03-07
Included in: Uppy v3.6.1

- @uppy/dashboard: Fix low-contrast hover styles (Alexander Zaytsev / #4347)

## 3.3.0

Released: 2023-03-07
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@uppy/dashboard",
"description": "Universal UI plugin for Uppy.",
"version": "3.3.0",
"version": "3.3.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
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": "3.6.0",
"version": "3.6.1",
"license": "MIT",
"main": "index.mjs",
"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,13 +19,13 @@ 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.6.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.css" rel="stylesheet">
</head>
<body>
<div id="drag-drop-area"></div>

<script type="module">
import {Uppy, Dashboard, Tus} from "https://releases.transloadit.com/uppy/v3.6.0/uppy.min.mjs"
import {Uppy, Dashboard, Tus} from "https://releases.transloadit.com/uppy/v3.6.1/uppy.min.mjs"
var uppy = new Uppy()
.use(Dashboard, {
inline: true,
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/v3.6.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.js"></script>
```

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

```html
<link href="https://releases.transloadit.com/uppy/v3.6.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.css" rel="stylesheet">
```

3\. Initialize at the bottom of the closing `</body>` tag:
Expand Down Expand Up @@ -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.6.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.6.1/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/v3.6.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v3.0.7/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 @@ -278,11 +278,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.6.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.js"></script>

<!-- Legacy browsers (IE11+) -->
<script nomodule src="https://releases.transloadit.com/uppy/v3.6.0/uppy.legacy.min.js"></script>
<script type="module">import "https://releases.transloadit.com/uppy/v3.6.0/uppy.min.js";</script>
<script nomodule src="https://releases.transloadit.com/uppy/v3.6.1/uppy.legacy.min.js"></script>
<script type="module">import "https://releases.transloadit.com/uppy/v3.6.1/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/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/v3.6.0/uppy.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.css">

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

<!-- Load Uppy JS bundle. -->
<script src="https://releases.transloadit.com/uppy/v3.6.0/uppy.min.js" type="module"></script>
<script src="https://releases.transloadit.com/uppy/v3.6.0/uppy.legacy.min.js" nomodule></script>
<script src="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.js" type="module"></script>
<script src="https://releases.transloadit.com/uppy/v3.6.1/uppy.legacy.min.js" nomodule></script>
<script src="https://releases.transloadit.com/uppy/locales/v3.0.7/ru_RU.min.js"></script>
<script>
window.addEventListener('DOMContentLoaded', function () {
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 Uppy styles. It is advisable to install Uppy from npm/yarn.
But for experimenting, you can use also Transloadit’s CDN, Edgly:
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.6.0/uppy.min.css"> -->
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.css"> -->
<link rel="stylesheet" href="/uppy/uppy.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,10 +187,10 @@
<p<%- date(Date.now(), 'YYYY') %> <a href="https://transloadit.com" target="_blank">Transloadit</a></p>
</footer>

<link href="https://releases.transloadit.com/uppy/v3.6.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.6.1/uppy.min.css" rel="stylesheet">

<script type="module">
import { Uppy, Dashboard, RemoteSources, Webcam, ImageEditor, Audio, ScreenCapture, Tus } from "https://releases.transloadit.com/uppy/v3.6.0/uppy.min.mjs"
import { Uppy, Dashboard, RemoteSources, Webcam, ImageEditor, Audio, ScreenCapture, Tus } from "https://releases.transloadit.com/uppy/v3.6.1/uppy.min.mjs"
window.addEventListener('DOMContentLoaded', function() {
const TUS_ENDPOINT = 'https://tusd.tusdemo.net/files/'
let COMPANION_ENDPOINT = 'http://localhost:3020'
Expand Down

0 comments on commit 233435f

Please sign in to comment.