Skip to content

v0.5.1

Choose a tag to compare

@cmilesio cmilesio released this 17 Oct 18:05

Changes

  • Update Rclone to 1.75.2 and patch compression and network dependencies in the affected drivers. Rclone and Redis select klauspost/compress 1.20.2.
  • Retain Redis timeout, retry, and TCP keepalive behavior across the dependency update.
  • Fix optional paging checks in the shared storage test helper. Backends without paging support can use the helper.
  • Update storage, storagecore, storagetest, and all nine drivers to v0.5.1.

Go compatibility

Some drivers require a newer Go version when upgrading from v0.5.0:

Module suffix under github.com/goforj/storage v0.5.0 declared Go v0.5.1 minimum
driver/dropboxstorage Go 1.24.4 Go 1.25
driver/localstorage Go 1.24.4 Go 1.25
driver/gcsstorage Go 1.24.4 Go 1.26
driver/rclonestorage Go 1.24.4 Go 1.26
driver/redisstorage Go 1.24.4 Go 1.26
driver/sftpstorage Go 1.24.4 Go 1.26
storagetest Go 1.24.4 Go 1.26

The root module, storagecore, driver/ftpstorage, driver/memorystorage, and driver/s3storage retain Go 1.24.4. Using the shared storagetest helper requires Go 1.26 even when the runtime driver supports an older compiler. The updated driver and test dependencies determine these requirements; the public storage interfaces remain compatible.

Upgrade

Upgrade the compiler for the modules being used, then update the root module and selected drivers to v0.5.1. For example, on Go 1.26 or newer:

go get github.com/goforj/storage@v0.5.1 github.com/goforj/storage/driver/rclonestorage@v0.5.1

All 12 Storage modules are available at v0.5.1. Storage interfaces are unchanged, and no data migration is required.

Dependency details

The Rclone driver uses gRPC v1.85.0-dev.0.20260825072537-93e31b48545e. This prerelease includes the fix for GO-2026-6443; do not force an older stable gRPC version to remove the prerelease label.

Module-level scanners may still report GO-2026-5932 because x/crypto includes retired OpenPGP packages. Storage does not import those packages, and upstream lists no fixed version.

See the driver and network dependency update, compression update, and full comparison with v0.5.0.