Commit graph

8812 commits

Author SHA1 Message Date
Antoine du Hamel
3be8564b89
@uppy/companion: remove support for EOL versions of Node.js (#3784)
Node.js 10.x is EOL since 2021-04-31.
Node.js 11.x is EOL since 2019-06-01.
Node.js 12.x is EOL since 2022-04-30.
Node.js 13.x is EOL since 2020-06-01.
Node.js 15.x is EOL since 2021-06-01.
Node.js 17.x is EOL since 2022-06-01.
2022-05-30 18:33:00 +02:00
Antoine du Hamel
b4e5d86370
@uppy/react: refactor to ESM (#3780) 2022-05-30 18:33:00 +02:00
Antoine du Hamel
c223a1f204
@uppy/transloadit: remove IE 10 hack (#3777) 2022-05-30 18:32:53 +02:00
Antoine du Hamel
588b909069 meta: add GHA workflow for prereleases 2022-05-30 18:29:51 +02:00
github-actions[bot]
3f34af100b
Release: uppy@2.11.0 (#3796)
| Package                   | Version | Package                   | Version |
| ------------------------- | ------- | ------------------------- | ------- |
| @uppy/angular             |   0.3.1 | @uppy/progress-bar        |   2.1.1 |
| @uppy/audio               |   0.3.2 | @uppy/provider-views      |   2.1.1 |
| @uppy/aws-s3              |   2.2.0 | @uppy/react               |   2.2.1 |
| @uppy/aws-s3-multipart    |   2.4.0 | @uppy/react-native        |   0.3.1 |
| @uppy/box                 |   1.0.7 | @uppy/redux-dev-tools     |   2.1.0 |
| @uppy/companion           |   3.6.0 | @uppy/screen-capture      |   2.1.1 |
| @uppy/companion-client    |   2.2.0 | @uppy/status-bar          |   2.2.1 |
| @uppy/compressor          |   0.3.0 | @uppy/store-default       |   2.1.0 |
| @uppy/core                |   2.3.0 | @uppy/store-redux         |   2.1.0 |
| @uppy/dashboard           |   2.3.0 | @uppy/thumbnail-generator |   2.2.0 |
| @uppy/drag-drop           |   2.1.1 | @uppy/transloadit         |   2.3.0 |
| @uppy/dropbox             |   2.0.7 | @uppy/tus                 |   2.4.0 |
| @uppy/facebook            |   2.0.7 | @uppy/unsplash            |   2.1.0 |
| @uppy/file-input          |   2.1.1 | @uppy/url                 |   2.1.1 |
| @uppy/form                |   2.0.6 | @uppy/utils               |   4.1.0 |
| @uppy/golden-retriever    |   2.1.0 | @uppy/vue                 |   0.4.8 |
| @uppy/google-drive        |   2.1.1 | @uppy/webcam              |   2.2.1 |
| @uppy/image-editor        |   1.3.0 | @uppy/xhr-upload          |   2.1.1 |
| @uppy/informer            |   2.1.0 | @uppy/zoom                |   1.1.1 |
| @uppy/instagram           |   2.1.1 | @uppy/robodog             |   2.7.0 |
| @uppy/onedrive            |   2.1.1 | uppy                      |  2.11.0 |

- doc: update bundler recommendation (Antoine du Hamel / #3763)
- @uppy/aws-s3-multipart: refactor to ESM (Antoine du Hamel / #3672)
- @uppy/aws-s3: fix JSDoc type error (Antoine du Hamel / #3785)
- @uppy/aws-s3: refactor to ESM (Antoine du Hamel / #3673)
- @uppy/companion-client: Revert "Revert "@uppy/companion-client: refactor to ESM"" (Antoine du Hamel / #3730)
- @uppy/companion: expire redis keys after 1 day (Mikael Finstad / #3771)
- @uppy/companion: fix some linter warnings (Antoine du Hamel / #3752)
- @uppy/compressor: Fix Compressor docs, pass files array to compressor:complete event (Artur Paikin / #3682)
- @uppy/core: refactor to ESM (Antoine du Hamel / #3744)
- @uppy/dashboard: refactor to ESM (Antoine du Hamel / #3701)
- @uppy/dashboard: use webkitRelativePath when querying a file's relative path (Eduard Müller / taktik / #3766)
- @uppy/golden-retriever: refactor to ESM (Antoine du Hamel / #3731)
- @uppy/image-editor: remove CJS-interop hack in the source code (Antoine du Hamel / #3778)
- @uppy/informer: @uppy/Informer: refactor to ESM (Antoine du Hamel / #3732)
- @uppy/informer: remove remaining `require` call (Antoine du Hamel / #3737)
- @uppy/provider-views: Add onKeyPress event handler to capture e.shiftKey, unavailable in onChange (Artur Paikin / #3768)
- @uppy/redux-dev-tools: refactor to ESM (Antoine du Hamel / #3733)
- @uppy/screen-capture: don't install when unsupported (Artur Paikin / #3795)
- @uppy/store-default: refactor to ESM (Antoine du Hamel / #3746)
- @uppy/store-redux: refactor to ESM (Antoine du Hamel / #3745)
- @uppy/thumbnail-generator: refactor to ESM (Antoine du Hamel / #3734)
- @uppy/transloadit: refactor to ESM (Antoine du Hamel / #3725)
- @uppy/transloadit: transloadit: propagate error details when creating Assembly fails (Renée Kooi / #3794)
- @uppy/tus: Add `onShouldRetry` as option to @uppy/tus (Merlijn Vos / #3720)
- @uppy/tus: fix broken import (Antoine du Hamel / #3729)
- @uppy/tus: fixup! @uppy/tus: wait for user promise on beforeRequest (Antoine du Hamel / #3712)
- @uppy/tus: wait for user promise on beforeRequest (Antoine du Hamel / #3712)
- @uppy/unsplash: refactor to ESM (Antoine du Hamel / #3728)
- @uppy/utils: refactor to ESM (Antoine du Hamel / #3721)
- dev: fix dev env Vite's config (Antoine du Hamel)
- dev: fix return type of generateSignatureIfSecret (Renée Kooi / #3793)
- dev: remove `vite-plugin-jsx-commonjs` plugin on dev env (Antoine du Hamel / #3749)
- dev: remove CJS-related hack in `build:locale-pack` script (Antoine du Hamel / #3764)
- meta: e2e: run CI on PRs that modify the workflow file (Antoine du Hamel / #3740)
- meta: fix linter warnings (Antoine du Hamel / #3753)
- meta: fix more linter warnings (Antoine du Hamel / #3757)
- meta: resolve warnings in `.d.ts` files (Antoine du Hamel / #3754)
- meta: uppy: add Zoom plugin to the bundle and fix ESM exports (Antoine du Hamel / #3747)
- test: Apply bin/update-yarn.sh (Merlijn Vos / #3775)
- test: fix e2e dependency conflict (Merlijn Vos / #3779)
- test: fixup! e2e: run CI on PRs that modify the workflow file (Antoine du Hamel / #3740)
- test: prepare internal script files for lint rune hardening (Antoine du Hamel / #3760)
- test: prepare test files for lint rule hardening (Antoine du Hamel / #3761)
- test: Setup Cypress Dashboard (Merlijn Vos / #3691)
- test: split Companion CI between Node.js legacy and supported versions (Antoine du Hamel / #3776)
- website: disable linter warnings (Antoine du Hamel / #3759)
2022-05-30 17:17:28 +01:00
Renée Kooi
3121fae11b
transloadit: propagate error details when creating Assembly fails (#3794)
* transloadit: propagate error details when creating Assembly fails

Clients are expected to use `error.assembly` to inspect details about
failed Assemblies, but then we do need to always give that property
back.

I think we should have a test for this but not sure how to approach it,
since it depends on responses from the Transloadit API. I guess we'd
require a new e2e test for it?

* Apply suggestions from code review

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-05-30 16:50:30 +01:00
Artur Paikin
91e6ed2f99
@uppy/screen-capture: don't install when unsupported (#3795)
* Improve screen recording check: mediaDevices supprted on mobile, getDisplayMedia is not

* Update docs, mentioing getDisplayMedia
2022-05-30 16:49:00 +01:00
Artur Paikin
b9317b47dc Backlog: Tick 3.0 todos 2022-05-30 16:02:23 +01:00
Renée Kooi
1856401153
dev: fix return type of generateSignatureIfSecret (#3793) 2022-05-30 14:44:06 +02:00
Antoine du Hamel
bad2fa7ca2
@uppy/aws-s3: fix JSDoc type error (#3785) 2022-05-30 14:12:44 +02:00
Antoine du Hamel
6b8a16bb35
uppy: add Zoom plugin to the bundle and fix ESM exports (#3747)
Fixes: https://github.com/transloadit/uppy/issues/3684
2022-05-27 09:45:46 +01:00
Antoine du Hamel
29e8fffac1
@uppy/companion: fix some linter warnings (#3752) 2022-05-26 10:20:18 +02:00
Mikael Finstad
5bd5d38b0e
expire redis keys after 1 day (#3771)
* expire redis keys after 1 day

to prevent buildup in redis
fixes #3748

* reuse redis config logic

* Update packages/@uppy/companion/src/server/Uploader.js

Co-authored-by: Tim Koschuetzki <tim-kos@users.noreply.github.com>

Co-authored-by: Tim Koschuetzki <tim-kos@users.noreply.github.com>
2022-05-26 13:19:46 +07:00
Eduard Müller / taktik
2f0b39b8dc
@uppy/dashboard: use webkitRelativePath when querying a file's relative path (#3766)
- fixes missing "relativePath" meta property when adding files via the "Browse Folder" link in the dashboard with Chrome or Edge
2022-05-25 12:16:49 +02:00
Merlijn Vos
62b2cbd702
meta: fix e2e dependency conflict (#3779)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-05-24 13:42:45 +02:00
Merlijn Vos
afe5d1b19b
Apply bin/update-yarn.sh (#3775) 2022-05-24 12:45:55 +02:00
Antoine du Hamel
e3c43397e4
meta: split Companion CI between Node.js legacy and supported versions (#3776)
* meta: split Companion CI between Node.js legacy and supported versions
* start testing on 18.x
2022-05-24 12:11:26 +02:00
Antoine du Hamel
6f9813d9b2
doc: update bundler recommendation (#3763)
With the switch to ESM, Browserify will no longer work with Uppy.
Instead, let's recommend bundlers that we actually test with.
2022-05-23 19:41:37 +02:00
Merlijn Vos
b345763710
Setup Cypress Dashboard (#3691) 2022-05-23 18:05:39 +02:00
Antoine du Hamel
2cbd762627
@uppy/image-editor: remove CJS-interop hack in the source code (#3778) 2022-05-23 17:14:52 +02:00
Antoine du Hamel
b01a52e368
meta: remove vite-plugin-jsx-commonjs plugin on dev env (#3749)
Now that we removed all JSX and CJS from `.js` files,
there's no need to run Babel on every files, which speeds up greatly the
time it takes for Vite to get ready.
2022-05-23 16:50:45 +02:00
Artur Paikin
ae9745dc9e
Add onKeyPress event handler to capture e.shiftKey, unavailable in onChange (#3768) 2022-05-23 14:39:03 +01:00
Antoine du Hamel
f10745ec27
meta: remove CJS-related hack in build:locale-pack script (#3764) 2022-05-23 12:02:47 +02:00
Antoine du Hamel
5a8a8d35be
meta: prepare test files for lint rule hardening (#3761) 2022-05-23 12:02:19 +02:00
Antoine du Hamel
bf1489edd1
meta: prepare internal script files for lint rune hardening (#3760) 2022-05-23 11:59:22 +02:00
Antoine du Hamel
b8e1f9c995
@uppy/utils: refactor to ESM (#3721) 2022-05-23 09:40:50 +02:00
Antoine du Hamel
456c2b7422
@uppy/core: refactor to ESM (#3744) 2022-05-20 11:04:09 +02:00
Antoine du Hamel
0d7a7a6bc1
website: disable linter warnings (#3759) 2022-05-19 20:02:55 +02:00
Antoine du Hamel
797e171179
meta: fix more linter warnings (#3757) 2022-05-19 17:15:38 +02:00
Antoine du Hamel
0b3713c2e6
meta: fix linter warnings (#3753) 2022-05-19 11:57:14 +02:00
Antoine du Hamel
dbd271e714
meta: resolve warnings in .d.ts files (#3754) 2022-05-19 11:52:28 +02:00
Artur Paikin
b0e01ff082
Fix Compressor docs, pass files array to compressor:complete event (#3682)
* Fix Compressor docs

* Remove unused test commands

* Add note that all options are passed

* Add event to types

* Update website/src/docs/compressor.md

Co-authored-by: Merlijn Vos <merlijn@soverin.net>

* Update packages/@uppy/compressor/types/index.d.ts

Co-authored-by: Merlijn Vos <merlijn@soverin.net>

* add files array as callback to compressor:complete

Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2022-05-18 19:29:08 +01:00
Antoine du Hamel
888fc83ee2
Revert "Revert "@uppy/companion-client: refactor to ESM"" (#3730)
This reverts commit 837bf04620.
2022-05-18 10:20:58 +02:00
Antoine du Hamel
327509a7dc
@uppy/dashboard: refactor to ESM (#3701) 2022-05-18 10:17:27 +02:00
Antoine du Hamel
32d58875dd fixup! @uppy/tus: wait for user promise on beforeRequest (#3712) 2022-05-17 18:22:01 +02:00
Antoine du Hamel
440f3ae2ee
@uppy/store-default: refactor to ESM (#3746) 2022-05-17 17:37:44 +02:00
Antoine du Hamel
538c37b639
@uppy/store-redux: refactor to ESM (#3745) 2022-05-17 17:37:07 +02:00
Antoine du Hamel
77aacf198c
@uppy/tus: wait for user promise on beforeRequest (#3712)
Fixes: https://github.com/transloadit/uppy/issues/3710
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2022-05-17 17:08:59 +02:00
Merlijn Vos
7d7c4dd5ad
Add onShouldRetry as option to @uppy/tus (#3720)
- Add `onShouldRetry` as option to @uppy/tus
  - Docs
  - Types
  - E2E test
- Remove bad flaky test

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-05-17 16:38:50 +02:00
Antoine du Hamel
3f5a03f504
@uppy/transloadit: refactor to ESM (#3725) 2022-05-17 15:17:50 +02:00
Antoine du Hamel
2a1b178798 fixup! e2e: run CI on PRs that modify the workflow file (#3740) 2022-05-17 14:58:28 +02:00
Antoine du Hamel
4aba0cd847
@uppy/golden-retriever: refactor to ESM (#3731) 2022-05-16 17:00:05 +02:00
Antoine du Hamel
0f2e337ae9
@uppy/aws-s3-multipart: refactor to ESM (#3672) 2022-05-16 16:20:35 +02:00
Antoine du Hamel
af5de36f9e
@uppy/aws-s3: refactor to ESM (#3673) 2022-05-16 16:19:28 +02:00
Antoine du Hamel
f325fb2163
e2e: run CI on PRs that modify the workflow file (#3740)
…and add the option to skip build when spawning e2e locally
2022-05-16 15:35:03 +02:00
Antoine du Hamel
1edf97085e
@uppy/informer: remove remaining require call (#3737)
Left over from https://github.com/transloadit/uppy/pull/3732
2022-05-16 12:51:48 +02:00
Antoine du Hamel
5a2dd50d6c
@uppy/thumbnail-generator: refactor to ESM (#3734) 2022-05-16 12:30:56 +02:00
Antoine du Hamel
c08841d0bd
@uppy/redux-dev-tools: refactor to ESM (#3733) 2022-05-16 12:30:45 +02:00
Antoine du Hamel
139b66b131
@uppy/Informer: refactor to ESM (#3732) 2022-05-16 12:30:34 +02:00
Antoine du Hamel
3d67029a04
@uppy/unsplash: refactor to ESM (#3728) 2022-05-16 12:25:31 +02:00