vfs v4.0.0 Release Notes

Release Date: 2019-05-22 // almost 5 years ago
  • 🚀 Release Notes

    0️⃣ 1. Added the Retry() method to the FileSystem interface, along with a no-op default retryer.

    1. Integrated the newly defined retryer interface into the GCS implementation of VFS and now allow the retry method to be injected as a FileSystem option.
    2. Integrated the request.Retryer from the s3 client as an injectable implementation for the S3 vfs.Option.

    ⬆️ Upgrade steps

    ⚡️ With v4.0.0, we introduced the ability to add a 'retry' option to each registered file system. This version bump will require an update to any existing FileSystem implementations. If a custom retryer is not required by the implemented file system, the default retryer can be returned.

    func (fs *FileSystem) Retry() vfs.Retry {
        return vfs.DefaultRetryer()
    }