Skip to content

[v7.35.0] - 2026-11-12

Latest

Choose a tag to compare

@releasegen-bot releasegen-bot released this 12 Nov 21:02

Added

  • iofs: a new package whose New(loc) presents any vfs.Location as a read-only io/fs.FS that also implements fs.StatFS, fs.ReadDirFS, fs.ReadFileFS and fs.SubFS, so locations work with http.FileServerFS, template.ParseFS, fs.WalkDir and fs.Glob. It lists through list.Entries, and passes testing/fstest.TestFS on the mem, os, sftp, ftp, gs, azure and s3 backends (#408).

Fixed

  • mem: closing a file that was only read or seeked no longer writes its buffered contents back, which could discard changes made through another handle, resurrect a deleted file, and update LastModified.