Releases: vmware/govmomi
Releases Β· vmware/govmomi
v0.46.1
Release v0.46.1
Release Date: 2024-11-15
π Fix
- [6f7bceb] vcsim: avoid possible panic when applying PropertyFilter
π§Ή Chore
- [0ded546] Update version.go for v0.46.1
β οΈ BREAKING
π Commits
v0.46.0
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
β οΈ 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
Release v0.45.1
Release Date: 2024-10-23
π§Ή Chore
- [af51f76] Update version.go for v0.45.1
β οΈ BREAKING
π Commits
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