CHANGELOG.rst 14 KB

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