Skip to content

Releases: vmware/govmomi

v0.27.0

14 Oct 20:43
086bb56
Compare
Choose a tag to compare

Release v0.27.0

Release Date: 2021-10-14

🐞 Fix

  • [57c4be5] multi-value query params for vAPI methods
  • [815e2d8] avoid vNIC mapping in guest.TransferURL if URL.Host is an IP
  • [81a7dbe] avoid use of vNIC IP in guest.TransferURL if there are multiple
  • [61afce3] Update CnsQueryAsync API request parameters to handle nil for QuerySelection
  • [a601a8a] generate negative device key

💫 govc (CLI)

  • [b5426eb] Add feature to read file contents for ExtraConfig
  • [85956c7] fix tasks to activate option dump/json/xml
  • [f4ef4d9] Fix incorrect MoRef parsing
  • [d695f4c] Handle powered on VMs in vm.destroy
  • [94f6368] add library.clone '-e' and '-m' options
  • [2fcae37] add vsan info and change commands

💫 vcsim (Simulator)

  • [fa45794] Fix PowerOnMultiVMTask() to return per-VM tasks
  • [e67b1b1] check if VM host InMaintenanceMode

📃 Documentation

🧹 Chore

  • [05adcc9] Remove -i parameter in go install
  • [18ea9cc] Update PR and release docs

⚠️ BREAKING

Add task manager and collector [397c8aa]:
event.Manager does not embed object.Common anymore. Only the methods
Client() and Reference() are implemented.
event.NewHistoryCollector() is now unexported (to
newHistoryCollector()) as it was merely a helper and to comply with
the task manager implementation.

📖 Commits

  • [78f3026] update contributors
  • [68b5458] Refactor EAM code to use BaseAgencyConfigInfo interface instead of impl
  • [d5ded1f] Implement mo.Reference interface in task+event managers
  • [038bc3d] Update vslm types to vCenter 7.0U3 (build 18700403)
  • [ae8161d] Update pbm types to vCenter 7.0U3 (build 18700403)
  • [f2d167d] Update eam types to vCenter 7.0U3 (build 18700403)
  • [f1c7b54] Update vim25 types to vCenter 7.0U3 (build 18700403)
  • [445fd55] Update gen.sh to vCenter 7.0U3 (build 18700403)
  • [961f0ae] example: find VirtualMachine's Cluster
  • [57c4be5] fix: multi-value query params for vAPI methods
  • [f7e8ed7] Set custom HTTP headers for VAPI calls
  • [05adcc9] chore: Remove -i parameter in go install
  • [82e447d] docs: Update govc USAGE
  • [b5426eb] govc: Add feature to read file contents for ExtraConfig
  • [815e2d8] fix: avoid vNIC mapping in guest.TransferURL if URL.Host is an IP
  • [81a7dbe] fix: avoid use of vNIC IP in guest.TransferURL if there are multiple
  • [18ea9cc] chore: Update PR and release docs
  • [a66d23e] build(deps): bump nokogiri from 1.11.4 to 1.12.5 in /gen
  • [a853b30] Fix: Nil-Pointer Exception in ResourceAllocation
  • [fa45794] vcsim: Fix PowerOnMultiVMTask() to return per-VM tasks
  • [85956c7] govc: fix tasks to activate option dump/json/xml
  • [61afce3] fix: Update CnsQueryAsync API request parameters to handle nil for QuerySelection
  • [397c8aa] feat: Add task manager and collector
  • [a601a8a] fix: generate negative device key
  • [f4ef4d9] govc: Fix incorrect MoRef parsing
  • [e67b1b1] vcsim: check if VM host InMaintenanceMode
  • [d695f4c] govc: Handle powered on VMs in vm.destroy
  • [a55fa7d] feat: Add optional WaitOptions to WaitForUpdates
  • [94f6368] govc: add library.clone '-e' and '-m' options
  • [2fcae37] govc: add vsan info and change commands

Docker images

  • docker pull vmware/govc:v0.27.0
  • docker pull vmware/govc:086bb561
  • docker pull vmware/vcsim:v0.27.0
  • docker pull vmware/vcsim:086bb561

