diff --git a/.changeset/server-function-uploads.md b/.changeset/server-function-uploads.md deleted file mode 100644 index 685502579..000000000 --- a/.changeset/server-function-uploads.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@solidjs/start": minor ---- - -Let server functions take files and blobs anywhere in their arguments, not only inside a `FormData` that is the only argument. A call like `upload(file, { tags })`, or one with files in arrays, objects, maps, sets or form data, sends them as parts of multipart form data next to the serialized arguments, and the server function gets them as `File` values. Calls without files are sent as before. diff --git a/packages/start/CHANGELOG.md b/packages/start/CHANGELOG.md index 1cfce84c9..5f7af028b 100644 --- a/packages/start/CHANGELOG.md +++ b/packages/start/CHANGELOG.md @@ -1,5 +1,11 @@ # @solidjs/start +## 1.5.0 + +### Minor Changes + +- b97f1ee: Let server functions take files and blobs anywhere in their arguments, not only inside a `FormData` that is the only argument. A call like `upload(file, { tags })`, or one with files in arrays, objects, maps, sets or form data, sends them as parts of multipart form data next to the serialized arguments, and the server function gets them as `File` values. Calls without files are sent as before. + ## 1.4.0 ### Minor Changes diff --git a/packages/start/package.json b/packages/start/package.json index 959633619..5b270daee 100644 --- a/packages/start/package.json +++ b/packages/start/package.json @@ -1,6 +1,6 @@ { "name": "@solidjs/start", - "version": "1.4.0", + "version": "1.5.0", "type": "module", "author": "Ryan Carniato", "license": "MIT",