Skip to content

🛢️ Rainbarrel

Latest

Choose a tag to compare

@mychidarko mychidarko released this 13 Aug 01:26

v5.0 - 13 Aug 2026

Added

  • Buckets now mirror the local filesystem 1:1: read(), write(), exists(), delete(), size(), lastModified() and mimeType() all work on bucket paths, not just uploads
  • Added temporaryUrl() for signed, expiring links, accepting a tick() date, DateTime or plain string
  • upload() accepts an open resource as well as a file path
  • Connecting with missing config throws a clear exception naming the missing key

Fixed

  • The visibility you pass is what gets applied, so private uploads stay private — worth re-checking the visibility on anything uploaded through earlier versions
  • createFile('docs/note.txt') writes to that exact path instead of creating a directory named after the file
  • URL generation uses your connection's endpoint, which fixes URLs for Cloudflare R2, Minio and DigitalOcean Spaces
  • Bucket object keys stay forward-slash on every OS, so bucket operations behave identically on Windows

Changed

  • S3 now requires PHP 8.2+ and jumps from v0.1.0 to v5.0 to version alongside the rest of Leaf 5