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
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
Antoine du Hamel
bad2fa7ca2
@uppy/aws-s3: fix JSDoc type error ( #3785 )
2022-05-30 14:12:44 +02: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
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
Antoine du Hamel
2cbd762627
@uppy/image-editor: remove CJS-interop hack in the source code ( #3778 )
2022-05-23 17:14:52 +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
5a8a8d35be
meta: prepare test files for lint rule hardening ( #3761 )
2022-05-23 12:02:19 +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
797e171179
meta: fix more linter warnings ( #3757 )
2022-05-19 17:15:38 +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
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
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
Antoine du Hamel
b5d55b4912
@uppy/tus: fix broken import ( #3729 )
2022-05-16 11:58:47 +02:00
github-actions[bot]
74f3d4d5de
Release: uppy@2.10.0 ( #3727 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/audio | 0.3.1 | @uppy/provider-views | 2.1.0 |
| @uppy/aws-s3 | 2.1.0 | @uppy/react | 2.2.0 |
| @uppy/aws-s3-multipart | 2.3.0 | @uppy/react-native | 0.3.0 |
| @uppy/companion-client | 2.1.0 | @uppy/screen-capture | 2.1.0 |
| @uppy/core | 2.2.0 | @uppy/status-bar | 2.2.0 |
| @uppy/dashboard | 2.2.0 | @uppy/svelte | 1.0.8 |
| @uppy/drag-drop | 2.1.0 | @uppy/transloadit | 2.2.0 |
| @uppy/file-input | 2.1.0 | @uppy/tus | 2.3.0 |
| @uppy/google-drive | 2.1.0 | @uppy/url | 2.1.0 |
| @uppy/image-editor | 1.2.0 | @uppy/webcam | 2.2.0 |
| @uppy/instagram | 2.1.0 | @uppy/xhr-upload | 2.1.0 |
| @uppy/locales | 2.1.0 | @uppy/zoom | 1.1.0 |
| @uppy/onedrive | 2.1.0 | @uppy/robodog | 2.6.0 |
| @uppy/progress-bar | 2.1.0 | uppy | 2.10.0 |
- @uppy/audio: fix types (Merlijn Vos / #3689 )
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/core,@uppy/react,@uppy/transloadit,@uppy/tus,@uppy/xhr-upload: proposal: Cancel assemblies optional (Mikael Finstad / #3575 )
- @uppy/aws-s3-multipart: export interface AwsS3MultipartOptions (Matteo Padovano / #3709 )
- @uppy/companion-client: refactor to ESM (Antoine du Hamel / #3693 )
- @uppy/companion: Only deploy on companion changes (kiloreux / #3677 )
- @uppy/core: add definition for addFiles method (Matteo Padovano / #3556 )
- @uppy/core: wrap plugins in div.uppy-Root and set dir attrubute in UIPlugin (Artur Paikin / #3692 )
- @uppy/google-drive: refactor to ESM (Antoine du Hamel / #3683 )
- @uppy/image-editor: refactor to ESM (Antoine du Hamel / #3685 )
- @uppy/instagram: refactor to ESM (Antoine du Hamel / #3696 )
- @uppy/locales: Add `save` translation to Spanish locale (Juan Carlos Alonso / #3678 )
- @uppy/locales: refactor to ESM (Antoine du Hamel / #3707 )
- @uppy/onedrive: refactor to ESM (Antoine du Hamel / #3694 )
- @uppy/progress-bar: refactor to ESM (Antoine du Hamel / #3706 )
- @uppy/provider-views: refactor to ESM (Antoine du Hamel / #3715 )
- @uppy/react: Support React 18 in @uppy/react (Merlijn Vos / #3680 )
- @uppy/screen-capture: refactor to ESM (Antoine du Hamel / #3698 )
- @uppy/status-bar: refactor to ESM (Antoine du Hamel / #3697 )
- @uppy/transloadit: add rate limiting for assembly creation and status polling (Antoine du Hamel / #3718 )
- @uppy/tus: refactor to ESM (Antoine du Hamel / #3724 )
- @uppy/url: refactor to ESM (Antoine du Hamel / #3713 )
- @uppy/webcam: refactor to ESM (Antoine du Hamel / #3686 )
- @uppy/xhr-upload: refactor to ESM (Antoine du Hamel / #3695 )
- @uppy/zoom: refactor to ESM (Antoine du Hamel / #3699 )
- meta: e2e: fix failing test (Antoine du Hamel / #3722 )
- test: harden linter rule for JSX/ESM validation (Antoine du Hamel / #3681 )
- test: harden linter rules for ESM/CJS validation (Antoine du Hamel / #3674 )
- test: Increase retries to trigger longer retryDelay in tus (Artur Paikin / #3726 )
- test: Remove `it.only` from e2e test (Merlijn Vos / #3690 )
- tests: Make Cypress more stable & add e2e test for error events when upload fails (Merlijn Vos / #3662 )
2022-05-14 01:09:48 +01:00
Matteo Padovano
0788552554
add definition for addFiles method ( #3556 )
...
* add definition for addFiles method
* Add basic doc entry for addFiles
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2022-05-14 00:47:13 +01:00
Antoine du Hamel
6a1cf724aa
@uppy/provider-views: refactor to ESM ( #3715 )
...
* @uppy/provider-views: refactor to ESM
* fix ESM to CJS transforms
`export {default as whatever} from 'whatever'` was not transformed correctly
2022-05-14 01:46:42 +02:00
Antoine du Hamel
c6e4fb5deb
@uppy/tus: refactor to ESM ( #3724 )
2022-05-14 00:30:43 +01:00
Antoine du Hamel
1413672f7c
@uppy/transloadit: add rate limiting for assembly creation and status polling ( #3718 )
...
Share one instance of `RateLimitedQueue` between Tus plugin and
Transloadit plugin, ensure all requests to transloadit.com go through
the `RateLimitedQueue` to handle rate limiting response globally.
2022-05-13 17:05:07 +02:00
Artur Paikin
934ba79f00
core: wrap plugins in div.uppy-Root and set dir attrubute in UIPlugin ( #3692 )
...
* Add @uppy/remote-sources preset/plugin
* yarn.lock
* Update packages/@uppy/remote-sources/README.md
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* Use div.uppy-Root for all plugins mounted in DOM; set dir in UIPlugin
* remote uppy-Root from all UI plugins, as it will be set in UIPlugin automatically
* Remove uppy-Root from file-input
* Revert "Update packages/@uppy/remote-sources/README.md"
This reverts commit 3fd00028f7 .
* Revert "yarn.lock"
This reverts commit 04dd8c73de .
* Revert "Add @uppy/remote-sources preset/plugin"
This reverts commit ac1f5df6b3 .
* Update packages/@uppy/core/src/UIPlugin.js
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* Update packages/@uppy/drag-drop/src/DragDrop.jsx
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* Update packages/@uppy/core/src/UIPlugin.js
Co-authored-by: Renée Kooi <renee@kooi.me>
* Revert "Update packages/@uppy/core/src/UIPlugin.js"
This reverts commit f91af00d6b .
* @uppy/react: add .uppy-Contrainer class name to wrapper div
* @uppy/svelte: add .uppy-Contrainer class name to wrapper div
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
Co-authored-by: Renée Kooi <renee@kooi.me>
2022-05-13 11:04:29 +01:00
Antoine du Hamel
837bf04620
Revert "@uppy/companion-client: refactor to ESM ( #3693 )" ( #3719 )
...
This reverts commit 795e817903 .
2022-05-12 11:20:00 +02:00
Antoine du Hamel
3f631985c3
@uppy/onedrive: refactor to ESM ( #3694 )
2022-05-11 10:09:45 +02:00
Antoine du Hamel
b18c78d379
@uppy/xhr-upload: refactor to ESM ( #3695 )
2022-05-11 10:09:27 +02:00
Antoine du Hamel
2d3103e6b9
@uppy/status-bar: refactor to ESM ( #3697 )
2022-05-11 10:08:45 +02:00
Antoine du Hamel
bddc49eebc
@uppy/screen-capture: refactor to ESM ( #3698 )
2022-05-11 10:07:40 +02:00
Antoine du Hamel
b561116990
@uppy/instagram: refactor to ESM ( #3696 )
2022-05-11 10:07:22 +02:00
Antoine du Hamel
010a6b162f
@uppy/zoom: refactor to ESM ( #3699 )
2022-05-11 00:54:33 +02:00
Antoine du Hamel
a3465f7166
@uppy/url: refactor to ESM ( #3713 )
2022-05-11 00:53:29 +02:00