* 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>