CHANGELOG.rst 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542
  1. 4.4.0 - August 21, 2026 (sha 55d925d56eaad247b960ad00e636253637192549)
  2. ----------------------------------------------------------------------
  3. ## Release highlights
  4. ``BucketObject.iter_content`` becomes a real chunked stream on every provider:
  5. it takes a ``chunk_size``, yields chunks sized by that rather than by the
  6. content, and no longer materialises a whole object in memory anywhere.
  7. Separately, two pathological patterns in AWS listing are removed - an image
  8. search that scanned the region's entire public catalogue, and a paginated
  9. call that used the caller's result limit as its transport page size.
  10. ## Enhancements
  11. * **``iter_content`` and ``save_content`` accept a ``chunk_size``.** It
  12. defaults to 1 MiB and is settable globally through the ``iter_chunk_size``
  13. provider config value or the ``CB_ITER_CHUNK_SIZE`` environment variable,
  14. alongside the existing ``CB_MULTIPART_*`` knobs. Previously the read size
  15. was hardcoded and inconsistent - 4 KiB on AWS, 64 KiB on OpenStack Swift,
  16. the service's own chunking on Azure - and callers had no way to change it.
  17. The AWS value dated from the 2017 boto2-to-boto3 migration, where a
  18. ``BucketObjIterator`` shim replaced boto2's ``Key`` (which read in 8 KiB
  19. ``BufferSize`` chunks); it was never a tuning decision. Reading an HTTP body
  20. at 1 MiB measures ~12x cheaper per byte than at 4 KiB, and the curve is flat
  21. from 1 MiB up, so larger defaults would only cost memory. Note that
  22. ``save_content`` was never affected: it copied via ``shutil.copyfileobj``,
  23. which reads in 64 KiB blocks regardless.
  24. * **New ``aws_page_size`` configuration value.** How many records to request
  25. from AWS per call while satisfying a list method, defaulting to 500. It is
  26. a transport setting, distinct from ``default_result_limit``, which bounds
  27. how many results the caller receives; the two used to be the same number.
  28. It is clamped to what the service permits for the call in hand, so a value
  29. outside those bounds is adjusted rather than rejected. AWS-specific
  30. because it only means anything where the provider walks pages itself:
  31. GCP, Azure and OpenStack each return a single page plus a continuation
  32. token and let the caller drive.
  33. ## Fixes
  34. * **The default network is created with the configured default CIDR.**
  35. ``BaseNetworkService.get_or_create_default`` passed a hardcoded
  36. ``10.0.0.0/16`` instead of ``BaseNetwork.CB_DEFAULT_IPV4RANGE``, so setting
  37. ``CB_DEFAULT_IPV4RANGE`` was silently ignored on Azure and OpenStack, which
  38. inherit the base implementation. AWS and GCP override it and were already
  39. correct.
  40. * **Azure no longer splits object content on newlines.** ``iter_content``
  41. returned an ``io.RawIOBase`` wrapper, and iterating a raw stream calls
  42. ``readline()`` - so chunks broke at ``b"\n"`` at whatever sizes the content
  43. happened to dictate, and a blob with no newline in it was buffered whole
  44. however large it was. It now yields ``chunk_size`` chunks read over a single
  45. connection.
  46. * **GCP no longer loads the entire object into memory.** ``iter_content``
  47. returned ``io.BytesIO`` wrapped around a full ``get_media().execute()``, so
  48. streaming a large object cost its full size in RAM (and, being a
  49. ``BytesIO``, also iterated by line). Content is now fetched as successive
  50. ranged reads of ``chunk_size`` bytes, keeping memory flat at one chunk.
  51. ``download_to_file`` remains the faster path for downloading to disk, as it
  52. fetches ranges in parallel.
  53. * **``save_content`` no longer requires ``iter_content`` to return a
  54. file-like object.** It copied with ``shutil.copyfileobj``, which needs a
  55. ``.read()`` that the interface never promised - only ``Iterable[bytes]``. It
  56. now writes the iterated chunks directly, so a provider returning a plain
  57. generator works.
  58. * **``AWSImageService.find`` no longer scans every public image to run its
  59. tag search.** ``find(label=...)`` issues two ``describe_images`` calls, one
  60. filtered on ``name`` and one on ``tag:Name``, and neither was scoped by
  61. ``Owners``. The ``tag:Name`` half can only ever match images in the calling
  62. account - AMI tags are not visible across accounts, so an image owned by
  63. anyone else cannot satisfy the filter however it is tagged - so omitting
  64. ``Owners`` never widened what it could find. It only made EC2 evaluate the
  65. filter against the whole regional catalogue: measured in ap-southeast-1,
  66. 10.0s unscoped against 0.1s scoped, for identical single-image results.
  67. The ``name`` half is unchanged and still searches public images, which is
  68. what most callers want; an explicit ``owners`` argument still overrides
  69. both.
  70. * **Paginated AWS calls no longer use the caller's result limit as the
  71. transport page size.** ``BotoEC2Service._get_paginated_results`` set
  72. ``PaginationConfig={'MaxItems': limit, 'PageSize': limit}``, conflating how
  73. many results the caller wants with how many the service returns per
  74. request. Against a scan that matches sparsely that walks the collection in
  75. tiny increments: the same filtered ``describe_images`` took 977.6s at a
  76. page size of 5 and 10.0s at 1000, for one result either way. ``MaxItems``
  77. still bounds what the caller receives; ``PageSize`` is now a full page,
  78. clamped to whatever bounds the service model declares for the operation
  79. (``DescribeRouteTables`` permits 100 where most permit more, several require
  80. at least 5, and falling outside them is a hard ``InvalidParameterValue``).
  81. Since ``DEFAULT_RESULT_LIMIT`` is 50, every paginated AWS call was affected,
  82. not just filtered searches.
  83. ## Backward compatibility
  84. ``chunk_size`` is optional everywhere, so existing calls keep working. The
  85. AWS return value still exposes ``read``/``close`` as before. The Azure and GCP
  86. return values are now plain generators: code that called ``.read()`` on them
  87. must iterate instead, or use ``save_content``/``download_to_file``.
  88. ## Pull Requests
  89. * Make iter_content a chunked stream with a configurable chunk size by @nuwang in https://github.com/CloudVE/cloudbridge/pull/343
  90. * Create the default network with the configured default CIDR by @nuwang in https://github.com/CloudVE/cloudbridge/pull/344
  91. * Instrument the cloud suites to find where the AWS time goes by @nuwang in https://github.com/CloudVE/cloudbridge/pull/345
  92. * Fix the two effects behind the AWS suite's runtime: unscoped tag search and transport page size by @nuwang in https://github.com/CloudVE/cloudbridge/pull/346
  93. **Full Changelog**: https://github.com/CloudVE/cloudbridge/compare/v4.3.1...v4.4.0
  94. 4.3.1 - August 2, 2026 (sha 8fabc1e2d3916e2c100bdb18075f2caa3bd38b38)
  95. ---------------------------------------------------------------------
  96. ## Release highlights
  97. This point release makes downloads safe when the destination path is written
  98. concurrently, and removes two pathological API-call patterns in the AWS
  99. provider that dominated integration test runtimes - listing VM types and
  100. waiting on Route53 record changes. Fully backward compatible with 4.3.0 - no
  101. code changes are required.
  102. ## Fixes
  103. * **AWS VM type listings no longer refetch the whole catalogue for every
  104. page.** EC2 offers no server-side paging for instance types, so
  105. ``AWSVMTypeService.list`` materialises the full catalogue and pages it
  106. client-side. It previously refetched that catalogue on every call - one
  107. ``DescribeInstanceTypeOfferings`` walk plus a ``DescribeInstanceTypes`` call
  108. per 100 types, about 14 API calls - which made walking the pages of a full
  109. listing quadratic in API calls. Walking all 1343 types offered in
  110. ``us-east-1a`` at a result limit of 5 cost roughly 4300 API calls; it now
  111. costs 14. The catalogue is memoised per availability zone for the lifetime
  112. of the provider.
  113. * **AWS DNS record changes no longer wait a full 30 seconds each.** Creating
  114. or deleting a record blocks until Route53 reports the change INSYNC, using
  115. boto3's ``resource_record_sets_changed`` waiter. That waiter polls every 30
  116. seconds by default, so a change that propagated in a few seconds still cost
  117. a full 30. Measured against Route53, INSYNC was reached inside the first
  118. poll interval every time, making the granularity the entire cost. The
  119. waiter now polls every 5 seconds while keeping the same ~30 minute ceiling.
  120. * **Downloads no longer assemble the object at the destination path.**
  121. ``BucketObject.download_to_file`` builds the file out of the way and moves it
  122. into place once complete, so the destination only ever holds a whole object.
  123. Previously the generic ranged driver (used by GCP and OpenStack Swift)
  124. created the destination up front and reopened it for every range, so anything
  125. that replaced that path mid-transfer - notably a second download of the same
  126. object to the same path, as a download cache does - could truncate the
  127. in-progress file or make the next range fail with ``FileNotFoundError``. A
  128. failed transfer no longer deletes an existing file at the destination either,
  129. and the Azure downloader (which wrote in place) gains the same guarantee.
  130. Ranges are now also written through a single file handle rather than
  131. reopening the path per range.
  132. ## Build and CI
  133. * The AWS cloud integration job now requests a 3 hour OIDC session instead of
  134. relying on the 1 hour default. The credentials are exported to tox as static
  135. environment variables and cannot be refreshed mid-run, so a suite that ran
  136. past the hour failed its remaining tests with ``RequestExpired`` - and,
  137. because cleanup handlers need working credentials too, leaked the instances
  138. and images those tests had created. Requires the IAM role's
  139. ``MaxSessionDuration`` to permit the longer session.
  140. ## Pull Requests
  141. * Never assemble a download at its destination path by @nuwang in https://github.com/CloudVE/cloudbridge/pull/341
  142. * Cut AWS integration suite runtime and stop credentials expiring mid-run by @nuwang in https://github.com/CloudVE/cloudbridge/pull/342
  143. **Full Changelog**: https://github.com/CloudVE/cloudbridge/compare/v4.3.0...v4.3.1
  144. 4.3.0 - July 11, 2026 (sha 863d0c8297e74e62a72b98643952f9a923807b7b)
  145. --------------------------------------------------------------------
  146. ## Release highlights
  147. This release adds cross-provider ranged, parallel downloads, completing the
  148. transfer story started with 4.2.0's multipart uploads. Fully backward
  149. compatible — no code changes are required.
  150. ## What's new
  151. * **Cross-provider ranged, parallel downloads.** The new
  152. ``BucketObject.download_to_file`` fetches objects larger than the configured
  153. threshold as ranged reads of ``part_size`` bytes, up to ``max_concurrency``
  154. parts in parallel, so large downloads are no longer bound to a single
  155. connection (and the whole object is never held in memory). AWS delegates to
  156. boto3's TransferManager and Azure to azure-storage-blob's concurrent
  157. downloader; GCP and OpenStack Swift use CloudBridge's generic driver, which
  158. fetches ranges in parallel via cloned providers. A new
  159. ``BucketObjectService.download_range`` primitive is also available directly
  160. for partial reads. The per-call ``TransferConfig`` knobs (threshold, part
  161. size, concurrency) now tune transfers in both directions — pass a different
  162. instance per call to tune uploads and downloads differently.
  163. ## Pull Requests
  164. * Add cross-provider ranged, parallel downloads by @nuwang in https://github.com/CloudVE/cloudbridge/pull/340
  165. **Full Changelog**: https://github.com/CloudVE/cloudbridge/compare/v4.2.1...v4.3.0
  166. 4.2.1 - July 10, 2026 (sha f06765d1100ec461908396475a4510460843a65c)
  167. --------------------------------------------------------------------
  168. ## Release highlights
  169. This point release lowers the supported Python floor to 3.10 and adds
  170. response-header overrides to signed object URLs. Fully backward compatible
  171. with 4.2.0 — no code changes are required.
  172. ## What's new
  173. * **Supported Python floor lowered to 3.10.** ``requires-python`` was ``>=3.13``
  174. since the PEP 621 packaging migration, but nothing in the codebase or its
  175. dependencies needs more than 3.10. CloudBridge now installs on Python
  176. 3.10–3.13, and CI runs the mock-provider suite on both the lowest and highest
  177. supported versions. ``mypy`` type-checks against 3.10 so newer-stdlib usage
  178. is caught at lint time.
  179. * **Response-header overrides on signed URLs.** ``BucketObject.generate_url`` now
  180. accepts optional ``content_disposition`` and ``content_type`` parameters that ask
  181. the backing store to serve the object with those response headers on GET. Honored
  182. fully by AWS, Azure and GCP; OpenStack Swift honors the filename portion of the
  183. disposition via its tempurl ``filename`` parameter (the content type cannot be
  184. overridden). Both are ignored for writable URLs.
  185. ## Pull Requests
  186. * Lower supported Python floor to 3.10 by @nuwang in https://github.com/CloudVE/cloudbridge/pull/338
  187. * Add response-header overrides to BucketObject.generate_url by @nuwang in https://github.com/CloudVE/cloudbridge/pull/339
  188. **Full Changelog**: https://github.com/CloudVE/cloudbridge/compare/v4.2.0...v4.2.1
  189. 4.2.0 - July 9, 2026 (sha 60dbe305f0af46a7ce3eadd093756d31b8131b2e)
  190. -------------------------------------------------------------------
  191. ## Release highlights
  192. This release makes CloudBridge's entire public API strongly typed (shipped with a
  193. PEP 561 ``py.typed`` marker), adds cross-provider multipart upload for large objects,
  194. and removes the long-deprecated ``deprecation`` dependency along with the deprecated
  195. APIs it supported.
  196. ## What's new
  197. * **Comprehensive type hints.** The whole public interface is now annotated and ships a
  198. PEP 561 ``py.typed`` marker, so downstream users get a fully-typed API even though the
  199. underlying cloud SDKs are untyped. A ``mypy`` check runs in CI — the interface and base
  200. layers under a strict bar, and the SDK-wrapping providers under a pragmatic tier.
  201. * **Cross-provider multipart upload.** Large object uploads now use multipart transfer
  202. with per-call ``TransferConfig`` knobs (threshold, part size, concurrency), with parts
  203. uploaded in parallel via cloned providers.
  204. ## Breaking changes
  205. * Removed the ``deprecation`` dependency and the long-expired deprecated APIs it
  206. supported (both marked ``removed_in=2.0``):
  207. * the ``network_id=`` keyword alias on ``security.vm_firewalls.create`` — use
  208. ``network=`` instead;
  209. * the ``AZURE_VM_DEFAULT_USER_NAME`` environment/config variable — use
  210. ``AZURE_VM_DEFAULT_USERNAME`` instead.
  211. ## Fixes and maintenance
  212. * Typing surfaced and fixed several latent provider issues: Azure ``Volume.source`` now
  213. resolves to a ``Snapshot`` object, the Azure multi-firewall merge on launch passes the
  214. required network, and Azure ``parse_url`` reports a meaningful parameter on error.
  215. * GCP volume attach/detach now waits for the operation to complete, and the attachments
  216. check was corrected.
  217. * Reconciled numerous cross-provider return-type and behaviour inconsistencies to match
  218. the interface — e.g. ``start``/``stop``/``delete`` return ``None`` consistently,
  219. firewall-rule ``direction`` returns the ``TrafficDirection`` enum, and fatal missing-id
  220. paths raise ``ProviderInternalException`` instead of returning ``None``.
  221. ## Build and CI
  222. * Added a ``mypy`` tox environment (``tox -e mypy``) and a CI step; the ``lint``
  223. environment now also enforces import order via ``flake8-import-order``.
  224. ## Pull Requests
  225. * Add cross-provider multipart upload support by @nuwang in https://github.com/CloudVE/cloudbridge/pull/333
  226. * Wait for GCP volume attach/detach operations; fix attachments check by @nuwang in https://github.com/CloudVE/cloudbridge/pull/334
  227. * Add comprehensive typing to cloudbridge + mypy tox check by @nuwang in https://github.com/CloudVE/cloudbridge/pull/335
  228. * Remove the deprecation dependency and long-expired deprecated APIs by @nuwang in https://github.com/CloudVE/cloudbridge/pull/336
  229. * Fix latent provider bugs surfaced during the typing work by @nuwang in https://github.com/CloudVE/cloudbridge/pull/337
  230. **Full Changelog**: https://github.com/CloudVE/cloudbridge/compare/v4.1.0...v4.2.0
  231. 4.1.0 - June 15, 2026 (sha 4d7999ac8785bececaa62964d25f4f552df7c3a0)
  232. ---------------------------------------------------------------------
  233. ## Release highlights
  234. This minor release adds Azure DNS support and modernizes the release pipeline. The public CloudBridge
  235. API is backward compatible with 4.0 — no code changes are required.
  236. ## What's new
  237. * **Azure DNS support.** The Azure provider can now manage DNS zones and records, bringing it in line
  238. with the DNS service already offered by the other providers. This adds ``azure-mgmt-dns`` to the
  239. Azure dependency set.
  240. ## Fixes and maintenance
  241. * Azure disks now use the region name (not the zone name) when resolving their location.
  242. * Test reliability: retry default-subnet creation, and allow storage-account creation enough time to
  243. resolve DNS.
  244. ## Build and CI
  245. * PyPI releases now use a trusted publisher (PyPI OIDC) from GitHub Actions instead of a stored API
  246. token. The deploy workflow is split into separate build and publish jobs, and integration runs are
  247. skipped on docs-only changes.
  248. ## Pull Requests
  249. * Use a trusted publisher when publishing to PyPI by @ksuderman in https://github.com/CloudVE/cloudbridge/pull/330
  250. * Add Azure DNS support by @nuwang in https://github.com/CloudVE/cloudbridge/pull/331
  251. * CI hygiene: split deploy job + dedicated env, skip CI on docs-only changes by @nuwang in https://github.com/CloudVE/cloudbridge/pull/332
  252. **Full Changelog**: https://github.com/CloudVE/cloudbridge/compare/v4.0.0...v4.1.0
  253. 4.0.0 - May 15, 2026 (sha 4963adc3f5f10cd885640138062800d7cd20e93a)
  254. ---------------------------------------------------------------------
  255. ## Release highlights
  256. This is a major release that brings the dependency stack up to date. The public CloudBridge API is unchanged —
  257. most users will not need any code changes. The version bump reflects the breadth of the underlying modernization
  258. rather than interface breakage.
  259. ## What users should know
  260. Python 3.13 or higher is now required. Support for older Python versions, including 2.7 compatibility
  261. shims (``six``), has been removed. Earlier Python versions are no longer tested; the default test environment
  262. is Python 3.13.
  263. Azure public IPs now use the Standard SKU. Basic-SKU public IPs are being retired by Azure. Public IPs created
  264. by CloudBridge are now Standard SKU. Within a single virtual network, public IPs of different SKUs cannot be
  265. mixed (Azure restriction). If you have a network that already contains Basic-SKU IPs created by CloudBridge 3.x,
  266. plan to standardize on one SKU before letting 4.0 add new IPs to that network.
  267. Mock provider now requires moto >= 5.0. If you use MockAWSCloudProvider in your own test suite alongside direct
  268. moto usage, your test harness must be on moto 5. In moto 5, the per-service decorators (mock_ec2, mock_s3, …) were
  269. unified into a single mock_aws.
  270. If you pin cloud SDKs alongside CloudBridge, you may need to relax upper bounds. The biggest jumps:
  271. azure-mgmt-compute (up to <39), azure-mgmt-network (<31), openstacksdk (<5).
  272. ### Under the hood (no action required)
  273. CloudBridge migrated off several abandoned Azure libraries (msrestazure, azure-cosmosdb-table, pysftp) and onto their
  274. maintained successors. The migration is transparent at the API level. Existing Azure resources created by
  275. 3.x — including key pairs stored in Azure Table Storage — are read by 4.0 without migration.
  276. ## Pull Requests
  277. * Update codecov badge by @nuwang in https://github.com/CloudVE/cloudbridge/pull/319
  278. * pull_request to pull_request_target for tests by @almahmoud in https://github.com/CloudVE/cloudbridge/pull/322
  279. * Azure - add AZURE_NETWORK_RESOURCE_GROUP to pick vnet from another ResourceGroup by @patchkez in https://github.com/CloudVE/cloudbridge/pull/321
  280. * Run in pull_request mode with approval by @nuwang in https://github.com/CloudVE/cloudbridge/pull/327
  281. * Upgrade azure, openstack sdks and moto to latest by @nuwang in https://github.com/CloudVE/cloudbridge/pull/323
  282. * Modernize project setup by @nuwang in https://github.com/CloudVE/cloudbridge/pull/328
  283. ## New Contributors
  284. * @patchkez made their first contribution in https://github.com/CloudVE/cloudbridge/pull/321
  285. **Full Changelog**: https://github.com/CloudVE/cloudbridge/compare/v3.2.0...v4.0.0
  286. 3.2.0 - September 06, 2023 (sha dd7ccbba9457232880da755ca66f8ae9d2e7dce4)
  287. ---------------------------------------------------------------------
  288. * Use external non-shared network for gateway by @almahmoud in https://github.com/CloudVE/cloudbridge/pull/307
  289. * Install cloudbridge full in examples by @nuwang in https://github.com/CloudVE/cloudbridge/pull/310
  290. * Add new `ec2_retries_value` config for `AWSCloudProvider` by @MosheFriedland in https://github.com/CloudVE/cloudbridge/pull/313
  291. * Add packaging action by @nuwang in https://github.com/CloudVE/cloudbridge/pull/314
  292. * Fix linting error in resource comparison by @nuwang in https://github.com/CloudVE/cloudbridge/pull/315
  293. * Fix tox syntax and branch references by @nuwang in https://github.com/CloudVE/cloudbridge/pull/316
  294. * Switch to pytest by @nuwang in https://github.com/CloudVE/cloudbridge/pull/317
  295. * Update tox syntax and pin min tox version by @nuwang in https://github.com/CloudVE/cloudbridge/pull/318
  296. 3.1.0 - August 19, 2022 (sha 28067e22377a60423e7fcf4f995ce224307b8b09)
  297. ---------------------------------------------------------------------
  298. * Added app credentials support to openstack.
  299. * Added VM instance create time property to all providers (thanks to @rodrigonull)
  300. * Added Azure stop VM instance method (thanks to @rodrigonull)
  301. * Cloud provider sdks updated to latest versions
  302. * Other misc fixes.
  303. 3.0.0 - December 3, 2021 (sha 327e330bed78b8b70c9ff9d256513d71bc27545f)
  304. ---------------------------------------------------------------------
  305. * This is a major release due to packaging changes, although there are no backward incompatible interface changes.
  306. * The cloudbridge package no longer installs any providers by default, and you must use `pip install cloudbridge[full]`
  307. instead of `pip install cloudbridge` to obtain previous behaviour. This is to allow greater control over what
  308. providers are installed. To install only specific providers, use `pip install cloudbridge[aws,gcp]` etc. #292
  309. (thanks to @RyanSiu1995)
  310. * Allow users to create signed urls with write permissions #294 (thanks to @FabioRosado)
  311. 2.2.0 - November 5, 2021 (sha f3fb8e18781cd3ede4509ef75a69e7c2a420a167)
  312. ---------------------------------------------------------------------
  313. * This is a maintenance release with no backward incompatible changes.
  314. * Azure dependencies updated to latest version and associated fixes #274, #277, #278, #279, #281, #282
  315. (thanks to @FabioRosado)
  316. * AWS, GCP and OpenStack dependencies updated to latest versions and associated fixes.
  317. * AWS resources use TagSpecification support, removing extra requests for initial tagging.
  318. * Fixed wrong logging object in cloud provider #272 (thanks to @MosheFriedland)
  319. * Switched to github actions from travis
  320. * Patch discovery.build calls in GCP provider to use google's improved httplib2 #263 (thanks to @selshowk)
  321. * Added feature to start and stop aws instance #271 (thanks to @abhi005)
  322. * Miscellaneous doc and maintenance fixes.
  323. 2.1.0 - December 1, 2020 (sha a5c3af8ebc5be3ed44db34ebba097848f17305fb)
  324. ---------------------------------------------------------------------
  325. * This release introduces the DNS service, which is a top level service for managing DNS zones and records.
  326. * Support for using the newly added AWS instance type offerings API. This removes the dependency on a static machine
  327. type list, and returns up-to-date information on instance type availability.
  328. * The default package no longer bundles Azure, as the Azure python libraries are very large and affects docker
  329. container size when using cloudbridge. To install with Azure, use `pip install cloudbridge[full]` or
  330. `pip install cloudbridge[azure]`.
  331. * A convenience method for cloning providers in different zones has been added, which helps with multi-zone operations.
  332. * Support for specifying s3 signature version for the AWS provider.
  333. * Miscellaneous bug fixes and error handling improvements.
  334. * Support for python<3 dropped.
  335. * No major backward incompatible changes (apart from Azure not being bundled by default)
  336. 2.0.0 - March 13, 2019 (sha 10e28a0d07251af4a424fcbf11435fa4d52e5277)
  337. ---------------------------------------------------------------------
  338. * This is a major release which contains many improvements and some breaking
  339. changes to the interface, but the changes are fairly straightforward.
  340. * Support for Google Cloud (thanks to @mbookman, @chiniforooshan, @baizhang)
  341. * Support for middleware, event listening and interception, allowing
  342. CloudBridge to be extended without needing to modify library code (This is
  343. also potentially useful for handling corner cases for specific clouds).
  344. * The mock provider is now available by default as a standard cloud provider,
  345. which is useful for testing applications that use CloudBridge.
  346. * Providers now operate in a single zone, and therefore, all methods that
  347. previously required the zone as a parameter no longer do. Specifically,
  348. ``instance.create()``, ``volume.create()``, ``subnet.create``,
  349. ``subnet.get_or_create_default()`` are affected in services,
  350. and ``snap.create_volume`` is affected in resources. The provider's default
  351. zone must now be specified through the provider config.
  352. * All exceptions that are generated by CloudBridge will now extend from
  353. ``CloudBridgeBaseException``
  354. * The cloud package is deprecated and everything under it has been moved
  355. one level up. For example, instead of
  356. ``from cloudbridge.cloud.factory import CloudProviderFactory`` use
  357. ``from cloudbridge.factory import CloudProviderFactory``.
  358. * Services are much more uniform now, and sub-services have been introduced
  359. for greater uniformity. For example, ``net.create_subnet()`` is now
  360. ``net.subnets.create()``
  361. * ``gateways.get_or_create_inet_gateway()`` is now simply
  362. ``gateways.get_or_create()``
  363. * AWS instance types are now served through Amazon CloudFront for better
  364. performance.
  365. * Miscellaneous bug fixes and improvements.
  366. 1.0.2 - September 25, 2018 (sha 621aeed1a8d7c5ad270649f8ee960e9682e57dae)
  367. -------------------------------------------------------------------------
  368. * Added AWS instance types caching for better performance
  369. * Added ``router.subnets`` property
  370. * Ensure the default network for CloudBridge on AWS has subnets
  371. 1.0.1 - September 7, 2018. (sha 3130492008c5e0e115b8dfec880d32a4ac90b761)
  372. -------------------------------------------------------------------------
  373. * Fixed minor bug when retrieving buckets with only limited access.
  374. * Relaxed some library version dependencies (e.g. six).
  375. 1.0.0 - September 6, 2018. (sha 11bccd822f21a598fc753995440cf1a409984889)
  376. -------------------------------------------------------------------------
  377. * Added Microsoft Azure as a provider.
  378. * Restructured the interface to make it more comprehensible and uniform across
  379. all supported providers. See `issue #69 <https://github.com/CloudVE/cloudbridge/issues/69>`_
  380. for more details as well as the library layout image for an easy visual
  381. reference: https://github.com/CloudVE/cloudbridge#quick-reference.
  382. * Migrated AWS implementation to use the boto3 library (thanks @01000101)
  383. * Cleaned up use of ``name`` property for resources. Resources now have ``id``,
  384. ``name``, and ``label`` properties to represent respectively: a unique
  385. identifier supplied by the provider; a descriptive, unchangeable name; and a
  386. user-supplied label that can be modified during the existence of a resource.
  387. * Added enforcement of name and label value: names must be at least 3 characters
  388. in length at minimum, and 64 characters at maximum, consisting of only lower
  389. case letters and dashes. Should not start or end with a dash.
  390. * Refactored tests and extracted standard interface tests where all resources
  391. are being tested using the same code structure. Also, tests will run only
  392. for providers that implement a given service.
  393. * Moved the repository from github.com/gvlproject to github.com/cloudve org.
  394. * When deleting an OpenStack network, clear any ports.
  395. * Added support for launching OpenStack instances into a specific subnet
  396. * Update image list interface to allow filtering by owner.
  397. * When listing images on AWS, filter only the ones by current account owner.
  398. * Retrieve AWS instance types from a public service to include latest values.
  399. * Instance state uses ``DELETED`` state instead of ``TERMINATED``.
  400. * Return VM type RAM in GB.
  401. * Add implementation for ``generate_url`` on OpenStack.
  402. * General documentation updates.
  403. 0.3.3 - August 7, 2017. (sha 348e1e88935f61f53a83ed8d6a0e012a46621e25)
  404. ----------------------------------------------------------------------
  405. * Remove explicit versioning of requests and Babel.
  406. 0.3.2 - June 10, 2017. (sha f07f3cbd758a0872b847b5537d9073c90f87c24d)
  407. ---------------------------------------------------------------------
  408. * Patch release to support files>5GB with OpenStack (thanks @MartinPaulo).
  409. * Misc bug fixes.
  410. 0.3.1 - April 18, 2017. (sha f36a462e886d8444cb2818f6573677ecf0565315)
  411. ----------------------------------------------------------------------
  412. * Patch for binary file handling in OpenStack.
  413. 0.3.0 - April 11, 2017. (sha 13539ccda9e4809082796574d18b1b9bb3f2c624)
  414. ----------------------------------------------------------------------
  415. * Reworked test framework to rely on tox's test generation features. This
  416. allows for individual test cases to be run on a per provider basis.
  417. * Added more OpenStack swift config options (OS_AUTH_TOKEN and OS_STORAGE_URL)
  418. * Added supports for accessing EC2 containers with restricted permissions.
  419. * Removed exists() method from object store interface. Use get()==None check
  420. instead.
  421. * New method (img.min_disk) for getting size of machine image.
  422. * Test improvements (flake8 during build, more tests).
  423. * Misc bug fixes and improvements.
  424. * Changed library to beta state
  425. * General documentation updates (testing, release process)
  426. 0.2.0 - March 23, 2017. (sha a442d96b829ea2c721728520b01981fa61774625)
  427. ----------------------------------------------------------------------
  428. * Reworked the instance launch method to require subnet vs. network. This
  429. removed the option of adding network interface to a launch config object.
  430. * Added object store methods: upload from file path, list objects with a
  431. prefix, check if an object exists, (AWS only) get an accessible URL for an
  432. object (thanks @VJalili).
  433. * Modified `get_ec2_credentials()` method to `get_or_create_ec2_credentials()`
  434. * Added an option to read provider config values from a file
  435. (`~/.cloudbridge` or `/etc/cloudbridge`).
  436. * Replaced py35 with py36 for running tests.
  437. * Added logging configuration for the library.
  438. * General documentation updates.
  439. 0.1.1 - Aug 10, 2016. (sha 0122fb1173c88ae64e40140ffd35ff3797e9e4ad)
  440. --------------------------------------------------------------------
  441. * For AWS, always launch instances into private networking (i.e., VPC).
  442. * Support for using OpenStack Keystone v3.
  443. * Add functionality to manipulate routers and routes.
  444. * Add FloatingIP resource type and integrate with Network service.
  445. * Numerous documentation updates.
  446. * For an OpenStack provider, add method to get the ec2 credentials for a user.
  447. 0.1.0 - Jan 30, 2016.
  448. ---------------------
  449. * Initial release of CloudBridge.
  450. * Support for Bucket, Instance, Instance type, Key pair, Machine image.
  451. Region, Security group, Snapshot, Volume, Network and Subnet services.
  452. * Support for paging results, block device mapping and launching into VPCs.
  453. * Support for AWS and OpenStack clouds.
  454. * Basic usage docs and complete API docs.
  455. * 95% test coverage.
  456. * Support for AWS mock test provider (via
  457. `moto <https://github.com/spulec/moto>`_).