vfs v5.0.0 Release Notes

Release Date: 2019-06-18 // almost 5 years ago
  • ๐Ÿ”„ Changed

    • Defined stricter definitions in interfaces, largely related to input requiements being more URI compliant.
    • FileSystem's NewFile and NewLocation required absolute paths. Locations NewFile and NewLocation require relative paths.
    • โž• Added/Updated several new utils functions for URI validation across implementations.
    • ๐Ÿšš Ensure native methods are being used for atomic functions like copy or move/rename where possible
    • ๐Ÿšš Document expected behavior with empty readers in all copy and move function as well as io.Copy
    • ListByPrefix now allows relative paths. ### โž• Added
    • โœ… Integration test suite for backened developers that ensures expected interface behaviors and tests interactions between implementations.
    • ๐Ÿ“„ Examples of io.Copy usage in docs. ### ๐Ÿ›  Fixed
    • ๐Ÿ›  Fixed #10
    • ๐Ÿ›  Fixed vfssimple bug that would return os file system if the uri had the word 'file' anywhere in it even if was s3, like s3://bucket/path/to/file.txt
    • ๐Ÿ›  Fixed bug where MoveToLocation was returning the old file with updated location rather than a brand new file with new location. Since File may represent a non-existent file, the original file should still be valid.