Browse Source

Release: uppy@3.6.1 (#4348)


| 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)
github-actions[bot] 2 years ago
parent
commit
233435ff1e

+ 1 - 1
BUNDLE-README.md

@@ -1,7 +1,7 @@
 # Uppy
 # Uppy
 
 
 Hi, thanks for trying out the bundled version of the Uppy File Uploader. You can use
 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
 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
 bundler like Webpack so that you can create a smaller custom build with only the

+ 12 - 0
CHANGELOG.md

@@ -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.
 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
 ## 3.6.0
 
 
 Released: 2023-03-07
 Released: 2023-03-07

+ 5 - 4
README.md

@@ -67,7 +67,7 @@ const uppy = new Uppy()
 npm install @uppy/core @uppy/dashboard @uppy/tus
 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.
 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,12 +75,12 @@ Alternatively, you can also use a pre-built bundle from Transloadit’s CDN: Edg
 
 
 ```html
 ```html
 <!-- 1. Add CSS to `<head>` -->
 <!-- 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 -->
 <!-- 2. Initialize -->
 <div id="files-drag-drop"></div>
 <div id="files-drag-drop"></div>
 <script type="module">
 <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()
   const uppy = new Uppy()
   uppy.use(Dashboard, { target: '#files-drag-drop' })
   uppy.use(Dashboard, { target: '#files-drag-drop' })
@@ -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:
 bundle, so no need to include anything additionally:
 
 
 ```html
 ```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
 ## FAQ
@@ -482,3 +482,4 @@ We use Browserstack for manual testing <a href="https://www.browserstack.com" ta
 ## License
 ## License
 
 
 [The MIT License](LICENSE).
 [The MIT License](LICENSE).
+E).

+ 2 - 2
examples/aws-nodejs/public/drag.html

@@ -3,7 +3,7 @@
   <head>
   <head>
     <meta charset="utf-8">
     <meta charset="utf-8">
     <title>Uppy</title>
     <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>
   </head>
   <body>
   <body>
     <section class="example">
     <section class="example">
