Skip to content

Releases: vmware/govmomi

v0.46.0

06 Nov 23:07
Compare
Choose a tag to compare

Release v0.46.0

Release Date: 2024-11-06

🐞 Fix

  • [f9d093b] Set DuplicateName Object to duplicate object (#3610)
  • [60d4b04] CreateSATAController to return error when no bus numbers
  • [fe93450] vcsim: avoid race in DestroyPropertyFilter

πŸ’« API Changes

  • [ae55823] Support CnsBlockCreateSpec
  • [a9d5985] support MOID conversion in Finder methods
  • [5c54c3f] change ManagerKmip.IsValidKey to use QueryCryptoKeyStatus
  • [6ecb208] add crypto.ManagerKmip.QueryCryptoKeyStatus
  • [6e84b72] Fetch crypto key in GetVirtualDiskInfoByUUID

πŸ’« govc (CLI)

  • [fdb091c] add vm.change -migrate-encryption and -ft-encryption-mode options (#3493)
  • [8f3b0a3] add '-I' flag to ls and find commands
  • [66fc63a] add kms.key commands

πŸ’« vcsim (Simulator)

  • [ca05e10] add QueryCryptoKeyStatus

🧹 Chore

  • [35c4569] Update version.go for v0.46.0
  • [34ca8c8] skip tests unless running docker on linux (#3604)

⚠️ BREAKING

change ManagerKmip.IsValidKey to use QueryCryptoKeyStatus [5c54c3f]:
IsValidKey now requires a key providerID param.

πŸ“– Commits

  • [35c4569] chore: Update version.go for v0.46.0
  • [fdb091c] govc: add vm.change -migrate-encryption and -ft-encryption-mode options (#3493)
  • [ae55823] api: Support CnsBlockCreateSpec
  • [a9d5985] api: support MOID conversion in Finder methods
  • [8f3b0a3] govc: add '-I' flag to ls and find commands
  • [f9d093b] fix: Set DuplicateName Object to duplicate object (#3610)
  • [34ca8c8] chore: skip tests unless running docker on linux (#3604)
  • [60d4b04] fix: CreateSATAController to return error when no bus numbers
  • [5c54c3f] api: change ManagerKmip.IsValidKey to use QueryCryptoKeyStatus
  • [ca05e10] vcsim: add QueryCryptoKeyStatus
  • [66fc63a] govc: add kms.key commands
  • [6ecb208] api: add crypto.ManagerKmip.QueryCryptoKeyStatus
  • [fe93450] fix: vcsim: avoid race in DestroyPropertyFilter
  • [6e84b72] api: Fetch crypto key in GetVirtualDiskInfoByUUID
  • [0206f07] Fix error assertion in IsCertificateUntrusted

v0.45.1

23 Oct 18:15
Compare
Choose a tag to compare

Release v0.45.1

Release Date: 2024-10-23

🧹 Chore

  • [af51f76] Update version.go for v0.45.1

⚠️ BREAKING

πŸ“– Commits

  • [af51f76] chore: Update version.go for v0.45.1
  • [0ed140e] Fix error assertion in IsCertificateUntrusted

v0.45.0

21 Oct 19:20
Compare
Choose a tag to compare

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

09 Oct 07:27
Compare
Choose a tag to compare

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

  • [8234db4] chore: Update version.go for v0.44.1
  • [05544f7] fix: ensure proper vSAN URI format in ResolveLibraryItemStorage

v0.44.0

07 Oct 19:13
Compare
Choose a tag to compare

Release v0.44.0

Release Date: 2024-10-07

🐞 Fix

  • [bf6e162] synchronize access to session.Manager.userSession (#3571)

πŸ’‘ 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

10 Sep 17:48
Compare
Choose a tag to compare

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

16 Aug 20:01
Compare
Choose a tag to compare

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

  • [7a7c064] chore: Update version.go for v0.42.0
  • [3fd16f7] api: update eam bindings to include authentication schema with eam-vcenter build 24075398 Closes: 3521

v0.41.0

16 Aug 18:54
Compare
Choose a tag to compare

Release v0.41.0

Release Date: 2024-08-16

πŸ’« API Changes

  • [5a03649] OptionValues IsTrue|IsFalse

🧹 Chore

  • [a6cdbd4] Update version.go for v0.41.0

⚠️ BREAKING

πŸ“– Commits

  • [a6cdbd4] chore: Update version.go for v0.41.0
  • [5a03649] api: OptionValues IsTrue|IsFalse

v0.40.0

12 Aug 23:36
Compare
Choose a tag to compare

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)

🧹 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

22 Jul 17:55
Compare
Choose a tag to compare

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

⚠️ 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