github pingdotgg/uploadthing uploadthing@6.12.0

10 months ago

Minor Changes

  • #796 24cdb51 Thanks @juliusmarminge! - feat: accept routeConfig directly in uploadthing/client.generateMimeTypes

    You no longer have to combine generatePermittedFileTypes and generateMimeTypes:

    - accept={generateMimeTypes(
    -   generatePermittedFileTypes(routeConfig).fileTypes,
    - ).join(",")}
    + accept={generateMimeTypes(routeConfig ?? {}).join(",")}

Patch Changes

  • #796 24cdb51 Thanks @juliusmarminge! - feat: add additionalProperties option to file route configs to allow configurations such as image dimension / aspect ratio to propagate down to client

Don't miss a new uploadthing release

NewReleases is sending notifications on new releases.