github pingdotgg/uploadthing @uploadthing/solid@5.1.2

Patch Changes

  • #251
    872c8a0
    Thanks @markflorkowski! - fix: coherent
    file info in all methods

    all 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 old fileName,
      fileSize, fileUrl and fileKey are retained but marked as deprecated
      for backwards compatibility, and will be removed in the next major.)
    • utapi.uploadFiles as well as utapi.uploadFilesFromUrl
  • Updated dependencies
    [fe46b81]:

    • @uploadthing/shared@5.2.0

Don't miss a new uploadthing release

NewReleases is sending notifications on new releases.