Tidbcloudy

Latest version: v1.1.1

Safety actively analyzes 626325 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.1.0

What's Changed
Add test cases for tidbcloudy by Oreoxmt in https://github.com/Oreoxmt/tidbcloudy/pull/28


- Support specifying timezone in `timestamp_to_string()` and `get_current_year_month()`
- Implement a mock server using Flask to facilitate testing
- Expand test coverage for the following API endpoints:

- List the cloud providers, regions and available specifications
- List all accessible projects
- Create a project
- List all clusters in a project
- Get a cluster by ID
- Create a cluster
- Modify (pause or resume) a cluster
- Delete a cluster
- List AWS Customer-Managed Encryption Keys for a project
- Configure AWS Customer-Managed Encryption Keys for a project

- Enhance testing for certain internal features:
- the `to_object` and `from_object` functions of `TiDBCloudyBase`
- `util.timestamp.py`
- the `CreateClusterConfig` and `UpdateClusterConfig` in `tidbcloudy.specification`

- Fix the incorrect subclass and type hint of `BillingMonthSummaryByService`


**Full Changelog**: https://github.com/Oreoxmt/tidbcloudy/compare/v1.0.10...v1.1.0

1.1.0a2

What's Changed

* Fix the issue that an unexpected keyword argument error occurs when creating a cluster. DO NOT USE for now.

1.1.0a1

What's Changed

* Initial implementation of CLI function. DO NOT USE for now.

1.0.10

_Release on Oct 5, 2023_

_Compatible with TiDB Cloud v1beta and v1beta1_

What's Changed

* fix: wrong type descriptor in `ProjectAWSCMEK` class by Oreoxmt in https://github.com/Oreoxmt/tidbcloudy/pull/26
* feat: refactor the implementation of baseURL by Oreoxmt in https://github.com/Oreoxmt/tidbcloudy/pull/27


**Full Changelog**: https://github.com/Oreoxmt/tidbcloudy/compare/v1.0.9...v1.0.10

1.0.9

_Release on Oct 3, 2023_

_Compatible with TiDB Cloud v1beta and v1beta1_

What's Changed
Support three new endpoints, which are released in [v1beta Release 20230328](https://docs.pingcap.com/tidbcloud/api/v1beta#section/API-Changelog/20230328) by Oreoxmt in https://github.com/Oreoxmt/tidbcloudy/pull/25

- [Create a project](https://docs.pingcap.com/tidbcloud/api/v1beta#tag/Project/operation/CreateProject)
- [List AWS Customer-Managed Encryption Keys for a project](https://docs.pingcap.com/tidbcloud/api/v1beta#tag/Cluster/operation/ListAwsCmek)
- [Configure AWS Customer-Managed Encryption Keys for a project](https://docs.pingcap.com/tidbcloud/api/v1beta#tag/Cluster/operation/CreateAwsCmek)


**Full Changelog**: https://github.com/Oreoxmt/tidbcloudy/compare/v1.0.8...v1.0.9

1.0.8

*Release on Oct 3, 2023*

*Compatible with TiDB Cloud v1beta and v1beta1*

What's Changed
Support the newly added billing endpoint `GET https://billing.tidbapi.com/v1beta1/bills/{YYYY-MM}`, which is compatible with TiDB Cloud API v1beta1 [Release 20230928](https://docs.pingcap.com/tidbcloud/api/v1beta1#section/API-Changelog/2023-09-28) by Oreoxmt in https://github.com/Oreoxmt/tidbcloudy/pull/24

To be compatible with TiDB Cloud API v1beta and v1beta1 in the current release (1.0.8), the following changes are made:

- Introduce the `tidbcloudy.baseURL` module to specify the base URL of the API server. For v1beta, the base URL is `https://api.tidbcloud.com/v1beta`. For the billing system v1beta1, the base URL is `https://billing.tidbapi.com/v1beta1`.
- To support v1beta and v1beta1 in 1.0.8, `Context.base_url` is removed. Instead, `Context().call_...()` methods accept a `base_url` parameter to specify the base URL of the API server.
- To reduce the change of preceding code, such as the Project, Cluster, Backup, and Restore classes, the v1beta base URL is set as the default value when calling `Context().call_...()` methods.
- Introduce the `TiDBCloud().get_monthly_bill()` method to support the newly added billing endpoint **Return organization monthly bills** and describe the usage in [`examples/v1beta1_get_monthly_bill.py`](https://github.com/Oreoxmt/tidbcloudy/blob/v1.0.8/examples/v1beta1_get_monthly_bill.py).


**Full Changelog**: https://github.com/Oreoxmt/tidbcloudy/compare/v1.0.7...v1.0.8

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.