Releases: vmware/govmomi
Releases · vmware/govmomi
v0.45.1
v0.45.0
Release v0.45.0
Release Date: 2024-10-21
🐞 Fix
- [8446478] Add missing privileges in simulator role
- [36ee9a1] Cross-platform path handling (#3555)
- [71378bc] check controller type in simulator configureDevice
- [c44199a] update controller's device list in AssignController
- [17f6966] ensure proper vSAN URI format in ResolveLibraryItemStorage
- [60f2a6e] Use absolute path for reading manifest (#3550)
- [36cac69] Abort lease on upload failure (#3554)
💫 API Changes
💫 govc
(CLI)
- [407da6c] rename 'object.collect' -> 'collect'
- [aec1122] display default provider in kms.ls output
- [831b722] Add an unreleased folder.place command for PlaceVMsXCluster
- [2bbc6d8] support use of service version via GOVC_VIM_VERSION env var
🧹 Chore
- [888548b] Update version.go for v0.45.0
⚠️ BREAKING
📖 Commits
- [888548b] chore: Update version.go for v0.45.0
- [407da6c] govc: rename 'object.collect' -> 'collect'
- [aec1122] govc: display default provider in kms.ls output
- [8446478] fix: Add missing privileges in simulator role
- [36ee9a1] fix: Cross-platform path handling (#3555)
- [0083eae] bug: Do not panic on fault.In for valid errs
- [831b722] govc: Add an unreleased folder.place command for PlaceVMsXCluster
- [71378bc] fix: check controller type in simulator configureDevice
- [c44199a] fix: update controller's device list in AssignController
- [2bbc6d8] govc: support use of service version via GOVC_VIM_VERSION env var
- [17f6966] fix: ensure proper vSAN URI format in ResolveLibraryItemStorage
- [d14cbf3] api: tags error handling (#3112)
- [60f2a6e] fix: Use absolute path for reading manifest (#3550)
- [36cac69] fix: Abort lease on upload failure (#3554)
v0.44.1
Release v0.44.1
Release Date: 2024-10-09
🐞 Fix
- [05544f7] ensure proper vSAN URI format in ResolveLibraryItemStorage
🧹 Chore
- [8234db4] Update version.go for v0.44.1
⚠️ BREAKING
📖 Commits
v0.44.0
Release v0.44.0
Release Date: 2024-10-07
🐞 Fix
💡 Examples
- [da37212] add ExampleListView_ofContainerView
💫 API Changes
- [733f1c0] Update folder.PlaceVMsXCluster to support several placement types
- [4665dff] disable http.Transport.ForceAttemptHTTP2 by default (#3564)
- [d95d350] add vapi/crypto package with support for native KMS
- [d2ccadf] add rest.Client.DownloadAttachment method
- [cb0453c] extract NewDatastoreURL from Datastore.NewURL method
- [9a02a4a] Support querying PBM profile for IOFILTERS
- [92797d4] Helpers for key management servers
💫 govc
(CLI)
- [844fa1c] update help url
- [7daac37] add vm.change -managed-by flag
- [2613278] add storage.policy.info flag to query IO filters
- [108e4fd] add native kms provider support
- [ccf449e] add kms commands
💫 vcsim
(Simulator)
- [5a9567f] lock ViewManager in RegisterObject callbacks
- [6267644] add *Context param to UpdateObject interface method
- [3ba044c] support clearing ManagedBy field (#3572)
- [2c49326] handle traversal spec object updates
- [fc91180] ModifyListView 'remove' does not return unresolved objects
- [1f0838e] override response namespace from struct tag
- [6cea86e] fix RelocateVM_Task related races (#3565)
- [f81e83d] support cluster registration in RegisterKmipServer
- [cddbe1f] Gen enc key w default provider on createvm
📃 Documentation
🧹 Chore
- [ff95505] Update version.go for v0.44.0
- [f807c48] fixup internal version
- [70edf99] bump default ClientVersion
- [e6bfadb] bump Go versions
- [4d0e69d] fix GH Action tag output param
- [796892a] rename crypto.Manager RegisterKmipCluster > RegisterKmsCluster
- [2b65990] simplify error handling by using the new fault package
⚠️ BREAKING
📖 Commits
- [ff95505] chore: Update version.go for v0.44.0
- [f807c48] chore: fixup internal version
- [5a9567f] vcsim: lock ViewManager in RegisterObject callbacks
- [844fa1c] govc: update help url
- [d0278e2] build(deps): bump golang.org/x/text from 0.18.0 to 0.19.0
- [6267644] vcsim: add *Context param to UpdateObject interface method
- [7daac37] govc: add vm.change -managed-by flag
- [3ba044c] vcsim: support clearing ManagedBy field (#3572)
- [bf6e162] fix: synchronize access to session.Manager.userSession (#3571)
- [da37212] examples: add ExampleListView_ofContainerView
- [2c49326] vcsim: handle traversal spec object updates
- [fc91180] vcsim: ModifyListView 'remove' does not return unresolved objects
- [70edf99] chore: bump default ClientVersion
- [707acb8] docs: sync CHANGELOG (#3286)
- [e6bfadb] chore: bump Go versions
- [4d0e69d] chore: fix GH Action tag output param
- [582eefa] docs: various updates
- [2613278] govc: add storage.policy.info flag to query IO filters
- [da340f5] Use internalpbm namespace for PbmQueryIOFiltersFromProfileId
- [1f0838e] vcsim: override response namespace from struct tag
- [733f1c0] api: Update folder.PlaceVMsXCluster to support several placement types
- [4665dff] api: disable http.Transport.ForceAttemptHTTP2 by default (#3564)
- [6cea86e] vcsim: fix RelocateVM_Task related races (#3565)
- [108e4fd] govc: add native kms provider support
- [d95d350] api: add vapi/crypto package with support for native KMS
- [d2ccadf] api: add rest.Client.DownloadAttachment method
- [cb0453c] api: extract NewDatastoreURL from Datastore.NewURL method
- [9a02a4a] api: Support querying PBM profile for IOFILTERS
- [ccf449e] govc: add kms commands
- [796892a] chore: rename crypto.Manager RegisterKmipCluster > RegisterKmsCluster
- [f81e83d] vcsim: support cluster registration in RegisterKmipServer
- [cddbe1f] vcsim: Gen enc key w default provider on createvm
- [92797d4] api: Helpers for key management servers
- [2b65990] chore: simplify error handling by using the new fault package
v0.43.0
Release v0.43.0
Release Date: 2024-09-10
🐞 Fix
- [97aa721] vcsim: avoid possible race when encoding PropertyCollector response (#3533)
- [ad2d357] use complete InventoryPath in Datacenter.Folders (#3523)
💫 API Changes
- [476704a] Fault helpers
- [caad54a] add VirtualMachine.AddDeviceWithProfile method
- [a316da5] VirtualMachine.AttachDisk unitNumber param is optional
- [8491321] ToString for vim types
- [6461021] add namespace.RegisterVM binding
- [e602029] Fix panic when encoding nil iface ptrs to JSON
💫 govc
(CLI)
- [8fd8691] add disk.create '-profile' flag
- [ea3cf25] add vm.disk.create '-profile' flag
- [e73c34f] add vm.disk.attach '-profile' flag
- [06dcf31] Add '-size' flag to datastore.create (#3519)
- [23390c2] add namespace.registervm command
- [1892eec] Support thick/eager disk opts on vm.create (#3526)
💫 vcsim
(Simulator)
- [8421b67] Support PlaceVm with relocate placement type
- [9234233] Support PlaceVm with reconfigure placement type
- [f06d083] add VirtualMachine AttachDisk and DetachDisk methods
- [35dc193] Support VM crypto spec in vC Sim
- [0517b87] add namespace/registervm implementation
🧹 Chore
- [b17abb2] Update version.go for v0.43.0
- [93da4a2] sync generated govc/USAGE.md
- [51105db] govc: add common StorageProfileFlag
⚠️ BREAKING
VirtualMachine.AttachDisk unitNumber param is optional [a316da5]:
switching from int32 to *int32, otherwise the client must choose a valid unitNumber.
vCenter will choose a unitNumber when not provided.
📖 Commits
- [b17abb2] chore: Update version.go for v0.43.0
- [476704a] api: Fault helpers
- [8421b67] vcsim: Support PlaceVm with relocate placement type
- [93b97e1] Update library state info to content library API
- [9234233] vcsim: Support PlaceVm with reconfigure placement type
- [a2cbe10] build(deps): bump golang.org/x/text from 0.17.0 to 0.18.0
- [93da4a2] chore: sync generated govc/USAGE.md
- [8fd8691] govc: add disk.create '-profile' flag
- [ea3cf25] govc: add vm.disk.create '-profile' flag
- [e73c34f] govc: add vm.disk.attach '-profile' flag
- [51105db] chore: govc: add common StorageProfileFlag
- [caad54a] api: add VirtualMachine.AddDeviceWithProfile method
- [f06d083] vcsim: add VirtualMachine AttachDisk and DetachDisk methods
- [97aa721] fix: vcsim: avoid possible race when encoding PropertyCollector response (#3533)
- [014a150] build(deps): bump peter-evans/create-pull-request from 6 to 7
- [35dc193] vcsim: Support VM crypto spec in vC Sim
- [a56e33d] Add BackingDiskPath to BackingObjectDetails
- [06dcf31] govc: Add '-size' flag to datastore.create (#3519)
- [f881d9b] govc add disk.attach and disk.detach commands
- [a316da5] api: VirtualMachine.AttachDisk unitNumber param is optional
- [8491321] api: ToString for vim types
- [0517b87] vcsim: add namespace/registervm implementation
- [23390c2] govc: add namespace.registervm command
- [6461021] api: add namespace.RegisterVM binding
- [e602029] api: Fix panic when encoding nil iface ptrs to JSON
- [1892eec] govc: Support thick/eager disk opts on vm.create (#3526)
- [ad2d357] fix: use complete InventoryPath in Datacenter.Folders (#3523)
v0.42.0
Release v0.42.0
Release Date: 2024-08-16
💫 API Changes
- [3fd16f7] update eam bindings to include authentication schema with eam-vcenter build 24075398 Closes: 3521
🧹 Chore
- [7a7c064] Update version.go for v0.42.0
⚠️ BREAKING
📖 Commits
v0.41.0
v0.40.0
Release v0.40.0
Release Date: 2024-08-12
🐞 Fix
- [15d5ffd] govc object.collect truncation (#3331) (#3501)
- [18e4354] govc: output Message field for 'EventEx' types
- [11dc5a3] restore govc import.spec DiskProvisioning default value (#3427) (#3483)
💡 Examples
- [eea1d29] add ExampleCollector_WaitForUpdatesEx_pagination
💫 API Changes
- [d035dc7] add session.Manager.ImpersonateUser method (#3507)
- [ea3e806] add alarm package with helpers for AlarmManager and Alarms
- [208d532] convert vSAN directory name to uuid in ResolveLibraryItemStorage
💫 govc
(CLI)
- [0917e71] add session.login '-as' flag to impersonate user
- [d6a3b61] add alarm commands
- [2975ade] add event.post command
- [db6e962] add library.sync '-f' flag to force sync file content
- [cc02310] add library.info -S flag
💫 vcsim
(Simulator)
- [ee966a6] add SessionManager.ImpersonateUser method
- [5a501b5] implement WaitForUpdatesEx pagination support
- [9c28210] add AlarmManager (#3489) (#2476)
- [db40be6] fix panic in CancelTask (#3451) (#3506)
- [e63f127] add ovf DiskProvisioning validation
- [0633de5] add DatastoreNamespaceManager
🧹 Chore
- [6e27ff3] Update version.go for v0.40.0
⚠️ BREAKING
📖 Commits
- [6e27ff3] chore: Update version.go for v0.40.0
- [eea1d29] examples: add ExampleCollector_WaitForUpdatesEx_pagination
- [ee966a6] vcsim: add SessionManager.ImpersonateUser method
- [0917e71] govc: add session.login '-as' flag to impersonate user
- [d035dc7] api: add session.Manager.ImpersonateUser method (#3507)
- [15d5ffd] fix: govc object.collect truncation (#3331) (#3501)
- [5a501b5] vcsim: implement WaitForUpdatesEx pagination support
- [9c28210] vcsim: add AlarmManager (#3489) (#2476)
- [d6a3b61] govc: add alarm commands
- [ea3e806] api: add alarm package with helpers for AlarmManager and Alarms
- [2975ade] govc: add event.post command
- [18e4354] fix: govc: output Message field for 'EventEx' types
- [6f99878] build(deps): bump golang.org/x/text from 0.16.0 to 0.17.0
- [db40be6] vcsim: fix panic in CancelTask (#3451) (#3506)
- [db6e962] govc: add library.sync '-f' flag to force sync file content
- [11dc5a3] fix: restore govc import.spec DiskProvisioning default value (#3427) (#3483)
- [e63f127] vcsim: add ovf DiskProvisioning validation
- [208d532] api: convert vSAN directory name to uuid in ResolveLibraryItemStorage
- [0633de5] vcsim: add DatastoreNamespaceManager
- [cc02310] govc: add library.info -S flag
- [0d6a605] review feedback
- [2957bed] review feedback
- [8e509df] implement capacityAllocationUnits parser
v0.39.0
Release v0.39.0
Release Date: 2024-07-22
🐞 Fix
- [1bc3a4a] handle base types by default in mo.LoadObjectContent
💫 API Changes
- [5c0af37] use CheckTestType in compat and provisioning checkers
- [2e77836] add sata controller
- [bdb034e] Exporting Unit field in MetricSeries struct for external use (#3494)
- [78f07c6] Add simulator test for GetVirtualDiskInfoByUUID
- [2d16e19] GetVirtualDiskInfoByUUID for getting capacity/size info
- [29b1bce] change CoresPerNumaNode to a pointer type
- [3139de3] Add a method for extending VMDK
- [6096c0d] add ResolveLibraryItemStorage
💫 govc
(CLI)
- [04fe4c2] add vm.check commands
- [976bca3] add '-spec' flag to vm clone, migrate and create commands
- [d92015c] add vm.migrate -net flag
💫 vcsim
(Simulator)
- [eb2e1ea] add VmCompatibilityChecker and VmProvisioningChecker
- [a463e54] Add support for DRS automation levels (#3485)
- [f7a85a8] Re-enable TenantManager
🧹 Chore
- [590c92b] Update version.go for v0.39.0
- [4434e26] bump go version
- [d7e2709] fix codeql (#3492) (#3492)
- [fb6e597] fix codeql
⚠️ BREAKING
📖 Commits
- [590c92b] chore: Update version.go for v0.39.0
- [5c0af37] api: use CheckTestType in compat and provisioning checkers
- [2e77836] api: add sata controller
- [bdb034e] api: Exporting Unit field in MetricSeries struct for external use (#3494)
- [4434e26] chore: bump go version
- [04fe4c2] govc: add vm.check commands
- [976bca3] govc: add '-spec' flag to vm clone, migrate and create commands
- [d92015c] govc: add vm.migrate -net flag
- [eb2e1ea] vcsim: add VmCompatibilityChecker and VmProvisioningChecker
- [12467b0] refactor: make importing templates available as a lib
- [d7e2709] chore: fix codeql (#3492) (#3492)
- [fb6e597] chore: fix codeql
- [a463e54] vcsim: Add support for DRS automation levels (#3485)
- [78f07c6] api: Add simulator test for GetVirtualDiskInfoByUUID
- [2d16e19] api: GetVirtualDiskInfoByUUID for getting capacity/size info
- [29b1bce] api: change CoresPerNumaNode to a pointer type
- [3139de3] api: Add a method for extending VMDK
- [6096c0d] api: add ResolveLibraryItemStorage
- [1bc3a4a] fix: handle base types by default in mo.LoadObjectContent
- [f7a85a8] vcsim: Re-enable TenantManager
v0.38.0
Release v0.38.0
Release Date: 2024-06-24
🐞 Fix
- [22607cd] xml marshal byte array fields as vCenter does (#1977) (#3469)
- [298cfbf] govc vm.disk.change should only modify CapacityInBytes (#3424) (#3464)
💫 API Changes
- [0de9553] EnsureDisksHaveControllers helper
- [3d70ab5] OptionValueList helper
- [d80136a] add storage_specs field to Namespace related structures
- [748043c] add pbm.DatastoreMap for finding compatible Datastores
- [fc2a6b1] HardwareVersion.IsSupported vs IsValid
- [a68c21f] Add library item storage APIs
- [7d1be3e] Update ConfigInfoToConfigSpec
- [12ab409] Update generated types
- [45aa2e9] add checksum validation in Content Library update session file API
- [7a00a0b] Generate enum consts with Values funcs
- [f2852e3] add SSLCertificate to TransferEndpoint in content library API (#3420)
💫 govc
(CLI)
- [c3c5ffb] add vsan.info -file-service-enabled flag
- [a916df4] add host.tpm.info and host.tpm.report commands
- [7f0c9f0] add host.cert.info -show flag
- [ae316d6] add storage.policy.create zonal option
- [3e648db] add '-storage' flag to namespace.create and namespace.update commands
- [e7d54f9] add vm.create '-profile' and '-place' flags
- [5677b0e] Add feature to pass fullname and org for windows vm customization (#3443)
💫 vcsim
(Simulator)
- [e9f4cb7] add vSAN FileServiceConfig support (#3430)
- [072011c] add HostCertificateManager
- [a0bbbf3] add library item storage API support (#3213)
- [3b7ff25] add PropertyCollector index support
- [651f7d2] fix: ignore unknown refs in Datacenter.PowerOnMultiVM
- [7251db7] Add PbmCheckCompatibility method in pbm simulator
- [542398a] add HostVirtualNicManager
- [0be5fec] fix ReconfigVM validation when changing disk size (#3423)
🧹 Chore
⚠️ BREAKING
HardwareVersion.IsSupported vs IsValid [fc2a6b1]:
HardwareVersion.IsValid is more relaxed, consider IsSupported
- HardwareVersion.IsValid returns true if the specified value
matches a VMX version format. - HardwareVersion.IsSupported behaves how IsValid used to behave.
📖 Commits
- [5164887] chore: Update version.go for v0.38.0
- [c3c5ffb] govc: add vsan.info -file-service-enabled flag
- [e9f4cb7] vcsim: add vSAN FileServiceConfig support (#3430)
- [43510fb] chore: make doc
- [a916df4] govc: add host.tpm.info and host.tpm.report commands
- [072011c] vcsim: add HostCertificateManager
- [7f0c9f0] govc: add host.cert.info -show flag
- [22607cd] fix: xml marshal byte array fields as vCenter does (#1977) (#3469)
- [ae316d6] govc: add storage.policy.create zonal option
- [0de9553] api: EnsureDisksHaveControllers helper
- [3d70ab5] api: OptionValueList helper
- [3e648db] govc: add '-storage' flag to namespace.create and namespace.update commands
- [d80136a] api: add storage_specs field to Namespace related structures
- [e7d54f9] govc: add vm.create '-profile' and '-place' flags
- [748043c] api: add pbm.DatastoreMap for finding compatible Datastores
- [5677b0e] govc: Add feature to pass fullname and org for windows vm customization (#3443)
- [298cfbf] fix: govc vm.disk.change should only modify CapacityInBytes (#3424) (#3464)
- [ee49793] build(deps): bump goreleaser/goreleaser-action from 5 to 6
- [a0bbbf3] vcsim: add library item storage API support (#3213)
- [1ec975c] nfc: Record the SSL thumbprint for the host the (device) URL refers to
- [3b7ff25] vcsim: add PropertyCollector index support
- [651f7d2] vcsim: fix: ignore unknown refs in Datacenter.PowerOnMultiVM
- [fc2a6b1] api: HardwareVersion.IsSupported vs IsValid
- [1edfbe3] feat: vSphere Zones API bindings
- [a68c21f] api: Add library item storage APIs
- [b20c733] build(deps): bump nokogiri from 1.16.2 to 1.16.5 in /gen
- [7d1be3e] api: Update ConfigInfoToConfigSpec
- [12ab409] api: Update generated types
- [7251db7] vcsim: Add PbmCheckCompatibility method in pbm simulator
- [45aa2e9] api: add checksum validation in Content Library update session file API
- [542398a] vcsim: add HostVirtualNicManager
- [3663131] chore: govc: use generated enum lists
- [7a00a0b] api: Generate enum consts with Values funcs
- [0be5fec] vcsim: fix ReconfigVM validation when changing disk size (#3423)
- [f2852e3] api: add SSLCertificate to TransferEndpoint in content library API (#3420)
- [12f8bab] build(deps): bump chuhlomin/render-template from 1.9 to 1.10
- [0893552] bugfix: Exclude ServerGUID from MOR comparison in WaitEx