uppy/packages/@uppy
Mikael Finstad 151da8bdfe
coalesce options bucket and getKey (#5169)
* coalesce options `bucket` and `getKey`

this is a breaking change!
also:
- remove `req` because it's an internal, unstable api that might change any time and should not be used directly
- use an params object for getKey/bucket functions instead of positional arguments, to make it more clean, and easier to add more data in the future
- add metadata to `bucket` whenever we are aware of it

* fix lint

* Apply suggestions from code review

Co-authored-by: Antoine du Hamel <antoine@transloadit.com>

* add back `Request` object

also add filename to `bucket` for consistency

* add migration steps

* fix lint

* Update docs/guides/migration-guides.md

Co-authored-by: Antoine du Hamel <antoine@transloadit.com>

---------

Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2024-06-13 23:32:38 +02:00
..
angular Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
audio Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
aws-s3 @uppy/aws-s3: add endpoint option (#5173) 2024-06-13 14:55:12 +02:00
aws-s3-multipart Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
box Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
companion coalesce options bucket and getKey (#5169) 2024-06-13 23:32:38 +02:00
companion-client Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
compressor Release: uppy@4.0.0-beta.8 (#5189) 2024-05-22 08:14:30 +00:00
core @uppy/core: add generic to getPlugin (#5247) 2024-06-13 10:17:58 +02:00
dashboard Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
drag-drop Release: uppy@4.0.0-beta.5 (#5141) 2024-05-03 12:58:13 +00:00
drop-target Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
dropbox Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
facebook Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
file-input Release: uppy@4.0.0-beta.5 (#5141) 2024-05-03 12:58:13 +00:00
form Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
golden-retriever Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
google-drive Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
image-editor Release: uppy@4.0.0-beta.8 (#5189) 2024-05-22 08:14:30 +00:00
informer Release: uppy@4.0.0-beta.5 (#5141) 2024-05-03 12:58:13 +00:00
instagram Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
locales @uppy/locales: fix fa_IR export (#5241) 2024-06-13 14:22:07 +02:00
onedrive Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
progress-bar Release: uppy@4.0.0-beta.5 (#5141) 2024-05-03 12:58:13 +00:00
provider-views Merge branch 'main' of https://github.com/transloadit/uppy 2024-06-13 14:17:57 +02:00
react Release: uppy@4.0.0-beta.11 (#5243) 2024-06-13 11:22:50 +00:00
react-native meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
redux-dev-tools Release: uppy@4.0.0-beta.5 (#5141) 2024-05-03 12:58:13 +00:00
remote-sources Release: uppy@4.0.0-beta.5 (#5141) 2024-05-03 12:58:13 +00:00
screen-capture Release: uppy@4.0.0-beta.7 (#5162) 2024-05-14 15:14:15 +00:00
status-bar Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
store-default Release: uppy@4.0.0-beta.5 (#5141) 2024-05-03 12:58:13 +00:00
store-redux Release: uppy@4.0.0-beta.5 (#5141) 2024-05-03 12:58:13 +00:00
svelte Release: uppy@4.0.0-beta.8 (#5189) 2024-05-22 08:14:30 +00:00
thumbnail-generator Release: uppy@4.0.0-beta.5 (#5141) 2024-05-03 12:58:13 +00:00
transloadit Merge branch 'main' of https://github.com/transloadit/uppy 2024-06-13 14:17:57 +02:00
tus Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
unsplash Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
url Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
utils Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
vue Release: uppy@4.0.0-beta.8 (#5189) 2024-05-22 08:14:30 +00:00
webcam Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
xhr-upload Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00
zoom Release: uppy@4.0.0-beta.10 (#5225) 2024-06-04 15:31:36 +00:00