Skip to content

Releases: UpCloudLtd/upcloud-python-api

v2.6.0

30 May 07:27
1067b40
Compare
Choose a tag to compare

Added

  • Added encrypted boolean flag to Storage for encryption at rest support

Changed

  • Python versions supported: 3.8, 3.9, 3.10, 3.11, 3.12, PyPy3. Dropped support for 3.7.

v2.5.1

19 Sep 08:25
e268909
Compare
Choose a tag to compare

Smallish release to support IP helper functions with modern UpCloud networking.

Added

  • Server object helper function get_utility_ip for fetching server utility IP

Fixed

  • Fixed server IP helper functions get_public_ip and get_private_ip to support private networking.

v2.5.0

14 Aug 13:18
abef904
Compare
Choose a tag to compare

Some new supported resources and labels support to them and some others. Also fixes to many listed issues.

Added

  • Support for server groups with server affinity controls
  • Support for managed load balancers, with partial manager support (returned objects are dictionaries). New objects to configure your loadbalancers are LoadBalancer, LoadBalancerNetwork, LoadBalancerBackend, LoadBalancerBackendMember, LoadBalancerFrontend and LoadBalancerFrontEndRule.
  • Labels support for servers, server groups, storages and load balancers
  • Manager supports listing server plans via get_server_plans

Changed

  • Server objects support simple backup configurations as simple_backup. See possible configurations from server creation attributes.
  • Server objects support new SDN networking configurations available under networks. New ServerNetworkInterface objects can be used to represent these.

Removed

  • Python 3.6 is no longer supported in this version, 3.7 will be deprecated next as it's now in EOL state.

v2.0.1

22 Mar 16:30
d0b51a8
Compare
Choose a tag to compare

A quick release to start supporting defining metadata service in server creation, as it is off by default, but required to be enabled by some of newer UpCloud server templates (such as Ubuntu 22.04).

Kudos to @tvarsis for this addition!

Added

  • Metadata support in server creation as an optional parameter.

v2.0.0

05 May 07:57
c77bc81
Compare
Choose a tag to compare

Python 2 is no longer supported. This is a maintenance release without
that many added features. It was mostly done to make future development easier.

Added

  • Storage upload accepts filenames in strings and PathLike or BinaryIO variables.
  • Code style is now guarded by Black, flake8, isort etc.
  • Improved documentation and its examples, especially regarding server creation and storage uploads.

Changed

  • Huge amount of fixups in project tests, style and imports by akx. Thank you! ❤️
  • Zone default from storage creation has been removed, making zone a required variable with create_storage().
  • Passwords for server user are not created by default if SSH keys are provided.
  • Tests and deployments moved fully from CircleCI to GitHub Actions.
  • Fixed storage upload not reading the file into memory before uploading.
  • Moved to fully using setup.cfg instead of requirements.txt.

Removed

  • Python 2 support.

v1.0.1

11 Feb 15:41
Compare
Choose a tag to compare

Fixed

  • long description for PyPi

v1.0.0

11 Feb 15:28
Compare
Choose a tag to compare

Added

  • Features: Object Storage, Network, router, hosts
  • user-agent to follow usage trend
  • Storage methods clone #6 , templatize, import, favorite and backup #5
  • tests

Changed

  • Breaking: Update to UpCloud API 1.3
  • Breaking: Update supported Python versions
    • Python 2.7 and Python >3.6
  • Breaking: Update dependencies
  • Move from travis to github actions

Fixed

  • Fetch Zones and templates from API
  • Refactoring
  • Update Readme

v0.4.6

28 Aug 10:51
Compare
Choose a tag to compare
  • Support for new templates: CentOS 8.0 and Ubuntu 20.04
  • Removed obsolete templates
  • Added US-NYC1 zone constant

v0.4.5

03 Dec 07:56
Compare
Choose a tag to compare

Template updates.

v0.4.3

03 Dec 11:38
4e87329
Compare
Choose a tag to compare

Python 3.3 deprecated
Zone San Jose added
Template Ubuntu 18.04 added