Skip to content

Releases: pingdotgg/uploadthing

[email protected]

07 Nov 12:05
4954c99
Compare
Choose a tag to compare

Minor Changes

Patch Changes

@uploadthing/[email protected]

07 Nov 12:05
4954c99
Compare
Choose a tag to compare

Patch Changes

@uploadthing/[email protected]

07 Nov 12:05
4954c99
Compare
Choose a tag to compare

Patch Changes

@uploadthing/[email protected]

07 Nov 12:05
4954c99
Compare
Choose a tag to compare

Patch Changes

@uploadthing/[email protected]

07 Nov 12:05
4954c99
Compare
Choose a tag to compare

Patch Changes

@uploadthing/[email protected]

07 Nov 12:05
4954c99
Compare
Choose a tag to compare

Patch Changes

@uploadthing/[email protected]

07 Nov 12:05
4954c99
Compare
Choose a tag to compare

Patch Changes

@uploadthing/[email protected]

07 Nov 12:05
4954c99
Compare
Choose a tag to compare

Patch Changes

@uploadthing/[email protected]

07 Nov 12:05
4954c99
Compare
Choose a tag to compare

Patch Changes

[email protected]

25 Oct 09:58
f7a6b90
Compare
Choose a tag to compare

Minor Changes

  • #1008 3acc199 Thanks @juliusmarminge! - feat: add support to specify route endpoint that supports "Go to Definition"

    All places that accept the endpoint argument now additionally accept a function that gets a route registry as input and returns the endpoint to use. This allows for "Go to Definition" to go to the backend route definition directly from the component.

    Examples

    // uploadthing/client#uploadFiles
    uploadFiles(
        (routeRegistry) => routeRegistry.videoAndImage,
        { ... }
    )
    
    // uploadthing/react#useUploadThing
    useUploadThing(
        (routeRegistry) => routeRegistry.videoAndImage,
        { ... }
    )
    
    // uploadthing/react#UploadButton
    <UploadButton
        endpoint={(routeRegistry) => routeRegistry.videoAndImage}
        { ... }
    />

Patch Changes