Skip to content

v0.6.0

Choose a tag to compare

@cmilesio cmilesio released this 18 Oct 07:35
· 92 commits to main since this release

Added

  • Optional storagecore.ObjectStorage streaming capability, discovered through storage.Objects(disk), without extending the existing Storage interface.
  • 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.PrepareBucketContext bucket 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.0

Changes: #32