diff --git a/.changeset/curvy-crabs-teach.md b/.changeset/curvy-crabs-teach.md deleted file mode 100644 index 4242af8e9d..0000000000 --- a/.changeset/curvy-crabs-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"uploadthing": patch ---- - -fix(uploadthing): fixed incorrect mapping of precise MIME types diff --git a/.changeset/long-cameras-change.md b/.changeset/long-cameras-change.md deleted file mode 100644 index ec1cd0aa75..0000000000 --- a/.changeset/long-cameras-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@uploadthing/shared": patch ---- - -fix(types): change internal types to solve declaration emitting diff --git a/.changeset/metal-parents-bow.md b/.changeset/metal-parents-bow.md deleted file mode 100644 index 1fe66e3d9e..0000000000 --- a/.changeset/metal-parents-bow.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@uploadthing/react": patch -"@uploadthing/solid": patch -"uploadthing": patch ---- - -chore(deps): update dependency '@uploadthing/shared' diff --git a/.changeset/quick-carpets-refuse.md b/.changeset/quick-carpets-refuse.md deleted file mode 100644 index 2cbd2325f8..0000000000 --- a/.changeset/quick-carpets-refuse.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@uploadthing/shared": patch -"@uploadthing/react": patch -"@uploadthing/solid": patch -"uploadthing": patch ---- - -fix(shared): Swap order of cases in `getUploadthingUrl()` diff --git a/.changeset/ten-plums-notice.md b/.changeset/ten-plums-notice.md deleted file mode 100644 index ae266552fd..0000000000 --- a/.changeset/ten-plums-notice.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@uploadthing/react": minor -"@uploadthing/shared": minor -"uploadthing": minor ---- - -feat: improve errors and add `errorFormatter` option on the backend diff --git a/examples/appdir/package.json b/examples/appdir/package.json index ccd2e22b2c..71152c6111 100644 --- a/examples/appdir/package.json +++ b/examples/appdir/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@tanstack/react-query": "^4.29.12", - "@uploadthing/react": "5.1.0", + "@uploadthing/react": "5.2.0", "autoprefixer": "10.4.14", "next": "13.4.4", "postcss": "8.4.22", @@ -20,7 +20,7 @@ "react-dom": "18.2.0", "react-image-crop": "^10.1.5", "tailwindcss": "^3.3.2", - "uploadthing": "5.1.0", + "uploadthing": "5.2.0", "zod": "^3.21.4", "zod-validation-error": "^1.3.0" }, diff --git a/examples/pagedir/package.json b/examples/pagedir/package.json index 81cdd479ca..b11395ff39 100644 --- a/examples/pagedir/package.json +++ b/examples/pagedir/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@tanstack/react-query": "^4.29.12", - "@uploadthing/react": "5.1.0", + "@uploadthing/react": "5.2.0", "autoprefixer": "10.4.14", "next": "13.4.4", "next-auth": "^4.22.1", @@ -20,7 +20,7 @@ "react": "18.2.0", "react-dom": "18.2.0", "tailwindcss": "^3.3.2", - "uploadthing": "5.1.0", + "uploadthing": "5.2.0", "zod": "^3.21.4", "zod-validation-error": "^1.3.0" }, diff --git a/examples/solid/package.json b/examples/solid/package.json index 4dbcbe80ec..b476d189ba 100644 --- a/examples/solid/package.json +++ b/examples/solid/package.json @@ -24,14 +24,14 @@ "dependencies": { "@solidjs/meta": "^0.28.5", "@solidjs/router": "^0.8.2", - "@uploadthing/solid": "5.1.0", + "@uploadthing/solid": "5.1.1", "attr-accept": "^2.2.2", "file-selector": "^0.6.0", "solid-js": "^1.7.6", "solid-start": "^0.2.26", "solidjs-dropzone": "^1.0.0", "undici": "5.20.0", - "uploadthing": "5.1.0", + "uploadthing": "5.2.0", "zod": "^3.21.4" }, "engines": { diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 24b4bf3db6..42807a58ca 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,32 @@ # @uploadthing/react +## 5.2.0 + +### Minor Changes + +- [#195](https://github.com/pingdotgg/uploadthing/pull/195) + [`a6c969e`](https://github.com/pingdotgg/uploadthing/commit/a6c969e67c85df490907b121d8e7df41779172b3) + Thanks [@juliusmarminge](https://github.com/juliusmarminge)! - feat: improve + errors and add `errorFormatter` option on the backend + +### Patch Changes + +- [#205](https://github.com/pingdotgg/uploadthing/pull/205) + [`8658002`](https://github.com/pingdotgg/uploadthing/commit/8658002ca01e6502f06c2c56f90b353cf5db71df) + Thanks [@juliusmarminge](https://github.com/juliusmarminge)! - chore(deps): + update dependency '@uploadthing/shared' + +- [#207](https://github.com/pingdotgg/uploadthing/pull/207) + [`f3640fb`](https://github.com/pingdotgg/uploadthing/commit/f3640fb0872a12fe0ad95e0ac604136113fa6ca4) + Thanks [@markflorkowski](https://github.com/markflorkowski)! - fix(shared): + Swap order of cases in `getUploadthingUrl()` + +- Updated dependencies + [[`c508868`](https://github.com/pingdotgg/uploadthing/commit/c508868690d3de48094c10a7facb880662d03b6a), + [`f3640fb`](https://github.com/pingdotgg/uploadthing/commit/f3640fb0872a12fe0ad95e0ac604136113fa6ca4), + [`a6c969e`](https://github.com/pingdotgg/uploadthing/commit/a6c969e67c85df490907b121d8e7df41779172b3)]: + - @uploadthing/shared@5.1.0 + ## 5.1.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index a15b20b678..77d30c204c 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@uploadthing/react", - "version": "5.1.0", + "version": "5.2.0", "license": "MIT", "exports": { "./package.json": "./package.json", @@ -34,7 +34,7 @@ "dev": "wait-on ../uploadthing/dist/server.mjs && tsup --watch" }, "dependencies": { - "@uploadthing/shared": "^5.0.1" + "@uploadthing/shared": "^5.1.0" }, "peerDependencies": { "react": "^17.0.2 || ^18.0.0", @@ -56,7 +56,7 @@ "tailwindcss": "^3.3.2", "tsup": "6.7.0", "typescript": "5.1.3", - "uploadthing": "5.1.0", + "uploadthing": "5.2.0", "vitest": "^0.30.1", "wait-on": "^7.0.1", "zod": "^3.21.4" diff --git a/packages/shared/CHANGELOG.md b/packages/shared/CHANGELOG.md index 1ab905c76c..fac6701bea 100644 --- a/packages/shared/CHANGELOG.md +++ b/packages/shared/CHANGELOG.md @@ -1,5 +1,26 @@ # @uploadthing/shared +## 5.1.0 + +### Minor Changes + +- [#195](https://github.com/pingdotgg/uploadthing/pull/195) + [`a6c969e`](https://github.com/pingdotgg/uploadthing/commit/a6c969e67c85df490907b121d8e7df41779172b3) + Thanks [@juliusmarminge](https://github.com/juliusmarminge)! - feat: improve + errors and add `errorFormatter` option on the backend + +### Patch Changes + +- [#192](https://github.com/pingdotgg/uploadthing/pull/192) + [`c508868`](https://github.com/pingdotgg/uploadthing/commit/c508868690d3de48094c10a7facb880662d03b6a) + Thanks [@GentikSolm](https://github.com/GentikSolm)! - fix(types): change + internal types to solve declaration emitting + +- [#207](https://github.com/pingdotgg/uploadthing/pull/207) + [`f3640fb`](https://github.com/pingdotgg/uploadthing/commit/f3640fb0872a12fe0ad95e0ac604136113fa6ca4) + Thanks [@markflorkowski](https://github.com/markflorkowski)! - fix(shared): + Swap order of cases in `getUploadthingUrl()` + ## 5.0.1 ### Patch Changes diff --git a/packages/shared/package.json b/packages/shared/package.json index 521b021075..7199e422cb 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@uploadthing/shared", - "version": "5.0.1", + "version": "5.1.0", "license": "MIT", "exports": { "./package.json": "./package.json", diff --git a/packages/solid/CHANGELOG.md b/packages/solid/CHANGELOG.md index f096e5ba69..0e33e5a48a 100644 --- a/packages/solid/CHANGELOG.md +++ b/packages/solid/CHANGELOG.md @@ -1,5 +1,25 @@ # @uploadthing/solid +## 5.1.1 + +### Patch Changes + +- [#205](https://github.com/pingdotgg/uploadthing/pull/205) + [`8658002`](https://github.com/pingdotgg/uploadthing/commit/8658002ca01e6502f06c2c56f90b353cf5db71df) + Thanks [@juliusmarminge](https://github.com/juliusmarminge)! - chore(deps): + update dependency '@uploadthing/shared' + +- [#207](https://github.com/pingdotgg/uploadthing/pull/207) + [`f3640fb`](https://github.com/pingdotgg/uploadthing/commit/f3640fb0872a12fe0ad95e0ac604136113fa6ca4) + Thanks [@markflorkowski](https://github.com/markflorkowski)! - fix(shared): + Swap order of cases in `getUploadthingUrl()` + +- Updated dependencies + [[`c508868`](https://github.com/pingdotgg/uploadthing/commit/c508868690d3de48094c10a7facb880662d03b6a), + [`f3640fb`](https://github.com/pingdotgg/uploadthing/commit/f3640fb0872a12fe0ad95e0ac604136113fa6ca4), + [`a6c969e`](https://github.com/pingdotgg/uploadthing/commit/a6c969e67c85df490907b121d8e7df41779172b3)]: + - @uploadthing/shared@5.1.0 + ## 5.1.0 ### Minor Changes diff --git a/packages/solid/package.json b/packages/solid/package.json index 286ccf39cb..bc9b1ee1c1 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -2,7 +2,7 @@ "name": "@uploadthing/solid", "author": "OrJDev", "license": "MIT", - "version": "5.1.0", + "version": "5.1.1", "type": "module", "exports": { ".": { @@ -84,7 +84,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@uploadthing/shared": "^5.0.1" + "@uploadthing/shared": "^5.1.0" }, "devDependencies": { "autoprefixer": "10.4.14", @@ -95,7 +95,7 @@ "tsup": "6.7.0", "tsup-preset-solid": "0.1.8", "typescript": "5.1.3", - "uploadthing": "5.1.0" + "uploadthing": "5.2.0" }, "peerDependencies": { "solid-js": "^1.5.3", diff --git a/packages/uploadthing/CHANGELOG.md b/packages/uploadthing/CHANGELOG.md index f99097b456..6e0a6be7bd 100644 --- a/packages/uploadthing/CHANGELOG.md +++ b/packages/uploadthing/CHANGELOG.md @@ -1,5 +1,37 @@ # uploadthing +## 5.2.0 + +### Minor Changes + +- [#195](https://github.com/pingdotgg/uploadthing/pull/195) + [`a6c969e`](https://github.com/pingdotgg/uploadthing/commit/a6c969e67c85df490907b121d8e7df41779172b3) + Thanks [@juliusmarminge](https://github.com/juliusmarminge)! - feat: improve + errors and add `errorFormatter` option on the backend + +### Patch Changes + +- [#215](https://github.com/pingdotgg/uploadthing/pull/215) + [`e4f650c`](https://github.com/pingdotgg/uploadthing/commit/e4f650ca208f55074460d1eb20a70c15ab34f63b) + Thanks [@Mr0Bread](https://github.com/Mr0Bread)! - fix(uploadthing): fixed + incorrect mapping of precise MIME types + +- [#205](https://github.com/pingdotgg/uploadthing/pull/205) + [`8658002`](https://github.com/pingdotgg/uploadthing/commit/8658002ca01e6502f06c2c56f90b353cf5db71df) + Thanks [@juliusmarminge](https://github.com/juliusmarminge)! - chore(deps): + update dependency '@uploadthing/shared' + +- [#207](https://github.com/pingdotgg/uploadthing/pull/207) + [`f3640fb`](https://github.com/pingdotgg/uploadthing/commit/f3640fb0872a12fe0ad95e0ac604136113fa6ca4) + Thanks [@markflorkowski](https://github.com/markflorkowski)! - fix(shared): + Swap order of cases in `getUploadthingUrl()` + +- Updated dependencies + [[`c508868`](https://github.com/pingdotgg/uploadthing/commit/c508868690d3de48094c10a7facb880662d03b6a), + [`f3640fb`](https://github.com/pingdotgg/uploadthing/commit/f3640fb0872a12fe0ad95e0ac604136113fa6ca4), + [`a6c969e`](https://github.com/pingdotgg/uploadthing/commit/a6c969e67c85df490907b121d8e7df41779172b3)]: + - @uploadthing/shared@5.1.0 + ## 5.1.0 ### Minor Changes diff --git a/packages/uploadthing/package.json b/packages/uploadthing/package.json index 244731b413..dfab2100ce 100644 --- a/packages/uploadthing/package.json +++ b/packages/uploadthing/package.json @@ -1,6 +1,6 @@ { "name": "uploadthing", - "version": "5.1.0", + "version": "5.2.0", "license": "MIT", "exports": { "./package.json": "./package.json", @@ -52,7 +52,7 @@ }, "dependencies": { "@uploadthing/mime-types": "^0.2.0", - "@uploadthing/shared": "^5.0.1" + "@uploadthing/shared": "^5.1.0" }, "devDependencies": { "@uploadthing/eslint-config": "0.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d65626cdb5..9169a09c23 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -73,7 +73,7 @@ importers: specifier: ^4.29.12 version: 4.29.12(react-dom@18.2.0)(react@18.2.0) '@uploadthing/react': - specifier: 5.1.0 + specifier: 5.2.0 version: link:../../packages/react autoprefixer: specifier: 10.4.14 @@ -97,7 +97,7 @@ importers: specifier: ^3.3.2 version: 3.3.2 uploadthing: - specifier: 5.1.0 + specifier: 5.2.0 version: link:../../packages/uploadthing zod: specifier: ^3.21.4 @@ -137,7 +137,7 @@ importers: specifier: ^4.29.12 version: 4.29.12(react-dom@18.2.0)(react@18.2.0) '@uploadthing/react': - specifier: 5.1.0 + specifier: 5.2.0 version: link:../../packages/react autoprefixer: specifier: 10.4.14 @@ -161,7 +161,7 @@ importers: specifier: ^3.3.2 version: 3.3.2 uploadthing: - specifier: 5.1.0 + specifier: 5.2.0 version: link:../../packages/uploadthing zod: specifier: ^3.21.4 @@ -204,7 +204,7 @@ importers: specifier: ^0.8.2 version: 0.8.2(solid-js@1.7.6) '@uploadthing/solid': - specifier: 5.1.0 + specifier: 5.1.1 version: link:../../packages/solid attr-accept: specifier: ^2.2.2 @@ -225,7 +225,7 @@ importers: specifier: 5.20.0 version: 5.20.0 uploadthing: - specifier: 5.1.0 + specifier: 5.2.0 version: link:../../packages/uploadthing zod: specifier: ^3.21.4 @@ -334,7 +334,7 @@ importers: packages/react: dependencies: '@uploadthing/shared': - specifier: ^5.0.1 + specifier: ^5.1.0 version: link:../shared devDependencies: '@types/node': @@ -380,7 +380,7 @@ importers: specifier: 5.1.3 version: 5.1.3 uploadthing: - specifier: 5.1.0 + specifier: 5.2.0 version: link:../uploadthing vitest: specifier: ^0.30.1 @@ -422,7 +422,7 @@ importers: packages/solid: dependencies: '@uploadthing/shared': - specifier: ^5.0.1 + specifier: ^5.1.0 version: link:../shared devDependencies: autoprefixer: @@ -450,7 +450,7 @@ importers: specifier: 5.1.3 version: 5.1.3 uploadthing: - specifier: 5.1.0 + specifier: 5.2.0 version: link:../uploadthing packages/uploadthing: @@ -459,7 +459,7 @@ importers: specifier: ^0.2.0 version: link:../mime-types '@uploadthing/shared': - specifier: ^5.0.1 + specifier: ^5.1.0 version: link:../shared devDependencies: '@uploadthing/eslint-config':