pingdotgg / uploadthing

File uploads for modern web devs
https://uploadthing.com
MIT License
3.87k stars 282 forks source link

fix: don't validate schema for non-ok requests #770

Closed juliusmarminge closed 4 months ago

juliusmarminge commented 4 months ago

this causes some confusion errors since if the requests failed the schema wont match and it's better to show an error with the response message

updates effect, we can now drop the $-adapter thing to make yielding much nicer 👍🏼

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 67c8839182ad98802ae91c464a0de37feb3f0695

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages | Name | Type | | ------------------- | ----- | | uploadthing | Patch | | @uploadthing/shared | Patch | | @uploadthing/nuxt | Patch | | @uploadthing/react | Patch | | @uploadthing/solid | Patch | | @uploadthing/svelte | Patch | | @uploadthing/vue | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-uploadthing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2024 11:40am
github-actions[bot] commented 4 months ago

A new canary is available for testing. You can install this latest build in your project with:

pnpm add @uploadthing/dropzone@0.4.1-canary.f1b6619
pnpm add @uploadthing/mime-types@0.2.9-canary.f1b6619
pnpm add @uploadthing/nuxt@6.5.2-canary.f1b6619
pnpm add @uploadthing/react@6.5.1-canary.f1b6619
pnpm add @uploadthing/shared@6.7.1-canary.f1b6619
pnpm add @uploadthing/solid@6.4.1-canary.f1b6619
pnpm add @uploadthing/svelte@6.5.1-canary.f1b6619
pnpm add uploadthing@6.10.1-canary.f1b6619
pnpm add @uploadthing/vue@6.5.1-canary.f1b6619