Releases: microsoft/go-winio
Releases · microsoft/go-winio
v0.4.18
v0.4.17
- Added build constraints to Windows specific files.
- Fixed error handling for
GetFileSystemType
. pkg/etw
now supports setting a provider group ID.- Switched from
os/exec
togolang.org/x/sys/execabs
for launching processes. This removes a generally unintended affect where the current directory would be searched for the binary to be launched. - Added
GetFileStandardInfo
which returns information from theGetFileInformationByHandleEx
syscall withFileStandardInfo
specified.
v0.4.16
v0.4.15
- Added new
pkg/process
with some process enumeration and querying functionality. - Added
winio.DialPipeAccess
which allows specifying the access that the pipe is opened with. - Removed winio's
archive/tar
package and replaced it with direct usage ofarchive/tar
from Go's standard library.
v0.4.14 go-winio
- Fixes a regression in the
vhd
packagevhd.DetachVhd
which would returnInvalidParameter
.
v0.4.13 go-winio
This release contains various fixes and additions to the go-winio package.
It adds:
go module
support.ListenHvsock
support for opening and managing Hyper-V Sockets from a Windows host.DialPipeContext
that allows the caller to pass in the appropriate cancellation logic via thectx
parameter.- The
pkg/etw
package that enables the use of go binaries write to Windowsetw
logging. For a sample see thepkg/etw/sample
package. - The
pkg/etwlogrus
package which defines alogrus
hook that can be used to exportlogrus
messages toetw
. - The
pkg/fs
package which unifies theGetFileSystemType
function acrossDocker
andcontainerd
to avoid duplication. - The
pkg/guid
package which add easy support for thegolang.org/x/sys/windows.GUID
to makeNewV4
andNewV5
variantGUID
structures that supportTextMarshaler
for easy encoding and decoding fromJSON
. - The
pkg/security
package that enables support forGrantVmGroupAccess
on a file or directorypath
. This grants the appropriateVM Group SID
for thepath
or all files in thedirectory path
so that these files may be used at container activation or modification. - The
OpenVirtualDisk
function which enables go binaries to get asyscall.Handle
to avhd
that can be used for other variousvhd
operations. - The
Fd()
function on the named pipe that returns the raw handle to be used with other Windows syscalls.
It fixes:
- An a race condition where
ListenPipe
can fail due to concurrentDialPipe
calls.
A big Thanks!
(alphabetical)
@azdagron
@CodeLingoBot
@kevpar
@jhowardmsft
@jstarks
@jterry75
@sime1
@ehotinger
v0.4.12: Merge pull request #110 from Microsoft/jjh/lineendings
Convert to Uix line endings
v0.4.11: Merge pull request #91 from Microsoft/detach
Added DetachVhd
v0.4.10: Merge pull request #88 from jiria/fileattributes_size
Update FileAttributes size to work across all platforms