Skip to content

Commit 583e968

Browse files
committed
chore: add changelog and bump version to 5.6.0
1 parent 2be295c commit 583e968

4 files changed

Lines changed: 223 additions & 3 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "5.5.0"
2+
".": "5.6.0"
33
}

CHANGELOG.md

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,225 @@
11
# Changelog
22

3+
## 5.6.0 (2026-07-22)
4+
5+
Full Changelog: [v5.5.0...v5.6.0](https://github.com/cloudflare/cloudflare-python/compare/v5.5.0...v5.6.0)
6+
7+
### Breaking Changes
8+
9+
* **accounts:** The `create()` and `get()` methods have been removed from `client.accounts.subscriptions`. The `SubscriptionCreateParams` type is no longer available.
10+
* **acm:** The `CertificateAuthority` type has been removed from `cloudflare.types.acm`.
11+
* **certificate_authorities:** The `HostnameAssociation` type has been removed from `cloudflare.types.certificate_authorities`.
12+
* **cloudforce_one:** The `indicator_types` sub-resource has been removed from `client.cloudforce_one.threat_events`. Use the new `client.cloudforce_one.threat_events.indicators.types` resource instead.
13+
* **hyperdrive:** The pagination type for `client.hyperdrive.configs.list()` changed from `SyncSinglePage` to `SyncV4PagePaginationArray`. Code that relied on single-page iteration semantics may need adjustment.
14+
* **load_balancers:** All methods on `client.load_balancers` now use a polymorphic `/{account_or_zone}/{account_or_zone_id}/load_balancers` endpoint pattern instead of the previous `/zones/{zone_id}/load_balancers`. Method signatures now accept either `account_id` or `zone_id`.
15+
* **moq:** The `rotate()` method and `TokenRotateResponse` type have been removed from `client.moq.relays.tokens`. Use the new `create()`, `list()`, and `delete()` methods instead.
16+
* **mtls_certificates:** The `MTLSCertificate` type has been replaced with `MTLSCertificateGetResponse`, `MTLSCertificateListResponse`, and `MTLSCertificateDeleteResponse`. The return types of `list()`, `delete()`, and `get()` have changed accordingly.
17+
* **custom_certificates:** The `Status` type has been removed from `cloudflare.types.custom_certificates`.
18+
* **ssl:** The `Host`, `Status`, and `ValidationMethod` types have been removed from `cloudflare.types.ssl`. The `hosts` parameter on `client.ssl.certificate_packs.create()` changed from `SequenceNotStr[Host]` to `SequenceNotStr[str]`.
19+
* **zero_trust:** The `setup_flows` sub-resource has been removed from `client.zero_trust.casb.applications`. The `get()` method endpoint changed from `/accounts/{account_id}/one/applications/{slug}` to `/accounts/{account_id}/one/applications/{application_id}`.
20+
21+
### Features
22+
23+
* **analytics_query:** add analytics_query resource with `summary()`, `timeseries()`, and `top_n()` methods, plus `data_security.content_findings` and `data_security.findings` sub-resources ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f))
24+
* **ai_audit:** add `client.ai_audit.robots` resource with `bulk_get()` and `get()` methods ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f))
25+
* **cloudforce_one:** add extensive threat_events sub-resources: `aggregate`, `graphql`, `graph`, `queries`, `relationships`, `indicators` (with `aggregate`, `types`, `by_dataset`), `tags` (with `categories`, `indicators`), `target_industries`, `categories`, and `datasets` ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f))
26+
* **magic_transit:** add `client.magic_transit.connectors.interrupts` resource with `create()` and `list()` methods ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f))
27+
* **moq:** add `create()`, `list()`, and `delete()` methods to `client.moq.relays.tokens` ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f))
28+
* **registrar_sandbox:** add registrar_sandbox resource with `check()`, `search()`, and sub-resources for `registrations`, `registration_status`, and `update_status` ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f))
29+
* **zero_trust:** add `client.zero_trust.casb.applications.auth_methods` resource with `list()` method ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f))
30+
* **zero_trust:** add comprehensive CASB posture management: `client.zero_trust.casb.posture` with sub-resources for `findings` (list, export, ignore, unignore, tune/reset severity), `finding_types`, `content`, `exports`, `remediations`, and `webhooks` ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f))
31+
32+
#### New Resources
33+
34+
**AIAudit Robots** (`client.ai_audit.robots`)
35+
36+
- `bulk_get(*, zone_id, **params) -> Optional[RobotBulkGetResponse]`
37+
- `get(*, zone_id, **params) -> Optional[RobotGetResponse]`
38+
39+
New types:
40+
```python
41+
from cloudflare.types.ai_audit import RobotBulkGetResponse, RobotGetResponse
42+
```
43+
44+
**MagicTransit Connector Interrupts** (`client.magic_transit.connectors.interrupts`)
45+
46+
- `create(connector_id, *, account_id, **params) -> InterruptCreateResponse`
47+
- `list(connector_id, *, account_id) -> SyncSinglePage[InterruptListResponse]`
48+
49+
New types:
50+
```python
51+
from cloudflare.types.magic_transit.connectors import (
52+
InterruptCreateResponse,
53+
InterruptListResponse,
54+
)
55+
```
56+
57+
**CASB Application Auth Methods** (`client.zero_trust.casb.applications.auth_methods`)
58+
59+
- `list(application_id, *, account_id) -> AuthMethodListResponse`
60+
61+
New types:
62+
```python
63+
from cloudflare.types.zero_trust.casb.applications import AuthMethodListResponse
64+
```
65+
66+
**MoQ Relay Tokens** (`client.moq.relays.tokens`)
67+
68+
- `create(relay_id, *, account_id, **params) -> Optional[TokenCreateResponse]`
69+
- `list(relay_id, *, account_id) -> Optional[TokenListResponse]`
70+
- `delete(jti, *, account_id, relay_id) -> TokenDeleteResponse`
71+
72+
New types:
73+
```python
74+
from cloudflare.types.moq.relays import (
75+
TokenCreateResponse,
76+
TokenListResponse,
77+
TokenDeleteResponse,
78+
)
79+
```
80+
81+
**CloudforceOne ThreatEvents Sub-Resources** (`client.cloudforce_one.threat_events`)
82+
83+
The following sub-resources were added under `client.cloudforce_one.threat_events`:
84+
85+
- `aggregate`
86+
- `graphql`
87+
- `graph`
88+
- `queries`
89+
- `relationships`
90+
- `indicators` (with `aggregate`, `types`, `by_dataset` sub-resources)
91+
- `tags` (with `categories`, `indicators` sub-resources)
92+
- `target_industries`
93+
- `categories`
94+
- `datasets`
95+
96+
**AnalyticsQuery** (`client.analytics_query`)
97+
98+
Query analytics data across datasets with summary, timeseries, and top-N aggregations.
99+
100+
- `summary(dataset, *, account_id, **params) -> AnalyticsQuerySummaryResponse`
101+
- `timeseries(dataset, *, account_id, **params) -> AnalyticsQueryTimeseriesResponse`
102+
- `top_n(dataset, *, account_id, **params) -> SyncSinglePage[AnalyticsQueryTopNResponse]`
103+
104+
New types:
105+
```python
106+
from cloudflare.types import (
107+
AnalyticsQuerySummaryResponse,
108+
AnalyticsQueryTimeseriesResponse,
109+
AnalyticsQueryTopNResponse,
110+
)
111+
```
112+
113+
**DataSecurity ContentFindings** (`client.analytics_query.data_security.content_findings`)
114+
115+
- `top_n(*, account_id, **params) -> SyncSinglePage[ContentFindingTopNResponse]`
116+
117+
**DataSecurity Findings** (`client.analytics_query.data_security.findings`)
118+
119+
- `summary(*, account_id, **params) -> FindingSummaryResponse`
120+
- `timeseries(*, account_id, **params) -> FindingTimeseriesResponse`
121+
122+
**RegistrarSandbox** (`client.registrar_sandbox`)
123+
124+
Sandbox environment for domain registration operations.
125+
126+
- `check(*, account_id, **params) -> RegistrarSandboxCheckResponse`
127+
- `search(*, account_id, **params) -> RegistrarSandboxSearchResponse`
128+
129+
**Registrations** (`client.registrar_sandbox.registrations`)
130+
131+
- `create(*, account_id, **params) -> RegistrationCreateResponse`
132+
- `list(*, account_id, **params) -> SyncCursorPagination[RegistrationListResponse]`
133+
- `edit(domain_id, *, account_id, **params) -> RegistrationEditResponse`
134+
- `get(domain_id, *, account_id) -> RegistrationGetResponse`
135+
136+
**RegistrationStatus** (`client.registrar_sandbox.registration_status`)
137+
138+
- `get(domain_name, *, account_id) -> RegistrationStatusGetResponse`
139+
140+
New types:
141+
```python
142+
from cloudflare.types.registrar_sandbox import RegistrationStatusGetResponse
143+
```
144+
145+
**UpdateStatus** (`client.registrar_sandbox.update_status`)
146+
147+
- `get(domain_name, *, account_id) -> UpdateStatusGetResponse`
148+
149+
New types:
150+
```python
151+
from cloudflare.types.registrar_sandbox import UpdateStatusGetResponse
152+
```
153+
154+
**CASB Posture** (`client.zero_trust.casb.posture`)
155+
156+
Full CASB posture management with findings, remediation, and webhook support.
157+
158+
- `posture.findings.list(*, account_id, **params) -> SyncV4PagePaginationArray[FindingListResponse]`
159+
- `posture.findings.export(*, account_id, **params) -> Optional[FindingExportResponse]`
160+
- `posture.findings.get(finding_id, *, account_id) -> Optional[FindingGetResponse]`
161+
- `posture.findings.ignore(*, account_id, **params) -> Optional[FindingIgnoreResponse]`
162+
- `posture.findings.unignore(*, account_id, **params) -> Optional[FindingUnignoreResponse]`
163+
- `posture.findings.tune_severity(finding_id, *, account_id, **params) -> Optional[FindingTuneSeverityResponse]`
164+
- `posture.findings.reset_severity(finding_id, *, account_id) -> Optional[FindingResetSeverityResponse]`
165+
- `posture.findings.instances.list(*, account_id, **params) -> SyncV4PagePaginationArray[InstanceListResponse]`
166+
- `posture.webhooks.create(*, account_id, **params) -> WebhookCreateResponse`
167+
- `posture.webhooks.list(*, account_id) -> SyncSinglePage[WebhookListResponse]`
168+
- `posture.remediations.jobs.create(*, account_id, **params) -> JobCreateResponse`
169+
- `posture.remediations.jobs.list(*, account_id, **params) -> SyncV4PagePaginationArray[JobListResponse]`
170+
171+
New types:
172+
```python
173+
from cloudflare.types.zero_trust.casb.posture import (
174+
FindingListResponse,
175+
FindingExportResponse,
176+
FindingGetResponse,
177+
FindingIgnoreResponse,
178+
FindingUnignoreResponse,
179+
FindingTuneSeverityResponse,
180+
FindingResetSeverityResponse,
181+
)
182+
```
183+
184+
**FindingTypes** (`client.zero_trust.casb.posture.finding_types`)
185+
186+
- `list(*, account_id, **params) -> SyncV4PagePaginationArray[FindingTypeListResponse]`
187+
- `get(finding_type_id, *, account_id) -> Optional[FindingTypeGetResponse]`
188+
189+
New types:
190+
```python
191+
from cloudflare.types.zero_trust.casb.posture import (
192+
FindingTypeListResponse,
193+
FindingTypeGetResponse,
194+
)
195+
```
196+
197+
**Content** (`client.zero_trust.casb.posture.content`)
198+
199+
- `list(*, account_id, **params) -> SyncV4PagePaginationArray[ContentListResponse]`
200+
- `export(*, account_id, **params) -> Optional[ContentExportResponse]`
201+
202+
New types:
203+
```python
204+
from cloudflare.types.zero_trust.casb.posture import (
205+
ContentListResponse,
206+
ContentExportResponse,
207+
)
208+
```
209+
210+
**Exports** (`client.zero_trust.casb.posture.exports`)
211+
212+
- `list(*, account_id, **params) -> SyncV4PagePaginationArray[ExportListResponse]`
213+
- `get(id, *, account_id) -> Optional[ExportGetResponse]`
214+
215+
New types:
216+
```python
217+
from cloudflare.types.zero_trust.casb.posture import (
218+
ExportListResponse,
219+
ExportGetResponse,
220+
)
221+
```
222+
3223
## 5.5.0 (2026-07-10)
4224

5225
Full Changelog: [v5.4.0...v5.5.0](https://github.com/cloudflare/cloudflare-python/compare/v5.4.0...v5.5.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cloudflare"
3-
version = "5.5.0"
3+
version = "5.6.0"
44
description = "The official Python library for the cloudflare API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/cloudflare/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "cloudflare"
4-
__version__ = "5.5.0" # x-release-please-version
4+
__version__ = "5.6.0" # x-release-please-version

0 commit comments

Comments
 (0)