Releases: pingdotgg/uploadthing
[email protected]
Patch Changes
- #262
1ad326d
Thanks @juliusmarminge! - fix invalid
NextApiResponse
object for pages middleware
@uploadthing/[email protected]
[email protected]
Patch Changes
-
#251
872c8a0
Thanks @markflorkowski! - fix: coherent
file info in all methodsall methods now receives a similarly shaped object as the serverside
onUploadComplete
callback:export type UploadFileResponse = { name: string; size: number; key: string; url: string; };
Updated methods are:
onClientUploadComplete
in hooks as well as components (The oldfileName
,
fileSize
,fileUrl
andfileKey
are retained but marked as deprecated
for backwards compatibility, and will be removed in the next major.)utapi.uploadFiles
as well asutapi.uploadFilesFromUrl
-
Updated dependencies
[fe46b81
]:- @uploadthing/[email protected]
@uploadthing/[email protected]
Patch Changes
-
#251
872c8a0
Thanks @markflorkowski! - fix: coherent
file info in all methodsall methods now receives a similarly shaped object as the serverside
onUploadComplete
callback:export type UploadFileResponse = { name: string; size: number; key: string; url: string; };
Updated methods are:
onClientUploadComplete
in hooks as well as components (The oldfileName
,
fileSize
,fileUrl
andfileKey
are retained but marked as deprecated
for backwards compatibility, and will be removed in the next major.)utapi.uploadFiles
as well asutapi.uploadFilesFromUrl
-
Updated dependencies
[fe46b81
]:- @uploadthing/[email protected]
@uploadthing/[email protected]
Minor Changes
- #255
fe46b81
Thanks @juliusmarminge! - feat: add
serialization functions for UploadthingError
@uploadthing/[email protected]
Patch Changes
-
#251
872c8a0
Thanks @markflorkowski! - fix: coherent
file info in all methodsall methods now receives a similarly shaped object as the serverside
onUploadComplete
callback:export type UploadFileResponse = { name: string; size: number; key: string; url: string; };
Updated methods are:
onClientUploadComplete
in hooks as well as components (The oldfileName
,
fileSize
,fileUrl
andfileKey
are retained but marked as deprecated
for backwards compatibility, and will be removed in the next major.)utapi.uploadFiles
as well asutapi.uploadFilesFromUrl
-
Updated dependencies
[fe46b81
]:- @uploadthing/[email protected]
[email protected]
Patch Changes
- #247
84a7b7d
Thanks @juliusmarminge! - fix: runtime
return type ofutapi.uploadFiles
[email protected]
Minor Changes
-
#214
4191e16
Thanks @juliusmarminge! - feat: add
uploadFilesFromUrl
to utapi for server side uploads via URl -
#214
4191e16
Thanks @juliusmarminge! - feat: add
uploadFiles
to the utapi for serverside uplaods
Patch Changes
-
#228
e34d46b
Thanks @markflorkowski! - chore(utapi):
add server guard to listFiles -
#226
a1e6e3c
Thanks @juliusmarminge! - chore: add
server only guard -
#221
090c8ed
Thanks @juliusmarminge! - fix: errors
thrown in middleware causes entire request to throw -
#224
c02e99a
Thanks @markflorkowski! - feat(utapi):
Add listFiles to UTAPI
[email protected]
Patch Changes
- #219
a11a7f0
Thanks @juliusmarminge! - fix: make sure
url is absolute in pagedir
[email protected]
Minor Changes
- #195
a6c969e
Thanks @juliusmarminge! - feat: improve
errors and adderrorFormatter
option on the backend
Patch Changes
-
#215
e4f650c
Thanks @Mr0Bread! - fix(uploadthing): fixed
incorrect mapping of precise MIME types -
#205
8658002
Thanks @juliusmarminge! - chore(deps):
update dependency '@uploadthing/shared' -
#207
f3640fb
Thanks @markflorkowski! - fix(shared):
Swap order of cases ingetUploadthingUrl()
-
Updated dependencies
[c508868
,
f3640fb
,
a6c969e
]:- @uploadthing/[email protected]