Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/spf13/afero to v1.9.5 #37

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 19, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/spf13/afero require minor v1.2.0 -> v1.9.5

Release Notes

spf13/afero (github.com/spf13/afero)

v1.9.5

Compare Source

Full Changelog: spf13/afero@v1.9.4...v1.9.5

v1.9.4

Compare Source

What's Changed

New Contributors

Full Changelog: spf13/afero@v1.9.3...v1.9.4

v1.9.3

Compare Source

What's Changed

Full Changelog: spf13/afero@v1.9.2...v1.9.3

v1.9.2

Compare Source

What's Changed

Full Changelog: spf13/afero@v1.9.1...v1.9.2

v1.9.1

Compare Source

What's Changed

Full Changelog: spf13/afero@v1.9.0...v1.9.1

v1.9.0

Compare Source

What's Changed

New Contributors

Full Changelog: spf13/afero@v1.8.2...v1.9.0

v1.8.2: : RemoveAll fixes in MemMapFs and GcsFs

Compare Source

v1.8.1: : memfs: add modTime on folder creation

Compare Source

v1.8.0: : Support sftpfs.Readdirnames, sftpfs.Readdir, CacheOnReadFs bugfix

Compare Source

  • sftpfs: Add support for Readdirnames and Readdir
  • CacheOnReadFs: Call OpenFile instead of Open in CacheOnReadFs.OpenFile

v1.7.1: : Move GCS into its own package

Compare Source

v1.7.0: : Add experimental GCS support

Compare Source

Add experimental GCS support in Afero. Experimental because the CI infra of afero does not test with real GCS buckets.

Limitations:

  • No Chmod support - The GCS ACL could probably be mapped to *nix style permissions but that would add another level of complexity and is ignored in this version.
  • No Chtimes support - Could be simulated with attributes (gcs a/m-times are set implicitly) but that's is left for another version.
  • NOTE: Not thread safe - Also assumes all file operations are done through the same instance of the GcsFs. File operations between different GcsFs instances are not guaranteed to be consistent.

Performance implications

  • Sequential reads are performant
  • Sequential writes are performant.
  • Seek + Read or ReadAt is performant after the initial seek. (produces a warning)
  • Alternating reads/writes to the same file handler are highly inefficient. To get consistent FS behavior using an API that separates readers and writers we close any open readers before an write as well close open writers before a read (ensure the data is committed).
  • Seek + Write such as WriteAt, Truncate, Seek+Write will work as expected but with significant overhead. Doing a seek + write will in effect download the old file/object, overlay it with the new writes and save it back. This is done in a streaming fashion so large files will not clog the memory but will trigger a full download and upload of the file/object.

v1.6.0: : go1.16 io/fs.FS support

Compare Source

  • Add support for go1.16 io/fs.FS interface
  • Fix incorrect WriteAt implementation for mem.File

v1.5.1: : Fix setting gid in chown implementation

Compare Source

v1.5.0: : Add chown support

Compare Source

v1.4.1: : Do not panic on passing empty tar reader to tarfs

Compare Source

v1.4.0: : read-only tarfs implementation

Compare Source

v1.3.5: : offset fixes in mem and UnionFile

Compare Source

Includes:

  • mem: fix incorrect offset in Write
  • Fix amount of files read in UnionFile.Readdir

v1.3.4: : bump golang.org/x/text to v0.3.3

Compare Source

Bump golang.org/x/text to v0.3.3 in order to fix https://nvd.nist.gov/vuln/detail/CVE-2020-14040

v1.3.3: : Improved handling of mode bits

Compare Source

v1.3.2: : Prevent MemMapFs.Chmod from changing all mode bits

Compare Source

v1.3.1: : Fix panic when not filling up zipfs's read buffer

Compare Source

v1.3.0: : zipfs, AIX, symlink and readlink support, etc.

Compare Source

Notable changes:

  • Add AIX support
  • Add zipfs, an archive/zip-based read-only filesystem
  • Add an optional interface for Symlink and Readlink

Other enhancements:

  • TempFile support for wildcards instead of only prefixes
  • Implement sftpfs.OpenFile method
  • Add support for os.O_EXCL in MemMapFs

Bugfixes:

  • Fixed the mem.File implementation to respect the io.ReaderAt contract by storing the original offset before the Read and restoring the offset after the Read.
  • Return closed error in mem.File.Write() after mem.File.Close() has been called
  • Add missing error check in RegexpFs.Open()

v1.2.2

Compare Source

v1.2.1

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/github.com-spf13-afero-1.x branch 4 times, most recently from 143eb86 to 9e01306 Compare September 19, 2023 10:36
@renovate renovate bot force-pushed the renovate/github.com-spf13-afero-1.x branch from 9e01306 to af5b62e Compare September 20, 2023 02:09
@takanakahiko takanakahiko merged commit 0949b3b into master Sep 20, 2023
3 checks passed
@renovate renovate bot deleted the renovate/github.com-spf13-afero-1.x branch September 20, 2023 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant