Skip to content

Latest commit

 

History

History
282 lines (206 loc) · 15.2 KB

CHANGELOG.md

File metadata and controls

282 lines (206 loc) · 15.2 KB

Changelog

[Unreleased] - Release name - yyyy-mm-dd

[8.0.3.0] - vSphere 8.0U3 Release - 2024-06-25

Bindings

Type Hints

  • Added type stubs for vSAN APIs
  • All type stubs are refactored

Added

  • Python 3.12 compatibility (44d7b9f)
  • Stub adapters allow the usage of an existing session (35f2743)
  • Added pyVmomi version in the user-agent request header (5ad215f)
  • Added certFile and certKeyFile attributes to SoapStubAdapter (2bbfb62)
  • Added project wide variables to hold the current pyVmomi version - version_info and version_info_str (5ad215f)
  • Added functions to VmomiSupport to list all types - ListManagedTypes(), ListDataTypes(), ListEnumTypes() (e43a287) (9e303c1)
  • Added CHANGELOG file (c248b32)

Changes

  • Dependency on "pywin32" is removed (4bc1f52)
  • Doc: Non-remote ManagedObject and DataObject methods are documented (472bdfc)
  • The support statement now reflects the Broadcom support policy (c68913e)
  • Copyright switch from VMware to Broadcom (10c3732)

Breaking changes

  • sso.SsoAuthenticator.get_bearer_saml_assertion_gss_api() is removed (11dc306)
  • SSLTunnelConnection is trimmed down to handle only tunnel connections. The code that handles remote proxy doubles the HTTPProxyConnection logic and therefore is removed. (44d7b9f)

Deprecated

  • 'publicVersions' and 'dottedVersions' aliases are deprecated (14b5ed2)
  • pyVmomiSettings.py and related settings are deprecated - allowGetSet, allowCapitalizedNames, binaryIsBytearray, legacyThumbprintException
  • Features.py and all pyVmomi feature states logic is deprecated
  • pyVmomi.VmomiSupport.VmomiJSONEncoder is deprecated. Use pyVmomi.VmomiJSONEncoder.VmomiJSONEncoder
  • pyVmomi.VmomiSupport.templateOf() is deprecated. Use pyVmomi.VmomiJSONEncoder.templateOf()
  • pyVmomi.SoapAdapter.ThumbprintMismatchException is deprecated. Use pyVmomi.Security.ThumbprintMismatchException

[8.0.2.0.1] - Maintenance Patch 1 for 8.0U2 - 2023-11-17

Changes

  • Fixed: #978 and #1053 - Fix SmartConnect()'s handling of IPv6 address with square brackets
  • Added PyPI classifiers for Python 3.10 and Python 3.11. Support for both versions is verified.

[8.0.2.0] - vSphere 8.0U2 Release - 2023-09-28

Bindings

[8.0.1.0.2] - Maintenance Patch 2 for 8.0U1 - 2023-07-19

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.

[8.0.1.0.1] - Maintenance Patch 1 for 8.0U1 - 2023-05-25

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

[8.0.1.0] - vSphere 8.0U1 Release - 2023-05-06

Bindings

Changes

  • Added support for type hints
  • #892 - Allow passing ssl_context when login in with a token
  • Fixed: #750 - Bumped vcrpy tests dependency to 2.1
  • Fixed: #812 - Fix exception leaks
  • Fixed: #1004 - Fix SmartConnect()'s SOAP and OAuth token login

[8.0.0.1.2] - Maintenance Patch 2 for 8.0 - 2023-01-18

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

[8.0.0.1.1] - Maintenance Patch 1 for 8.0 - 2022-12-16

Changes

  • Fixed: #993 - WaitForTask broken on version >8.0.0
  • Fixed: #994 - Pyvomi module failing in connect method
  • Replace publicVersions with ltsVersions
  • Updated VIM namespace for the next vSphere 8.0 patch release

[8.0.0.1] - vSphere 8.0 Release - 2022-11-24

Bindings

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()

[7.0.3] - Release vSphere 7.0U3 APIs. - 2021-10-14

