apache-libcloud v2.8.0 Release Notes
Release Date: 2020-01-02 // about 3 years ago-
Common
- ๐ Fix a regression with ``get_driver()`` method not working if ``provider`` argument value was a string (e.g. using ``get_driver('openstack')`` instead of ``get_driver(Provider.OPENSTACK)``). Only officially supported and recommended approach still is to use ``Provider.FOO`` enum type constant, but since the string notation was unofficially supported in the past, we will still support it until the next major release. Reported by @dpeschman. (GITHUB-1391, GITHUB-1390) [Tomaz Muraus] - ๐ฆ Include ``py.typed`` data file to signal that this package contains type annotations / hints. NOTE: At the moment, type annotations are only available for the base compute API. [Tomaz Muraus] - ๐ Fix universal wheel METADATA and ensure conditional dependencies (backports.ssl_match_hostname, typing, enum34) are handled correctly. Reported by Adam Terrey (@arterrey). (GITHUB-1392, GITHUB-1393) [Tomaz Muraus] Compute
[DigitalOcean] Fix
attach_volume
anddetach_volume
methods. Previously those two methods incorrectly passed volume id instead of volume name to the API. (GITHUB-1380) [@mpempekos][GCE] Add
ex_disk_size
argument to thecreate_node
method. (GITHUB-1386, GITHUB-1388) [Peter Yu - @yukw777]๐ [VMware vCloud] Various improvements, fixes and additions to the driver. (GITHUB-1373) [OpenText Corporation]
๐ Update
deploy_node()
method so it now only passes non-deploy node keyword arguments +auth
argument to the underlyingcreate_node()
method. Previously it also passeddeploy_node()
specific arguments such asdeploy
,ssh_username
,max_tries
, etc. to it.
Because of that, a lot of the compute drivers which support deploy functionality needed to use
**kwargs
increate_node()
method signature which made code hard to read and error prone.Also update various affected drivers to explicitly declare supported arguments in the
create_node()
method signature (Dummy, Abiquo, Joyent, Bluebox, OpenStack, Gandy, VCL, vCloud, CloudStack, GoGrid HostVirtual, CloudSigma, ElasticStack, RimuHosting, SoftLayer, Voxel, Vpsnet, KTUcloud, BrightBox, ECP, OpenNebula, UPcloud).As part of this change, also various issues with invalid argument names were identified and fixed. (GITHUB-1389) [Tomaz Muraus]
๐ Add MyPy type annotations for
create_node()
anddeploy_node()
method. (GITHUB-1389) [Tomaz Muraus]๐ [GCE] Update
deploy_node()
method so it complies with the base compute API and acceptsdeploy
argument.
This method now also takes all the same keyword arguments which original
create_node()
takes. (GITHUB-1387) [Peter Yu - @yukw777, Tomaz Muraus][Common] To make debugging and troubleshooting easier, add
__repr__
and__str__
method to theScriptDeployment
class. [Tomaz Muraus][Common] Add type annotations / hints for rest of the base compute API classes and methods. [Tomaz Muraus]
Storage
- [AWS S3] Make sure ``host`` driver constructor argument has priority over ``region`` argument. This means if you specify ``host`` and ``region`` argument, host won't be inferred from the region, but ``host`` argument will be used for the actual connection host value. (GITHUB-1384, GITHUB-1383) [@gluap]