CHANGELOG.rst 21 KB

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