Repository navigation
v0.6.0
Added
- Optional
storagecore.ObjectStoragestreaming capability, discovered throughstorage.Objects(disk), without extending the existingStorageinterface. - S3 paged object iteration, streamed reads and writes, content metadata, version-pinned reads, and ETag conditions. Object keys preserve literal dot segments, repeated slashes, percent signs, and XML-sensitive characters.
- Explicit
s3storage.PrepareBucketContextbucket provisioning, with permission failures kept distinct from missing buckets.
Streaming behavior
Callers provide an explicit write size, retain ownership of upload readers, and close returned object readers. Unsupported drivers return ErrUnsupported, without a whole-object buffering fallback. Seekable upload readers support SDK retries. Non-seekable HTTP uploads require the existing explicit UnsignedPayload opt-in; HTTPS retains SDK streaming checksums. Cancellation stops subsequent source reads, including SDK prehashing.
Compatibility and upgrade
Existing Storage, buffered Get and Put, and filesystem paths work as before. No data migration is required. The root, storagecore, and S3 modules continue to require Go 1.24.4; other module requirements remain as previously published.
All 12 Storage modules are available at v0.6.0. Upgrade the modules your application imports, for example:
go get github.com/goforj/storage@v0.6.0 github.com/goforj/storage/driver/s3storage@v0.6.0Changes: #32