v0.26.1

17 Aug 02:55
ec5a4a7
Compare
Choose a tag to compare

Release v0.26.1

Release Date: 2021-08-12

🐞 Fix

  • [a366e35] Regenerated interface and type to include BaseAgencyConfigInfo. Closes: #2545. (#2545)
  • [d66ef55] explicitly import eam/simulator in test

💡 Examples

💫 govc (CLI)

  • [012f534] support updating items in library.update command
  • [5743d5b] Allow cluster.change to set ClusterDrsConfigInfo.vmotionRate (#2506)
  • [03210c9] Add object.collect type flag alias help (#2491)

💫 vcsim (Simulator)

  • [ce6ed63] avoid race when fetching object Locker
  • [31821de] use 'domain-c' prefix for cluster moids
  • [3625e6d] propagate CustomizeVM MacAddress to Virtual NIC
  • [389c038] Take the host parameter into account while cloning a VM on a cluster (#2495)
  • [6fba1da] Implement VSLM ExtendDisk_Task

🧹 Chore

  • [ddc2b47] Include commit details in BREAKING section (#2482)

⚠️ BREAKING

📖 Commits

  • [a366e35] fix: Regenerated interface and type to include BaseAgencyConfigInfo. Closes: #2545. (#2545)
  • [655f8e5] testing for lab
  • [ce6ed63] vcsim: avoid race when fetching object Locker
  • [31821de] vcsim: use 'domain-c' prefix for cluster moids
  • [0aa1de3] make processing of mac addresses case insensitive (#2510) (#2510) (#2509)
  • [012f534] govc: support updating items in library.update command
  • [0c045a6] examples: Add Property Wait example (#2514)
  • [f30cefc] Add Reauth flag to skip loading cached sessions
  • [3625e6d] vcsim: propagate CustomizeVM MacAddress to Virtual NIC
  • [5743d5b] govc: Allow cluster.change to set ClusterDrsConfigInfo.vmotionRate (#2506)
  • [389c038] vcsim: Take the host parameter into account while cloning a VM on a cluster (#2495)
  • [7bf4833] Added CNS querySnapshots binding, simulator testcases and client testcases
  • [017ab41] Added CreateSnapshots and DeleteSnapshots methods in cns simulator as well as their test cases
  • [03210c9] govc: Add object.collect type flag alias help (#2491)
  • [d66ef55] fix: explicitly import eam/simulator in test
  • [ddc2b47] chore: Include commit details in BREAKING section (#2482)
  • [6fba1da] vcsim: Implement VSLM ExtendDisk_Task

Docker images

  • docker pull vmware/govc:v0.26.1
  • docker pull vmware/govc:ec5a4a7c
  • docker pull vmware/vcsim:v0.26.1
  • docker pull vmware/vcsim:ec5a4a7c

v0.26.0

03 Jun 19:52
34586b6
Compare
Choose a tag to compare

Release v0.26.0

Release Date: 2021-06-03

🐞 Fix

💡 Examples

💫 govc (CLI)

  • [e37e515] fix default guest.run path for unsupported Windows guests (#2446)
  • [0e7012d] Add support for getting the VC proxy and no-proxy configuration (#2435) (#2435)
  • [6afb8ff] Change 'Maintenance Mode' printing in host.info (#2398)

💫 vcsim (Simulator)

  • [dff7f6b] fix panic in QueryPerfCounter method (#2440)
  • [df9dfde] set VirtualMachine ChangeTrackingSupported property (#2468) (#2468)
  • [0c0ed98] fix race in CloneVM_Task
  • [d01d0fa] add simulator.RunContainer method
  • [8ab0c99] untie datastore capacity from local fs (#2390)
  • [d31941c] Modify Usage of README. (based on v0.25.0)
  • [4fea687] include all namespaces in /about info
  • [bd3467d] avoid edit device panic when DeviceInfo is nil
  • [35a42af] add guest operations process support

📃 Documentation

  • [75eee8e] update govc/USAGE and CONTRIBUTORS
  • [1f795d2] Add blog to vcsim README
  • [2719c22] Document linker and GOFLAGS for build vars (#2401)

🧹 Chore

⚠️ BREAKING

📖 Commits

  • [75eee8e] docs: update govc/USAGE and CONTRIBUTORS
  • [dff7f6b] vcsim: fix panic in QueryPerfCounter method (#2440)
  • [b4e1f96] chore: Fix CONTRIB link in greeting (#2473)
  • [df9dfde] vcsim: set VirtualMachine ChangeTrackingSupported property (#2468) (#2468)
  • [8cbe64c] Fix: Protect FileProvider.files to avoid concurrent modification (#2443)
  • [6f2597b] chore: Update CHANGELOG implementation (#2467)
  • [0c0ed98] vcsim: fix race in CloneVM_Task
  • [81b1de1] examples: add toolbox Client.Run (#2458)
  • [d01d0fa] vcsim: add simulator.RunContainer method
  • [9223b5a] Add toolbox.NewClient method
  • [8ab0c99] vcsim: untie datastore capacity from local fs (#2390)
  • [e37e515] govc: fix default guest.run path for unsupported Windows guests (#2446)
  • [d3944e1] chore: Add and reorder commits in CHANGELOG (#2460)
  • [83e29c6] Update GitHub Test Action to use Makefile
  • [a7f2c47] Update vslm types vC build 17986435 (7.0U2HP4)
  • [067374f] Update sms types vC build 17986435 (7.0U2HP4)
  • [d9f507f] Update pbm types vC build 17986435 (7.0U2HP4)
  • [c89f8dd] Update eam types vC build 17986435 (7.0U2HP4)
  • [b72432e] Update vim25 types vC build 17986435 (7.0U2HP4)
  • [e53716d] Update gen.sh to vC build 17986435 (7.0U2HP4)
  • [1f795d2] docs: Add blog to vcsim README
  • [338f552] Ran "make fix" to correct lint issues
  • [23d77ba] Add support for golangci-lint
  • [d31941c] vcsim: Modify Usage of README. (based on v0.25.0)
  • [7046a0d] Support pre-auth handlers in vC Sim
  • [2e8860d] Add CNS Snapshot APIs in govmomi
  • [13d4d37] Remove vendor
  • [a796d3f] chore: Add make help target
  • [ef824a2] Fix QueryAsyncVolume API test to be invoked only for vSphere 7.0.3
  • [c190023] Fix data race in simulator.container.id
  • [3212351] install bin doc: permalink to latest version
  • [7d77983] Setup CodeQL Analysis
  • [566250f] build(deps): bump nokogiri from 1.11.1 to 1.11.4 in /gen
  • [f814a9c] ESX Agent Manager (EAM) Client and Simulator
  • [0e7012d] govc: Add support for getting the VC proxy and no-proxy configuration (#2435) (#2435)
  • [8bc8fd2] chore: Add issue and PR templates (#2431)
  • [4fea687] vcsim: include all namespaces in /about info
  • [bd3467d] vcsim: avoid edit device panic when DeviceInfo is nil
  • [70b92d6] fix: Isolate SSO govc tests (#2425)
  • [80c9053] Correcting broken Kubernetes vSphere Cloud Provider links
  • [60e3391] chore: Document commit prefixes
  • [57a141f] Update govc test docs with act
  • [ff57891] Use "vcsim uuidgen" for bats tests
  • [61e12dd] Only greet unassociated users (#2412)
  • [e39dfdc] Add chore section to CHANGELOG (#2410)
  • [6afb8ff] govc: Change 'Maintenance Mode' printing in host.info (#2398)
  • [cac1d8d] chore: Add issue greeting (#2406)
  • [0f1c3f8] chore: Add WIP Action (#2402)
  • [921ad37] chore: Remove dep files (#2394)
  • [2719c22] docs: Document linker and GOFLAGS for build vars (#2401)
  • [f3645a9] Clarify SetRootCAs behavior (#2399)
  • [c368e57] toolbox: add hgfs freebsd stub
  • [35a42af] vcsim: add guest operations process support
  • [64e55d8] Set RoundTripper in ssoadmin.NewClient
  • [1d4ce94] chore: Clean up documentation
  • [991278b] chore: Remove unused release script
  • [16d8add] chore: Automate CHANGELOG
  • [e8805c9] Add NotFoundFault in cns types
  • [8576fe2] Add queryAsyncVolume in simulator
  • [4b9e081] Simplify binary download instructions (#2387)
  • [3062dda] Remove Travis CI (#2349)
  • [0be5632] adding rancher to projects and reorganizing in alpha order
  • [4a63a28] Add bindings for CnsQueryAsyncVolume API
  • [a8c80b9] Update READMEs with artifacts and Docker images (#2373)
  • [26c9690] Fix VM Guest test and vet warnings (#2381)
  • [a32cd0b] Add RELEASE documentation (#2368)
  • [cc660b0] Increase govc tests timeout (#2379)
  • [d7bfaf4] toolbox: move process management to its own package
  • [e86da96] Exclude go files in release tarball (#2370)

Docker images

  • docker pull vmware/vcsim:v0.26.0
  • docker pull vmware/vcsim:34586b66
  • docker pull vmware/vcsim:latest
  • docker pull vmware/govc:v0.26.0
  • docker pull vmware/govc:34586b66
  • docker pull vmware/govc:latest

v0.25.0

16 Apr 16:09
bb0307e
Compare
Choose a tag to compare

govc Highlights

  • Add tree command

  • Add library.update command

  • Add cluster.stretch command

  • Add '-trace' and '-verbose' flags

  • Add '-l' option to version command

  • Add '-s' option to snapshot.tree command

  • Add 'ha-additional-delay' flag to cluster.override.change

  • Add IPv6 support to vm.customize

  • Add '-g' flag to metric.info and metric.ls

  • Add session.ls '-S' flag

  • Fix incorrect DeviceID value in device.pci.add

  • Fix cluster.usage Free field

Changelog

22d911f Add Cron Docker Login Action
8c38d56 Add a stretched cluster conversion command.
3385b3e Add action to automate release
aadb208 Add action to block WIP PRs
4ed615f Add chainable RoundTripper support to endpoint clients
bf54a7c Add more badges
7aae8df Add support for calling vCenter for VLSM ExtendDisk and InflateDisk
bab95d2 Add the vSAN stretched cluster reference.
bc52c79 Associate every registry lock with a Context.
917c4ec Ensure lock hand-off to simulator.Task goroutine
df08d4b First step towards release automation
6ff33db Fix events example
6fe8d60 Fix folder write for govc container
7403b47 Fix race in simulator's PropertyCollector
0d155a6 Handling invalid reader size
4b59b65 Make Simulator Tasks Async
b45b228 Simulator Task Delay
e8a6b12 Update govc/flags/output.go
2c57a8a Use Github Actions
07e6e92 Use Github Actions Status Badges
b70542a Using progress reader in WriteFile
054971e Wait until VM creation completes before adding to folder
bc29733 [3ad0f41] Update Dockerfiles and .goreleaser.yml
f9b79a4 export simulator.task.Wait()
408c531 gofmt
de6032e govc: add '-trace' and '-verbose' flags
3548146 govc: add library.update command
749c223 govc: add session.ls -S flag
93245c1 govc: add tree command
1ac314c govc: add vm.customize -dns-suffix flag
790f9ce govc: include sub task fault messages on failure
cdf3ace govc: log invalid NetworkMapping.Name with import.ova command
d2a353b govc: remove device.boot -firmware default
f8b3d8a govc: revert pretty print pruning optimization
60e0e89 govc: update test images URL
0ef4ae2 vcsim: add moid value mapping mappings
082f992 vcsim: add vsan simulator
27d8d2e vcsim: put verbose logging behind '-trace' flag

Docker images

  • docker pull vmware/vcsim:v0.25.0
  • docker pull vmware/vcsim:bb0307eb
  • docker pull vmware/vcsim:latest
  • docker pull vmware/govc:v0.25.0
  • docker pull vmware/govc:bb0307eb
  • docker pull vmware/govc:latest

v0.24.0

21 Dec 18:30
Compare
Choose a tag to compare

Documentation:

The binaries below are provided without warranty, following the Apache license.

Instructions:

  • Download the file relevant to your operating system
  • Decompress (i.e. gzip -d govc_linux_amd64.gz)
  • Set the executable bit (i.e. chmod +x govc_linux_amd64)
  • Move the file to a directory in your $PATH (i.e. mv govc_linux_amd64 /usr/local/bin/govc)
$ sha1sum govc_*.gz
8af37be7bebb977ec0b5cad58dbcf31024316e2a  govc_darwin_amd64.gz
0bd46f2e8e94da39a5c1e50e8d68024be711bca7  govc_freebsd_amd64.gz
cf1d86442e15d1677576b8b748d508427d43f915  govc_linux_amd64.gz
$ sha1sum govc_*.zip
3fc6158dc18945464e725959f11e9ea98e32537e  govc_windows_amd64.exe.zip

v0.23.0

12 Jun 04:27
37f4b25
Compare
Choose a tag to compare

Documentation:

The binaries below are provided without warranty, following the Apache license.

Instructions:

  • Download the file relevant to your operating system
  • Decompress (i.e. gzip -d govc_linux_amd64.gz)
  • Set the executable bit (i.e. chmod +x govc_linux_amd64)
  • Move the file to a directory in your $PATH (i.e. mv govc_linux_amd64 /usr/local/bin/govc)
$ sha1sum govc_*.gz
a325afbeccd7a2fbe9d42135e53b42a4eba4554e  govc_darwin_386.gz
01bfb148be03a3ec97a37a1a719115d0d64374f4  govc_darwin_amd64.gz
cd1c240714542976c4aff019340e87e348a949e1  govc_freebsd_386.gz
8089a4ddd0c0a7113693f55de2c6dc1b8250e078  govc_freebsd_amd64.gz
a27236f7655d0b5551e7d3f9f761031c42e59cf1  govc_linux_386.gz
ba777988af807e4a9aaea47339125f15cdbc8eea  govc_linux_amd64.gz
$ sha1sum govc_*.zip
570072921038da4d0375dda7d6cd8901f9358d46  govc_windows_386.exe.zip
040d61b8e6bd488e8fb9ff191b0c8e2583001277  govc_windows_amd64.exe.zip

v0.22.1-247-g770fcba2

29 May 17:14
770fcba
Compare
Choose a tag to compare
v0.22.1-247-g770fcba2 Pre-release
Pre-release

This is a PRERELEASE version.

Documentation:

The binaries below are provided without warranty, following the Apache license.

Instructions:

  • Download the file relevant to your operating system
  • Decompress (i.e. gzip -d govc_linux_amd64.gz)
  • Set the executable bit (i.e. chmod +x govc_linux_amd64)
  • Move the file to a directory in your $PATH (i.e. mv govc_linux_amd64 /usr/local/bin/govc)
$ sha1sum govc_*.gz
be5adb2f7ad3d85bf50cedb1229c604ce66fe4cf  govc_darwin_386.gz
6aea0f11a96fbd74c8b8567cfc31e9d8b114f88c  govc_darwin_amd64.gz
1a8e58941e367e8c524b8400182bf2147ca35533  govc_freebsd_386.gz
8b0bd5ca949b869d1bb918de9722570f20583cd8  govc_freebsd_amd64.gz
6c8daec0d25ea9d2b05c1952d3a522df090a4dbb  govc_linux_386.gz
1247c87f0a1d10922c11c8e09908b7c4c569c5c5  govc_linux_amd64.gz
$ sha1sum govc_*.zip
6cb9c4681021a44d01adc87827bf8086e38ce41e  govc_windows_386.exe.zip
f62ee47d89773b62cacd0ed27cd0af8e87daca2f  govc_windows_amd64.exe.zip

v0.22.1

14 Jan 05:38
490c5ed
Compare
Choose a tag to compare

Documentation:

The binaries below are provided without warranty, following the Apache license.

Instructions:

  • Download the file relevant to your operating system
  • Decompress (i.e. gzip -d govc_linux_amd64.gz)
  • Set the executable bit (i.e. chmod +x govc_linux_amd64)
  • Move the file to a directory in your $PATH (i.e. mv govc_linux_amd64 /usr/local/bin/govc)
$ sha1sum govc_*.gz
d20996c7d8cf6cba0bd5af278103d173c36222b0  govc_darwin_386.gz
cc9027d957fbf8ad4b406ab42bee88e4d1a3ffdb  govc_darwin_amd64.gz
d737e02228722e1c6a82394280c15c59b438922a  govc_freebsd_386.gz
145142a6a3f5948c7b315a9c1d4d8dbeb4795060  govc_freebsd_amd64.gz
c6d494b64955885709b805f17e131a68f5efbe46  govc_linux_386.gz
0579871b00a2112fb7c5d1a92a4cefe1322bd74e  govc_linux_amd64.gz
$ sha1sum govc_*.zip
5708d9727b23e0928dac9fc7c1e723842cffeea2  govc_windows_386.exe.zip
35830a5218a25da0fdc789e8a884eeea155fe426  govc_windows_amd64.exe.zip

v0.22.0

10 Jan 17:38
b49d671
Compare
Choose a tag to compare

Documentation:

The binaries below are provided without warranty, following the Apache license.

Instructions:

  • Download the file relevant to your operating system
  • Decompress (i.e. gzip -d govc_linux_amd64.gz)
  • Set the executable bit (i.e. chmod +x govc_linux_amd64)
  • Move the file to a directory in your $PATH (i.e. mv govc_linux_amd64 /usr/local/bin/govc)
$ sha1sum govc_*.gz
17af389d312efba7c644e3038f96a16e1b0393a4  govc_darwin_386.gz
990b29a802757cbdb119527798b30fd4e399e853  govc_darwin_amd64.gz
726c374da55d18707c8f9d7d1de412b85eafa646  govc_freebsd_386.gz
0ef1096c379853ec1abb1e572ab44d7856e7b4d0  govc_freebsd_amd64.gz
3f9d131b4e6147e4b146f228d9e71a2f8ff9e8d7  govc_linux_386.gz
a282e92492f5dc604ed9af28983cebddb23745e5  govc_linux_amd64.gz
$ sha1sum govc_*.zip
91481345798b531b4db7c5f0a38f65c48572e964  govc_windows_386.exe.zip
057e3bec596901718992b711fd65b34e69f3641b  govc_windows_amd64.exe.zip

v0.21.0-58-g8d28646

09 Sep 19:35
8d28646
Compare
Choose a tag to compare
v0.21.0-58-g8d28646 Pre-release
Pre-release

This is a PRERELEASE version.

Documentation:

The binaries below are provided without warranty, following the Apache license.

Instructions:

  • Download the file relevant to your operating system
  • Decompress (i.e. gzip -d govc_linux_amd64.gz)
  • Set the executable bit (i.e. chmod +x govc_linux_amd64)
  • Move the file to a directory in your $PATH (i.e. mv govc_linux_amd64 /usr/local/bin/govc)
$ sha1sum govc_*.gz
fde3be6ed29acefaa706cfbc3191005ffb80608c  govc_darwin_386.gz
34e7a919ba046b636ed7d33c99bcf2334df5ba97  govc_darwin_amd64.gz
8046a205ec56337e297081d35a68ae45810c1056  govc_freebsd_386.gz
30a6b2973ea4b9df70b89d07efc26f458d2f60b5  govc_freebsd_amd64.gz
68cbcb325907c0a1f6526b587bab405fda918874  govc_linux_386.gz
1aac134010d2540ded77f010d651a77673adf556  govc_linux_amd64.gz
$ sha1sum govc_*.zip
b665161b52b675dc93b04cf19249df4e8929496e  govc_windows_386.exe.zip
bbba3526906df20186af468612495e20172739d1  govc_windows_amd64.exe.zip