diff --git a/.changeset/heavy-toes-kneel.md b/.changeset/heavy-toes-kneel.md deleted file mode 100644 index 7799d9bd28..0000000000 --- a/.changeset/heavy-toes-kneel.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"uploadthing": patch -"@uploadthing/react": patch ---- - -Fixed types and returns for onComplete functions and promises diff --git a/.changeset/light-badgers-doubt.md b/.changeset/light-badgers-doubt.md deleted file mode 100644 index a36e9eb947..0000000000 --- a/.changeset/light-badgers-doubt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"uploadthing": patch ---- - -[chore] better client errors diff --git a/examples/appdir/package.json b/examples/appdir/package.json index 6fe6622b8e..e4b93e2a92 100644 --- a/examples/appdir/package.json +++ b/examples/appdir/package.json @@ -11,14 +11,14 @@ }, "dependencies": { "@tanstack/react-query": "^4.28.0", - "@uploadthing/react": "3.0.1", + "@uploadthing/react": "3.0.2", "autoprefixer": "10.4.14", "next": "13.4.1", "postcss": "8.4.22", "react": "18.2.0", "react-dom": "18.2.0", "tailwindcss": "^3.3.2", - "uploadthing": "3.0.1", + "uploadthing": "3.0.2", "zod": "^3.21.4", "zod-validation-error": "^1.1.0" }, diff --git a/examples/pagedir/package.json b/examples/pagedir/package.json index eb09135f80..215e1bc378 100644 --- a/examples/pagedir/package.json +++ b/examples/pagedir/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@tanstack/react-query": "^4.28.0", - "@uploadthing/react": "3.0.1", + "@uploadthing/react": "3.0.2", "autoprefixer": "10.4.14", "next": "13.4.1", "next-auth": "^4.22.1", @@ -19,7 +19,7 @@ "react": "18.2.0", "react-dom": "18.2.0", "tailwindcss": "^3.3.2", - "uploadthing": "3.0.1", + "uploadthing": "3.0.2", "zod": "^3.21.4", "zod-validation-error": "^1.1.0" }, diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 2f24885e87..8e08634396 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,14 @@ # @uploadthing/react +## 3.0.2 + +### Patch Changes + +- [#51](https://github.com/pingdotgg/uploadthing/pull/51) [`9e68b5a`](https://github.com/pingdotgg/uploadthing/commit/9e68b5a12f9747113ccd8cc930e04bcf38cbe79c) Thanks [@t3dotgg](https://github.com/t3dotgg)! - Fixed types and returns for onComplete functions and promises + +- Updated dependencies [[`9e68b5a`](https://github.com/pingdotgg/uploadthing/commit/9e68b5a12f9747113ccd8cc930e04bcf38cbe79c), [`336d361`](https://github.com/pingdotgg/uploadthing/commit/336d361763a870240f9703522e244d1e3dfe8861)]: + - uploadthing@3.0.2 + ## 3.0.1 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 3dd6d3bf7c..4eb10ba551 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@uploadthing/react", - "version": "3.0.1", + "version": "3.0.2", "license": "MIT", "exports": { "./package.json": "./package.json", @@ -35,7 +35,7 @@ "peerDependencies": { "react": "^17.0.2 || ^18.0.0", "react-dropzone": "^14.2.3", - "uploadthing": "3.0.1" + "uploadthing": "3.0.2" }, "devDependencies": { "@tailwindcss/forms": "^0.5.3", @@ -51,7 +51,7 @@ "tailwindcss": "^3.3.2", "tsup": "6.7.0", "typescript": "5.1.0-beta", - "uploadthing": "3.0.1", + "uploadthing": "3.0.2", "vitest": "^0.30.1" }, "publishConfig": { diff --git a/packages/uploadthing/CHANGELOG.md b/packages/uploadthing/CHANGELOG.md index d1b78861ba..ea23459649 100644 --- a/packages/uploadthing/CHANGELOG.md +++ b/packages/uploadthing/CHANGELOG.md @@ -1,5 +1,13 @@ # uploadthing +## 3.0.2 + +### Patch Changes + +- [#51](https://github.com/pingdotgg/uploadthing/pull/51) [`9e68b5a`](https://github.com/pingdotgg/uploadthing/commit/9e68b5a12f9747113ccd8cc930e04bcf38cbe79c) Thanks [@t3dotgg](https://github.com/t3dotgg)! - Fixed types and returns for onComplete functions and promises + +- [#57](https://github.com/pingdotgg/uploadthing/pull/57) [`336d361`](https://github.com/pingdotgg/uploadthing/commit/336d361763a870240f9703522e244d1e3dfe8861) Thanks [@markflorkowski](https://github.com/markflorkowski)! - [chore] better client errors + ## 3.0.1 ### Patch Changes diff --git a/packages/uploadthing/package.json b/packages/uploadthing/package.json index 53eba3b838..410f29eda2 100644 --- a/packages/uploadthing/package.json +++ b/packages/uploadthing/package.json @@ -1,6 +1,6 @@ { "name": "uploadthing", - "version": "3.0.1", + "version": "3.0.2", "license": "MIT", "exports": { "./package.json": "./package.json", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cb5c6f9b8e..f12aa6ec82 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -94,7 +94,7 @@ importers: specifier: ^4.28.0 version: 4.28.0(react-dom@18.2.0)(react@18.2.0) '@uploadthing/react': - specifier: 3.0.1 + specifier: 3.0.2 version: link:../../packages/react autoprefixer: specifier: 10.4.14 @@ -115,7 +115,7 @@ importers: specifier: ^3.3.2 version: 3.3.2 uploadthing: - specifier: 3.0.1 + specifier: 3.0.2 version: link:../../packages/uploadthing zod: specifier: ^3.21.4 @@ -155,7 +155,7 @@ importers: specifier: ^4.28.0 version: 4.28.0(react-dom@18.2.0)(react@18.2.0) '@uploadthing/react': - specifier: 3.0.1 + specifier: 3.0.2 version: link:../../packages/react autoprefixer: specifier: 10.4.14 @@ -179,7 +179,7 @@ importers: specifier: ^3.3.2 version: 3.3.2 uploadthing: - specifier: 3.0.1 + specifier: 3.0.2 version: link:../../packages/uploadthing zod: specifier: ^3.21.4 @@ -255,7 +255,7 @@ importers: specifier: 5.1.0-beta version: 5.1.0-beta uploadthing: - specifier: 3.0.1 + specifier: 3.0.2 version: link:../uploadthing vitest: specifier: ^0.30.1