Skip to content

Releases: bi-zone/wmi

v1.1.4

06 Aug 11:49
aba1269
Compare
Choose a tag to compare
  • 304aa59 -- Fix go-ole memory leak on array fields
  • 25b2c94 -- Fix go-ole memory leak in NotificationQuery
  • aba1269 -- Migrate to go-ole fork with fixed memory leaks

v1.1.3

22 May 11:46
9d65532
Compare
Choose a tag to compare
  • 9d65532 -- Fix memory leak on query with reference fields

v1.1.2

08 Oct 13:24
9640cd7
Compare
Choose a tag to compare
  • 9640cd7 -- Fix stopping of NotificationQuery after runtime errors

v1.1.1

18 Jul 12:00
b3fa3bd
Compare
Choose a tag to compare
  • 64656d2 -- Fix time.Time decoding (for VT_DATE variants)

Notifications

25 Mar 06:53
678f37e
Compare
Choose a tag to compare

New API:

  • Wrapper for SWbemServices.ExecNotificationQuery inside NotificationQuery
  • Wrapper for SWbemServices.Get method inside SWbemServicesConnection
  • CreateQueryFrom helper

Features:

  • Add SWbemServicesConnection representing a connection to the SWbemServices on a single server
  • Support of reference fields inside WMI classes (see Decoder.Dereferencer)
  • Multiple decoding changes:
    • Add decoder tags to specify field->property names mapping and options
    • Add custom unmarshalling interface (JSON-like)
    • Add more supported types

Other:

  • Major (forced by new API) refactoring of the original codebase
  • Add lazy COM initialization (using comshim)
  • Make long-running memory tests not to run by default (see
    memory_test.go)