Releases: pingdotgg/uploadthing
uploadthing@6.12.0
Minor Changes
-
#796
24cdb51
Thanks @juliusmarminge! - feat: acceptrouteConfig
directly inuploadthing/client.generateMimeTypes
You no longer have to combine
generatePermittedFileTypes
andgenerateMimeTypes
:- accept={generateMimeTypes( - generatePermittedFileTypes(routeConfig).fileTypes, - ).join(",")} + accept={generateMimeTypes(routeConfig ?? {}).join(",")}
Patch Changes
- #796
24cdb51
Thanks @juliusmarminge! - feat: addadditionalProperties
option to file route configs to allow configurations such as image dimension / aspect ratio to propagate down to client
@uploadthing/vue@6.6.0
@uploadthing/svelte@6.6.0
@uploadthing/solid@6.5.0
@uploadthing/shared@6.7.5
Patch Changes
-
#808
4fea8f4
Thanks @juliusmarminge! - fix treeshakeability ofEffect
dependency by avoiding top-level function calls, and falling back to#__PURE__
directives otherwiseImporting some utility from e.g.
@uploadthing/shared
should not explode bundle ifEffect
isn't used for other stuff -
#810
4f57264
Thanks @juliusmarminge! - dump all matching mimetypes when using "catch-all" generic types to support more browser / OS configurations -
#813
7d93270
Thanks @juliusmarminge! - refactor header parsing to support breaking change in Node.js 20.13
@uploadthing/react@6.6.0
Minor Changes
-
#809
ab89d48
Thanks @growupanand! - added onDrop prop for UploadDropzone component -
#800
43b685a
Thanks @juliusmarminge! - feat: addgenerateReactHelpers.getRouteConfig
,isValidFileSize
andisValidFileType
helpers💡 See https://github.com/pingdotgg/uploadthing/blob/main/examples/with-novel/uploadthing/novel-plugin.ts#L50-L61 for a live example utilizing these helpers.
Patch Changes
@uploadthing/nuxt@6.5.6
Patch Changes
- Updated dependencies [
ab89d48
]:- @uploadthing/vue@6.6.0
uploadthing@6.10.4
Patch Changes
-
811b4cb
Thanks @juliusmarminge! - chore: remove@effect/schema
from client bundle resulting in up to 15kB less JS shipped to client (#794) -
#798
cea8e9d
Thanks @juliusmarminge! - fix: add customid to response schema for utapi.listFiles -
Updated dependencies [
811b4cb
,5e6e64c
]:- @uploadthing/shared@6.7.4
- @uploadthing/mime-types@0.2.10