Переглянути джерело

Release: uppy@3.9.0 (#4438)


| Package                | Version | Package                | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3           |   3.1.1 | @uppy/status-bar       |   3.1.2 |
| @uppy/aws-s3-multipart |   3.3.0 | @uppy/transloadit      |   3.1.4 |
| @uppy/locales          |   3.2.1 | uppy                   |   3.9.0 |

- @uppy/aws-s3-multipart: allowedMetaFields: null means “include all” (Artur Paikin / #4437)
- @uppy/aws-s3-multipart: add `shouldUseMultipart ` option (Antoine du Hamel / #4205)
- @uppy/transloadit: Reset `tus` key in the file on error, so retried files are re-uploaded (Artur Paikin / #4421)
- meta: commit build file that was modified (Antoine du Hamel)
- meta: examples: add CORS settings for DigitalOcean Spaces (Antoine du Hamel / #4428)
- @uppy/aws-s3: deprecate `timeout` option (Antoine du Hamel / #4298)
- @uppy/aws-s3-multipart: make retries more robust (Antoine du Hamel / #4424)
- meta: fix badges on README (Antoine du Hamel / #4419)
github-actions[bot] 2 роки тому
батько
коміт
aebc368c25

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

+ 20 - 0
CHANGELOG.md

@@ -12,6 +12,26 @@ Please add your entries in this format:
 
 In the current stage we aim to release a new version at least every month.
 
+## 3.9.0
+
+Released: 2023-05-02
+
+| Package                | Version | Package                | Version |
+| ---------------------- | ------- | ---------------------- | ------- |
+| @uppy/aws-s3           |   3.1.1 | @uppy/status-bar       |   3.1.2 |
+| @uppy/aws-s3-multipart |   3.3.0 | @uppy/transloadit      |   3.1.4 |
+| @uppy/locales          |   3.2.1 | uppy                   |   3.9.0 |
+
+- @uppy/aws-s3-multipart: allowedMetaFields: null means “include all” (Artur Paikin / #4437)
+- @uppy/aws-s3-multipart: add `shouldUseMultipart ` option (Antoine du Hamel / #4205)
+- @uppy/transloadit: Reset `tus` key in the file on error, so retried files are re-uploaded (Artur Paikin / #4421)
+- meta: commit build file that was modified (Antoine du Hamel)
+- meta: examples: add CORS settings for DigitalOcean Spaces (Antoine du Hamel / #4428)
+- @uppy/aws-s3: deprecate `timeout` option (Antoine du Hamel / #4298)
+- @uppy/aws-s3-multipart: make retries more robust (Antoine du Hamel / #4424)
+- meta: fix badges on README (Antoine du Hamel / #4419)
+
+
 ## 3.8.0
 
 Released: 2023-04-18

+ 5 - 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.8.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.9.0/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.8.0/uppy.min.css" rel="stylesheet">
+<link href="https://releases.transloadit.com/uppy/v3.9.0/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.8.0/uppy.min.mjs"
+  import { Uppy, Dashboard, Tus } from "https://releases.transloadit.com/uppy/v3.9.0/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.8.0/uppy.legacy.min.js"></script>
+<script src="https://releases.transloadit.com/uppy/v3.9.0/uppy.legacy.min.js"></script>
 ```
 
 ## FAQ
@@ -487,3 +487,4 @@ We use Browserstack for manual testing <a href="https://www.browserstack.com" ta
 
 [The MIT License](LICENSE).
 E).
+E).

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

@@ -3,7 +3,7 @@
   <head>
     <meta charset="utf-8">
     <title>Uppy</title>
-    <link href="https://releases.transloadit.com/uppy/v3.8.0/uppy.min.css" rel="stylesheet">
+    <link href="https://releases.transloadit.com/uppy/v3.9.0/uppy.min.css" rel="stylesheet">
   </head>
   <body>
     <section class="example">
@@ -14,7 +14,7 @@
       <ol></ol>
     </div>
       <script type="module">
-        import {Uppy, DragDrop, ProgressBar, AwsS3 } from "https://releases.transloadit.com/uppy/v3.8.0/uppy.min.mjs"
+        import {Uppy, DragDrop, ProgressBar, AwsS3 } from "https://releases.transloadit.com/uppy/v3.9.0/uppy.min.mjs"
 
         // Function for displaying uploaded files
         const onUploadSuccess = (elForUploadedFiles) => (file, response) => {

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

@@ -3,7 +3,7 @@
   <head>
     <meta charset="utf-8">
     <title>Uppy – AWS upload example</title>
-    <link href="https://releases.transloadit.com/uppy/v3.8.0/uppy.min.css" rel="stylesheet">
+    <link href="https://releases.transloadit.com/uppy/v3.9.0/uppy.min.css" rel="stylesheet">
   </head>
   <body>
     <h1>AWS upload example</h1>
@@ -12,7 +12,7 @@
     <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.8.0/uppy.min.mjs"
+      import { Uppy, Dashboard, AwsS3Multipart, AwsS3 } from "https://releases.transloadit.com/uppy/v3.9.0/uppy.min.mjs"
       {
         const uppy = new Uppy()
           .use(Dashboard, {

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

+ 9 - 0
packages/@uppy/aws-s3-multipart/CHANGELOG.md

@@ -1,5 +1,14 @@
 # @uppy/aws-s3-multipart
 
+## 3.3.0
+
+Released: 2023-05-02
+Included in: Uppy v3.9.0
+
+- @uppy/aws-s3-multipart: allowedMetaFields: null means “include all” (Artur Paikin / #4437)
+- @uppy/aws-s3-multipart: add `shouldUseMultipart ` option (Antoine du Hamel / #4205)
+- @uppy/aws-s3-multipart: make retries more robust (Antoine du Hamel / #4424)
+
 ## 3.1.3
 
 Released: 2023-04-04

+ 1 - 1
packages/@uppy/aws-s3-multipart/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@uppy/aws-s3-multipart",
   "description": "Upload to Amazon S3 with Uppy and S3's Multipart upload strategy",
-  "version": "3.2.0",
+  "version": "3.3.0",
   "license": "MIT",
   "main": "lib/index.js",
   "type": "module",

+ 7 - 0
packages/@uppy/aws-s3/CHANGELOG.md

@@ -1,5 +1,12 @@
 # @uppy/aws-s3
 
+## 3.1.1
+
+Released: 2023-05-02
+Included in: Uppy v3.9.0
+
+- @uppy/aws-s3: deprecate `timeout` option (Antoine du Hamel / #4298)
+
 ## 3.0.6
 
 Released: 2023-04-04

+ 1 - 1
packages/@uppy/aws-s3/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@uppy/aws-s3",
   "description": "Upload to Amazon S3 with Uppy",
-  "version": "3.1.0",
+  "version": "3.1.1",
   "license": "MIT",
   "main": "lib/index.js",
   "type": "module",

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

@@ -1,7 +1,7 @@
 {
   "name": "@uppy/locales",
   "description": "Uppy language packs",
-  "version": "3.2.0",
+  "version": "3.2.1",
   "license": "MIT",
   "type": "module",
   "keywords": [

+ 1 - 1
packages/@uppy/status-bar/package.json

@@ -1,7 +1,7 @@
 {
   "name": "@uppy/status-bar",
   "description": "A progress bar for Uppy, with many bells and whistles.",
-  "version": "3.1.1",
+  "version": "3.1.2",
   "license": "MIT",
   "main": "lib/index.js",
   "style": "dist/style.min.css",

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

@@ -1,5 +1,12 @@
 # @uppy/transloadit
 
+## 3.1.4
+
+Released: 2023-05-02
+Included in: Uppy v3.9.0
+
+- @uppy/transloadit: Reset `tus` key in the file on error, so retried files are re-uploaded (Artur Paikin / #4421)
+
 ## 3.1.2
 
 Released: 2023-04-04

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

@@ -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": "3.1.3",
+  "version": "3.1.4",
   "license": "MIT",
   "main": "lib/index.js",
   "types": "types/index.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.8.0",
+  "version": "3.9.0",
   "license": "MIT",
   "main": "index.mjs",
   "module": "index.mjs",