laravel-temporary-uploads v2.0.0 is out.
- Require Laravel 13.
- Read only the file that
retrieve() checked, so an upload replaced after retrieval can no longer bypass the size limit. TemporaryFile now needs an S3 disk and the object's ETag.
- Delete a rejected oversized upload only while its ETag still matches the file that was checked, so a replacement uploaded in the meantime is kept on storage that honours conditional deletes, such as Amazon S3.
Temporary upload URLs, file retrieval, and cleanup for Laravel using S3-compatible storage.
https://github.com/hosmelq/laravel-temporary-uploads/releases/tag/v2.0.0GitHubRelease v2.0.0 · hosmelq/laravel-temporary-uploadsRequire Laravel 13. Read only the file that retrieve() checked, so an upload replaced after retrieval can no longer bypass the size limit. TemporaryFile now needs an S3 disk and the object's ETag. ...
commit 1fae3dc