Merlijn Vos
7d6937300a
meta: enable prettier for markdown ( #5133 )
...
* meta: enable prettier for markdown
* Ignore changelogs
* revert CHANGELOG changes
* More formatting
---------
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-05-02 11:35:55 +02:00
github-actions[bot]
0f84390107
Release: uppy@3.25.0 ( #5127 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/audio | 1.1.9 | @uppy/instagram | 3.3.1 |
| @uppy/aws-s3-multipart | 3.11.1 | @uppy/onedrive | 3.3.1 |
| @uppy/box | 2.3.1 | @uppy/provider-views | 3.12.0 |
| @uppy/companion-client | 3.8.1 | @uppy/react | 3.3.1 |
| @uppy/compressor | 1.1.3 | @uppy/status-bar | 3.3.2 |
| @uppy/core | 3.11.0 | @uppy/svelte | 3.1.4 |
| @uppy/dashboard | 3.8.2 | @uppy/transloadit | 3.6.1 |
| @uppy/drop-target | 2.1.0 | @uppy/unsplash | 3.3.1 |
| @uppy/dropbox | 3.3.1 | @uppy/url | 3.6.1 |
| @uppy/facebook | 3.3.1 | @uppy/utils | 5.9.0 |
| @uppy/file-input | 3.1.2 | @uppy/webcam | 3.4.1 |
| @uppy/form | 3.2.1 | @uppy/xhr-upload | 3.6.5 |
| @uppy/google-drive | 3.5.1 | @uppy/zoom | 2.3.1 |
| @uppy/image-editor | 2.4.5 | uppy | 3.25.0 |
- meta: enforce use of `.js` extension in `import type` declarations (Antoine du Hamel / #5126 )
- @uppy/core: add instance ID to generated IDs (Merlijn Vos / #5080 )
- @uppy/core: reference updated i18n in Restricter (Merlijn Vos / #5118 )
- @uppy/xhr-upload: refactor to use `fetcher` (Merlijn Vos / #5074 )
- meta: docs: use StackBlitz for all examples/issue template (Merlijn Vos / #5125 )
- meta: Update yarn.lock (Murderlon)
- @uppy/svelte: Add svelte 5 as peer dep (frederikhors / #5122 )
- meta: Bump docker/setup-buildx-action from 2 to 3 (dependabot[bot] / #5124 )
- meta: Bump actions/checkout from 3 to 4 (dependabot[bot] / #5123 )
- @uppy/dashboard,@uppy/provider-views: Remove JSX global type everywhere (Merlijn Vos / #5117 )
- @uppy/utils: improve return type of `dataURItoFile` (Antoine du Hamel / #5112 )
- @uppy/drop-target: change drop event type to DragEvent (Alireza Heydari / #5107 )
- @uppy/image-editor: fix label definitions (Antoine du Hamel / #5111 )
- meta: bump Prettier version (Antoine du Hamel / #5114 )
- @uppy/provider-views: bring back "loaded X files..." (Mikael Finstad / #5097 )
- @uppy/dashboard: fix type of trigger option (Merlijn Vos / #5106 )
- meta: fix linter (Antoine du Hamel)
- @uppy/form: fix `submitOnSuccess` and `triggerUploadOnSubmit` combination (Merlijn Vos / #5058 )
- meta: Bump docker/build-push-action from 3 to 5 (dependabot[bot] / #5105 )
- meta: Bump akhileshns/heroku-deploy from 3.12.12 to 3.13.15 (dependabot[bot] / #5102 )
- meta: Bump docker/login-action from 2 to 3 (dependabot[bot] / #5101 )
- meta: Bump actions/download-artifact from 3 to 4 (dependabot[bot])
- meta: Bump actions/upload-artifact from 3 to 4 (dependabot[bot])
2024-04-29 14:35:21 +00:00
Antoine du Hamel
faceaf0da3
meta: enforce use of .js extension in import type declarations ( #5126 )
2024-04-29 16:23:28 +02:00
Merlijn Vos
d2be2d84cd
@uppy/core: add instance ID to generated IDs ( #5080 )
2024-04-29 16:10:41 +02:00
Merlijn Vos
daae9aa085
@uppy/xhr-upload: refactor to use fetcher ( #5074 )
...
* @uppy/utils: add fetcher
* Improve callbacks
* Refactor local file uploads
* Refactor bundle upload
* Pass timeout to timeout handler
* Remove unused nanoid
* Apply feedback
* Prettier unrelated files
---------
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2024-04-29 15:39:44 +02:00
Antoine du Hamel
8ccddce194
@uppy/utils: improve return type of dataURItoFile ( #5112 )
...
As its name implies, it returns a `File`.
2024-04-24 10:48:26 +02:00
github-actions[bot]
c45407d099
Release: uppy@3.24.3 ( #5091 )
...
| Package | Version | Package | Version |
| --------------- | ------- | --------------- | ------- |
| @uppy/dashboard | 3.8.1 | uppy | 3.24.3 |
| @uppy/utils | 5.8.0 | | |
- docs: add back markdown files (Antoine du Hamel / #5064 )
- meta: fix custom provider example (Merlijn Vos / #5079 )
- @uppy/utils: add fetcher (Merlijn Vos / #5073 )
- meta: Fix prettier (Murderlon)
- @uppy/dashboard: add missing `x-zip-compress` archive type (Younes / #5081 )
- meta: Bump docker/metadata-action from 4 to 5 (dependabot[bot] / #5086 )
- meta: Bump actions/setup-node from 3 to 4 (dependabot[bot] / #5087 )
- meta: Bump docker/setup-qemu-action from 2 to 3 (dependabot[bot] / #5089 )
- meta: bump supercharge/redis-github-action from 1.4.0 to 1.8.0 (dependabot[bot] / #5090 )
- meta: bump actions/cache from 3 to 4 (dependabot[bot] / #5088 )
- meta: add `dependabot.yml` to keep GHA up-to-date (Antoine du Hamel / #5083 )
2024-04-16 13:44:22 +00:00
Merlijn Vos
377c3be3cc
@uppy/utils: add fetcher ( #5073 )
2024-04-16 12:34:59 +02:00
github-actions[bot]
960362b373
Release: uppy@3.24.0 ( #5040 )
...
| Package | Version | Package | Version |
| ------------------------- | ------- | ------------------------- | ------- |
| @uppy/audio | 1.1.8 | @uppy/progress-bar | 3.1.1 |
| @uppy/aws-s3-multipart | 3.11.0 | @uppy/provider-views | 3.11.0 |
| @uppy/box | 2.3.0 | @uppy/react | 3.3.0 |
| @uppy/companion | 4.13.0 | @uppy/remote-sources | 1.2.0 |
| @uppy/companion-client | 3.8.0 | @uppy/screen-capture | 3.2.0 |
| @uppy/compressor | 1.1.2 | @uppy/status-bar | 3.3.1 |
| @uppy/core | 3.10.0 | @uppy/thumbnail-generator | 3.1.0 |
| @uppy/dashboard | 3.8.0 | @uppy/transloadit | 3.6.0 |
| @uppy/drag-drop | 3.1.0 | @uppy/tus | 3.5.4 |
| @uppy/drop-target | 2.0.5 | @uppy/unsplash | 3.3.0 |
| @uppy/dropbox | 3.3.0 | @uppy/url | 3.6.0 |
| @uppy/facebook | 3.3.0 | @uppy/utils | 5.7.5 |
| @uppy/golden-retriever | 3.2.0 | @uppy/webcam | 3.4.0 |
| @uppy/google-drive | 3.5.0 | @uppy/zoom | 2.3.0 |
| @uppy/instagram | 3.3.0 | uppy | 3.24.0 |
| @uppy/onedrive | 3.3.0 | | |
- @uppy/box,@uppy/companion-client,@uppy/provider-views,@uppy/status-bar: fix type imports (Antoine du Hamel / #5038 )
- @uppy/aws-s3-multipart: mark `opts` as optional (Antoine du Hamel / #5039 )
- e2e: bump Cypress version (Antoine du Hamel / #5034 )
- @uppy/react: refactor to TS (Antoine du Hamel / #5012 )
- @uppy/core: refine type of private variables (Antoine du Hamel / #5028 )
- @uppy/dashboard: refine type of private variables (Antoine du Hamel / #5027 )
- @uppy/drag-drop: refine type of private variables (Antoine du Hamel / #5026 )
- @uppy/status-bar: refine type of private variables (Antoine du Hamel / #5025 )
- @uppy/remote-sources: migrate to TS (Merlijn Vos / #5020 )
- @uppy/dashboard: refine option types (Antoine du Hamel / #5022 )
- @uppy/dashboard: add new `autoOpen` option (Chris Grigg / #5001 )
- @uppy/core: fix some type errors (Antoine du Hamel / #5015 )
- @uppy/audio,@uppy/dashboard,@uppy/drop-target,@uppy/webcam: add missing exports (Antoine du Hamel / #5014 )
- meta: Bump webpack-dev-middleware from 5.3.3 to 5.3.4 (dependabot[bot] / #5013 )
- @uppy/dashboard: refactor to TypeScript (Antoine du Hamel / #4984 )
- @uppy/companion: improve error msg (Mikael Finstad / #5010 )
- @uppy/aws-s3-multipart: refactor to TS (Antoine du Hamel / #4902 )
- @uppy/dashboard: refactor to stable lifecycle method (Antoine du Hamel / #4999 )
- @uppy/companion: crash if trying to set path to / (Mikael Finstad / #5003 )
- @uppy/provider-views: fix `super.toggleCheckbox` bug (Mikael Finstad / #5004 )
- @uppy/aws-s3-multipart: fix escaping issue with client signed request (Hiroki Shimizu / #5006 )
- @uppy/drag-drop,@uppy/progress-bar: add missing exports (Antoine du Hamel / #5009 )
- @uppy/transloadit: migrate to TS (Merlijn Vos / #4987 )
- @uppy/utils: fix `RateLimitedQueue#wrapPromiseFunction` types (Antoine du Hamel / #5007 )
- @uppy/golden-retriever: migrate to TS (Merlijn Vos / #4989 )
- meta: Bump follow-redirects from 1.15.4 to 1.15.6 (dependabot[bot] / #5002 )
- meta: fix `resize-observer-polyfill` types (Antoine du Hamel / #4994 )
- @uppy/core: various type fixes (Antoine du Hamel / #4995 )
- @uppy/utils: fix `findAllDOMElements` type (Antoine du Hamel / #4997 )
- @uppy/status-bar: fix `recoveredState` type (Antoine du Hamel / #4996 )
- @uppy/utils: fix `AbortablePromise` type (Antoine du Hamel / #4988 )
- @uppy/core,@uppy/provider-views: Fix breadcrumbs (Evgenia Karunus / #4986 )
- @uppy/drag-drop: refactor to TypeScript (Antoine du Hamel / #4983 )
- @uppy/webcam: refactor to TypeScript (Antoine du Hamel / #4870 )
- @uppy/url: migrate to TS (Merlijn Vos / #4980 )
- @uppy/zoom: refactor to TypeScript (Murderlon / #4979 )
- @uppy/unsplash: refactor to TypeScript (Murderlon / #4979 )
- @uppy/onedrive: refactor to TypeScript (Murderlon / #4979 )
- @uppy/instagram: refactor to TypeScript (Murderlon / #4979 )
- @uppy/google-drive: refactor to TypeScript (Murderlon / #4979 )
- @uppy/facebook: refactor to TypeScript (Murderlon / #4979 )
- @uppy/dropbox: refactor to TypeScript (Murderlon / #4979 )
- @uppy/box: refactor to TypeScript (Murderlon / #4979 )
- @uppy/utils: migrate RateLimitedQueue to TS (Merlijn Vos / #4981 )
- @uppy/thumbnail-generator: migrate to TS (Merlijn Vos / #4978 )
- @uppy/screen-capture: migrate to TS (Merlijn Vos / #4965 )
- @uppy/companion-client: Replace Provider.initPlugin with composition (Merlijn Vos / #4977 )
2024-03-27 14:57:26 +00:00
Antoine du Hamel
644fe50f93
@uppy/utils: fix RateLimitedQueue#wrapPromiseFunction types ( #5007 )
2024-03-18 15:27:56 +01:00
Antoine du Hamel
da623ffa7f
@uppy/utils: fix findAllDOMElements type ( #4997 )
2024-03-14 18:12:48 +01:00
Antoine du Hamel
70ca9e6f01
@uppy/utils: fix AbortablePromise type ( #4988 )
2024-03-13 10:26:22 +01:00
Merlijn Vos
21e44763bf
@uppy/url: migrate to TS ( #4980 )
...
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-03-11 10:42:49 +01:00
Murderlon
524a19f26d
@uppy/google-drive: refactor to TypeScript ( #4979 )
2024-03-10 11:22:55 +01:00
Merlijn Vos
49bd8cb00e
@uppy/utils: migrate RateLimitedQueue to TS ( #4981 )
...
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2024-03-07 15:24:42 +01:00
github-actions[bot]
3be236ddc9
Release: uppy@3.23.0 ( #4976 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/box | 2.2.1 | @uppy/onedrive | 3.2.1 |
| @uppy/companion-client | 3.7.4 | @uppy/progress-bar | 3.1.0 |
| @uppy/core | 3.9.3 | @uppy/provider-views | 3.10.0 |
| @uppy/dashboard | 3.7.5 | @uppy/status-bar | 3.3.0 |
| @uppy/file-input | 3.1.0 | @uppy/utils | 5.7.4 |
| @uppy/form | 3.2.0 | @uppy/xhr-upload | 3.6.4 |
| @uppy/image-editor | 2.4.4 | uppy | 3.23.0 |
| @uppy/informer | 3.1.0 | | |
- @uppy/form: migrate to TS (Merlijn Vos / #4937 )
- @uppy/box: fetchPreAuthToken in box too (Mikael Finstad / #4969 )
- @uppy/progress-bar: refactor to TypeScript (Mikael Finstad / #4921 )
- @uppy/onedrive: fix custom oauth2 credentials for onedrive (Mikael Finstad / #4968 )
- @uppy/companion-client,@uppy/utils,@uppy/xhr-upload: improvements for #4922 (Mikael Finstad / #4960 )
- @uppy/utils: fix various type issues (Mikael Finstad / #4958 )
- @uppy/provider-views: migrate to TS (Merlijn Vos / #4919 )
- @uppy/utils: simplify `findDOMElements` (Mikael Finstad / #4957 )
- @uppy/xhr-upload: fix getResponseData regression (Merlijn Vos / #4964 )
- @uppy/informer: migrate to TS (Merlijn Vos / #4967 )
- @uppy/core: remove unused import (Antoine du Hamel / #4972 )
- @uppy/image-editor: remove default target (Merlijn Vos / #4966 )
- @uppy/angular: Build fixes (Mikael Finstad / #4959 )
- meta: Fix flaky e2e test (Murderlon)
- meta: fix e2e flake (Mikael Finstad / #4961 )
- meta: add support for `Fragment` short syntax (Antoine du Hamel / #4953 )
- @uppy/file-input: refactor to TypeScript (Antoine du Hamel / #4954 )
2024-02-28 12:07:36 +00:00
Mikael Finstad
8dba0272ab
improvements for #4922 ( #4960 )
...
* prevent "any" which disables typechecking
* make body optional in response (because it is)
* add comment
2024-02-28 16:57:16 +08:00
Mikael Finstad
448e667fbd
fix various type issues ( #4958 )
...
neglected in #4911 :
- bytesTotal can be null (also handle that bug in runtime)
- progress is not a property on the progress object
- use `satisfies` instead of `as`
- add todo about broken `throttle` implementation
- in emitSocketProgress, progressData should not have the FileProgress type, as it is a completely different type (it comes from companion)
2024-02-28 16:55:41 +08:00
Mikael Finstad
12fb3aebc5
@uppy/utils: simplify findDOMElements ( #4957 )
...
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2024-02-27 18:08:40 +01:00
github-actions[bot]
0fd1a2a2ef
Release: uppy@3.22.2 ( #4952 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/audio | 1.1.7 | @uppy/react | 3.2.2 |
| @uppy/companion | 4.12.3 | @uppy/status-bar | 3.2.8 |
| @uppy/companion-client | 3.7.3 | @uppy/tus | 3.5.3 |
| @uppy/core | 3.9.2 | @uppy/utils | 5.7.3 |
| @uppy/dashboard | 3.7.4 | @uppy/xhr-upload | 3.6.3 |
| @uppy/image-editor | 2.4.3 | uppy | 3.22.2 |
- @uppy/core: fix plugin detection (Antoine du Hamel / #4951 )
- @uppy/core,@uppy/utils: Introduce `ValidateableFile` & move `MinimalRequiredUppyFile` into utils (Antoine du Hamel / #4944 )
- meta: uppy: fix bundle builder (Antoine du Hamel / #4950 )
- @uppy/core: improve `UIPluginOptions` types (Merlijn Vos / #4946 )
- @uppy/companion-client: fix body/url on upload-success (Merlijn Vos / #4922 )
- @uppy/utils: remove EventManager circular reference (Merlijn Vos / #4949 )
- @uppy/dashboard: MetaEditor + ImageEditor - new state machine logic (Evgenia Karunus / #4939 )
- meta: disable `@typescript-eslint/no-non-null-assertion` lint rule (Antoine du Hamel / #4945 )
- @uppy/companion-client: remove unnecessary `'use strict'` directives (Antoine du Hamel / #4943 )
- @uppy/companion-client: type changes for provider-views (Antoine du Hamel / #4938 )
- meta: bump ip from 1.1.8 to 1.1.9 (dependabot[bot] / #4941 )
- @uppy/companion-client: update types (Antoine du Hamel / #4927 )
2024-02-22 16:04:13 +00:00
Antoine du Hamel
36b55b29a7
Introduce ValidateableFile & move MinimalRequiredUppyFile into utils ( #4944 )
2024-02-22 16:34:54 +01:00
Merlijn Vos
ae12f3974c
@uppy/utils: remove EventManager circular reference ( #4949 )
2024-02-22 11:39:25 +01:00
Antoine du Hamel
9fb5162bd2
meta: disable @typescript-eslint/no-non-null-assertion lint rule ( #4945 )
2024-02-21 13:24:55 +01:00
Antoine du Hamel
d7e577a449
@uppy/companion-client: type changes for provider-views ( #4938 )
2024-02-21 10:19:39 +01:00
github-actions[bot]
eebc9a0432
Release: uppy@3.22.1 ( #4935 )
...
| Package | Version | Package | Version |
| ------------------------- | ------- | ------------------------- | ------- |
| @uppy/audio | 1.1.6 | @uppy/remote-sources | 1.1.2 |
| @uppy/aws-s3 | 3.6.2 | @uppy/status-bar | 3.2.7 |
| @uppy/aws-s3-multipart | 3.10.2 | @uppy/store-default | 3.2.2 |
| @uppy/companion | 4.12.2 | @uppy/store-redux | 3.0.7 |
| @uppy/companion-client | 3.7.2 | @uppy/svelte | 3.1.3 |
| @uppy/compressor | 1.1.1 | @uppy/thumbnail-generator | 3.0.8 |
| @uppy/core | 3.9.1 | @uppy/transloadit | 3.5.1 |
| @uppy/dashboard | 3.7.3 | @uppy/tus | 3.5.2 |
| @uppy/drop-target | 2.0.4 | @uppy/utils | 5.7.2 |
| @uppy/form | 3.1.1 | @uppy/vue | 1.1.2 |
| @uppy/golden-retriever | 3.1.3 | @uppy/webcam | 3.3.6 |
| @uppy/image-editor | 2.4.2 | @uppy/xhr-upload | 3.6.2 |
| @uppy/locales | 3.5.2 | uppy | 3.22.1 |
| @uppy/provider-views | 3.9.1 | | |
- @uppy/locales: update vi_VN translation (David Nguyen / #4930 )
- @uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/status-bar: bump `@transloadit/prettier-bytes` (Antoine du Hamel / #4933 )
2024-02-20 09:36:32 +00:00
github-actions[bot]
8505b0b079
Release: uppy@3.22.0 ( #4929 )
...
| Package | Version | Package | Version |
| ------------------------- | ------- | ------------------------- | ------- |
| @uppy/audio | 1.1.5 | @uppy/remote-sources | 1.1.1 |
| @uppy/aws-s3 | 3.6.1 | @uppy/status-bar | 3.2.6 |
| @uppy/aws-s3-multipart | 3.10.1 | @uppy/store-default | 3.2.1 |
| @uppy/companion | 4.12.1 | @uppy/store-redux | 3.0.6 |
| @uppy/companion-client | 3.7.1 | @uppy/svelte | 3.1.2 |
| @uppy/compressor | 1.1.0 | @uppy/thumbnail-generator | 3.0.7 |
| @uppy/core | 3.9.0 | @uppy/transloadit | 3.5.0 |
| @uppy/dashboard | 3.7.2 | @uppy/tus | 3.5.1 |
| @uppy/drop-target | 2.0.3 | @uppy/utils | 5.7.1 |
| @uppy/form | 3.1.0 | @uppy/vue | 1.1.1 |
| @uppy/golden-retriever | 3.1.2 | @uppy/webcam | 3.3.5 |
| @uppy/image-editor | 2.4.1 | @uppy/xhr-upload | 3.6.1 |
| @uppy/locales | 3.5.1 | uppy | 3.22.0 |
| @uppy/provider-views | 3.9.0 | | |
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/companion-client,@uppy/tus,@uppy/xhr-upload: update `uppyfile` objects before emitting events (antoine du hamel / #4928 )
- @uppy/transloadit: add `clientname` option (marius / #4920 )
- @uppy/thumbnail-generator: fix broken previews after cropping (evgenia karunus / #4926 )
- @uppy/compressor: upgrade compressorjs (merlijn vos / #4924 )
- @uppy/companion: fix companion dns and allow redirects from http->https again (mikael finstad / #4895 )
- @uppy/dashboard: autoopenfileeditor - rename "edit file" to "edit image" (evgenia karunus / #4925 )
- meta: resolve jsx to preact in shared tsconfig (merlijn vos / #4923 )
- @uppy/image-editor: image editor: make compressor work after the image editor, too (evgenia karunus / #4918 )
- meta: exclude `tsconfig` files from npm bundles (antoine du hamel / #4916 )
- @uppy/compressor: migrate to ts (mikael finstad / #4907 )
- @uppy/provider-views: update uppy-providerbrowser-viewtype--list.scss (aditya patadia / #4913 )
- @uppy/tus: migrate to ts (merlijn vos / #4899 )
- meta: bump yarn version (antoine du hamel / #4906 )
- meta: validate `defaultoptions` for stricter option types (antoine du hamel / #4901 )
- @uppy/dashboard: Uncouple native camera and video buttons from the `disableLocalFiles` option (jake mcallister / #4894 )
- meta: put experimental ternaries in .prettierrc.js (merlijn vos / #4900 )
- @uppy/xhr-upload: migrate to ts (merlijn vos / #4892 )
- @uppy/drop-target: refactor to typescript (artur paikin / #4863 )
- meta: fix missing line return in js2ts script (antoine du hamel)
- meta: disable `@typescript-eslint/no-empty-function` lint rule (antoine du hamel / #4891 )
- @uppy/companion-client: fix tests and linter (antoine du hamel / #4890 )
- @uppy/companion-client: migrate to ts (merlijn vos / #4864 )
- meta: prettier 3.0.3 -> 3.2.4 (antoine du hamel / #4889 )
- @uppy/image-editor: migrate to ts (merlijn vos / #4880 )
- meta: fix race condition in `e2e.yml` (antoine du hamel)
- @uppy/core: add utility type to help define plugin option types (antoine du hamel / #4885 )
- meta: merge `output-watcher` and `e2e` workflows (antoine du hamel / #4886 )
- @uppy/status-bar: fix `statusbaroptions` type (antoine du hamel / #4883 )
- @uppy/core: improve types of .use() (merlijn vos / #4882 )
- @uppy/audio: fix `audiooptions` (antoine du hamel / #4884 )
- meta: upgrade vite and vitest (antoine du hamel / #4881 )
- meta: fix `yarn build:clean` (antoine du hamel)
- @uppy/audio: refactor to typescript (antoine du hamel / #4860 )
- @uppy/status-bar: refactor to typescript (antoine du hamel / #4839 )
- @uppy/core: add `plugintarget` type and mark options as optional (antoine du hamel / #4874 )
- meta: improve output watcher diff (antoine du hamel / #4876 )
- meta: minify the output watcher diff further (antoine du hamel)
- meta: remove comments from output watcher (mikael finstad / #4875 )
- @uppy/utils: improve types for `finddomelement` (antoine du hamel / #4873 )
- @uppy/code: allow plugins to type `pluginstate` (antoine du hamel / #4872 )
- meta: build(deps): bump follow-redirects from 1.15.1 to 1.15.4 (dependabot[bot] / #4862 )
- meta: add `output-watcher` gha to help check output diff (antoine du hamel / #4868 )
- meta: generate locale pack from output file (antoine du hamel / #4867 )
- meta: comment on what we want to do about close, resetprogress, clearuploadedfiles, etc in the next major (artur paikin / #4865 )
- meta: fix `yarn build:clean` (antoine du hamel / #4866 )
- meta: use `explicit-module-boundary-types` lint rule (antoine du hamel / #4858 )
- @uppy/form: use requestsubmit (merlijn vos / #4852 )
- @uppy/provider-views: add referrerpolicy to images (merlijn vos / #4853 )
- @uppy/core: add `debuglogger` as export in manual types (antoine du hamel / #4831 )
- meta: fix `js2ts` script (antoine du hamel / #4846 )
- @uppy/xhr-upload: show remove button (merlijn vos / #4851 )
- meta: upgrade `@transloadit/prettier-bytes` (antoine du hamel / #4850 )
- @uppy/core: add missing requiredmetafields key in restrictions (darthf1 / #4819 )
- @uppy/companion,@uppy/tus: bump `tus-js-client` version range (merlijn vos / #4848 )
- meta: build(deps): bump aws/aws-sdk-php from 3.272.1 to 3.288.1 in /examples/aws-php (dependabot[bot] / #4838 )
- @uppy/dashboard: fix `typeerror` when `file.remote` is nullish (antoine du hamel / #4825 )
- meta: fix `js2ts` script (antoine du hamel / #4844 )
- @uppy/locales: fix "save" button translation in hr_hr.ts (žan žlender / #4830 )
- meta: fix linting of `.tsx` files (antoine du hamel / #4843 )
- @uppy/core: fix types (antoine du hamel / #4842 )
- @uppy/utils: improve `preprocess` and `postprocess` types (antoine du hamel / #4841 )
- meta: fix `yarn build:clean` (mikael finstad / #4840 )
- meta: dev: remove extensions from vite aliases (antoine du hamel)
- meta: fix `"e2e"` script (antoine du hamel)
- @uppy/core: refactor to ts (murderlon)
- meta: fix typescript ci (antoine du hamel)
- meta: fix clean script (mikael finstad / #4820 )
- @uppy/companion-client: fix `typeerror` (antoine du hamel)
2024-02-19 16:29:43 +00:00
Antoine du Hamel
d85caf6c51
meta: exclude tsconfig files from npm bundles ( #4916 )
2024-02-13 23:21:08 +01:00
Mikael Finstad
6b4f5b68f7
@uppy/compressor: migrate to TS ( #4907 )
...
* refactor compressor to ts
* rename Options
* export opts
2024-02-12 23:10:49 +08:00
Merlijn Vos
c51032c9d1
@uppy/xhr-upload: migrate to TS ( #4892 )
2024-01-29 10:12:26 +01:00
Merlijn Vos
a0050bd79f
@uppy/companion-client: migrate to TS ( #4864 )
2024-01-24 14:19:38 +01:00
Antoine du Hamel
588bfb515e
meta: prettier 3.0.3 -> 3.2.4 ( #4889 )
...
Notable change: https://prettier.io/blog/2023/11/13/curious-ternaries
2024-01-24 11:37:01 +01:00
Antoine du Hamel
975038cf4c
meta: upgrade Vite and Vitest ( #4881 )
2024-01-22 15:56:40 +01:00
Antoine du Hamel
d53171d85b
@uppy/utils: improve types for findDOMElement ( #4873 )
2024-01-18 16:23:52 +01:00
Antoine du Hamel
f76d76bafd
@uppy/utils: improve preprocess and postprocess types ( #4841 )
2023-12-28 17:03:15 +01:00
Murderlon
c48aa82a8a
@uppy/core: refactor to TS
...
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2023-12-14 19:39:43 +01:00
github-actions[bot]
49fa351b78
Release: uppy@3.21.0 ( #4823 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3 | 3.6.0 | @uppy/instagram | 3.2.0 |
| @uppy/aws-s3-multipart | 3.10.0 | @uppy/onedrive | 3.2.0 |
| @uppy/box | 2.2.0 | @uppy/provider-views | 3.8.0 |
| @uppy/companion | 4.12.0 | @uppy/store-default | 3.2.0 |
| @uppy/companion-client | 3.7.0 | @uppy/tus | 3.5.0 |
| @uppy/core | 3.8.0 | @uppy/url | 3.5.0 |
| @uppy/dropbox | 3.2.0 | @uppy/utils | 5.7.0 |
| @uppy/facebook | 3.2.0 | @uppy/xhr-upload | 3.6.0 |
| @uppy/google-drive | 3.4.0 | @uppy/zoom | 2.2.0 |
| @uppy/image-editor | 2.4.0 | uppy | 3.21.0 |
- @uppy/provider-views: fix uploadRemoteFile undefined (Mikael Finstad / #4814 )
- @uppy/companion: fix double tus uploads (Mikael Finstad / #4816 )
- @uppy/companion: fix accelerated endpoints for presigned POST (Mikael Finstad / #4817 )
- @uppy/companion: fix `authProvider` property inconsistency (Mikael Finstad / #4672 )
- @uppy/companion: send certain onedrive errors to the user (Mikael Finstad / #4671 )
- meta: fix typo in `lockfile_check.yml` name (Antoine du Hamel)
- @uppy/aws-s3: change Companion URL in tests (Antoine du Hamel)
- @uppy/set-state: fix types (Antoine du Hamel)
- @uppy/companion: Provider user sessions (Mikael Finstad / #4619 )
- meta: fix `js2ts` script on Node.js 20+ (Merlijn Vos / #4802 )
- @uppy/companion-client: avoid unnecessary preflight requests (Antoine du Hamel / #4462 )
- meta: Migrate to AWS-SDK V3 syntax (Artur Paikin / #4810 )
- @uppy/utils: fix import in test files (Antoine du Hamel / #4806 )
- @uppy/core: Fix onBeforeFileAdded with Golden Retriever (Merlijn Vos / #4799 )
- @uppy/image-editor: respect `cropperOptions.initialAspectRatio` (Lucklj521 / #4805 )
2023-12-12 22:39:49 +00:00
Mikael Finstad
ec4bc58508
Provider user sessions ( #4619 )
...
New concept "simple auth" - authentication that happens immediately (in one http request) without redirecting to any third party.
uppyAuthToken initially used to simply contain an encrypted & json encoded OAuth2 access_token for a specific provider. Then we added refresh tokens as well inside uppyAuthToken #4448 . Now we also allow storing other state or parameters needed for that specific provider, like username, password, host name, webdav URL etc... This is needed for providers like webdav, ftp etc, where the user needs to give some more input data while authenticating
Companion:
- `providerTokens` has been renamed to `providerUserSession` because it now includes not only tokens, but a user's session with a provider.
Companion `Provider` class:
- New `hasSimpleAuth` static boolean property - whether this provider uses simple auth
- uppyAuthToken expiry default 24hr again for providers that don't support refresh tokens
- make uppyAuthToken expiry configurable per provider - new `authStateExpiry` static property (defaults to 24hr)
- new static property `grantDynamicToUserSession`, allows providers to specify which state from Grant `dynamic` to include into the provider's `providerUserSession`.
2023-12-05 22:55:41 +01:00
Antoine du Hamel
58869e6287
@uppy/utils: fix import in test files ( #4806 )
2023-11-30 14:39:51 +01:00
github-actions[bot]
472cc9352d
Release: uppy@3.19.0 ( #4781 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3 | 3.5.0 | @uppy/provider-views | 3.7.0 |
| @uppy/aws-s3-multipart | 3.9.0 | @uppy/react | 3.2.0 |
| @uppy/companion | 4.11.0 | @uppy/transloadit | 3.4.0 |
| @uppy/companion-client | 3.6.0 | @uppy/tus | 3.4.0 |
| @uppy/core | 3.7.0 | @uppy/url | 3.4.0 |
| @uppy/dashboard | 3.7.0 | @uppy/utils | 5.6.0 |
| @uppy/image-editor | 2.3.0 | @uppy/xhr-upload | 3.5.0 |
| @uppy/locales | 3.4.0 | uppy | 3.19.0 |
- @uppy/dashboard: Remove uppy-Dashboard-isFixed when uppy.close() is invoked (Artur Paikin / #4775 )
- @uppy/core,@uppy/dashboard: don't cancel all files when clicking "done" (Mikael Finstad / #4771 )
- @uppy/utils: refactor to TS (Antoine du Hamel / #4699 )
- @uppy/locales: locales: add ca_ES (ordago / #4772 )
- @uppy/companion: Companion+client stability fixes, error handling and retry (Mikael Finstad / #4734 )
- @uppy/companion: add getBucket metadata argument (Mikael Finstad / #4770 )
- @uppy/core: simplify types with class generic (JokcyLou / #4761 )
- @uppy/image-editor: More image editor improvements (Evgenia Karunus / #4676 )
- @uppy/react: add useUppyState (Merlijn Vos / #4711 )
2023-11-08 23:42:11 +00:00
Antoine du Hamel
51ecc66e64
@uppy/utils: refactor to TS ( #4699 )
...
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
Co-authored-by: Nick Rutten <2504906+nickrttn@users.noreply.github.com>
Co-authored-by: Murderlon <merlijn@soverin.net>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2023-11-06 15:01:50 +01:00
Mikael Finstad
17826da517
Companion+client stability fixes, error handling and retry ( #4734 )
...
* respond with 500 if unhandled upload error
400 seems inappropriate
* add todo
* fix companion download error
respond with correct response code when calling /get
and request to the upstream server fail
also add a unit test for this
* forward 429 from provider
allows us to retry it
* rename fn
* add a way to test refresh tokens
* fix race condtiion with refreshing token
* implement retry and fix socket
- Make sure we don't instantiate a new Provider for every file uploaded (reuse the original provider instead) - this caused the refresh token synchronization not to work
- Retry most errors when uploading (`/get`) using companion, but for HTTP, only retry certain HTTP status codes
- Reimplement the websocket code to be more stable and retry as well
* remove unused socket wrapper
* remove useFastRemoteRetry
because it isn't supported in Companion as far as I can tell
* fix error handling
* remove unneeded logic
* apply review suggestion
* retry awaiting for companion socket too
* retry whole operation instead of individually
or else we risk getting stuck retrying just half of the operation, which might never recover
* improvements
- rewrite so we can use p-retry for exponential backoff for socket reconnect too
- improve logging
- simplify/reuse code
* Update packages/@uppy/utils/src/fetchWithNetworkError.js
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
* Explain requestClient Symbol with comment
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
* Update packages/@uppy/provider-views/src/View.js
* fixes
preventing socket.send when the socket is not in the connected state
catch errors in handlers
* log if trying to refresh with no token
* log whether we got a refresh token
* dont log retrying when in reality not
* always prompt: consent
for google drive
* add signal to post
* refactor away eventmanager
and event handler error catching
* don't fail with upload-error
if a file is canceled
* fix expect
* add capabilities support
* make requestClient non-enumerable
---------
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2023-11-02 21:31:34 +09:00
github-actions[bot]
49c9bcc8b7
Release: uppy@3.18.0 ( #4754 )
...
| Package | Version | Package | Version |
| ------------------------- | ------- | ------------------------- | ------- |
| @uppy/angular | 0.6.1 | @uppy/progress-bar | 3.0.4 |
| @uppy/audio | 1.1.4 | @uppy/provider-views | 3.6.0 |
| @uppy/aws-s3 | 3.4.0 | @uppy/react | 3.1.4 |
| @uppy/aws-s3-multipart | 3.8.0 | @uppy/remote-sources | 1.1.0 |
| @uppy/box | 2.1.4 | @uppy/screen-capture | 3.1.3 |
| @uppy/companion | 4.10.0 | @uppy/status-bar | 3.2.5 |
| @uppy/companion-client | 3.5.0 | @uppy/store-default | 3.0.5 |
| @uppy/compressor | 1.0.5 | @uppy/store-redux | 3.0.5 |
| @uppy/core | 3.6.0 | @uppy/svelte | 3.1.1 |
| @uppy/dashboard | 3.6.0 | @uppy/thumbnail-generator | 3.0.6 |
| @uppy/drop-target | 2.0.2 | @uppy/transloadit | 3.3.2 |
| @uppy/dropbox | 3.1.4 | @uppy/tus | 3.3.2 |
| @uppy/facebook | 3.1.3 | @uppy/unsplash | 3.2.3 |
| @uppy/file-input | 3.0.4 | @uppy/url | 3.3.4 |
| @uppy/form | 3.0.3 | @uppy/utils | 5.5.2 |
| @uppy/golden-retriever | 3.1.1 | @uppy/vue | 1.1.0 |
| @uppy/google-drive | 3.3.0 | @uppy/webcam | 3.3.4 |
| @uppy/image-editor | 2.2.2 | @uppy/xhr-upload | 3.4.2 |
| @uppy/informer | 3.0.4 | @uppy/zoom | 2.1.3 |
| @uppy/instagram | 3.1.3 | uppy | 3.18.0 |
| @uppy/onedrive | 3.1.4 | | |
- @uppy/aws-s3-multipart: fix `TypeError` (Antoine du Hamel / #4748 )
- meta: Bump tough-cookie from 4.1.2 to 4.1.3 (dependabot[bot] / #4750 )
- meta: example: simplify code by using built-in `throwIfAborted` (Antoine du Hamel / #4749 )
- @uppy/aws-s3-multipart: pass `signal` as separate arg for backward compat (Antoine du Hamel / #4746 )
- meta: fix TS integration (Antoine du Hamel / #4741 )
- meta: fix js2ts check (Antoine du Hamel)
- meta: add support for TypeScript plugins (Antoine du Hamel / #4640 )
- @uppy/vue: export FileInput (mdxiaohu / #4736 )
- meta: examples: update `server.py` (codehero7386 / #4732 )
- @uppy/aws-s3-multipart: fix `uploadURL` when using `PUT` (Antoine du Hamel / #4701 )
- @uppy/dashboard: auto discover and install plugins without target (Artur Paikin / #4343 )
- meta: e2e: upgrade Cypress (Antoine du Hamel / #4731 )
- @uppy/core: mark the package as side-effect free (Antoine du Hamel / #4730 )
- meta: Bump postcss from 8.4.16 to 8.4.31 (dependabot[bot] / #4723 )
- meta: test with the latest versions of Node.js (Antoine du Hamel / #4729 )
- meta: e2e: update Parcel (Antoine du Hamel / #4726 )
- meta: uppy: fix types (Antoine du Hamel / #4721 )
- @uppy/core: type more events (Antoine du Hamel / #4719 )
- @uppy/svelte: fix TS build command (Antoine du Hamel / #4720 )
- @uppy/companion: Bucket fn also remote files (Mikael Finstad / #4693 )
- @uppy/companion-client: fixup! Added Companion OAuth Key type (Murderlon / #4668 )
- @uppy/companion-client: Added Companion OAuth Key type (Chris Pratt / #4668 )
- meta: check for formatting in CI (Antoine du Hamel / #4714 )
- meta: bump get-func-name from 2.0.0 to 2.0.2 (dependabot[bot] / #4709 )
- meta: run Prettier on existing files (Antoine du Hamel / #4713 )
2023-10-20 15:20:18 +00:00
Antoine du Hamel
34c78e9093
meta: run Prettier on existing files ( #4713 )
2023-09-29 11:11:28 +02:00
github-actions[bot]
a5f6248506
Release: uppy@3.17.0 ( #4716 )
...
| Package | Version | Package | Version |
| ------------------------- | ------- | ------------------------- | ------- |
| @uppy/audio | 1.1.3 | @uppy/store-default | 3.0.4 |
| @uppy/aws-s3 | 3.3.1 | @uppy/store-redux | 3.0.4 |
| @uppy/aws-s3-multipart | 3.7.0 | @uppy/svelte | 3.1.0 |
| @uppy/companion | 4.9.1 | @uppy/thumbnail-generator | 3.0.5 |
| @uppy/companion-client | 3.4.1 | @uppy/transloadit | 3.3.1 |
| @uppy/compressor | 1.0.4 | @uppy/tus | 3.3.1 |
| @uppy/core | 3.5.1 | @uppy/utils | 5.5.1 |
| @uppy/dashboard | 3.5.4 | @uppy/webcam | 3.3.3 |
| @uppy/image-editor | 2.2.1 | @uppy/xhr-upload | 3.4.1 |
| @uppy/remote-sources | 1.0.4 | uppy | 3.17.0 |
- meta: add Prettier (Antoine du Hamel / #4707 )
- @uppy/aws-s3-multipart: retry signature request (Merlijn Vos / #4691 )
- meta: update linter config to cover more files (Mikael Finstad / #4706 )
- @uppy/image-editor: ImageEditor.jsx - remove 1px black lines (Evgenia Karunus / #4678 )
- meta: delete `.yarn/releases/yarn-3.4.1.cjs` (Antoine du Hamel)
- meta: fix linter errors (Antoine du Hamel / #4704 )
- @uppy/utils: test: migrate to Vitest for Uppy core and Uppy plugins (Antoine du Hamel / #4700 )
- meta: run corepack yarn (Mikael Finstad)
- @uppy/companion: upgrade TS target (Mikael Finstad / #4670 )
- @uppy/companion: use deferred length for tus streams (Mikael Finstad / #4697 )
- @uppy/companion-client: fix a refresh token race condition (Mikael Finstad / #4695 )
- meta: add companion hotfix doc (Mikael Finstad / #4683 )
- meta: run type checks also for companion and add files to docker (Mikael Finstad / #4688 )
- @uppy/svelte: revert breaking change (Antoine du Hamel / #4694 )
- meta: Update yarn.lock (Artur Paikin)
- @uppy/companion: fix instagram/facebook auth error regression (Mikael Finstad / #4692 )
- @uppy/aws-s3-multipart: aws-s3-multipart - call `#setCompanionHeaders` in `setOptions` (jur-ng / #4687 )
- @uppy/svelte: Upgrade Svelte to 4 (frederikhors / #4652 )
- @uppy/companion: add test endpoint for dynamic oauth creds (Mikael Finstad / #4667 )
- meta: fix VITE_COMPANION_ALLOWED_HOSTS (Mikael Finstad / #4690 )
- @uppy/companion: fix edge case for pagination on root (Mikael Finstad / #4689 )
- @uppy/companion: fix onedrive pagination (Mikael Finstad / #4686 )
2023-09-29 07:53:42 +00:00
Antoine du Hamel
2c432b12cd
test: migrate to Vitest for Uppy core and Uppy plugins ( #4700 )
2023-09-26 17:23:17 +02:00
github-actions[bot]
a16de33593
Release: uppy@3.15.0 ( #4660 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/angular | 0.6.0 | @uppy/dashboard | 3.5.2 |
| @uppy/aws-s3 | 3.3.0 | @uppy/transloadit | 3.3.0 |
| @uppy/aws-s3-multipart | 3.6.0 | @uppy/tus | 3.2.0 |
| @uppy/companion | 4.8.2 | @uppy/utils | 5.5.0 |
| @uppy/companion-client | 3.4.0 | @uppy/xhr-upload | 3.4.0 |
| @uppy/core | 3.5.0 | uppy | 3.15.0 |
- @uppy/transloadit: Emit assembly progress events (Marius / #4603 )
- @uppy/transloadit: remove Socket.io (Antoine du Hamel / #4281 )
- meta: example: update Angular example to 16.x (Antoine du Hamel / #4642 )
- @uppy/angular: upgrade to Angular 16.x (Antoine du Hamel / #4642 )
- @uppy/companion: refactor `getProtectedHttpAgent` to make TS happy (Antoine du Hamel / #4654 )
- @uppy/companion: Alias "removeListener" as "off" in Redis emitter (Elliot Dickison / #4647 )
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/companion-client,@uppy/core,@uppy/tus,@uppy/utils,@uppy/xhr-upload: Move remote file upload logic into companion-client (Merlijn Vos / #4573 )
- @uppy/dashboard: when showAddFilesPanel is true, aria-hidden should be the opposite (Artur Paikin / #4643 )
2023-09-05 11:10:18 +00:00
Merlijn Vos
ef613e6a9f
Move remote file upload logic into companion-client ( #4573 )
2023-08-24 14:27:28 +02:00
github-actions[bot]
15245833e9
Release: uppy@3.13.1 ( #4600 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3-multipart | 3.5.2 | uppy | 3.13.1 |
| @uppy/utils | 5.4.3 | | |
- @uppy/utils: align version of `preact` with the UI plugins (Antoine du Hamel / #4599 )
- @uppy/aws-s3-multipart: refresh file before calling user-defined functions (mjlumetta / #4557 )
- @uppy/utils: align version of `preact` with the UI plugins (Antoine du Hamel / #4599 )
2023-07-24 20:43:34 +00:00
Antoine du Hamel
090b974c1c
@uppy/utils: align version of preact with the UI plugins ( #4599 )
2023-07-24 21:34:57 +02:00
github-actions[bot]
514690781a
Release: uppy@3.13.0 ( #4595 )
...
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/aws-s3-multipart | 3.5.1 | @uppy/provider-views | 3.4.1 |
| @uppy/companion-client | 3.2.2 | @uppy/status-bar | 3.2.3 |
| @uppy/dashboard | 3.5.0 | @uppy/utils | 5.4.2 |
| @uppy/locales | 3.2.4 | uppy | 3.13.0 |
- meta: Add i18n to CONTRIBUTING.md (Mikael Finstad / #4591 )
- @uppy/provider-views: Add VirtualList to ProviderView (Merlijn Vos / #4566 )
- @uppy/provider-views: fix race conditions with folder loading (Mikael Finstad / #4578 )
- @uppy/status-bar: fix ETA when status bar is installed during upload (Antoine du Hamel / #4588 )
- @uppy/provider-views: fix infinite folder loading (Mikael Finstad / #4590 )
- meta: examples/aws: client-side signing (Antoine du Hamel / #4463 )
- meta: Bump word-wrap from 1.2.3 to 1.2.4 (dependabot[bot] / #4586 )
- meta: e2e: increase `requestTimeout` to 16s (Antoine du Hamel / #4587 )
- @uppy/locales: update zh_TW translation (5idereal / #4583 )
- @uppy/aws-s3-multipart: fix crash on pause/resume (Merlijn Vos / #4581 )
- @uppy/aws-s3-multipart: do not access `globalThis.crypto` on the top-level (Bryan J Swift / #4584 )
2023-07-20 14:26:23 +00:00