Skip to content

Releases: microsoft/go-winio

v0.4.18

20 Apr 01:07
e98b56d
Compare
Choose a tag to compare
  • Added SeSecurityPrivilege constant.

v0.4.17

13 Apr 21:48
5516f17
Compare
Choose a tag to compare
  • 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 to golang.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 the GetFileInformationByHandleEx syscall with FileStandardInfo specified.

v0.4.16

09 Dec 17:00
d1ffc52
Compare
Choose a tag to compare
  • Added new bindings, functions, and exported all of the flags in the vhd package. This is to facilitate finer grained control in managing vhds.

v0.4.15

04 Nov 00:57
5b44b70
Compare
Choose a tag to compare
  • 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 of archive/tar from Go's standard library.

v0.4.14 go-winio

06 Aug 20:19
6c72808
Compare
Choose a tag to compare
  • Fixes a regression in the vhd package vhd.DetachVhd which would return InvalidParameter.

v0.4.13 go-winio

19 Jul 13:10
a969fb0
Compare
Choose a tag to compare

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 the ctx parameter.
  • The pkg/etw package that enables the use of go binaries write to Windows etw logging. For a sample see the pkg/etw/sample package.
  • The pkg/etwlogrus package which defines a logrus hook that can be used to export logrus messages to etw.
  • The pkg/fs package which unifies the GetFileSystemType function across Docker and containerd to avoid duplication.
  • The pkg/guid package which add easy support for the golang.org/x/sys/windows.GUID to make NewV4 and NewV5 variant GUID structures that support TextMarshaler for easy encoding and decoding from JSON .
  • The pkg/security package that enables support for GrantVmGroupAccess on a file or directory path. This grants the appropriate VM Group SID for the path or all files in the directory path so that these files may be used at container activation or modification.
  • The OpenVirtualDisk function which enables go binaries to get a syscall.Handle to a vhd that can be used for other various vhd 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 concurrent DialPipe calls.

A big Thanks!
(alphabetical)

@azdagron
@CodeLingoBot
@kevpar
@jhowardmsft
@jstarks
@jterry75
@sime1
@ehotinger

v0.4.12: Merge pull request #110 from Microsoft/jjh/lineendings

21 Feb 17:36
1a8911d
Compare
Choose a tag to compare

v0.4.11: Merge pull request #91 from Microsoft/detach

23 Aug 23:06
97e4973
Compare
Choose a tag to compare

v0.4.10: Merge pull request #88 from jiria/fileattributes_size

20 Aug 15:39
78a0846
Compare
Choose a tag to compare
Update FileAttributes size to work across all platforms

Bug fix release 0.4.9

19 Jul 22:39
a6d595a
Compare
Choose a tag to compare

This release contains a fix for #67, resolving reliability issues with DialPipe.

Thanks @gdamore for the contribution.