1# changelog 2 3### 0.18.0 (2018-05-24) 4 5* Add VirtualDiskManager wrapper to set UUID 6 7* Add vmxnet2, pcnet32 and sriov to VirtualDeviceList.EthernetCardTypes 8 9* Add new vSphere 6.7 APIs 10 11* Decrease LoginExtensionByCertificate tunnel usage 12 13* SAML token authentication support via SessionManager.LoginByToken 14 15* New SSO admin client for managing users 16 17* New STS client for issuing and renewing SAML tokens 18 19* New Lookup Service client for discovering endpoints such as STS and ssoadmin 20 21* Switch from gvt to go dep for managing dependencies 22 23### 0.17.1 (2018-03-19) 24 25* vcsim: add Destroy method for Folder and Datacenter types 26 27* In progress.Reader emit final report on EOF. 28 29* vcsim: add EventManager.QueryEvents 30 31### 0.17.0 (2018-02-28) 32 33* Add HostStorageSystem.AttachScsiLun method 34 35* Avoid possible panic in Datastore.Stat (#969) 36 37* Destroy event history collectors (#962) 38 39* Add VirtualDiskManager.CreateChildDisk method 40 41### 0.16.0 (2017-11-08) 42 43* Add support for SOAP request operation ID header 44 45* Moved ovf helpers from govc import.ovf command to ovf and nfc packages 46 47* Added guest/toolbox (client) package 48 49* Added toolbox package and toolbox command 50 51* Added simulator package and vcsim command 52 53### 0.15.0 (2017-06-19) 54 55* WaitOptions.MaxWaitSeconds is now optional 56 57* Support removal of ExtraConfig entries 58 59* GuestPosixFileAttributes OwnerId and GroupId fields are now pointers, 60 rather than omitempty ints to allow chown with root uid:gid 61 62* Updated examples/ using view package 63 64* Add DatastoreFile.TailFunc method 65 66* Export VirtualMachine.FindSnapshot method 67 68* Add AuthorizationManager {Enable,Disable}Methods 69 70* Add PBM client 71 72### 0.14.0 (2017-04-08) 73 74* Add view.ContainerView type and methods 75 76* Add Collector.RetrieveWithFilter method 77 78* Add property.Filter type 79 80* Implement EthernetCardBackingInfo for OpaqueNetwork 81 82* Finder: support changing object root in find mode 83 84* Add VirtualDiskManager.QueryVirtualDiskInfo 85 86* Add performance.Manager APIs 87 88### 0.13.0 (2017-03-02) 89 90* Add DatastoreFileManager API wrapper 91 92* Add HostVsanInternalSystem API wrappers 93 94* Add Container support to view package 95 96* Finder supports Folder recursion without specifying a path 97 98* Add VirtualMachine.QueryConfigTarget method 99 100* Add device option to VirtualMachine.WaitForNetIP 101 102* Remove _Task suffix from vapp methods 103 104### 0.12.1 (2016-12-19) 105 106* Add DiagnosticLog helper 107 108* Add DatastorePath helper 109 110### 0.12.0 (2016-12-01) 111 112* Disable use of service ticket for datastore HTTP access by default 113 114* Attach context to HTTP requests for cancellations 115 116* Update to vim25/6.5 API 117 118### 0.11.4 (2016-11-15) 119 120* Add object.AuthorizationManager methods: RetrieveRolePermissions, RetrieveAllPermissions, AddRole, RemoveRole, UpdateRole 121 122### 0.11.3 (2016-11-08) 123 124* Allow DatastoreFile.Follow reader to drain current body after stopping 125 126### 0.11.2 (2016-11-01) 127 128* Avoid possible NPE in VirtualMachine.Device method 129 130* Add support for OpaqueNetwork type to Finder 131 132* Add HostConfigManager.AccountManager support for ESX 5.5 133 134### 0.11.1 (2016-10-27) 135 136* Add Finder.ResourcePoolListAll method 137 138### 0.11.0 (2016-10-25) 139 140* Add object.DistributedVirtualPortgroup.Reconfigure method 141 142### 0.10.0 (2016-10-20) 143 144* Add option to set soap.Client.UserAgent 145 146* Add service ticket thumbprint validation 147 148* Update use of http.DefaultTransport fields to 1.7 149 150* Set default locale to en_US (override with GOVMOMI_LOCALE env var) 151 152* Add object.HostCertificateInfo (types.HostCertificateManagerCertificateInfo helpers) 153 154* Add object.HostCertificateManager type and HostConfigManager.CertificateManager method 155 156* Add soap.Client SetRootCAs and SetDialTLS methods 157 158### 0.9.0 (2016-09-09) 159 160* Add object.DatastoreFile helpers for streaming and tailing datastore files 161 162* Add object VirtualMachine.Unregister method 163 164* Add object.ListView methods: Add, Remove, Reset 165 166* Update to Go 1.7 - using stdlib's context package 167 168### 0.8.0 (2016-06-30) 169 170* Add session.Manager.AcquireLocalTicket 171 172* Include StoragePod in Finder.FolderList 173 174* Add Finder methods for finding by ManagedObjectReference: Element, ObjectReference 175 176* Add mo.ManagedObjectReference methods: Reference, String, FromString 177 178* Add support using SessionManagerGenericServiceTicket.HostName for Datastore HTTP access 179 180### 0.7.1 (2016-06-03) 181 182* Fix object.ObjectName method 183 184### 0.7.0 (2016-06-02) 185 186* Move InventoryPath field to object.Common 187 188* Add HostDatastoreSystem.CreateLocalDatastore method 189 190* Add DatastoreNamespaceManager methods: CreateDirectory, DeleteDirectory 191 192* Add HostServiceSystem 193 194* Add HostStorageSystem methods: MarkAsSdd, MarkAsNonSdd, MarkAsLocal, MarkAsNonLocal 195 196* Add HostStorageSystem.RescanAllHba method 197 198### 0.6.2 (2016-05-11) 199 200* Get complete file details in Datastore.Stat 201 202* SOAP decoding fixes 203 204* Add VirtualMachine.RemoveAllSnapshot 205 206### 0.6.1 (2016-04-30) 207 208* Fix mo.Entity interface 209 210### 0.6.0 (2016-04-29) 211 212* Add Common.Rename method 213 214* Add mo.Entity interface 215 216* Add OptionManager 217 218* Add Finder.FolderList method 219 220* Add VirtualMachine.WaitForNetIP method 221 222* Add VirtualMachine.RevertToSnapshot method 223 224* Add Datastore.Download method 225 226### 0.5.0 (2016-03-30) 227 228Generated fields using xsd type 'int' change to Go type 'int32' 229 230VirtualDevice.UnitNumber field changed to pointer type 231 232### 0.4.0 (2016-02-26) 233 234* Add method to convert virtual device list to array with virtual device 235 changes that can be used in the VirtualMachineConfigSpec. 236 237* Make datastore cluster traversable in lister 238 239* Add finder.DatastoreCluster methods (also known as storage pods) 240 241* Add Drone CI check 242 243* Add object.Datastore Type and AttachedClusterHosts methods 244 245* Add finder.*OrDefault methods 246 247### 0.3.0 (2016-01-16) 248 249* Add object.VirtualNicManager wrapper 250 251* Add object.HostVsanSystem wrapper 252 253* Add object.HostSystem methods: EnterMaintenanceMode, ExitMaintenanceMode, Disconnect, Reconnect 254 255* Add finder.Folder method 256 257* Add object.Common.Destroy method 258 259* Add object.ComputeResource.Reconfigure method 260 261* Add license.AssignmentManager wrapper 262 263* Add object.HostFirewallSystem wrapper 264 265* Add object.DiagnosticManager wrapper 266 267* Add LoginExtensionByCertificate support 268 269* Add object.ExtensionManager 270 271... 272 273### 0.2.0 (2015-09-15) 274 275* Update to vim25/6.0 API 276 277* Stop returning children from `ManagedObjectList` 278 279 Change the `ManagedObjectList` function in the `find` package to only 280 return the managed objects specified by the path argument and not their 281 children. The original behavior was used by govc's `ls` command and is 282 now available in the newly added function `ManagedObjectListChildren`. 283 284* Add retry functionality to vim25 package 285 286* Change finder functions to no longer take varargs 287 288 The `find` package had functions to return a list of objects, given a 289 variable number of patterns. This makes it impossible to distinguish which 290 patterns produced results and which ones didn't. 291 292 In particular for govc, where multiple arguments can be passed from the 293 command line, it is useful to let the user know which ones produce results 294 and which ones don't. 295 296 To evaluate multiple patterns, the user should call the find functions 297 multiple times (either serially or in parallel). 298 299* Make optional boolean fields pointers (`vim25/types`). 300 301 False is the zero value of a boolean field, which means they are not serialized 302 if the field is marked "omitempty". If the field is a pointer instead, the zero 303 value will be the nil pointer, and both true and false values are serialized. 304 305### 0.1.0 (2015-03-17) 306 307Prior to this version the API of this library was in flux. 308 309Notable changes w.r.t. the state of this library before March 2015 are: 310 311* All functions that may execute a request take a `context.Context` parameter. 312* The `vim25` package contains a minimal client implementation. 313* The property collector and its convenience functions live in the `property` package. 314