Skip to content

Releases: C2FO/vfs

Now with S3 ACL

25 Aug 03:52
244cb15
Compare
Choose a tag to compare

Added

Fix gcs List bug

07 Aug 16:30
a130446
Compare
Choose a tag to compare

Fixed

  • The GS implementation of location.List() returned an empty string for files found inside a persistent "folder" object
    created in the UI or by createing a zero-length object ending with "/". These objects are now ignored.
  • Fixed a gs-to-gs copy bug that became visible with integration tests aded in v5.2.2.

v5.2.2

29 Jul 19:11
3f46c6e
Compare
Choose a tag to compare

Fixed

  • The OS implementation of file.MoveToLocation() now ensures that the target directory exists before attempting to move the file

fixed minor linting-type issues

17 Jul 21:06
Compare
Choose a tag to compare

[5.2.1] - 2019-07-17

Fixed

  • Missing error check in utils.UpdateLastModifiedByMoving()
  • Minor goreportcard checks failed. Now 100%

Add mem backend

17 Jul 19:31
Compare
Choose a tag to compare

[5.2.0] - 2019-07-16

Added

  • In-Memory backend vfs implementation
  • Included the in-memory backend to the list of registered backends used in backend_integration_test
  • Checking for existence at the start of various File functions (size, seek, etc) and returning and error if the file does not exist on the OS backend
  • Tests in backend_integration_test that ensure that operations done on non-existent files throw an error
  • mem.md in vfs/docs, updated link to it in the README.md

Fixed

  • Relative path validation in utils.go now disallows empty names

Changed

  • utils_test.go now expects an empty string NOT to validate
  • updated README to include "Touch()" definition under the File interface rather than the Location interface
  • updated README to exclude "in-memory-backend" from the list of ideas

Refactor for consistency

09 Jul 15:08
39c1de2
Compare
Choose a tag to compare

Added Touch()
Refactored for consistency between backends
Updated docs.
Added more tests.
Added integration test suite that tests every implementation against interface expectations and against each other.

VFS Retry Option

23 May 14:35
Compare
Choose a tag to compare

Release Notes

  1. Added the Retry() method to the FileSystem interface, along with a no-op default retryer.
  2. 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.
  3. 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()
}

Release of go modules compliant v3

23 Apr 03:43
8580b4b
Compare
Choose a tag to compare
Merge pull request #16 from C2FO/v3

Initial release of v3 go module

Remove go modules from v2

05 Apr 19:38
e69f071
Compare
Choose a tag to compare
  • Remove go modules from v2 since we don't prefix path with /v2.
    See github.com//issues/14.

Bugfix for gcs Path()

19 Mar 19:04
Compare
Choose a tag to compare

Fixed issue where there is an extraneous leading slash when calling location.Path() for GCS locations.
Improved the discoverability of registered filesystems at the location-level.