Minor Changes
-
#619
7d23dd0
Thanks @juliusmarminge! - add version lock to ensureuploadthing/client
anduploadthing/server
uses same version -
#637
7fef94e
Thanks @juliusmarminge! - allow overriding filename when usingutapi.uploadFilesFromUrl
. This is useful when the pathname is too long, or when you just want to set your own name.utapi.uploadFilesFromUrl({ url: "https://example.com/super-long-pathname-that-exceeds-the-limit.jpg", name: "my-custom-name.jpg", });
you can also set a customId for the file by passing the
customId
option.utapi.uploadFilesFromUrl({ url: "https://example.com/foo.jpg", customId: "my-custom-id", });
-
#642
4e1cb0d
Thanks @juliusmarminge! - feat(client): addskipPolling
option
Patch Changes
-
#633
60d18c0
Thanks @juliusmarminge! - chore: remove unused classNames utility -
#607
8e9d502
Thanks @juliusmarminge! - fix url parsing and prefer x-forwarded-host before host header -
#630
28edc15
Thanks @juliusmarminge! - chore: enforce compatibleuploadthing
version for@uploadthing/react
-
#635
09dfa6a
Thanks @juliusmarminge! - chore: more elaborate log when dev callback fails -
#636
6ca94fc
Thanks @juliusmarminge! - fix: report failed PSP uplaods as failed to UploadThing -
#624
14d190d
Thanks @juliusmarminge! - export UTFiles from server entrypoint -
Updated dependencies [
f0a4ae4
,28edc15
]:- @uploadthing/shared@6.3.2