Преглед на файлове

Release: uppy@3.1.1 (#4122)


| Package         | Version | Package         | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/companion |   4.0.3 | uppy            |   3.1.1 |

- meta: Fix Companion release deploy (Antoine du Hamel)
github-actions[bot] преди 2 години
родител
ревизия
a593b70f20

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

+ 11 - 0
CHANGELOG.md

@@ -12,6 +12,17 @@ Please add your entries in this format:
 
 In the current stage we aim to release a new version at least every month.
 
+## 3.1.1
+
+Released: 2022-09-25
+
+| Package         | Version | Package         | Version |
+| --------------- | ------- | --------------- | ------- |
+| @uppy/companion |   4.0.3 | uppy            |   3.1.1 |
+
+- meta: Fix Companion release deploy (Antoine du Hamel)
+
+
 ## 3.1.0
 
 Released: 2022-09-25

+ 4 - 4
README.md

@@ -67,7 +67,7 @@ const uppy = new Uppy()
 $ npm install @uppy/core @uppy/dashboard @uppy/tus
 ```
 
-Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v3.1.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.1.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.
 
@@ -75,12 +75,12 @@ 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.1.0/uppy.min.css" rel="stylesheet">
+<link href="https://releases.transloadit.com/uppy/v3.1.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.1.0/uppy.min.mjs"
+  import { Uppy, Dashboard, Tus } from "https://releases.transloadit.com/uppy/v3.1.1/uppy.min.mjs"
 
   const uppy = new Uppy()
   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:
 
 ```html
-<script src="https://releases.transloadit.com/uppy/v3.1.0/uppy.legacy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.1.1/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.1.0/uppy.min.css" rel="stylesheet" />
+    <link href="https://releases.transloadit.com/uppy/v3.1.1/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.1.0/uppy.min.mjs";
+      } from "https://releases.transloadit.com/uppy/v3.1.1/uppy.min.mjs";
 
       const uppy = new 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.1.0/uppy.legacy.min.js"></script>
+    <script nomodule src="https://releases.transloadit.com/uppy/v3.1.1/uppy.legacy.min.js"></script>
     <script nomodule>
       {
         const { Dashboard, Webcam, Tus } = Uppy;

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

@@ -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.1.0/uppy.min.css" rel="stylesheet">
+    <link href="https://releases.transloadit.com/uppy/v3.1.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.1.0/uppy.min.mjs"
+      import { Uppy, Dashboard, Instagram, GoogleDrive, Tus } from "https://releases.transloadit.com/uppy/v3.1.1/uppy.min.mjs"
 
       const uppy = new Uppy({debug: true, autoProceed: false})
         .use(Dashboard, { trigger: '#uppyModalOpener' })

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

@@ -1,6 +1,6 @@
 {
   "name": "@uppy/companion",
-  "version": "4.0.2",
+  "version": "4.0.3",
   "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/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.1.0",
+  "version": "3.1.1",
   "license": "MIT",
   "main": "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>
     <meta charset="utf-8">
     <title>Uppy</title>
-    <link href="https://releases.transloadit.com/uppy/v3.1.0/uppy.min.css" rel="stylesheet">
+    <link href="https://releases.transloadit.com/uppy/v3.1.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.1.0/uppy.min.mjs"
+      import {Uppy, Dashboard, Tus} from "https://releases.transloadit.com/uppy/v3.1.1/uppy.min.mjs"
       var uppy = new Uppy()
         .use(Dashboard, {
           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:
 
 ```html
-<script src="https://releases.transloadit.com/uppy/v3.1.0/uppy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.1.1/uppy.min.js"></script>
 ```
 
 2\. Add CSS to `<head>`:
 
 ```html
-<link href="https://releases.transloadit.com/uppy/v3.1.0/uppy.min.css" rel="stylesheet">
+<link href="https://releases.transloadit.com/uppy/v3.1.1/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.1.0/uppy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.1.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.
 
 ```html
-<script src="https://releases.transloadit.com/uppy/v3.1.0/uppy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.1.1/uppy.min.js"></script>
 <script src="https://releases.transloadit.com/uppy/locales/v3.0.1/de_DE.min.js"></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
 <!-- Modern browsers (recommended) -->
-<script src="https://releases.transloadit.com/uppy/v3.1.0/uppy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.1.1/uppy.min.js"></script>
 
 <!-- Legacy browsers (IE11+) -->
-<script nomodule src="https://releases.transloadit.com/uppy/v3.1.0/uppy.legacy.min.js"></script>
-<script type="module">import "https://releases.transloadit.com/uppy/v3.1.0/uppy.min.js";</script>
+<script nomodule src="https://releases.transloadit.com/uppy/v3.1.1/uppy.legacy.min.js"></script>
+<script type="module">import "https://releases.transloadit.com/uppy/v3.1.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.

+ 3 - 3
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.1.0/uppy.min.css">
+<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.1.1/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/v3.1.0/uppy.min.js" type="module"></script>
-<script src="https://releases.transloadit.com/uppy/v3.1.0/uppy.legacy.min.js" nomodule></script>
+<script src="https://releases.transloadit.com/uppy/v3.1.1/uppy.min.js" type="module"></script>
+<script src="https://releases.transloadit.com/uppy/v3.1.1/uppy.legacy.min.js" nomodule></script>
 <script src="https://releases.transloadit.com/uppy/locales/v3.0.1/ru_RU.min.js"></script>
 <script>
 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.
   But for experimenting, you can use also Transloadit’s CDN, Edgly:
-  <link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.1.0/uppy.min.css"> -->
+  <link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.1.1/uppy.min.css"> -->
   <link rel="stylesheet" href="/uppy/uppy.min.css">
   <form id="new" class="form-snippet">
     <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>
 </footer>
 
-<link href="https://releases.transloadit.com/uppy/v3.1.0/uppy.min.css" rel="stylesheet">
+<link href="https://releases.transloadit.com/uppy/v3.1.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.1.0/uppy.min.mjs"
+  import { Uppy, Dashboard, RemoteSources, Webcam, ImageEditor, Audio, ScreenCapture, Tus } from "https://releases.transloadit.com/uppy/v3.1.1/uppy.min.mjs"
   window.addEventListener('DOMContentLoaded', function() {
     const TUS_ENDPOINT = 'https://tusd.tusdemo.net/files/'
     let COMPANION_ENDPOINT = 'http://localhost:3020'