CHANGELOG.rst 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. 4.2.0 - July 9, 2026 (sha 60dbe305f0af46a7ce3eadd093756d31b8131b2e)
  2. -------------------------------------------------------------------
  3. ## Release highlights
  4. This release makes CloudBridge's entire public API strongly typed (shipped with a
  5. PEP 561 ``py.typed`` marker), adds cross-provider multipart upload for large objects,
  6. and removes the long-deprecated ``deprecation`` dependency along with the deprecated
  7. APIs it supported.
  8. ## What's new
  9. * **Comprehensive type hints.** The whole public interface is now annotated and ships a
  10. PEP 561 ``py.typed`` marker, so downstream users get a fully-typed API even though the
  11. underlying cloud SDKs are untyped. A ``mypy`` check runs in CI — the interface and base
  12. layers under a strict bar, and the SDK-wrapping providers under a pragmatic tier.
  13. * **Cross-provider multipart upload.** Large object uploads now use multipart transfer
  14. with per-call ``UploadConfig`` knobs (threshold, part size, concurrency), with parts
  15. uploaded in parallel via cloned providers.
  16. ## Breaking changes
  17. * Removed the ``deprecation`` dependency and the long-expired deprecated APIs it
  18. supported (both marked ``removed_in=2.0``):
  19. * the ``network_id=`` keyword alias on ``security.vm_firewalls.create`` — use
  20. ``network=`` instead;
  21. * the ``AZURE_VM_DEFAULT_USER_NAME`` environment/config variable — use
  22. ``AZURE_VM_DEFAULT_USERNAME`` instead.
  23. ## Fixes and maintenance
  24. * Typing surfaced and fixed several latent provider issues: Azure ``Volume.source`` now
  25. resolves to a ``Snapshot`` object, the Azure multi-firewall merge on launch passes the
  26. required network, and Azure ``parse_url`` reports a meaningful parameter on error.
  27. * GCP volume attach/detach now waits for the operation to complete, and the attachments
  28. check was corrected.
  29. * Reconciled numerous cross-provider return-type and behaviour inconsistencies to match
  30. the interface — e.g. ``start``/``stop``/``delete`` return ``None`` consistently,
  31. firewall-rule ``direction`` returns the ``TrafficDirection`` enum, and fatal missing-id
  32. paths raise ``ProviderInternalException`` instead of returning ``None``.
  33. ## Build and CI
  34. * Added a ``mypy`` tox environment (``tox -e mypy``) and a CI step; the ``lint``
  35. environment now also enforces import order via ``flake8-import-order``.
  36. ## Pull Requests
  37. * Add cross-provider multipart upload support by @nuwang in https://github.com/CloudVE/cloudbridge/pull/333
  38. * Wait for GCP volume attach/detach operations; fix attachments check by @nuwang in https://github.com/CloudVE/cloudbridge/pull/334
  39. * Add comprehensive typing to cloudbridge + mypy tox check by @nuwang in https://github.com/CloudVE/cloudbridge/pull/335
  40. * Remove the deprecation dependency and long-expired deprecated APIs by @nuwang in https://github.com/CloudVE/cloudbridge/pull/336
  41. * Fix latent provider bugs surfaced during the typing work by @nuwang in https://github.com/CloudVE/cloudbridge/pull/337
  42. **Full Changelog**: https://github.com/CloudVE/cloudbridge/compare/v4.1.0...v4.2.0
  43. 4.1.0 - June 15, 2026 (sha 4d7999ac8785bececaa62964d25f4f552df7c3a0)
  44. ---------------------------------------------------------------------
  45. ## Release highlights
  46. This minor release adds Azure DNS support and modernizes the release pipeline. The public CloudBridge
  47. API is backward compatible with 4.0 — no code changes are required.
  48. ## What's new
  49. * **Azure DNS support.** The Azure provider can now manage DNS zones and records, bringing it in line
  50. with the DNS service already offered by the other providers. This adds ``azure-mgmt-dns`` to the
  51. Azure dependency set.
  52. ## Fixes and maintenance
  53. * Azure disks now use the region name (not the zone name) when resolving their location.
  54. * Test reliability: retry default-subnet creation, and allow storage-account creation enough time to
  55. resolve DNS.
  56. ## Build and CI
  57. * PyPI releases now use a trusted publisher (PyPI OIDC) from GitHub Actions instead of a stored API
  58. token. The deploy workflow is split into separate build and publish jobs, and integration runs are
  59. skipped on docs-only changes.
  60. ## Pull Requests
  61. * Use a trusted publisher when publishing to PyPI by @ksuderman in https://github.com/CloudVE/cloudbridge/pull/330
  62. * Add Azure DNS support by @nuwang in https://github.com/CloudVE/cloudbridge/pull/331
  63. * CI hygiene: split deploy job + dedicated env, skip CI on docs-only changes by @nuwang in https://github.com/CloudVE/cloudbridge/pull/332
  64. **Full Changelog**: https://github.com/CloudVE/cloudbridge/compare/v4.0.0...v4.1.0
  65. 4.0.0 - May 15, 2026 (sha 4963adc3f5f10cd885640138062800d7cd20e93a)
  66. ---------------------------------------------------------------------
  67. ## Release highlights
  68. This is a major release that brings the dependency stack up to date. The public CloudBridge API is unchanged —
  69. most users will not need any code changes. The version bump reflects the breadth of the underlying modernization
  70. rather than interface breakage.
  71. ## What users should know
  72. Python 3.13 or higher is now required. Support for older Python versions, including 2.7 compatibility
  73. shims (``six``), has been removed. Earlier Python versions are no longer tested; the default test environment
  74. is Python 3.13.
  75. Azure public IPs now use the Standard SKU. Basic-SKU public IPs are being retired by Azure. Public IPs created
  76. by CloudBridge are now Standard SKU. Within a single virtual network, public IPs of different SKUs cannot be
  77. mixed (Azure restriction). If you have a network that already contains Basic-SKU IPs created by CloudBridge 3.x,
  78. plan to standardize on one SKU before letting 4.0 add new IPs to that network.
  79. Mock provider now requires moto >= 5.0. If you use MockAWSCloudProvider in your own test suite alongside direct
  80. moto usage, your test harness must be on moto 5. In moto 5, the per-service decorators (mock_ec2, mock_s3, …) were
  81. unified into a single mock_aws.
  82. If you pin cloud SDKs alongside CloudBridge, you may need to relax upper bounds. The biggest jumps:
  83. azure-mgmt-compute (up to <39), azure-mgmt-network (<31), openstacksdk (<5).
  84. ### Under the hood (no action required)
  85. CloudBridge migrated off several abandoned Azure libraries (msrestazure, azure-cosmosdb-table, pysftp) and onto their
  86. maintained successors. The migration is transparent at the API level. Existing Azure resources created by
  87. 3.x — including key pairs stored in Azure Table Storage — are read by 4.0 without migration.
  88. ## Pull Requests
  89. * Update codecov badge by @nuwang in https://github.com/CloudVE/cloudbridge/pull/319
  90. * pull_request to pull_request_target for tests by @almahmoud in https://github.com/CloudVE/cloudbridge/pull/322
  91. * Azure - add AZURE_NETWORK_RESOURCE_GROUP to pick vnet from another ResourceGroup by @patchkez in https://github.com/CloudVE/cloudbridge/pull/321
  92. * Run in pull_request mode with approval by @nuwang in https://github.com/CloudVE/cloudbridge/pull/327
  93. * Upgrade azure, openstack sdks and moto to latest by @nuwang in https://github.com/CloudVE/cloudbridge/pull/323
  94. * Modernize project setup by @nuwang in https://github.com/CloudVE/cloudbridge/pull/328
  95. ## New Contributors
  96. * @patchkez made their first contribution in https://github.com/CloudVE/cloudbridge/pull/321
  97. **Full Changelog**: https://github.com/CloudVE/cloudbridge/compare/v3.2.0...v4.0.0
  98. 3.2.0 - September 06, 2023 (sha dd7ccbba9457232880da755ca66f8ae9d2e7dce4)
  99. ---------------------------------------------------------------------
  100. * Use external non-shared network for gateway by @almahmoud in https://github.com/CloudVE/cloudbridge/pull/307
  101. * Install cloudbridge full in examples by @nuwang in https://github.com/CloudVE/cloudbridge/pull/310
  102. * Add new `ec2_retries_value` config for `AWSCloudProvider` by @MosheFriedland in https://github.com/CloudVE/cloudbridge/pull/313
  103. * Add packaging action by @nuwang in https://github.com/CloudVE/cloudbridge/pull/314
  104. * Fix linting error in resource comparison by @nuwang in https://github.com/CloudVE/cloudbridge/pull/315
  105. * Fix tox syntax and branch references by @nuwang in https://github.com/CloudVE/cloudbridge/pull/316
  106. * Switch to pytest by @nuwang in https://github.com/CloudVE/cloudbridge/pull/317
  107. * Update tox syntax and pin min tox version by @nuwang in https://github.com/CloudVE/cloudbridge/pull/318
  108. 3.1.0 - August 19, 2022 (sha 28067e22377a60423e7fcf4f995ce224307b8b09)
  109. ---------------------------------------------------------------------
  110. * Added app credentials support to openstack.
  111. * Added VM instance create time property to all providers (thanks to @rodrigonull)
  112. * Added Azure stop VM instance method (thanks to @rodrigonull)
  113. * Cloud provider sdks updated to latest versions
  114. * Other misc fixes.
  115. 3.0.0 - December 3, 2021 (sha 327e330bed78b8b70c9ff9d256513d71bc27545f)
  116. ---------------------------------------------------------------------
  117. * This is a major release due to packaging changes, although there are no backward incompatible interface changes.
  118. * The cloudbridge package no longer installs any providers by default, and you must use `pip install cloudbridge[full]`
  119. instead of `pip install cloudbridge` to obtain previous behaviour. This is to allow greater control over what
  120. providers are installed. To install only specific providers, use `pip install cloudbridge[aws,gcp]` etc. #292
  121. (thanks to @RyanSiu1995)
  122. * Allow users to create signed urls with write permissions #294 (thanks to @FabioRosado)
  123. 2.2.0 - November 5, 2021 (sha f3fb8e18781cd3ede4509ef75a69e7c2a420a167)
  124. ---------------------------------------------------------------------
  125. * This is a maintenance release with no backward incompatible changes.
  126. * Azure dependencies updated to latest version and associated fixes #274, #277, #278, #279, #281, #282
  127. (thanks to @FabioRosado)
  128. * AWS, GCP and OpenStack dependencies updated to latest versions and associated fixes.
  129. * AWS resources use TagSpecification support, removing extra requests for initial tagging.
  130. * Fixed wrong logging object in cloud provider #272 (thanks to @MosheFriedland)
  131. * Switched to github actions from travis
  132. * Patch discovery.build calls in GCP provider to use google's improved httplib2 #263 (thanks to @selshowk)
  133. * Added feature to start and stop aws instance #271 (thanks to @abhi005)
  134. * Miscellaneous doc and maintenance fixes.
  135. 2.1.0 - December 1, 2020 (sha a5c3af8ebc5be3ed44db34ebba097848f17305fb)
  136. ---------------------------------------------------------------------
  137. * This release introduces the DNS service, which is a top level service for managing DNS zones and records.
  138. * Support for using the newly added AWS instance type offerings API. This removes the dependency on a static machine
  139. type list, and returns up-to-date information on instance type availability.
  140. * The default package no longer bundles Azure, as the Azure python libraries are very large and affects docker
  141. container size when using cloudbridge. To install with Azure, use `pip install cloudbridge[full]` or
  142. `pip install cloudbridge[azure]`.
  143. * A convenience method for cloning providers in different zones has been added, which helps with multi-zone operations.
  144. * Support for specifying s3 signature version for the AWS provider.
  145. * Miscellaneous bug fixes and error handling improvements.
  146. * Support for python<3 dropped.
  147. * No major backward incompatible changes (apart from Azure not being bundled by default)
  148. 2.0.0 - March 13, 2019 (sha 10e28a0d07251af4a424fcbf11435fa4d52e5277)
  149. ---------------------------------------------------------------------
  150. * This is a major release which contains many improvements and some breaking
  151. changes to the interface, but the changes are fairly straightforward.
  152. * Support for Google Cloud (thanks to @mbookman, @chiniforooshan, @baizhang)
  153. * Support for middleware, event listening and interception, allowing
  154. CloudBridge to be extended without needing to modify library code (This is
  155. also potentially useful for handling corner cases for specific clouds).
  156. * The mock provider is now available by default as a standard cloud provider,
  157. which is useful for testing applications that use CloudBridge.
  158. * Providers now operate in a single zone, and therefore, all methods that
  159. previously required the zone as a parameter no longer do. Specifically,
  160. ``instance.create()``, ``volume.create()``, ``subnet.create``,
  161. ``subnet.get_or_create_default()`` are affected in services,
  162. and ``snap.create_volume`` is affected in resources. The provider's default
  163. zone must now be specified through the provider config.
  164. * All exceptions that are generated by CloudBridge will now extend from
  165. ``CloudBridgeBaseException``
  166. * The cloud package is deprecated and everything under it has been moved
  167. one level up. For example, instead of
  168. ``from cloudbridge.cloud.factory import CloudProviderFactory`` use
  169. ``from cloudbridge.factory import CloudProviderFactory``.
  170. * Services are much more uniform now, and sub-services have been introduced
  171. for greater uniformity. For example, ``net.create_subnet()`` is now
  172. ``net.subnets.create()``
  173. * ``gateways.get_or_create_inet_gateway()`` is now simply
  174. ``gateways.get_or_create()``
  175. * AWS instance types are now served through Amazon CloudFront for better
  176. performance.
  177. * Miscellaneous bug fixes and improvements.
  178. 1.0.2 - September 25, 2018 (sha 621aeed1a8d7c5ad270649f8ee960e9682e57dae)
  179. -------------------------------------------------------------------------
  180. * Added AWS instance types caching for better performance
  181. * Added ``router.subnets`` property
  182. * Ensure the default network for CloudBridge on AWS has subnets
  183. 1.0.1 - September 7, 2018. (sha 3130492008c5e0e115b8dfec880d32a4ac90b761)
  184. -------------------------------------------------------------------------
  185. * Fixed minor bug when retrieving buckets with only limited access.
  186. * Relaxed some library version dependencies (e.g. six).
  187. 1.0.0 - September 6, 2018. (sha 11bccd822f21a598fc753995440cf1a409984889)
  188. -------------------------------------------------------------------------
  189. * Added Microsoft Azure as a provider.
  190. * Restructured the interface to make it more comprehensible and uniform across
  191. all supported providers. See `issue #69 <https://github.com/CloudVE/cloudbridge/issues/69>`_
  192. for more details as well as the library layout image for an easy visual
  193. reference: https://github.com/CloudVE/cloudbridge#quick-reference.
  194. * Migrated AWS implementation to use the boto3 library (thanks @01000101)
  195. * Cleaned up use of ``name`` property for resources. Resources now have ``id``,
  196. ``name``, and ``label`` properties to represent respectively: a unique
  197. identifier supplied by the provider; a descriptive, unchangeable name; and a
  198. user-supplied label that can be modified during the existence of a resource.
  199. * Added enforcement of name and label value: names must be at least 3 characters
  200. in length at minimum, and 64 characters at maximum, consisting of only lower
  201. case letters and dashes. Should not start or end with a dash.
  202. * Refactored tests and extracted standard interface tests where all resources
  203. are being tested using the same code structure. Also, tests will run only
  204. for providers that implement a given service.
  205. * Moved the repository from github.com/gvlproject to github.com/cloudve org.
  206. * When deleting an OpenStack network, clear any ports.
  207. * Added support for launching OpenStack instances into a specific subnet
  208. * Update image list interface to allow filtering by owner.
  209. * When listing images on AWS, filter only the ones by current account owner.
  210. * Retrieve AWS instance types from a public service to include latest values.
  211. * Instance state uses ``DELETED`` state instead of ``TERMINATED``.
  212. * Return VM type RAM in GB.
  213. * Add implementation for ``generate_url`` on OpenStack.
  214. * General documentation updates.
  215. 0.3.3 - August 7, 2017. (sha 348e1e88935f61f53a83ed8d6a0e012a46621e25)
  216. ----------------------------------------------------------------------
  217. * Remove explicit versioning of requests and Babel.
  218. 0.3.2 - June 10, 2017. (sha f07f3cbd758a0872b847b5537d9073c90f87c24d)
  219. ---------------------------------------------------------------------
  220. * Patch release to support files>5GB with OpenStack (thanks @MartinPaulo).
  221. * Misc bug fixes.
  222. 0.3.1 - April 18, 2017. (sha f36a462e886d8444cb2818f6573677ecf0565315)
  223. ----------------------------------------------------------------------
  224. * Patch for binary file handling in OpenStack.
  225. 0.3.0 - April 11, 2017. (sha 13539ccda9e4809082796574d18b1b9bb3f2c624)
  226. ----------------------------------------------------------------------
  227. * Reworked test framework to rely on tox's test generation features. This
  228. allows for individual test cases to be run on a per provider basis.
  229. * Added more OpenStack swift config options (OS_AUTH_TOKEN and OS_STORAGE_URL)
  230. * Added supports for accessing EC2 containers with restricted permissions.
  231. * Removed exists() method from object store interface. Use get()==None check
  232. instead.
  233. * New method (img.min_disk) for getting size of machine image.
  234. * Test improvements (flake8 during build, more tests).
  235. * Misc bug fixes and improvements.
  236. * Changed library to beta state
  237. * General documentation updates (testing, release process)
  238. 0.2.0 - March 23, 2017. (sha a442d96b829ea2c721728520b01981fa61774625)
  239. ----------------------------------------------------------------------
  240. * Reworked the instance launch method to require subnet vs. network. This
  241. removed the option of adding network interface to a launch config object.
  242. * Added object store methods: upload from file path, list objects with a
  243. prefix, check if an object exists, (AWS only) get an accessible URL for an
  244. object (thanks @VJalili).
  245. * Modified `get_ec2_credentials()` method to `get_or_create_ec2_credentials()`
  246. * Added an option to read provider config values from a file
  247. (`~/.cloudbridge` or `/etc/cloudbridge`).
  248. * Replaced py35 with py36 for running tests.
  249. * Added logging configuration for the library.
  250. * General documentation updates.
  251. 0.1.1 - Aug 10, 2016. (sha 0122fb1173c88ae64e40140ffd35ff3797e9e4ad)
  252. --------------------------------------------------------------------
  253. * For AWS, always launch instances into private networking (i.e., VPC).
  254. * Support for using OpenStack Keystone v3.
  255. * Add functionality to manipulate routers and routes.
  256. * Add FloatingIP resource type and integrate with Network service.
  257. * Numerous documentation updates.
  258. * For an OpenStack provider, add method to get the ec2 credentials for a user.
  259. 0.1.0 - Jan 30, 2016.
  260. ---------------------
  261. * Initial release of CloudBridge.
  262. * Support for Bucket, Instance, Instance type, Key pair, Machine image.
  263. Region, Security group, Snapshot, Volume, Network and Subnet services.
  264. * Support for paging results, block device mapping and launching into VPCs.
  265. * Support for AWS and OpenStack clouds.
  266. * Basic usage docs and complete API docs.
  267. * 95% test coverage.
  268. * Support for AWS mock test provider (via
  269. `moto <https://github.com/spulec/moto>`_).