Releases: vmware/pyvmomi
Releases · vmware/pyvmomi
Maintenance Patch 1 for 8.0U2
vSphere 8.0U2 Release
Bindings:
- Updated bindings and type hints with support for vSphere 8.0U2. Includes updates to VIM, PBM, EAM, SMS and VSLM namespaces. For details, refer “What’s New in vSphere API 8.0U2?” section in the API reference guide: https://developer.vmware.com/apis/1720/vsphere
- New features of vSphere 8.0U2 based on REST APIs are available via the vSphere Automation SDK for Python https://github.com/vmware/vsphere-automation-sdk-python
Maintenance Patch 2 for 8.0U1
Bindings:
- Added bindings and type hints for Virtual Storage Lifecycle Management for vSphere 8.0U1 - VSLM namespace
Changes:
- Fixed: #1021 - Switch to static imports for type info modules
- Fixed: #1022 - Support proxy authentication
- Add custom HTTP headers support to connect.SmartStubAdapter()
- Missing filters are no longer treated as task failures
- Various small fixes for docstrings and linter checks
Type Hints Fixes:
- Fixed: #1026 - Use the "from Y import X as X" format to re-export submodules
- Fixed: #1030 - Use a fully qualified name when the type is from another namespace/package
Tests:
- vcrpy dependency is updated to the latest version with Python 2 support
- testtools dependency is removed
- Travis CI is no longer used
- Various test updates and fixes. All tests are enabled.
Maintenance Patch 1 for 8.0U1
Type Hints Fixes:
- Added missing VMODL1 classes to the type hints
- Enum values now match the letter case of the values from typeinfo files
- Fixed: #1115 - Syntax error in vim/__init__pyi
- Fixed: #1117 - Type stubs: Writable properties are marked as read-only
- Fixed: #1118 - Type stubs: Missing vim.fault.* and vmodl.fault.* types
- Fixed: #1119 - Type stubs: Enum fields should also accept Literal[] str type
- Fixed: #1120 - Type stubs: Exception types must inherit from (Base)Exception
vSphere 8.0U1 Release
Bindings:
- Updated bindings with support for vSphere 8.0U1. Includes updates to VIM, PBM, EAM and SMS namespaces. For details, refer “What’s New in vSphere API 8.0U1?” section in the API reference guide: https://developer.vmware.com/apis/1639/vsphere
- New features of vSphere 8.0U1 based on REST APIs are available via the vSphere Automation SDK for Python https://github.com/vmware/vsphere-automation-sdk-python
Changes:
Maintenance Patch 2 for 8.0
Changes:
- Fixed: #995 - 8.0.0.1 breaks Ansible vmware_content_deploy_ovf_template folder lookup
- This release restores the legacy behavior when retrieving managed properties and array of instances of ManagedObject
Maintenance Patch 1 for 8.0
vSphere 8.0 Release
Bindings:
- Updated bindings with support for vSphere 8.0. Includes updates to VIM, PBM, EAM, SMS and QUERY namespaces. For details, refer “What’s New in vSphere API 8.0.0.1?” section in the API reference guide: https://developer.vmware.com/apis/1355/vsphere
- New features of vSphere 8.0 based on REST APIs are available via the vSphere Automation SDK for Python https://github.com/vmware/vsphere-automation-sdk-python
Breaking changes:
- Minimum Python 2 requirement is 2.7.9
- DynamicTypeManagerHelper.py is removed
- ManagedMethodExecutorHelper.py is removed
- connect.ConnectNoSSL() and connect.SmartConnectNoSSL() are removed.
Use connect.Connect(disableSslCertValidation=True) and connect.SmartConnect(disableSslCertValidation=True) - VmomiSupport.UncallableManagedMethod is renamed to VmomiSupport.UnknownManagedMethod
New modules:
Security.py
A new module is added to handle thumbprint verification.
There is a predefined set of available crypto functions to verify the certificate thumbprints.
Its possible to configure during runtime which of the available crypto functions are allowed.
Feature.py
A new module related to pyVmomi development within VMware.
VmomiJSONEncoder.py
The VmomiJSONEncoder is moved into a dedicated module.
More changes:
- A new 'binaryIsBytearray' setting is added to select the base type for the binary type. By default, the binary type is 'str' for Python 2 and 'bytes' for Python 3. If binaryIsBytearray is True, the binary type for Python 2 is set to 'bytearray'. Required for VmomiJSONEncoder to work properly.
- The license note is removed from the Python files. LICENSE.txt holds the Apache 2 license note.
- pyVmomi now uses relative imports
- Dependency on “requests” is removed
- Added support for SAML token authentication
- Added timeout for HTTP requests
- Added option to set the maximum amount of time a task is allowed to run. On timeout, an exception is generated if raiseOnError is True.
- Add option to get all updates for the task.
- Add option to use a logger instead of the standard output
- Various bug fixes
- Code style improvements
Deprecated:
- connect.OpenUrlWithBasicAuth()
- connect.OpenPathWithStub()
Release vSphere 7.0U3 APIs.
- Added new bindings to support vSphere 7.0U3. Includes updates to VIM, PBM, EAM and SMS namespaces. For details, refer “What’s New in vSphere API 7.0U3?” section in the API reference guide: https://code.vmware.com/apis/1192/vsphere
- New features of vSphere 7.0U3 based on REST APIs are available via the vSphere Automation SDK for Python https://github.com/vmware/vsphere-automation-sdk-python
- Outdated samples are removed. Community samples project: https://github.com/vmware/pyvmomi-community-samples
- Bindings files are renamed to _typeinfo_{namespace}.py
- "stable" version alias is removed
- "public" version alias is renamed to "LTS"
Release vSphere 7.0U2 APIs.
- Added new bindings to support vSphere 7.0U2. Includes updates to VIM, PBM, EAM and SMS namespaces. For details, refer “What’s New in vSphere API 7.0U2?” section in the API reference guide: https://code.vmware.com/apis/1131/vsphere
- New features of vSphere 7.0U2 based on REST APIs are available via the vSphere Automation SDK for Python https://github.com/vmware/vsphere-automation-sdk-python
- Drop support of Python 3.3