Skip to content

Commit

Permalink
Release: uppy@3.0.0-beta.2 (#3868)
Browse files Browse the repository at this point in the history
| Package              |      Version | Package              |      Version |
| -------------------- | ------------ | -------------------- | ------------ |
| @uppy/companion      | 4.0.0-beta.1 | @uppy/transloadit    | 3.0.0-beta.2 |
| @uppy/locales        | 3.0.0-beta.2 | @uppy/robodog        | 3.0.0-beta.2 |
| @uppy/provider-views | 3.0.0-beta.2 | uppy                 | 3.0.0-beta.2 |

- example: fix `custom-provider` example (Antoine du Hamel / #3854)
- example: fix Vue3 example (Antoine du Hamel / #3774)
- @uppy/companion: remove deprecated duplicated metrics (Mikael Finstad / #3833)
- example: update CDN example (Antoine du Hamel / #3803)
- @uppy/companion: Companion 3 default to no s3 acl (Mikael Finstad / #3826)
- @uppy/companion: rewrite companion.app() to return an object (Mikael Finstad / #3827)
- @uppy/companion: remove companion provider compat api (Mikael Finstad / #3828)
- @uppy/companion: rewrite code for node >=14 (Mikael Finstad / #3829)
- @uppy/companion: remove chunkSize backwards compatibility (Mikael Finstad / #3830)
- @uppy/companion: Companion: make `emitSuccess` and `emitError` private (Mikael Finstad / #3832)
- @uppy/companion: do not use a default upload protocol (Mikael Finstad / #3834)
  • Loading branch information
github-actions[bot] committed Jul 6, 2022
1 parent 4bdfbe7 commit 73388f0
Show file tree
Hide file tree
Showing 24 changed files with 81 additions and 44 deletions.
2 changes: 1 addition & 1 deletion 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.0.0-beta.1/uppy.min.js"></script>`) or bundle it with your webapp.
this from a CDN (`<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/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
23 changes: 23 additions & 0 deletions CHANGELOG.md
Expand Up @@ -12,6 +12,29 @@ Please add your entries in this format:

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

## 3.0.0-beta.2

Released: 2022-07-06

| Package | Version | Package | Version |
| -------------------- | ------------ | -------------------- | ------------ |
| @uppy/companion | 4.0.0-beta.1 | @uppy/transloadit | 3.0.0-beta.2 |
| @uppy/locales | 3.0.0-beta.2 | @uppy/robodog | 3.0.0-beta.2 |
| @uppy/provider-views | 3.0.0-beta.2 | uppy | 3.0.0-beta.2 |

- example: fix `custom-provider` example (Antoine du Hamel / #3854)
- example: fix Vue3 example (Antoine du Hamel / #3774)
- @uppy/companion: remove deprecated duplicated metrics (Mikael Finstad / #3833)
- example: update CDN example (Antoine du Hamel / #3803)
- @uppy/companion: Companion 3 default to no s3 acl (Mikael Finstad / #3826)
- @uppy/companion: rewrite companion.app() to return an object (Mikael Finstad / #3827)
- @uppy/companion: remove companion provider compat api (Mikael Finstad / #3828)
- @uppy/companion: rewrite code for node >=14 (Mikael Finstad / #3829)
- @uppy/companion: remove chunkSize backwards compatibility (Mikael Finstad / #3830)
- @uppy/companion: Companion: make `emitSuccess` and `emitError` private (Mikael Finstad / #3832)
- @uppy/companion: do not use a default upload protocol (Mikael Finstad / #3834)


## 3.0.0-beta.1

Released: 2022-06-09
Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -67,18 +67,18 @@ const uppy = new Uppy({ autoProceed: false })
$ npm install @uppy/core @uppy/dashboard @uppy/tus
```

Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v3.0.0-beta.1/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.0.0-beta.2/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.0.0-beta.1/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css" rel="stylesheet">

<!-- 2. Add JS before the closing `</body>` -->
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>

<!-- 3. Initialize -->
<div class="UppyDragDrop"></div>
Expand Down Expand Up @@ -184,7 +184,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.0.0-beta.1/uppy.legacy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.legacy.min.js"></script>
```
## FAQ
Expand Down
6 changes: 3 additions & 3 deletions examples/cdn-example/index.html
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.0.0-beta.1/uppy.min.css" rel="stylesheet" />
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/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.0.0-beta.1/uppy.min.mjs";
} from "https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.mjs";

const uppy = new Core.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.0.0-beta.1/uppy.legacy.min.js"></script>
<script nomodule src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.legacy.min.js"></script>
<script nomodule>
{
const { Core, Dashboard, Webcam, Tus } = Uppy;
Expand Down
2 changes: 1 addition & 1 deletion examples/transloadit-textarea/index.html
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/robodog.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.css">
<style>
body {
font-family: Roboto, Open Sans;
Expand Down
4 changes: 2 additions & 2 deletions examples/uppy-with-companion/client/index.html
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/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
<script>
const uppy = new Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })
Expand Down
14 changes: 14 additions & 0 deletions packages/@uppy/companion/CHANGELOG.md
@@ -1,5 +1,19 @@
# @uppy/companion

## 4.0.0-beta.1

Released: 2022-07-06
Included in: Uppy v3.0.0-beta.2

- @uppy/companion: remove deprecated duplicated metrics (Mikael Finstad / #3833)
- @uppy/companion: Companion 3 default to no s3 acl (Mikael Finstad / #3826)
- @uppy/companion: rewrite companion.app() to return an object (Mikael Finstad / #3827)
- @uppy/companion: remove companion provider compat api (Mikael Finstad / #3828)
- @uppy/companion: rewrite code for node >=14 (Mikael Finstad / #3829)
- @uppy/companion: remove chunkSize backwards compatibility (Mikael Finstad / #3830)
- @uppy/companion: Companion: make `emitSuccess` and `emitError` private (Mikael Finstad / #3832)
- @uppy/companion: do not use a default upload protocol (Mikael Finstad / #3834)

## 4.0.0-beta

Released: 2022-05-30
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/companion/package.json
@@ -1,6 +1,6 @@
{
"name": "@uppy/companion",
"version": "4.0.0-beta",
"version": "4.0.0-beta.1",
"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",
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/locales/package.json
@@ -1,7 +1,7 @@
{
"name": "@uppy/locales",
"description": "Uppy language packs",
"version": "3.0.0-beta.1",
"version": "3.0.0-beta.2",
"license": "MIT",
"type": "module",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/provider-views/package.json
@@ -1,7 +1,7 @@
{
"name": "@uppy/provider-views",
"description": "View library for Uppy remote provider plugins.",
"version": "3.0.0-beta.1",
"version": "3.0.0-beta.2",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
Expand Down
4 changes: 2 additions & 2 deletions packages/@uppy/robodog/README.md
Expand Up @@ -18,8 +18,8 @@ $ npm install @uppy/robodog
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/v3.0.0-beta.1/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/robodog.min.js"></script>
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/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
@@ -1,7 +1,7 @@
{
"name": "@uppy/robodog",
"description": "Transloadit SDK for browsers based on Uppy",
"version": "3.0.0-beta.1",
"version": "3.0.0-beta.2",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion 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.0.0-beta.1",
"version": "3.0.0-beta.2",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion 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.0.0-beta.1",
"version": "3.0.0-beta.2",
"license": "MIT",
"main": "index.mjs",
"module": "index.mjs",
Expand Down
10 changes: 5 additions & 5 deletions website/src/docs/index.md
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/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css" rel="stylesheet">
</head>
<body>
<div id="drag-drop-area"></div>

<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/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/v3.0.0-beta.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
```

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

```html
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/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.0.0-beta.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
```
4 changes: 2 additions & 2 deletions website/src/docs/locales.md
Expand Up @@ -34,8 +34,8 @@ 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.0.0-beta.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v3.0.0-beta.1/de_DE.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v3.0.0-beta.2/de_DE.min.js"></script>

<script>
var uppy = new Uppy.Core({
Expand Down
6 changes: 3 additions & 3 deletions website/src/docs/migration-guides.md
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/v3.0.0-beta.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js"></script>

<!-- Legacy browsers (IE11+) -->
<script nomodule src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.legacy.min.js"></script>
<script type="module">import "https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js";</script>
<script nomodule src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.legacy.min.js"></script>
<script type="module">import "https://releases.transloadit.com/uppy/v3.0.0-beta.2/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
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/v3.0.0-beta.1/robodog.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/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/v3.0.0-beta.1/robodog.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/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/v3.0.0-beta.1/robodog.min.js"></script>
<script src="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/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
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/v3.0.0-beta.1/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/robodog.min.js"></script>
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/robodog.min.js"></script>
<!-- you can now use: window.Robodog.pick() -->
```

Expand Down
2 changes: 1 addition & 1 deletion website/src/examples/dashboard/app.es6
Expand Up @@ -242,7 +242,7 @@ function loadLocaleFromCDN (localeName) {
const head = document.getElementsByTagName('head')[0]
const js = document.createElement('script')
js.type = 'text/javascript'
js.src = `https://releases.transloadit.com/uppy/locales/v3.0.0-beta.1/${localeName}.min.js`
js.src = `https://releases.transloadit.com/uppy/locales/v3.0.0-beta.2/${localeName}.min.js`

head.appendChild(js)
}
Expand Down
8 changes: 4 additions & 4 deletions 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.0.0-beta.1/uppy.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css">

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

<!-- Load Uppy JS bundle. -->
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js" type="module"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.legacy.min.js" nomodule></script>
<script src="https://releases.transloadit.com/uppy/locales/v3.0.0-beta.1/ru_RU.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js" type="module"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.legacy.min.js" nomodule></script>
<script src="https://releases.transloadit.com/uppy/locales/v3.0.0-beta.2/ru_RU.min.js"></script>
<script>
window.addEventListener('DOMContentLoaded', function () {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion website/src/examples/markdown-snippets/app.es6
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/v3.0.0-beta.1/robodog.min.js"></script>
// <script src="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/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
@@ -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/v3.0.0-beta.1/robodog.min.css"> -->
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.2/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
6 changes: 3 additions & 3 deletions website/themes/uppy/layout/index.ejs
Expand Up @@ -187,9 +187,9 @@
<p<%- date(Date.now(), 'YYYY') %> <a href="https://transloadit.com" target="_blank">Transloadit</a></p>
</footer>

<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js" type="module"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.legacy.min.js" nomodule></script>
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.css" rel="stylesheet">
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.min.js" type="module"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.2/uppy.legacy.min.js" nomodule></script>

<script>
window.addEventListener('DOMContentLoaded', function() {
Expand Down

0 comments on commit 73388f0

Please sign in to comment.