CHANGELOG.rst 33 KB

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