Releases: moby/sys
Releases · moby/sys
mount/v0.3.0
What's Changed
- mount: create proper mounter for OpenBSD by @yukiisbored in #59
- ci/gha: add go 1.16; run as root; fix some tests; add fedora by @kolyshkin in #65
- mount: add exec and noexec as valid flags to mount options by @thaJeztah in #66
- mount: bump mountinfo to 0.4.1, add TestRecursiveUnmountTooGreedy test by @kolyshkin in #64
- mount: errors should not start with a capital by @thaJeztah in #78
- CI: update Vagrant to Fedora 34 by @thaJeztah in #80
- lint: update golangci-lint to v1.41.1 by @thaJeztah in #79
- ci/gha: drop go 1.14, add go 1.17 by @kolyshkin in #84
- Test fixes by @kolyshkin in #87
- Drop go < 1.16 compatibility by @kolyshkin in #89
- CI: add more linters by @kolyshkin in #92
- ci: bump Fedora to 35 by @kolyshkin in #93
- mount: update github.com/moby/sys/mountinfo v0.5.0 by @thaJeztah in #94
New Contributors
- @yukiisbored made their first contribution in #59
Full Changelog: mount/v0.2.0...mount/v0.3.0
mountinfo/v0.5.0
Potentially breaking changes
- Go versions < 1.16 are no longer supported
Mounted: in case the argument does not exist, it now returns an appropriate error. Previously, this condition was treated as "not a mount point", with no error returned, but in fact such path could be an unreachable mount point (overshadowed by another mount). In case callers are not interested in such error, they should filter it out, e.g.if !errors.Is(err, os.IsNotExist).
What's Changed
- Drop go < 1.16 compatibility by @kolyshkin in #89
- mountinfo.Mounted(): fix by @kolyshkin in #90
- mountinfo: support darwin build by @thehajime in #85
- mountinfo.Mounted: fix docs, add more test by @kolyshkin in #86
- linting: do not capitalize errors by @thaJeztah in #75
- mountinfo: rewrite more tests to use a test-table by @thaJeztah in #82
- mountinfo: GetMountsFromReader(): use strings.SplitN() by @thaJeztah in #76
- mountinfo: GetMountsFromReader(): remove redundant switch, fix dropped "optional" fields by @thaJeztah in #81
- Test fixes by @kolyshkin in #87
- CI: add more linters by @kolyshkin in #92
- ci: bump Fedora to 35 by @kolyshkin in #93
- CI: update Vagrant to Fedora 34 by @thaJeztah in #80
- lint: update golangci-lint to v1.41.1 by @thaJeztah in #79
New Contributors
- @thehajime made their first contribution in #85
Full Changelog: mountinfo/v0.4.1...mountinfo/v0.5.0
signal v0.5.0
Initial release of the github.com/moby/sys/signal module, which was imported
from github.com/docker/docker/pkg/signal at 9a6ff685a80639995311c0572d662360b55796d9
mountinfo v0.4.1
mount v0.2.0
Breaking changes:
- Remove stub-implementations for Windows for
Mount(),Unmount(),
RecursiveUnmount(),MergeTmpfsOptions()(#31)
Fixes and improvements:
go.mod: update github.com/moby/sys/mountinfo to v0.4.0 (#44, #56)- use
MNT_*flags from golang.org/x/sys/unix on freebsd (#36) - add support for OpenBSD in addition to FreeBSD (#32)
- fix package overview documentation not showing (#43)
RecursiveUnmount(): minor improvements (#46)
Thanks to:
- Tobias Klauser
symlink v0.1.0
initial release of the package that was imported from github.com/docker/docker/pkg/symlink
mountinfo v0.4.0
Breaking changes:
PidMountInfois now deprecated and will be removed before v1.0; users should switch toGetMountsFromReader(#47)
Fixes and improvements:
- run filter after all fields are parsed (#50)
- correct handling errors from
bufio.Scan - documentation formatting fixes (#48)
Thanks to:
- Aleksa Sarai
mountinfo v0.3.1
Breaking changes (since v0.2.0):
- Some field names of
struct Mountinfoare changed to be more in-line with Go naming conventions. Users need to be converted. (#34) FstypeFilteris changed toFSTypeFilterto be in-line with the field name. Users need to be converted. (#41)
Fixes and improvements:
- Fixed
FilterFuncdoc. (#41)
mountinfo v0.3.0
Breaking changes:
- Some field names of
struct Mountinfoare changed to be more in-line with Go naming conventions. Users need to be converted. (#34)
Fixes and improvements:
- Fixed per-package doc to be shown by
go doc(#37) - Make
GetMountsFromReaderLinux-specific. (#39) - OpenBSD support added (same code as FreeBSD; not tested). (#32)
Thanks to:
- Sebastiaan van Stijn
- Tobias Klauser
mountinfo v0.2.0
Bug fixes:
- Fix path unescaping for paths with double quotes (#16)
Improvements:
Mounted: speed up by adding fast paths usingopenat2(Linux-only, #29) andstat(#20)Mounted: relax path requirements (allow relative, non-cleaned paths, symlinks) (fixes #27)- Unescape
fstypeandsourcefields (#16) - Documentation improvements (#15)
Testing/CI:
- Unit tests: exclude darwin (#13)
- CI: run tests under Fedora 32 to test openat2 (#29)
TestGetMounts: fix for Ubuntu build system (#18)- Makefile: fix ignoring test failures (#19)
- CI: add cross build (#23)
Thanks to:
- Aleksa Sarai
- Shengjing Zhu