Release v0.47.0
Release Date: 2025-01-02
π Fix
- [3793a5b] govc fix field.info name (-n flag) validation
- [8adeb8b] SOAP vcSessionCookie value must be from vim25.Client
- [2271a78] toolbox: add freebsd stub for fileExtendedInfoFormat (#3620)
- [f08496e] vcsim: swap order of xsi type attribute (#2114)
- [973a224] assert Entity interface in mo.Value()
- [ad24cb4] Property Collector updates should be triggered on the empty FilterSet (#3631)
- [29de346] vcsim: output signed byte in ByteSlice.MarshalXML (#3615)
- [71b9c76] govc: wire up flags for namespace service create
- [5e9a140] vcsim: avoid possible panic when applying PropertyFilter
π« API Changes
- [a447f4d] Fix OVF param to use interface
- [17b5c08] Generate bindings for 9.0.0.0.rc1
- [77de0b5] Generate API with Broadcom header
- [4b7d0c5] Specify ruby bundler for api gen
- [f238201] Update gen/gen.sh for 9.0.0.0.rc1
- [05a6d57] Support podman for building api
- [3d8b026] Build api with Go 1.23.2
- [aa8279b] Support returning DS info when resolving lib stor
- [64ca62f] Support DC for ResolveLibItemStor
- [0af06a3] Support encode/decode OVF to JSON
- [7598ae9] Fix object.VirtualDiskManager::Copy
- [b2bde00] Update OVF ToConfigSpec to handled unknown types
- [5bb9901] A generic copy function for vim25/types
- [1918984] add override mechanism for SOAP Header.Cookie
- [495a820] OVF to ConfigSpec
- [e9f9eb0] Support OVF ResourceType enum
- [42bf813] Update OVF parser to conform to spec
- [05482c0] move cli/host/esxcli.Command to cli/esx package
π« govc
(CLI)
- [ad5c90a] Update govc usage doc
- [ca2e6ff] add datastore.download -json support
- [18a3019] add -b flag to volume.ls
- [e02de72] add disk.ls '-a' flag (#3639)
- [c60f498] add datastore.ls -H option
- [228b445] remove minimum API version check (#3643)
- [7e17885] Move govc commands into cli pkg
π« vcsim
(Simulator)
- [10e9bc7] create cls vmdk descriptor and backing files
- [dd6bf66] Improve sim for pub/sub content libs
- [b7d4f00] make QueryVirtualDiskUuid() result stable
- [f398e78] add VirtualDiskManager.QueryVirtualDiskInfo (#3000) (#2555)
- [a9488e0] fix object.save when run directly against ESX
- [c0b5944] LicenseManager enhancements
- [5db2637] add UpdateAssignedLicense method
- [9322377] add esxcli support
- [53d31e9] Lock alpine image tag to non-latest tag
π§Ή Chore
- [95396cd] Update version.go for v0.47.0
- [e1f1db4] update copyright header
- [538dbef] Minimum version selection
β οΈ BREAKING
Support returning DS info when resolving lib stor [aa8279b]:
This change updates the signature for the
ResolveLibraryItemStorage function.
Signed-off-by: akutz <akutz@vmware.com>
Support DC for ResolveLibItemStor [64ca62f]:
This change requires updating the use of the
ResolveLibraryItemStorage function to account for
its signature change.
Support OVF ResourceType enum [e9f9eb0]:
Users of the ovf
package may need to cast ResourceType
to a uint16 depending on how they have used the value.
Signed-off-by: akutz <akutz@vmware.com>
Update OVF parser to conform to spec [42bf813]:
Users of the ovf
package will need to update their
sources to conform to the changes from this patch. It
should be a fairly simple change.
move cli/host/esxcli.Command to cli/esx package [05482c0]:
Package "github.com/vmware/govmomi/govc/host/esxcli" is now "github.com/vmware/govmomi/cli/esx"
A 'context.Context' param has also been added to the package's methods.
See cli/esx/example_test.go for usage.
Move govc commands into cli pkg [7e17885]:
All packages ./govc/*
(except ./govc/test
) have been
relocated under the ./cli
package.
Minimum version selection [538dbef]:
The go install
command may no longer be used to install
govc and vcsim directly from GitHub.
This is because both packages are now distinct sub-modules that still
depend on the other packages in this project. Therefore these sub-mods
use the following replace directive:
replace github.com/vmware/govmomi -> ../
This teaches govc and vcsim where to look for the imported GoVmomi
packages. This ensures that building these binaries will pick up any
local changes to the rest of the project.
However, the go install
command does not support installing modules
from a remote location if the module contains a replace
directive.
This means users will need to either clone all of
github.com/vmware/govmomi before running go -C govc install
or
go -C vcsim install
, or they can download the released binaries
directly.
π Commits
- [95396cd] chore: Update version.go for v0.47.0
- [ad5c90a] govc: Update govc usage doc
- [a447f4d] api: Fix OVF param to use interface
- [17b5c08] api: Generate bindings for 9.0.0.0.rc1
- [77de0b5] api: Generate API with Broadcom header
- [4b7d0c5] api: Specify ruby bundler for api gen
- [f238201] api: Update gen/gen.sh for 9.0.0.0.rc1
- [05a6d57] api: Support podman for building api
- [3d8b026] api: Build api with Go 1.23.2
- [ca2e6ff] govc: add datastore.download -json support
- [e1f1db4] chore: update copyright header
- [10e9bc7] vcsim: create cls vmdk descriptor and backing files
- [dd6bf66] vcsim: Improve sim for pub/sub content libs
- [18a3019] govc: add -b flag to volume.ls
- [cd78f76] cns: add json tags (#3007) (#3247)
- [aa8279b] api: Support returning DS info when resolving lib stor
- [64ca62f] api: Support DC for ResolveLibItemStor
- [e02de72] govc: add disk.ls '-a' flag (#3639)
- [0af06a3] api: Support encode/decode OVF to JSON
- [c60f498] govc: add datastore.ls -H option
- [3793a5b] fix: govc fix field.info name (-n flag) validation
- [8adeb8b] fix: SOAP vcSessionCookie value must be from vim25.Client
- [7598ae9] api: Fix object.VirtualDiskManager::Copy
- [b7d4f00] vcsim: make QueryVirtualDiskUuid() result stable
- [f398e78] vcsim: add VirtualDiskManager.QueryVirtualDiskInfo (#3000) (#2555)
- [a9488e0] vcsim: fix object.save when run directly against ESX
- [c0b5944] vcsim: LicenseManager enhancements
- [b2bde00] api: Update OVF ToConfigSpec to handled unknown types
- [5bb9901] api: A generic copy function for vim25/types
- [228b445] govc: remove minimum API version check (#3643)
- [1918984] api: add override mechanism for SOAP Header.Cookie
- [495a820] api: OVF to ConfigSpec
- [83aab93] Deprecate haproxy with vSphere 9.0
- [2271a78] fix: toolbox: add freebsd stub for fileExtendedInfoFormat (#3620)
- [3a15139] build(deps): bump golang.org/x/text from 0.18.0 to 0.21.0
- [f08496e] fix: vcsim: swap order of xsi type attribute (#2114)
- [e9f9eb0] api: Support OVF ResourceType enum
- [42bf813] api: Update OVF parser to conform to spec
- [5db2637] vcsim: add UpdateAssignedLicense method
- [973a224] fix: assert Entity interface in mo.Value()
- [05482c0] api: move cli/host/esxcli.Command to cli/esx package
- [87e4e6a] build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
- [9322377] vcsim: add esxcli support
- [ad24cb4] fix: Property Collector updates should be triggered on the empty FilterSet (#3631)
- [29de346] fix: vcsim: output signed byte in ByteSlice.MarshalXML (#3615)
- [7e17885] govc: Move govc commands into cli pkg
- [71b9c76] fix: govc: wire up flags for namespace service create
- [53d31e9] vcsim: Lock alpine image tag to non-latest tag
- [5e9a140] fix: vcsim: avoid possible panic when applying PropertyFilter
- [538dbef] chore: Minimum version selection
- [3e8e2e5] cns: Support encryption/re-encryption of volumes