Releases: vmware/govmomi
v0.34.2
Release v0.34.2
Release Date: 2024-01-08
π« vcsim
(Simulator)
π§Ή Chore
- [96b6eb7] Update version.go for v0.34.2
β οΈ BREAKING
π Commits
v0.34.1
Release v0.34.1
Release Date: 2023-12-19
π§Ή Chore
- [754cb3a] Update version.go for v0.34.1
β οΈ BREAKING
π Commits
v0.34.0
Release v0.34.0
Release Date: 2023-12-12
π Fix
π« API Changes
- [31423b7] add object.Datastore.FindInventoryPath (#3267)
- [d52f8ee] add Content Library update session file APIs (#3258)
π« vcsim
(Simulator)
- [4a09f19] add PbmQueryAssociatedProfiles method
- [4cbd642] Fix [BUG] vcsim raises TypeError for RemoveSnapshotTask (#3298)
- [04ccf69] handle HostNotConnected when saving inventory
- [2f1fefa] fix MAC Addresses to be unique (#3279)
- [e19137f] propagate VMwareDVSConfigSpec in CreateDVS_Task (#3264)
- [a092311] emit DVS and Portgroup create events (#3263)
- [c8a2fc2] Fix PropertyCollector to handle empty property (#3275)
π§Ή Chore
- [a5899af] Update version.go for v0.34.0
β οΈ BREAKING
π Commits
- [a5899af] chore: Update version.go for v0.34.0
- [980d22d] fix: expose util for rest status return (#3309)
- [4a09f19] vcsim: add PbmQueryAssociatedProfiles method
- [e39527d] build(deps): bump actions/stale from 8 to 9
- [4cbd642] vcsim: Fix [BUG] vcsim raises TypeError for RemoveSnapshotTask (#3298)
- [e9a782a] build(deps): bump actions/setup-go from 4 to 5
- [45188e1] Add default Historical Intervals to the simulator
- [04ccf69] vcsim: handle HostNotConnected when saving inventory
- [2f1fefa] vcsim: fix MAC Addresses to be unique (#3279)
- [d32be09] simulator: fix dropped error
- [e19137f] vcsim: propagate VMwareDVSConfigSpec in CreateDVS_Task (#3264)
- [a092311] vcsim: emit DVS and Portgroup create events (#3263)
- [31423b7] api: add object.Datastore.FindInventoryPath (#3267)
- [c8a2fc2] vcsim: Fix PropertyCollector to handle empty property (#3275)
- [d52f8ee] api: add Content Library update session file APIs (#3258)
- [3942d8f] build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0
- [09c7291] Add additional PBM methods
v0.33.0
Release v0.33.0
Release Date: 2023-10-25
π« govc
(CLI)
- [5264e83] add cluster.change '-ha-admission-control-enabled' flag
- [3bcaf42] add option to enable hidden properties in import.{spec,ova} (#3111)
π« vcsim
(Simulator)
- [db0ba92] Handle prepare guest operations when svm is nil
- [0754d75] fix ModifyListView to return unresolved references
- [7f3a070] Remove extra devices in OVF Deploy w/ ConfigSpec
π§Ή Chore
β οΈ BREAKING
fix ModifyListView to return unresolved references [0754d75]:
api: view.ListView.{Add,Remove,Reset} methods now return unresolved references
π Commits
- [f3c1fca] chore: Update version.go for v0.33.0
- [19726dc] Add functionality for checking whether the provided thumbprint is known to the soap client
- [5264e83] govc: add cluster.change '-ha-admission-control-enabled' flag
- [db0ba92] vcsim: Handle prepare guest operations when svm is nil
- [0434fd2] vapi: add support for OperationID header
- [0754d75] vcsim: fix ModifyListView to return unresolved references
- [5569c01] build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0
- [babee19] build(deps): bump chuhlomin/render-template from 1.7 to 1.8
- [7f3a070] vcsim: Remove extra devices in OVF Deploy w/ ConfigSpec
- [3bcaf42] govc: add option to enable hidden properties in import.{spec,ova} (#3111)
- [675eebd] chore: remove refs to deprecated io/ioutil
v0.32.0
Release v0.32.0
Release Date: 2023-09-28
β οΈ BREAKING
camelCase json output [db5b3d8]:
This change adds camelCase (lower-case 1st character) json tags for govc types
EnvironmentBrowser improvements [524ca25]:
removed object.VirtualMachine.QueryConfigTarget method
- Use object.VirtualMachine.EnvironmentBrowser().QueryConfigTarget instead
π Fix
π‘ Examples
- [f2aaee5] add ListView example for waiting on updates to tasks
π« API Changes
- [a91eb5e] disable HTTP Keep-Alive for direct ESX connections
π« govc
(CLI)
π« vcsim
(Simulator)
π Documentation
π§Ή Chore
- [a8d705a] Update version.go for v0.32.0
π Commits
- [a8d705a] chore: Update version.go for v0.32.0
- [f2aaee5] examples: add ListView example for waiting on updates to tasks
- [a91eb5e] api: disable HTTP Keep-Alive for direct ESX connections
- [db5b3d8] govc: camelCase json output (#3007) (#3243) (#3242) (#3241)
- [524ca25] vcsim: EnvironmentBrowser improvements
- [bed9513] fix: case insensitive govc import.ova PropertyMapping (#3245)
- [6c19b99] emacs: update for v0.31.0 release (#3007)
- [258ee24] docs: update govc jq examples with correct case (#3007)
- [d49e401] vcsim: set HostSystem.Config.Host (#3221)
v0.31.0
Release v0.31.0
Release Date: 2023-09-25
β οΈ BREAKING
-
[b594bf1] Move to main
Changing GoVmomi's default branch from
master
tomain
will likely result in dependents needing to repoint their clients and other integrations to the new, default branch. -
[9920086] Generate JSON tags
Updating the
vim25/types
with camelCased, JSON tags affects the output of thegovc
command when using the-json
flag to emit results as JSON. Field names that used to be PascalCased will now be camelCased. Queries for tools that parse JSON, such asjq
, will need to be updated to use the new camelCased fields.This change was made to support marshaling the eam, pbm, sms, vim, and vslm types to/from JSON using OpenAPI JSON discriminators.
-
[4f9f126] Change
string
to*string
forItem.Description
andLibrary.Description
in library package-
Test against a VC testbed
Sending a UpdateLibraryItem request with this change, and set the new description to "". The original item description was "virtualmachinepublishrequest.vmware.com: 6b0d06ad-8e18-4881-a806-2a7c8a7e1b4b", after this UpdateLibraryItem request succeeded, the item description was set to "". While before this change, it would be a no-op for the description.
-
Test using govc
-
Update Library
Create a library: β govmomi git:(issue-3048) β govc library.create -d "description-1" cl-1 495f611a-cf74-40d6-a54a-8b239cf15406 β govmomi git:(issue-3048) β ~/go/bin/govc library.info 495f611a-cf74-40d6-a54a-8b239cf15406 Name: cl-1 ID: 495f611a-cf74-40d6-a54a-8b239cf15406 Path: /cl-1 Description: description-1 Version: 2 Created: Fri Feb 17 19:18:22 2023 Security Policy ID StorageBackings: DatastoreID: sharedVmfs-0 Type: DATASTORE Update the library description with new string: β govmomi git:(issue-3048) β ~/go/bin/govc library.update -d "new description" 495f611a-cf74-40d6-a54a-8b239cf15406 β govmomi git:(issue-3048) β ~/go/bin/govc library.info 495f611a-cf74-40d6-a54a-8b239cf15406 Name: cl-1 ID: 495f611a-cf74-40d6-a54a-8b239cf15406 Path: /cl-1 Description: new description Version: 3 Created: Fri Feb 17 19:18:22 2023 Security Policy ID StorageBackings: DatastoreID: sharedVmfs-0 Type: DATASTORE Update the item name, description is not erased. β govmomi git:(issue-3048) β ~/go/bin/govc library.update -n "cl-1-new" 495f611a-cf74-40d6-a54a-8b239cf15406 β govmomi git:(issue-3048) β ~/go/bin/govc library.info 495f611a-cf74-40d6-a54a-8b239cf15406 Name: cl-1-new ID: 495f611a-cf74-40d6-a54a-8b239cf15406 Path: /cl-1-new Description: new description Version: 4 Created: Fri Feb 17 19:18:22 2023 Security Policy ID StorageBackings: DatastoreID: sharedVmfs-0 Type: DATASTORE Update the library description with empty string: β govmomi git:(issue-3048) β ~/go/bin/govc library.update -d "" 495f611a-cf74-40d6-a54a-8b239cf15406 β govmomi git:(issue-3048) β ~/go/bin/govc library.info 495f611a-cf74-40d6-a54a-8b239cf15406 Name: cl-1-new ID: 495f611a-cf74-40d6-a54a-8b239cf15406 Path: /cl-1-new Description: Version: 5 Created: Fri Feb 17 19:18:22 2023 Security Policy ID StorageBackings: DatastoreID: sharedVmfs-0 Type: DATASTORE
-
Update Library Item
β govmomi git:(issue-3048) β ~/go/bin/govc library.update -d "item-2" /cl-1/image-2 β govmomi git:(issue-3048) β ~/go/bin/govc library.info /cl-1/image-2 Name: image-2 ID: 0dc7df56-31e0-47dc-8b0a-6a33279ddccc Path: /cl-1/image-2 Description: item-2 Type: ovf Size: 2.0GB Created: Wed Feb 15 23:05:15 2023 Modified: Fri Feb 17 19:29:54 2023 Version: 3 Security Compliance: true Certificate Status: INTERNAL Update item name: govmomi git:(issue-3048) β ~/go/bin/govc library.update -n "image-2-new" /cl-1/image-2 β govmomi git:(issue-3048) β ~/go/bin/govc library.info /cl-1/image-2-new Name: image-2-new ID: 0dc7df56-31e0-47dc-8b0a-6a33279ddccc Path: /cl-1/image-2-new Description: item-2 Type: ovf Size: 2.0GB Created: Wed Feb 15 23:05:15 2023 Modified: Fri Feb 17 19:31:44 2023 Version: 4 Security Compliance: true Certificate Status: INTERNAL Update item description to empty string β govmomi git:(issue-3048) β ~/go/bin/govc library.update -d "" /cl-1/image-2-new β govmomi git:(issue-3048) β ~/go/bin/govc library.info /cl-1/image-2-new Name: image-2-new ID: 0dc7df56-31e0-47dc-8b0a-6a33279ddccc Path: /cl-1/image-2-new Description: Type: ovf Size: 2.0GB Created: Wed Feb 15 23:05:15 2023 Modified: Fri Feb 17 19:32:56 2023 Version: 5 Security Compliance: true Certificate Status: INTERNAL
-
-
π Fix
- [8f9e549] govc vm.clone failure when using 'cluster' option (#3208)
- [b22f730] govc datacenter.info VM count with multiple DCs
- [65814f0] Update some goreleaser deprecated fields (#3181)
- [b4eac19] check the error chain when validating if it's x509 error (#3174)
- [86cadf2] Fix the gorelease
- [1711a84] avoid modifying client transport outside of NewClient (#3161)
- [313aa85] share http.Transport with service clients (#3039)
- [f81f3b3] grep warnings during generating usage documentation
- [2d11115] support
binary
anddateTime
in JSON (#3127) - [c4ffe46] add esxcli.Fault and revert Error() string (#3072)
- [93cb079] byte, float and int (de) serialization (#3121)
- [8bc2caa] avoid govc -verbose flag panic if an UpdateSet is nil (#3088)
- [9ba1b85] include StoragePod Datastore children in ContainerView (#3094)
- [8b00a93] only limit the number of samples generated to maxSample when maxSample is greater than 0 and the number of samples to generate is greater than maxSample Closes: #3097 (#3097)
- [4ed0763] support govc ls -xml flag (#3053)
- [8554329] Pin the result limit of ssoadmin client to its MAX (#3004)
π‘ Examples
π« API Changes
- [a03f473] Fix errors w 8.0U2 GA update
- [515df5d] Update generated types to vSphere 8.0U2 GA
- [b7ceede] Prep to update types to vSphere 8.0U2 GA
- [ccd07a0] Update generated types to vSphere 8.0U1c GA
- [4c00586] Prep to update types to vSphere 8.0U1c GA
- [5431c33] Type/field comments for data structures; API versions
- [4b2de28] Add SDK support for VM data sets (#3050)
- [25865e5] set inventory path in SearchIndex.FindByInventoryPath (#3095)
- [38d0ac0] Add JSON transport for vim25 (#3062)
- [0938fba] Add ServerGuid to gen'd MoRef
- [e09a412] support find.NetworkList by ID (#2626)
- [e8fa981] support find.Network by cluster path
- [4e6d642] JSON Discriminators for vim25/types
- [9920086] Generate JSON tags
π« govc
(CLI)
- [c4d851b] Add CLI support for VM data sets (#3050)
- [02f353d] Command to print device/backings model as tree
- [af7833b] Fix memory aliasing in for loop (gosec G601)
- [e17d884] add -file flag for cluster.module.rm
- [e34c721] Add CLI device protocol support for vm.network.add (#3167)
- [48bdfad] Add --help
- [28014f9] Add general usage message (#3054)
- [e5f3cd0] add detail error message for host.esxcli commands (#3073)
- [81733d0] add cluster.mv command (#2524)
- [daaaca0] Add support for CNS volume snapshots
- [477bf69] Support JSON protocol using environment variable (#3062)
- [b8007c4] dont check poweredOn for vm.console vmrc requests (#2127)
- [6b34770] add sso.idp.ldap.update command (#3057)
- [e5b2aa3] Add feature VM IOMMU enablement support (#3055)
- [f4c678a] Add checksum validation to govc import.ova (#1978)
- [e935b5a] Add feature to get and set default idp (#3023)
π« vcsim
(Simulator)
- [35ec7c3] Add simulator support for VM data sets (#3050)
- [c77de71] Introduce separation btw new service instance & infra creation
- [2b5c457] add interactive debug github action stage
- [9b2ef98] use docker event for efficient monitoring
- [6f34f13] container backing respects changes via reconfigure
- [6248cbf] create underlay network for pNICs in container-backed hosts
- [6b7b0df] per-host OptionManager instances and differentiated roles
- [387dc6e] support container backing for hosts
- [fdb4d84] untangle container/VM to allow reuse of container logic for hosts
- [9d8380c] Fix ...
v0.30.7
Release v0.30.7
Release Date: 2023-08-04
π Fix
π« vcsim
(Simulator)
- [3dac2e7] Fix RefreshDatastore to return a valid response (#3198)
- [fe7a0ac] add PerformanceManager counter values
π§Ή Chore
- [46fd9d2] Update version.go for v0.30.7
β οΈ BREAKING
π Commits
- [46fd9d2] chore: Update version.go for v0.30.7
- [3dac2e7] vcsim: Fix RefreshDatastore to return a valid response (#3198)
- [fe7a0ac] vcsim: add PerformanceManager counter values
- [552dfab] build: quote golang version in release file to workaround issue in github action Close #3179 (#3179)
- [cd0c259] fix: Update some goreleaser deprecated fields (#3181)
v0.30.5
Release v0.30.5
Release Date: 2023-06-27
π Fix
- [03aa9dc] avoid govc -verbose flag panic if an UpdateSet is nil (#3088)
- [b366e94] include StoragePod Datastore children in ContainerView (#3094)
- [ae6efc9] only limit the number of samples generated to maxSample when maxSample is greater than 0 and the number of samples to generate is greater than maxSample Closes: #3097 (#3097)
- [b129008] support govc ls -xml flag (#3053)
π‘ Examples
π« API Changes
π« govc
(CLI)
π« vcsim
(Simulator)
- [844274f] set StandbyMode default to "none"
- [a405207] Add RUN.env flag to inject environment variables to container-backed VM
- [3466b11] Fix FindByInventoryPath to handle root folder (#3119)
- [0473736] Add CSV format support to QueryPerf API (#3103)
- [d46fe80] add ssoadmin user and group management (#2852)
π§Ή Chore
β οΈ BREAKING
π Commits
- [5373c14] chore: Update version.go for v0.30.5
- [844274f] vcsim: set StandbyMode default to "none"
- [a405207] vcsim: Add RUN.env flag to inject environment variables to container-backed VM
- [e2f14cd] chore: add missing guest OS IDs
- [3466b11] vcsim: Fix FindByInventoryPath to handle root folder (#3119)
- [3afdbf2] Add RUN.port.xx flag to publish ports on container backed VM
- [03aa9dc] fix: avoid govc -verbose flag panic if an UpdateSet is nil (#3088)
- [0473736] vcsim: Add CSV format support to QueryPerf API (#3103)
- [b366e94] fix: include StoragePod Datastore children in ContainerView (#3094)
- [ae6efc9] fix: only limit the number of samples generated to maxSample when maxSample is greater than 0 and the number of samples to generate is greater than maxSample Closes: #3097 (#3097)
- [afd45d6] api: set inventory path in SearchIndex.FindByInventoryPath (#3095)
- [16a58c2] Make mounting DMI information optional with docker-backed vcsim
- [b129008] fix: support govc ls -xml flag (#3053)
- [ecca414] govc: dont check poweredOn for vm.console vmrc requests (#2127)
- [46bf240] examples: add rest.Client.LoginByToken
- [d4e3142] examples: add session.Manager.LoginByToken (#3037)
- [d46fe80] vcsim: add ssoadmin user and group management (#2852)
v0.30.4
Release v0.30.4
Release Date: 2023-03-16
π« API Changes
π« govc
(CLI)
π§Ή Chore
- [4561966] Update version.go for v0.30.4
β οΈ BREAKING
π Commits
v0.30.2
Release v0.30.2
Release Date: 2023-02-01
π Fix
π« vcsim
(Simulator)
- [997d9dd] add guest.net.ipConfig
π§Ή Chore
- [9078b0b] Update version.go for v0.30.2