@@ -14,7 +14,7 @@
       <ol></ol>
       <ol></ol>
     </div>
     </div>
       <script type="module">
       <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
         // Function for displaying uploaded files
         const onUploadSuccess = (elForUploadedFiles) => (file, response) => {
         const onUploadSuccess = (elForUploadedFiles) => (file, response) => {

+ 2 - 2
examples/aws-nodejs/public/index.html

@@ -3,7 +3,7 @@
   <head>
   <head>
     <meta charset="utf-8">
     <meta charset="utf-8">
     <title>Uppy – AWS upload example</title>
     <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>
   </head>
   <body>
   <body>
     <h1>AWS upload example</h1>
     <h1>AWS upload example</h1>
@@ -12,7 +12,7 @@
     <h2>AWS S3 multipart</h2>
     <h2>AWS S3 multipart</h2>
     <div id="aws-multipart"></div>
     <div id="aws-multipart"></div>
     <script type="module">
     <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()
         const uppy = new Uppy()
           .use(Dashboard, {
           .use(Dashboard, {

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

@@ -4,7 +4,7 @@
     <title></title>
     <title></title>
     <meta charset="UTF-8" />
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1" />
     <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>
   </head>
   <body>
   <body>
     <noscript>You need JavaScript enabled for this example to work.</noscript>
     <noscript>You need JavaScript enabled for this example to work.</noscript>
@@ -16,7 +16,7 @@
         Dashboard,
         Dashboard,
         Webcam,
         Webcam,
         Tus,
         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 })
       const uppy = new Uppy({ debug: true, autoProceed: false })
         .use(Dashboard, { trigger: "#uppyModalOpener" })
         .use(Dashboard, { trigger: "#uppyModalOpener" })
@@ -29,7 +29,7 @@
     </script>
     </script>
 
 
     <!-- To support older browsers, you can use the legacy bundle which adds a global `Uppy` object.  -->
     <!-- 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>
     <script nomodule>
       {
       {
         const { Dashboard, Webcam, Tus } = Uppy;
         const { Dashboard, Webcam, Tus } = Uppy;

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

@@ -4,13 +4,13 @@
     <title></title>
     <title></title>
     <meta charset="UTF-8">
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
     <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>
   </head>
   <body>
   <body>
     <button id="uppyModalOpener">Open Modal</button>
     <button id="uppyModalOpener">Open Modal</button>
     <noscript>This web page requires JavaScript to work properly.</noscript>
     <noscript>This web page requires JavaScript to work properly.</noscript>
     <script type="module">
     <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})
       const uppy = new Uppy({debug: true, autoProceed: false})
         .use(Dashboard, { trigger: '#uppyModalOpener' })
         .use(Dashboard, { trigger: '#uppyModalOpener' })

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

@@ -1,7 +1,7 @@
 {
 {
   "name": "@uppy/core",
   "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:",
   "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",
   "license": "MIT",
   "main": "lib/index.js",
   "main": "lib/index.js",
   "style": "dist/style.min.css",
   "style": "dist/style.min.css",

+ 7 - 0
packages/@uppy/dashboard/CHANGELOG.md

@@ -1,5 +1,12 @@
 # @uppy/dashboard
 # @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
 ## 3.3.0
 
 
 Released: 2023-03-07
 Released: 2023-03-07

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

@@ -1,7 +1,7 @@
 {
 {
   "name": "@uppy/dashboard",
   "name": "@uppy/dashboard",
   "description": "Universal UI plugin for Uppy.",
   "description": "Universal UI plugin for Uppy.",
-  "version": "3.3.0",
+  "version": "3.3.1",
   "license": "MIT",
   "license": "MIT",
   "main": "lib/index.js",
   "main": "lib/index.js",
   "style": "dist/style.min.css",
   "style": "dist/style.min.css",

+ 1 - 1
packages/uppy/package.json

@@ -1,7 +1,7 @@
 {
 {
   "name": "uppy",
   "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:",
   "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",
   "license": "MIT",
   "main": "index.mjs",
   "main": "index.mjs",
   "module": "index.mjs",
   "module": "index.mjs",

+ 5 - 5
website/src/docs/index.md

@@ -19,13 +19,13 @@ Here’s the simplest example html page with Uppy (it uses a CDN bundle, while w
   <head>
   <head>
     <meta charset="utf-8">
     <meta charset="utf-8">
     <title>Uppy</title>
     <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>
   </head>
   <body>
   <body>
     <div id="drag-drop-area"></div>
     <div id="drag-drop-area"></div>
 
 
     <script type="module">
     <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()
       var uppy = new Uppy()
         .use(Dashboard, {
         .use(Dashboard, {
           inline: true,
           inline: true,
@@ -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:
 1\. Add a script at the bottom of the closing `</body>` tag:
 
 
 ```html
 ```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>`:
 2\. Add CSS to `<head>`:
 
 
 ```html
 ```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:
 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:
 If you’re using Uppy from CDN, those polyfills are already included in the bundle, no need to include anything additionally:
 
 
 ```html
 ```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>
 ```
 ```

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

@@ -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.
 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
 ```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 src="https://releases.transloadit.com/uppy/locales/v3.0.7/de_DE.min.js"></script>
 
 
 <script>
 <script>

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

@@ -278,11 +278,11 @@ If you’re using Uppy from a CDN, we now provide two bundles: one for up-to-dat
 
 
 ```html
 ```html
 <!-- Modern browsers (recommended) -->
 <!-- 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+) -->
 <!-- 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.
 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/examples/i18n/app.html

@@ -1,7 +1,7 @@
 <!-- Load Uppy CSS bundle. It is advisable to install Uppy
 <!-- Load Uppy CSS bundle. It is advisable to install Uppy
   from npm/yarn instead, and pick and choose the plugins/styles you need.
   from npm/yarn instead, and pick and choose the plugins/styles you need.
   But for experimenting, you can use Transloadit’s CDN, Edgly: -->
   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="UppyDragDrop"></div>
 <div class="for-ProgressBar"></div>
 <div class="for-ProgressBar"></div>
@@ -12,8 +12,8 @@
 </div>
 </div>
 
 
 <!-- Load Uppy JS bundle. -->
 <!-- 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 src="https://releases.transloadit.com/uppy/locales/v3.0.7/ru_RU.min.js"></script>
 <script>
 <script>
 window.addEventListener('DOMContentLoaded', function () {
 window.addEventListener('DOMContentLoaded', function () {

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

@@ -1,6 +1,6 @@
 <!-- Add Uppy styles. It is advisable to install Uppy from npm/yarn.
 <!-- Add Uppy styles. It is advisable to install Uppy from npm/yarn.
   But for experimenting, you can use also Transloadit’s CDN, Edgly:
   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">
   <link rel="stylesheet" href="/uppy/uppy.min.css">
   <form id="new" class="form-snippet">
   <form id="new" class="form-snippet">
     <h2>Create a new snippet</h2>
     <h2>Create a new snippet</h2>

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

@@ -187,10 +187,10 @@
   <p>© <%- date(Date.now(), 'YYYY') %> <a href="https://transloadit.com" target="_blank">Transloadit</a></p>
   <p>© <%- date(Date.now(), 'YYYY') %> <a href="https://transloadit.com" target="_blank">Transloadit</a></p>
 </footer>
 </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">
 <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() {
   window.addEventListener('DOMContentLoaded', function() {
     const TUS_ENDPOINT = 'https://tusd.tusdemo.net/files/'
     const TUS_ENDPOINT = 'https://tusd.tusdemo.net/files/'
     let COMPANION_ENDPOINT = 'http://localhost:3020'
     let COMPANION_ENDPOINT = 'http://localhost:3020'