Antoine du Hamel
8ed98725c5
@uppy/utils: fix drop of multiple files on Chromium browsers ( #3998 )
...
Fixes: https://github.com/transloadit/uppy/issues/3988
2022-08-17 17:08:28 +02:00
Merlijn Vos
edcbe02995
Fix @uppy/utils microtip.scss export ( #3995 )
2022-08-17 12:13:16 +02:00
github-actions[bot]
9d03b6f600
Release: uppy@3.0.0-beta.5 ( #3991 )
...
| Package | Version | Package | Version |
| ------------------------- | ------------ | ------------------------- | ------------ |
| @uppy/audio | 1.0.0-beta.2 | @uppy/progress-bar | 3.0.0-beta.2 |
| @uppy/aws-s3 | 3.0.0-beta.3 | @uppy/provider-views | 3.0.0-beta.3 |
| @uppy/aws-s3-multipart | 3.0.0-beta.4 | @uppy/react | 3.0.0-beta.4 |
| @uppy/box | 2.0.0-beta.2 | @uppy/redux-dev-tools | 3.0.0-beta.2 |
| @uppy/companion | 4.0.0-beta.4 | @uppy/remote-sources | 1.0.0-beta.4 |
| @uppy/companion-client | 3.0.0-beta.2 | @uppy/screen-capture | 3.0.0-beta.3 |
| @uppy/compressor | 1.0.0-beta.3 | @uppy/status-bar | 3.0.0-beta.3 |
| @uppy/core | 3.0.0-beta.4 | @uppy/store-default | 3.0.0-beta.3 |
| @uppy/dashboard | 3.0.0-beta.4 | @uppy/store-redux | 3.0.0-beta.3 |
| @uppy/drag-drop | 3.0.0-beta.2 | @uppy/svelte | 2.0.0-beta.2 |
| @uppy/drop-target | 2.0.0-beta.3 | @uppy/thumbnail-generator | 3.0.0-beta.2 |
| @uppy/dropbox | 3.0.0-beta.2 | @uppy/transloadit | 3.0.0-beta.5 |
| @uppy/facebook | 3.0.0-beta.2 | @uppy/tus | 3.0.0-beta.3 |
| @uppy/file-input | 3.0.0-beta.2 | @uppy/unsplash | 3.0.0-beta.2 |
| @uppy/form | 3.0.0-beta.2 | @uppy/url | 3.0.0-beta.3 |
| @uppy/golden-retriever | 3.0.0-beta.2 | @uppy/utils | 5.0.0-beta.1 |
| @uppy/google-drive | 3.0.0-beta.2 | @uppy/vue | 1.0.0-beta.2 |
| @uppy/image-editor | 2.0.0-beta.3 | @uppy/webcam | 3.0.0-beta.3 |
| @uppy/informer | 3.0.0-beta.3 | @uppy/xhr-upload | 3.0.0-beta.3 |
| @uppy/instagram | 3.0.0-beta.2 | @uppy/zoom | 2.0.0-beta.2 |
| @uppy/locales | 3.0.0-beta.4 | uppy | 3.0.0-beta.5 |
| @uppy/onedrive | 3.0.0-beta.2 | | |
- meta: prepare release workflow for beta versions (Antoine du Hamel)
- @uppy/provider-views: Reset filter input correctly in provider views (Merlijn Vos / #3978 )
- @uppy/aws-s3-multipart: Fix when using Companion (Merlijn Vos / #3969 )
- @uppy/companion: Companion: bring back default upload protocol (Mikael Finstad / #3967 )
- meta: Update CONTRIBUTING.md (Mikael Finstad / #3966 )
- meta: fix contributing link (Mikael Finstad / #3968 )
- @uppy/companion: enforce usage of uploadUrls (Mikael Finstad / #3965 )
- @uppy/utils: Fix webp mimetype (Merlijn Vos / #3961 )
- @uppy/locales: Add compressor string translation to Japanese locale (kenken / #3963 )
- meta: Fix statement about cropping images in README.md (Mikael Finstad / #3964 )
- @uppy/aws-s3-multipart: Fix race condition in `#uploadParts` (Morgan Zolob / #3955 )
- @uppy/provider-views: core validateRestrictions: return error directly vs the result/reason obj (Artur Paikin / #3951 )
- @uppy/aws-s3: Export AwsS3UploadParameters & AwsS3Options interfaces (Antonina Vertsinskaya / #3956 )
- website: convert all website examples to ESM (Antoine du Hamel / #3957 )
- @uppy/companion: fix crash if redis disconnects (Mikael Finstad / #3954 )
- @uppy/companion: upgrade `ws` version (Antoine du Hamel / #3949 )
- @uppy/companion: sort Dropbox response & refactor to async/await (Mikael Finstad / #3897 )
- @uppy/utils: modernize `getDroppedFiles` (Antoine du Hamel / #3534 )
- @uppy/companion: fix default getKey for non-standalone too (Mikael Finstad / #3945 )
- @uppy/aws-s3-multipart: ignore exception inside `abortMultipartUpload` (Antoine du Hamel / #3950 )
- @uppy/companion: remove `isobject` from dependencies (Antoine du Hamel / #3948 )
- @uppy/compressor: Fix Compressor being broken when no name is in the compressed blob (Artur Paikin / #3947 )
- @uppy/core,@uppy/react: Fix all breaking todo comments for 3.0 (Merlijn Vos / #3907 )
- @uppy/companion: show deprecation message when using legacy s3 options (Antoine du Hamel / #3944 )
- example: fix aws-companion example (Antoine du Hamel / #3850 )
2022-08-16 21:40:57 +00:00
Antoine du Hamel
9724392cd4
fixup! @uppy/utils: add missing exports ( #3989 )
2022-08-16 21:30:57 +02:00
Antoine du Hamel
64f91a70b1
@uppy/utils: add missing exports ( #3989 )
2022-08-16 20:26:24 +02:00
Antoine du Hamel
8fa1ff1b56
fixup! @uppy/utils: use exports map ( #3985 )
2022-08-16 17:52:15 +02:00
Antoine du Hamel
e65db58b29
@uppy/utils: use exports map ( #3985 )
2022-08-16 15:40:35 +02:00
Merlijn Vos
90b62c7f21
Fix webp mimetype ( #3961 )
2022-08-10 12:03:32 +02:00
Antoine du Hamel
7089cb6530
fixup! Merge branch 3.x
2022-08-04 18:03:05 +02:00
Antoine du Hamel
4996f44cf9
Merge branch 3.x
2022-08-04 17:40:50 +02:00
Antoine du Hamel
65f2551645
@uppy/utils: modernize getDroppedFiles ( #3534 )
...
`webkitGetAsEntry` is a non-standard/deprecated API, replacing it with
`getAsFileSystemHandle` when available.
This also work around a Chromium bug with symlinks.
Fixes: https://github.com/transloadit/uppy/issues/3505 .
2022-08-04 16:21:23 +02:00
github-actions[bot]
861f264e53
Release: uppy@3.0.0-beta ( #3798 )
...
| Package | Version | Package | Version |
| ------------------------- | ---------- | ------------------------- | ---------- |
| @uppy/audio | 3.0.0-beta | @uppy/progress-bar | 3.0.0-beta |
| @uppy/aws-s3 | 3.0.0-beta | @uppy/provider-views | 3.0.0-beta |
| @uppy/aws-s3-multipart | 3.0.0-beta | @uppy/react | 3.0.0-beta |
| @uppy/box | 3.0.0-beta | @uppy/redux-dev-tools | 3.0.0-beta |
| @uppy/companion | 4.0.0-beta | @uppy/robodog | 3.0.0-beta |
| @uppy/companion-client | 3.0.0-beta | @uppy/screen-capture | 3.0.0-beta |
| @uppy/compressor | 3.0.0-beta | @uppy/status-bar | 3.0.0-beta |
| @uppy/core | 3.0.0-beta | @uppy/store-default | 3.0.0-beta |
| @uppy/dashboard | 3.0.0-beta | @uppy/store-redux | 3.0.0-beta |
| @uppy/drag-drop | 3.0.0-beta | @uppy/svelte | 3.0.0-beta |
| @uppy/drop-target | 3.0.0-beta | @uppy/thumbnail-generator | 3.0.0-beta |
| @uppy/dropbox | 3.0.0-beta | @uppy/transloadit | 3.0.0-beta |
| @uppy/facebook | 3.0.0-beta | @uppy/tus | 3.0.0-beta |
| @uppy/file-input | 3.0.0-beta | @uppy/unsplash | 3.0.0-beta |
| @uppy/form | 3.0.0-beta | @uppy/url | 3.0.0-beta |
| @uppy/golden-retriever | 3.0.0-beta | @uppy/utils | 5.0.0-beta |
| @uppy/google-drive | 3.0.0-beta | @uppy/vue | 3.0.0-beta |
| @uppy/image-editor | 3.0.0-beta | @uppy/webcam | 3.0.0-beta |
| @uppy/informer | 3.0.0-beta | @uppy/xhr-upload | 3.0.0-beta |
| @uppy/instagram | 3.0.0-beta | @uppy/zoom | 3.0.0-beta |
| @uppy/locales | 3.0.0-beta | uppy | 3.0.0-beta |
| @uppy/onedrive | 3.0.0-beta | | |
- meta: temporary adjust release script for the beta (Antoine du Hamel)
- meta: disable ESM to CJS transform in dist files (Antoine du Hamel / #3773 )
- @uppy/companion: remove `searchProviders` wrapper & move `s3` options (Merlijn Vos / #3781 )
- meta: do not test on EOL versions of Node.js (Antoine du Hamel / #3786 )
- @uppy/companion: remove support for EOL versions of Node.js (Antoine du Hamel / #3784 )
- @uppy/react: refactor to ESM (Antoine du Hamel / #3780 )
- @uppy/transloadit: remove IE 10 hack (Antoine du Hamel / #3777 )
2022-05-30 17:50:06 +01: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
Antoine du Hamel
bad2fa7ca2
@uppy/aws-s3: fix JSDoc type error ( #3785 )
2022-05-30 14:12:44 +02:00
Antoine du Hamel
b8e1f9c995
@uppy/utils: refactor to ESM ( #3721 )
2022-05-23 09:40:50 +02:00
github-actions[bot]
2289fc94cc
Release: uppy@2.9.4 ( #3667 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3-multipart | 2.2.2 | @uppy/file-input | 2.0.6 |
| @uppy/box | 1.0.6 | @uppy/form | 2.0.5 |
| @uppy/companion | 3.5.1 | @uppy/locales | 2.0.9 |
| @uppy/compressor | 0.2.5 | @uppy/transloadit | 2.1.5 |
| @uppy/core | 2.1.9 | @uppy/utils | 4.0.7 |
| @uppy/drag-drop | 2.0.7 | @uppy/vue | 0.4.7 |
| @uppy/drop-target | 1.1.3 | @uppy/robodog | 2.5.4 |
| @uppy/dropbox | 2.0.6 | uppy | 2.9.4 |
| @uppy/facebook | 2.0.6 | | |
- @uppy/locales: Plural translation in cs_CZ local (JakubHaladej / #3666 )
- @uppy/vue: Add license field to package.json in @uppy/vue (Tobias Trumm / #3664 )
- meta: Add todo comments (Murderlon)
- @uppy/facebook: refactor to ESM (Antoine du Hamel / #3653 )
- meta: locale-pack: refactor to use more parallel processing (Antoine du Hamel / #3630 )
- @uppy/file-input: refactor to ESM (Antoine du Hamel / #3652 )
- meta: sign requests sent to Transloadit in e2e suite (Antoine du Hamel / #3656 )
- meta: add `VITE_TRANSLOADIT_SECRET` for e2e (Antoine du Hamel)
- meta: Update BACKLOG.md (Artur Paikin)
- @uppy/form: refactor to ESM (Antoine du Hamel / #3654 )
- @uppy/dropbox: refactor to ESM (Antoine du Hamel / #3651 )
- meta: sign requests sent to Transloadit in dev env (Antoine du Hamel / #3517 )
- @uppy/drop-target: refactor to ESM (Antoine du Hamel / #3648 )
- @uppy/core: fix `TypeError` when file was removed (Antoine du Hamel / #3650 )
- @uppy/drag-drop: refactor to ESM (Antoine du Hamel / #3647 )
- meta: update outdated files (Antoine du Hamel / #3646 )
- @uppy/compressor: Set meta on file compression (Camilo Forero / #3644 )
- @uppy/transloadit: improve fetch error handling (Antoine du Hamel / #3637 )
- @uppy/box: refactor to ESM (Antoine du Hamel / #3643 )
- @uppy/utils: Fix getFileType for dicom images (Merlijn Vos / #3610 )
- @uppy/aws-s3-multipart: Add `companionCookiesRule` type to @uppy/aws-s3-multipart (Mauricio Ribeiro / #3623 )
2022-04-27 13:40:07 +01:00
Merlijn Vos
03b54417c9
Fix getFileType for dicom images ( #3610 )
2022-04-14 17:55:45 +08:00
github-actions[bot]
53d26ead37
Release: uppy@2.9.2 ( #3628 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3 | 2.0.9 | @uppy/utils | 4.0.6 |
| @uppy/companion-client | 2.0.6 | @uppy/robodog | 2.5.2 |
| @uppy/compressor | 0.2.4 | uppy | 2.9.2 |
| @uppy/transloadit | 2.1.4 | | |
- @uppy/aws-s3,@uppy/companion-client,@uppy/transloadit,@uppy/utils: Propagate `isNetworkError` through error wrappers (Renée Kooi / #3620 )
- @uppy/compressor: Merge new name and type into compressed file (Camilo Forero / #3606 )
2022-04-07 08:26:22 +01:00
Renée Kooi
b22a812db3
Propagate isNetworkError through error wrappers ( #3620 )
...
The `ErrorWithCause` class uses the same signature as the builtin Error
does, but it supports the `{ cause }` option in older environments, and
it propagates the `isNetworkError` property from the underlying error.
2022-04-05 15:57:25 +02:00
github-actions[bot]
0fc3336e36
Release: uppy@2.4.0 ( #3420 )
...
| Package | Version | Package | Version |
| -------------------- | ------- | -------------------- | ------- |
| @uppy/drag-drop | 2.0.6 | @uppy/tus | 2.2.0 |
| @uppy/image-editor | 1.1.1 | @uppy/utils | 4.0.5 |
| @uppy/screen-capture | 2.0.6 | @uppy/robodog | 2.2.0 |
| @uppy/transloadit | 2.1.0 | uppy | 2.4.0 |
- @uppy/transloadit: ignore rate limiting errors when polling (Antoine du Hamel / #3418 )
- @uppy/tus: pause all requests in response to server rate limiting (Antoine du Hamel / #3394 )
- @uppy/transloadit: better defaults for rate limiting (Antoine du Hamel / #3414 )
- @uppy/companion: Fix Companion deploys (kiloreux / #3388 )
- meta: update aws-presigned-url example to use esm (Antoine du Hamel / #3413 )
- @uppy/image-editor: namespace input range css (Merlijn Vos / #3406 )
- @uppy/screen-capture: Add missing option to the screen capture types (Mustafa Navruz / #3400 )
- @uppy/drag-drop: fix `undefined is not a function` TypeError (Antoine du Hamel / #3397 )
- website: update december 2021 blog post (Antoine du Hamel / #3396 )
- website: Polished the latest update blog (AJvanLoon / #3390 )
- website: docs: fix typo in audio.md (heocoi / #3389 )
- website: 2.0-2.3 post draft (Artur Paikin / #3370 )
2022-01-10 19:43:52 +00:00
Antoine du Hamel
a08ec4e0f7
@uppy/tus: pause all requests in response to server rate limiting ( #3394 )
...
* @uppy/tus: pause all requests in response to server rate limiting
When the remote server responds with HTTP 429, all requests are
paused for a while in the hope that it can resolve the rate limiting.
Failed requests are also now queued up after the retry delay. Before
that, they were simply scheduled which would sometimes end up
overflowing the `limit` option.
* Address review comments
* fix requests bypassing queue pause state
* Auto rate limiting
* fix `RateLimitedQueue`
2022-01-10 16:41:52 +01:00
github-actions[bot]
2af711cf28
Release: uppy@2.3.0 ( #3348 )
...
| Package | Version | Package | Version |
| ------------------------- | ------- | ------------------------- | ------- |
| @uppy/angular | 0.2.6 | @uppy/locales | 2.0.4 |
| @uppy/audio | 0.2.0 | @uppy/onedrive | 2.0.5 |
| @uppy/aws-s3 | 2.0.6 | @uppy/provider-views | 2.0.6 |
| @uppy/aws-s3-multipart | 2.2.0 | @uppy/react | 2.1.2 |
| @uppy/box | 1.0.5 | @uppy/screen-capture | 2.0.5 |
| @uppy/companion | 3.1.2 | @uppy/status-bar | 2.1.2 |
| @uppy/companion-client | 2.0.4 | @uppy/store-default | 2.0.3 |
| @uppy/core | 2.1.3 | @uppy/thumbnail-generator | 2.0.6 |
| @uppy/dashboard | 2.1.2 | @uppy/transloadit | 2.0.5 |
| @uppy/drag-drop | 2.0.5 | @uppy/tus | 2.1.2 |
| @uppy/dropbox | 2.0.5 | @uppy/url | 2.0.5 |
| @uppy/facebook | 2.0.5 | @uppy/utils | 4.0.4 |
| @uppy/file-input | 2.0.5 | @uppy/webcam | 2.0.5 |
| @uppy/golden-retriever | 2.0.6 | @uppy/xhr-upload | 2.0.6 |
| @uppy/google-drive | 2.0.5 | @uppy/zoom | 1.0.5 |
| @uppy/image-editor | 1.1.0 | @uppy/robodog | 2.1.4 |
| @uppy/informer | 2.0.5 | uppy | 2.3.0 |
| @uppy/instagram | 2.0.5 | | |
- meta: add release automations (Antoine du Hamel / #3304 )
- @uppy/dashboard: Save meta fields when opening the image editor (Merlijn Vos / #3339 )
- @uppy/aws-s3-multipart: Drop `lockedCandidatesForBatch` and mark chunks as busy when preparing (Yegor Yarko / #3342 )
- @uppy/webcam: fix broken links in `webcam.md` (Antoine du Hamel / #3346 )
- @uppy/audio: new @uppy/audio plugin for recording with microphone (Artur Paikin / #2976 )
- build: force use of `@babel/plugin-proposal-optional-chaining` (Antoine du Hamel / #3335 )
- @uppy/companion: fix deploy Yarn version (Antoine du Hamel / #3327 )
- @uppy/companion: upgrade aws-sdk (Mikael Finstad / #3334 )
- @uppy/core: disable loose transpilation for legacy bundle (Antoine du Hamel / #3329 )
- @uppy/angular: examples: update `angular-example` to Angular v13 (Antoine du Hamel / #3325 )
- meta: Update BACKLOG.md (Artur Paikin, Merlijn Vos)
- meta: Add disableLocalFiles to options summary (Steve Barker / #3323 )
- meta: Create SECURITY.md (Ziding Zhang / #3052 )
- @uppy/image-editor: Pass croppedCanvasOptions to getCroppedCanvas (Mohamed Boudra / #3320 )
- meta: finish `master`->`main` job (Mikael Finstad / #3315 )
- website: update documents that were out of date (Antoine du Hamel / #3317 )
- @uppy/status-bar: Status bar error state improvements (Merlijn Vos / #3299 )
- doc: Fix typo in `docs/drag-drop.md` (Ash Allen / #3319 )
- website: Update /support and docs about Transloadit-hosted Companion (Artur Paikin / #3243 )
- @uppy/aws-s3,@uppy/box,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/google-drive,@uppy/image-editor,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/screen-capture,@uppy/status-bar,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/url,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: Refactor locale scripts & generate types and docs (Merlijn Vos / #3276 )
- @uppy/companion: Remove references of incorrect `options` argument for `companion.socket` (Mikael Finstad / #3307 )
- @uppy/companion: Upgrade linting to 2.0.0-0 (Kevin van Zonneveld / #3280 )
2021-12-07 18:48:43 +00:00
Antoine du Hamel
cd8af60bfb
examples: update angular-example to Angular v13 ( #3325 )
...
* examples: update angular-example to Angular v13
* meta: upgrade TS version accross the board
* meta: upgrade ESLint packages
* Fix angular-examples tests
* bump lock file
* fix type conflict
* Upgrade `ng-packagr`
2021-11-22 19:12:56 +01:00
Kevin van Zonneveld
bfe659820e
Upgrade linting to 2.0.0-0 ( #3280 )
...
* Upgrade linting to 2.0.0-0
* Adjust so we can pass without error
* Fix linting
* Update header-blacklist.js
* Update index.js
* Update Uppy.js
* Update Components.js
* Update StatusBar.js
* Update Assembly.js
* Upgrade to linting 2.0.0 (final release)
2021-11-09 11:19:05 +00:00
bencergazda
6a96c6fd06
fix: @uppy/utils - getFileType() always returns a string ( #3294 )
2021-11-03 12:30:10 +01:00
Mikael Finstad
56339fc3e5
Rewrite Companion providers to use streams to allow simultaneous upload/download without saving to disk ( #3159 )
...
* rewrite to async/await
* Only fetch size (HEAD) if needed #3034
* Update packages/@uppy/companion/src/server/controllers/url.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Change HEAD to GET in getURLMeta
and abort request immediately upon response headers received
https://github.com/transloadit/uppy/issues/3034#issuecomment-908059234
* fix lint
* fix lint
* cut off length of file names
or else we get
"MetadataTooLarge: Your metadata headers exceed the maximum allowed metadata size" in tus / S3
* try to fix flaky test
* remove iife and cleanup code a bit
* fix lint by reordering code
* rename Uploader to MultipartUploader
* Rewrite Uploader to use fs-capacitor #3098
This allows for upload to start almost immediately without having to first download the file.
And it allows for uploading bigger files, because transloadit assembly will not timeout,
as it will get upload progress events all the time.
No longer need for illusive progress.
Also fix eslint warnings and simplify logic
Still TODO: TUS pause/resume has a bug:
https://github.com/tus/tus-js-client/issues/275
* add comment in dev Dashboard and pull out variable
* fix a bug where remote xhr upload would ignore progress events in the UI
* fix bug where s3 multipart cancel wasn't working
* fix also cancel for xhr
* Rewrite providers to use streams
This removes the need for disk space as data will be buffered in memory and backpressure will be respected
https://github.com/transloadit/uppy/issues/3098#issuecomment-907763809
All providers "download" methods will now return a { stream } which can be consumed by uploader.
Also:
- Remove capacitor (no longer needed)
- Change Provider/SearchProvider API to async (Breaking change for custom companion providers)
- Fix the case with unknown length streams (zoom / google drive). Need to be downloaded first
- rewrite controllers deauth-callback, thumbnail, list, logout to async
- getURLMeta: make sure size is never NaN (NaN gets converted to null in JSON.stringify when sent to client but not when used in backend)
- fix purest mock (it wasn't returning statusCode on('response'))
- add missing http mock for "request" for THUMBNAIL_URL and http://url.myendpoint.com/file (these request errors were never caught by tests previously)
- "upload functions with tus protocol" test: move filename checking to new test where size is null. Fix broken expects
- fix some lint
* Implement streamingUpload flag
COMPANION_STREAMING_UPLOAD
Default to false due to backward compatibility
If set to true, will start to upload files at the same time as dowlnoading them, by piping the streams
- Also implement progress for downloading too
- and fix progress duplication logic
- fix test that assumed file was fully downloaded after first progress event
* rearrange validation logic
* add COMPANION_STREAMING_UPLOAD to env.test.sh too
* implement maxFileSize option in companion
for both unknown length and known length downloads
* fix bug
* fix memory leak when non 200 status
streams were being kept
* fix lint
* Add backward-compatibility for companion providers
Implement a new static field "version" on providers, which when not set to 2,
will cause a compatibility layer to be added for supporting old callback style provider api
also fix some eslint and rename some vars
* document new provider API
* remove static as it doesn't work on node 10
* try to fix build issue
* degrade to node 14 in github actions
due to hitting this error: https://github.com/nodejs/node/issues/40030
https://github.com/transloadit/uppy/pull/3159/checks?check_run_id=3544858518
* pull out duplicated logic into reusable function
* fix lint
* make methods private
* re-add unsplash download_location request
got lost in merge
* add try/catch
as suggested https://github.com/transloadit/uppy/pull/3159#discussion_r727149263
* Only set default chunkSize if needed
for being more compliant with previous behavior when streamingUpload = false
* Improve flaky test
Trying to fix this error:
FAIL packages/@uppy/utils/src/delay.test.js
● delay › should reject when signal is aborted
expect(received).toBeLessThan(expected)
Expected: < 70
Received: 107
32 | const time = Date.now() - start
33 | expect(time).toBeGreaterThanOrEqual(30)
> 34 | expect(time).toBeLessThan(70)
| ^
35 | })
36 | })
37 |
at Object.<anonymous> (packages/@uppy/utils/src/delay.test.js:34:18)
https://github.com/transloadit/uppy/runs/3984613454?check_suite_focus=true
* Apply suggestions from code review
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* fix review feedback & lint
* Apply suggestions from code review
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* remove unneeded ts-ignore
* Update packages/@uppy/companion/src/server/controllers/url.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update packages/@uppy/companion/src/server/Uploader.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* reduce nesting
* fix lint
* optimize promisify
https://github.com/transloadit/uppy/pull/3159#discussion_r738160576
* Update packages/@uppy/companion/test/__tests__/uploader.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2021-11-01 16:35:25 +07:00
Artur Paikin
b8b4127bd5
Release
2021-10-14 21:58:29 +01:00
Antoine du Hamel
55e0ffd04a
Add retext to markdown linter ( #3024 )
...
* remark-lint-uppy: use `retext` to improve doc syntax and grammar
* WIP: start fixing fixing linter errors
* Remove `retext-passive` as I don't see what's wrong with passive voice
* Remove URL plugin, add emphasis/strong marker plugin
* Fix remark settings to avoid conflicts
* WIP: more auto-fixes
* remark-simplify: allow `option`
* zoom.md
* url.md
* vue.md
* tus.md
* webcam.md
* xhrupload.md
* writing-plugins
* thumbnail-generator
* svelte
* react-dragdrop
* stores
* do not over simplify
* statusbar
* robodog
* robodog-upload
* robodog-picker
* robodog-form
* robodog-dashboard
* redux
* privacy
* uppy.md
* transloadit.md
* react-native
* react-initializing
* react-fileinput
* providers
* progressbar
* plugins
* plugin-common-options
* onedrive
* locales
* instagram
* informer
* index
* google-drive
* golden-retriever
* form
* fileinput
* facebook
* dropbox
* drop-target
* dragdrop
* remark-lint-no-unneeded-full-reference-link
* Try to setup unified-message-control
* Upgrade deps
* Fix collapsed link references with inline code
* Revert "remark-lint-no-unneeded-full-reference-link"
This reverts commit ca375f463b771bc81d0868f4d84f5979823cfc0a.
* remark-lint-uppy: add missing `"main"` field
* Update package-lock.json
* add disable comments
* fixup! xhrupload.md
* writing-plugins
* unsplash
* tus
* stores
* migration-guide
* dashboard
* community-projects
* box
* integration_help
* blog posts
* companion
* aws-s3
* aws-s3-multipart
* remark-lint-uppy README
* website/inject
* BUNDLE-README
* READMEs
* architecture
* move Remark settings to the plugin
* add `listItemIndent` setting
* list indent fix
* fix ignored files
* revert changelog changes
* fixup! architecture
* Revert changes in ignored files
* Remove unnecessary HTML tags from READMEs
2021-10-14 16:10:45 +02:00
Antoine du Hamel
1eb317ba3a
Release
2021-10-06 15:55:29 +02:00
Mikael Finstad
876f833bd1
Companion: Use GET instead of HEAD for getURLMeta + Cut off length of file names ( #3048 )
...
* rewrite to async/await
* Only fetch size (HEAD) if needed #3034
* Update packages/@uppy/companion/src/server/controllers/url.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Change HEAD to GET in getURLMeta
and abort request immediately upon response headers received
https://github.com/transloadit/uppy/issues/3034#issuecomment-908059234
* fix lint
* fix lint
* cut off length of file names
or else we get
"MetadataTooLarge: Your metadata headers exceed the maximum allowed metadata size" in tus / S3
* try to fix flaky test
* remove iife and cleanup code a bit
* fix lint by reordering code
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-09-30 17:27:13 +07:00
Murderlon
b3b68c0777
Release
2021-09-20 11:51:06 +02:00
Marcelo Luiz Onhate
c7e0a5a883
fix: AbortController is not defined on Node.js (Server Side Render) ( #3169 )
...
* fix: AbortController is not defined
* use globalThis
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-09-13 14:55:10 +02:00
Murderlon
ab771cbe1c
Release
2021-08-24 16:13:19 +02:00
Artur Paikin
dbe3ed25b3
build: add stylelint ( #3124 )
...
* add stylelint with stylelint-config-standard
* autofix style issues
* fix more linting issues
* add stylelint-scss
* fix two more
* add stylelint-config-rational-order and autofix order
https://github.com/constverum/stylelint-config-rational-order
2021-08-24 01:37:57 +01:00
Antoine du Hamel
405157ea49
@uppy/aws-s3: refactor to use private fields ( #3094 )
2021-08-17 20:14:49 +02:00
JT
89f09c810a
Strictly type uppy events ( #3085 )
2021-08-17 16:29:41 +02:00
Antoine du Hamel
c94664613a
@uppy/utils: resolve remaining linter errors ( #3091 )
2021-08-10 16:06:49 +02:00
Antoine du Hamel
0cccb686fd
@uppy/utils: improve support of data URI in dataURItoBlob ( #3080 )
2021-08-09 16:13:04 +02:00
Antoine du Hamel
6cd5309544
@uppy/utils: simplify canvasToBlob ( #3080 )
...
The built-in `HTMLCanvasElement#toBlob` is supported everywhere.
2021-08-09 16:12:59 +02:00
Antoine du Hamel
c8606ae5fe
@uppy/utils: use private fields in EventTracker ( #3080 )
2021-08-09 16:12:54 +02:00
Antoine du Hamel
9866fc1f5c
@uppy/utils: remove ponyfill for Array#findIndex ( #3080 )
...
The built-in method is supported everywhere.
2021-08-09 16:12:51 +02:00
Antoine du Hamel
2c1287fc52
@uppy/utils: simplify getTimeStamp ( #3080 )
2021-08-09 16:12:47 +02:00
Antoine du Hamel
126984ece3
@uppy/utils: avoid creating throw-away <div> in isDragDropSupported ( #3080 )
2021-08-09 16:12:47 +02:00
Antoine du Hamel
2178f531a4
@uppy/utils: simplify code using optional chaining ( #3080 )
2021-08-09 16:12:37 +02:00
Antoine du Hamel
dc5cab4922
@uppy/utils: use private fields in ProgressTimeout ( #3080 )
2021-08-09 16:12:33 +02:00
Antoine du Hamel
059870a80b
@uppy/utils: refactor prettyETA ( #3080 )
2021-08-09 16:12:23 +02:00
Antoine du Hamel
3626172b0c
@uppy/utils: use private fields in RateLimitedQueue ( #3080 )
2021-08-09 16:12:18 +02:00
Antoine du Hamel
2cdb19a8c5
@uppy/utils: use Array.from insterad of custom utils ( #3080 )
2021-08-09 16:12:13 +02:00
Antoine du Hamel
65ffbed1a2
@uppy/utils: refactor truncateString ( #3080 )
2021-08-09 16:12:08 +02:00
Artur Paikin
113b627dd0
Release
2021-08-02 22:38:11 +01:00