uppy/examples
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-example @uppy/core: set default for Body generic (#5244) 2024-06-11 15:41:01 +02:00
aws-companion coalesce options bucket and getKey (#5169) 2024-06-13 23:32:38 +02:00
aws-nodejs @uppy/aws-s3: add endpoint option (#5173) 2024-06-13 14:55:12 +02:00
aws-php meta: update more dependencies (#5171) 2024-05-15 18:54:24 +02:00
bundled meta: run Prettier on existing files (#4713) 2023-09-29 11:11:28 +02:00
cdn-example Release: uppy@4.0.0-beta.11 (#5243) 2024-06-13 11:22:50 +00:00
custom-provider @uppy/companion: rename authProvider to oauthProvider (#5198) 2024-05-30 17:22:49 +02:00
digitalocean-spaces coalesce options bucket and getKey (#5169) 2024-06-13 23:32:38 +02:00
multiple-instances meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
node-xhr meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
php-xhr meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
python-xhr meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
react-example examples: make React example up-to-date (#5205) 2024-05-30 12:54:07 +02:00
react-native-expo meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
redux meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
svelte-example examples: add SvelteKit example (#5181) 2024-05-22 10:05:03 +02:00
transloadit meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00
transloadit-markdown-bin meta: update more dependencies (#5171) 2024-05-15 18:54:24 +02:00
uppy-with-companion Release: uppy@4.0.0-beta.11 (#5243) 2024-06-13 11:22:50 +00:00
vue3 Merge branch 'main' into 4.x 2024-05-02 12:26:16 +02:00
xhr-bundle meta: enable prettier for markdown (#5133) 2024-05-02 11:35:55 +02:00