Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: uppy@3.0.0-beta.1 #3822

Merged
merged 23 commits into from Jun 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
6a509df
doc: fix React examples (#3799)
aduh95 May 31, 2022
cea6b73
@uppy/tus: make onShouldRetry type optional (#3800)
Murderlon May 31, 2022
7386cc9
@uppy/url: fix `getFileNameFromUrl` (#3804)
bradedelman Jun 1, 2022
a8726ba
@uppy/url: enable passing optional meta data to `addFile` (#3788)
bradedelman Jun 2, 2022
6514e43
@uppy/aws-s3-multipart: allow `companionHeaders` to be modified with …
plneto Jun 2, 2022
55ae764
meta: fix GHA workflow for prereleases
aduh95 Jun 2, 2022
4527b2f
@uppy/robodog: fix linter warnings (#3808)
aduh95 Jun 6, 2022
76751f6
@uppy/core: fix `TypeError` when file was deleted (#3811)
aduh95 Jun 7, 2022
aa1ecd4
@uppy/xhr-upload: replace `ev.target.status` with `xhr.status` (#3782)
weston-sankey-mark43 Jun 7, 2022
df15292
queue socket token requests for remote files (#3797)
Murderlon Jun 7, 2022
2c05d51
Reset uppy instance when React component is unmounted (#3814)
tomekp Jun 7, 2022
9a59711
Add @uppy/remote-sources preset/plugin (#3676)
arturi Jun 7, 2022
a95e723
Release: uppy@2.12.0 (#3816)
github-actions[bot] Jun 7, 2022
9acac67
meta: fix URL generation in the release script
aduh95 Jun 7, 2022
6355c23
@uppy/transloadit: fix `COMPANION_PATTERN` export (#3820)
aduh95 Jun 9, 2022
8f8f0e2
Release: uppy@2.12.1 (#3821)
github-actions[bot] Jun 9, 2022
5a09823
meta: fix hard-coded branch name in release script
aduh95 Jun 9, 2022
17f8deb
meta: do not rebase when preparing beta candidates
aduh95 Jun 9, 2022
33330f6
fixup! meta: do not rebase when preparing beta candidates
aduh95 Jun 9, 2022
ef8c5cc
fixup! meta: do not rebase when preparing beta candidates
aduh95 Jun 9, 2022
a6029d0
Merge stable branch
aduh95 Jun 9, 2022
4ac54a3
Release: uppy@3.0.0-beta.1
aduh95 Jun 9, 2022
8782ac3
Delete CHANGELOG.md
aduh95 Jun 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions .eslintrc.js
Expand Up @@ -197,8 +197,8 @@ module.exports = {

// Packages that have switched to ESM sources:
'packages/@uppy/audio/src/**/*.js',
'packages/@uppy/aws-s3/src/**/*.js',
'packages/@uppy/aws-s3-multipart/src/**/*.js',
'packages/@uppy/aws-s3/src/**/*.js',
'packages/@uppy/box/src/**/*.js',
'packages/@uppy/companion-client/src/**/*.js',
'packages/@uppy/compressor/src/**/*.js',
Expand All @@ -222,16 +222,17 @@ module.exports = {
'packages/@uppy/provider-views/src/**/*.js',
'packages/@uppy/react/src/**/*.js',
'packages/@uppy/redux-dev-tools/src/**/*.js',
'packages/@uppy/remote-sources/src/**/*.js',
'packages/@uppy/screen-capture/src/**/*.js',
'packages/@uppy/status-bar/src/**/*.js',
'packages/@uppy/store-default/src/**/*.js',
'packages/@uppy/store-redux/src/**/*.js',
'packages/@uppy/svelte/src/**/*.js',
'packages/@uppy/svelte/rollup.config.js',
'packages/@uppy/svelte/src/**/*.js',
'packages/@uppy/thumbnail-generator/src/**/*.js',
'packages/@uppy/transloadit/src/**/*.js',
'packages/@uppy/tus/src/**/*.js',
'packages/@uppy/unsplash/src/**/*.js',
'packages/@uppy/transloadit/src/**/*.js',
'packages/@uppy/url/src/**/*.js',
'packages/@uppy/utils/src/**/*.js',
'packages/@uppy/vue/src/**/*.js',
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/release-beta-candidate.yml
Expand Up @@ -14,13 +14,8 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3
with:
branch: release
- name: Rebase
run: |
git fetch origin ${{ env.BETA_BRANCH }} --depth=1
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git rebase FETCH_HEAD
branch: release-beta
fetch-depth: 3 # the prepare commit, the merge commit, and the base ones.
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)"
Expand Down Expand Up @@ -56,6 +51,8 @@ jobs:
echo "This is a release candidate for the following packages:" >> commitMessage
echo >> commitMessage
jq -r 'map("- `"+.ident+"`: "+.oldVersion+" -> "+.newVersion) | join("\n") ' < releases.json >> commitMessage
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git commit -n --amend --file commitMessage
- name: Open Pull Request
id: pr_opening
Expand Down
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/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.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
75 changes: 75 additions & 0 deletions CHANGELOG.md
Expand Up @@ -12,6 +12,40 @@ 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.1

Released: 2022-06-09

| Package | Version | Package | Version |
| ------------------------- | ------------ | ------------------------- | ------------ |
| uppy | 3.0.0-beta.1 | @uppy/google-drive | 3.0.0-beta.1 |
| @uppy/audio | 1.0.0-beta.1 | @uppy/informer | 3.0.0-beta.1 |
| @uppy/box | 2.0.0-beta.1 | @uppy/instagram | 3.0.0-beta.1 |
| @uppy/compressor | 1.0.0-beta.1 | @uppy/locales | 3.0.0-beta.1 |
| @uppy/drop-target | 2.0.0-beta.1 | @uppy/onedrive | 3.0.0-beta.1 |
| @uppy/image-editor | 2.0.0-beta.1 | @uppy/progress-bar | 3.0.0-beta.1 |
| @uppy/remote-sources | 1.0.0-beta.1 | @uppy/provider-views | 3.0.0-beta.1 |
| @uppy/svelte | 2.0.0-beta.1 | @uppy/react | 3.0.0-beta.1 |
| @uppy/vue | 1.0.0-beta.1 | @uppy/redux-dev-tools | 3.0.0-beta.1 |
| @uppy/zoom | 2.0.0-beta.1 | @uppy/robodog | 3.0.0-beta.1 |
| @uppy/aws-s3 | 3.0.0-beta.1 | @uppy/screen-capture | 3.0.0-beta.1 |
| @uppy/aws-s3-multipart | 3.0.0-beta.1 | @uppy/status-bar | 3.0.0-beta.1 |
| @uppy/companion-client | 3.0.0-beta.1 | @uppy/store-default | 3.0.0-beta.1 |
| @uppy/core | 3.0.0-beta.1 | @uppy/store-redux | 3.0.0-beta.1 |
| @uppy/dashboard | 3.0.0-beta.1 | @uppy/thumbnail-generator | 3.0.0-beta.1 |
| @uppy/drag-drop | 3.0.0-beta.1 | @uppy/transloadit | 3.0.0-beta.1 |
| @uppy/dropbox | 3.0.0-beta.1 | @uppy/tus | 3.0.0-beta.1 |
| @uppy/facebook | 3.0.0-beta.1 | @uppy/unsplash | 3.0.0-beta.1 |
| @uppy/file-input | 3.0.0-beta.1 | @uppy/url | 3.0.0-beta.1 |
| @uppy/form | 3.0.0-beta.1 | @uppy/webcam | 3.0.0-beta.1 |
| @uppy/golden-retriever | 3.0.0-beta.1 | @uppy/xhr-upload | 3.0.0-beta.1 |

- meta: improve release process for beta branch (Antoine du Hamel / #3809)
- uppy: refactor to ESM (Antoine du Hamel / #3807)
- @uppy/core,@uppy/dashboard: fix types for some events (Antoine du Hamel / #3812)
- example: update Vue2 example (Antoine du Hamel / #3802)


## 3.0.0-beta

Released: 2022-05-30
Expand Down Expand Up @@ -50,6 +84,47 @@ Released: 2022-05-30
- @uppy/transloadit: remove IE 10 hack (Antoine du Hamel / #3777)


## 2.12.1

Released: 2022-06-09

| Package | Version | Package | Version |
| ----------------- | ------- | ----------------- | ------- |
| @uppy/transloadit | 2.3.1 | uppy | 2.12.1 |
| @uppy/robodog | 2.8.1 | | |

- @uppy/transloadit: fix `COMPANION_PATTERN` export (Antoine du Hamel / #3820)
- meta: fix URL generation in the release script (Antoine du Hamel)


## 2.12.0

Released: 2022-06-07

| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3 | 2.2.1 | @uppy/tus | 2.4.1 |
| @uppy/aws-s3-multipart | 2.4.1 | @uppy/url | 2.2.0 |
| @uppy/companion-client | 2.2.1 | @uppy/xhr-upload | 2.1.2 |
| @uppy/core | 2.3.1 | @uppy/robodog | 2.8.0 |
| @uppy/react | 2.2.2 | uppy | 2.12.0 |
| @uppy/remote-sources | 0.1.0 | | |

- @uppy/remote-sources: Add @uppy/remote-sources preset/plugin (Artur Paikin / #3676)
- @uppy/react: Reset uppy instance when React component is unmounted (Tomasz Pęksa / #3814)
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/tus: queue socket token requests for remote files (Merlijn Vos / #3797)
- @uppy/xhr-upload: replace `ev.target.status` with `xhr.status` (Wes Sankey / #3782)
- @uppy/core: fix `TypeError` when file was deleted (Antoine du Hamel / #3811)
- @uppy/robodog: fix linter warnings (Antoine du Hamel / #3808)
- meta: fix GHA workflow for prereleases (Antoine du Hamel)
- @uppy/aws-s3-multipart: allow `companionHeaders` to be modified with `setOptions` (Paulo Lemos Neto / #3770)
- @uppy/url: enable passing optional meta data to `addFile` (Brad Edelman / #3788)
- @uppy/url: fix `getFileNameFromUrl` (Brad Edelman / #3804)
- @uppy/tus: make onShouldRetry type optional (Merlijn Vos / #3800)
- doc: fix React examples (Antoine du Hamel / #3799)
- meta: add GHA workflow for prereleases (Antoine du Hamel)


## 2.11.0

Released: 2022-05-30
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/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.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.0.0-beta/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">

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

## FAQ
Expand Down
4 changes: 2 additions & 2 deletions examples/cdn-example/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/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
<script>
const uppy = new Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })
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/robodog.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v3.0.0-beta.1/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/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v3.0.0-beta.1/uppy.min.js"></script>
<script>
const uppy = new Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/audio/package.json
@@ -1,7 +1,7 @@
{
"name": "@uppy/audio",
"description": "Uppy plugin that records audio using the device’s microphone.",
"version": "3.0.0-beta",
"version": "1.0.0-beta.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
Expand Down
8 changes: 8 additions & 0 deletions packages/@uppy/aws-s3-multipart/CHANGELOG.md
@@ -1,5 +1,13 @@
# @uppy/aws-s3-multipart

## 2.4.1

Released: 2022-06-07
Included in: Uppy v2.12.0

- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/tus: queue socket token requests for remote files (Merlijn Vos / #3797)
- @uppy/aws-s3-multipart: allow `companionHeaders` to be modified with `setOptions` (Paulo Lemos Neto / #3770)

## 2.4.0

Released: 2022-05-30
Expand Down
2 changes: 1 addition & 1 deletion 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.0.0-beta",
"version": "3.0.0-beta.1",
"license": "MIT",
"main": "lib/index.js",
"type": "module",
Expand Down