[7.0.2] - Release vSphere 7.0U2 APIs. - 2021-04-09

[7.0.1] - Release vSphere 7.0U1 APIs. - 2020-10-30

[7.0] - vSphere 7.0 Release Support - 2020-04-14

[6.7.3] - vSphere 6.7 Update 3 Release - 2019-09-05

  • Publish new bindings to support vSphere 6.7 Update 3 Release - #827
  • Add sso.py to support get bearer/hok token from sso server - #828
  • pydoc support Fix - #810
  • httpProxy Support Fix - #799
  • Changes to VmomiSupport to handle API versions #827
  • Other changes Fix #831
  • Newer features are available via the new vSphere Automation SDK for Python here

[6.7.1.2018.12] - v6.7.1.2018.12 Bug Fix release - 2018-12-20

  • Support JSON encoding for pyVmomi objects PR #732
  • Fix vcrpy hardening in test-requirements. Support versions < 2.0
  • Delete deprecated Docs folder

[6.7.1] - vSphere 6.7 Update1 Release - 2018-10-23

  • Publish new bindings to support vSphere 6.7 Update 1 Release
  • Newer features are available via the new vSphere Automation SDK for Python here

[6.7.0] - vSphere 6.7 Release Patch - 2018-09-06

  • Publish new bindings to support vSphere 6.7
  • Newer features are available via the new vSphere Automation SDK for Python here
  • Fixed issues in first version of 6.7 bindings

[6.5.0.2017.5-1] - v6.5.0.2017.5-1 - 2017-05-24

  • Remove sso.py and it's dependencies(lxml and pyOpenSSL) as they don't compatible with certain OS.

[6.5.0.2017.5] - v6.5.0.2017.5 - 2017-05-21

  • Add sso.py to support get bearer/hok token from sso server
  • Fixes #519, #448, #420, #421 Fix SoapAdapter serializer to support serializing unicode chars.
  • Fix #487: Remove custom getattr in _HTTPSConnection
  • Add user-agent header when connecting to vsphere

[6.5.0] - vSphere 6.5 support - 2016-11-16

  • Spec bump to support vSphere 6.5.
  • Include EAM bindings to support vSphere EAM service.
  • Fixed server thumbprint verification.
  • Fixed sslcontext creation in sample code.
  • Newer features are available via the new vSphere Automation SDK for Python here

[6.0.0.2016.6] - v6.0.0.2016.6 - bug fix release - 2016-11-11

  • Fixed bug in task.py #395

[6.0.0.2016.4] - v6.0.0.2016.4 - bug fix release - 2016-04-23

  • Add support for SPBM and SMS APIs.
  • Python3 related bug fixes.
  • Include task.py utility class.

[6.0.0] - v6.0.0 - 2015-12-01

  • Spec bump to support vSphere 6.0 server objects and types vSphere 6.0 U1 spec is used
  • New ssl context parameter in Connect.py and SoapAdapter.py to support passing various ssl options while connecting to vSphere.
  • Drop python 2.6 support.
  • Critical bug fixes.

[5.5.0.2014.1.1] - v5.5.0.2014.1.1 - bug fix release - 2014-09-22

  • Fixes bug with Iso8601 date serialization (for messages sent to the service)
  • Simplifies test-requirements.txt
  • Introduces support for tox
  • Changes version number scheme
  • Fixes README to be pypi compatible
  • Improved sdist and bdist packaging support
  • Changes to package information based on The Python Packaging Authority instructions
  • Fix bug that produces traceback when running tests for the first time
  • Fixes testing bug present on some distributions.

NOTE: This is a re-release of 5.5.0-2014.1.1 the the version number was changed to eliminate the use of the - character.

[5.5.0-2014.1] - v5.5.0-2014.1 - 2014-08-22

[5.5.0] - v5.5.0 - 2014-08-30

pyVmomi as released with vSphere 5.5.0 GA

[5.1.0] - pyvmomi 5.1.0 - Initial open source release - 2013-12-14

Initial open source release!