|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 5.5.0 (2026-07-10) |
| 4 | + |
| 5 | +Full Changelog: [v5.4.0...v5.5.0](https://github.com/cloudflare/cloudflare-python/compare/v5.4.0...v5.5.0) |
| 6 | + |
| 7 | +### Breaking Changes |
| 8 | + |
| 9 | +* **ssl:** The `recommendations` sub-resource has been removed. `client.ssl.recommendations.get()` and the `RecommendationGetResponse` type are no longer available. |
| 10 | +* **email_routing:** The `list` method has been removed from `client.email_routing.rules`. Only `create`, `update`, `delete`, and `get` remain. The `RuleListParams` type has been removed. |
| 11 | +* **zero_trust:** The `UserPolicyCheckGeo` type has been removed from `cloudflare.types.zero_trust.access.applications`. The geo information is now inlined as `UserIdentityGeo` within `UserPolicyCheckListResponse`. |
| 12 | +* **zero_trust:** The pagination type for `client.zero_trust.devices.ip_profiles.list()` changed from `SyncSinglePage` to `SyncV4PagePaginationArray`. Code that relied on single-page iteration semantics may need adjustment. |
| 13 | +* **aisearch:** The `SourceParamsWebCrawlerStoreOptions` type and the `store_options` field on `SourceParamsWebCrawler` have been removed from instance create/update params and responses. The `parse_type` enum value `"feed-rss"` has been removed (only `"sitemap"` and `"crawl"` remain). The `search_query` field on `InstanceSearchResponse` and `NamespaceSearchResponse` changed from required `str` to `Optional[str]`. A new required `query_kind` field (`Literal["text", "image", "multimodal"]`) has been added to search responses. |
| 14 | +* **zero_trust:** In `Organization` and related params, `MfaSSHPivKeyRequirements` has been renamed to `MfaPivKeyRequirements`, the `mfa_ssh_piv_key_requirements` field has been renamed to `mfa_piv_key_requirements`, and the `allowed_authenticators` enum value `"ssh_piv_key"` has been changed to `"piv_key"`. |
| 15 | + |
| 16 | +### Features |
| 17 | + |
| 18 | +* **email_auth:** add email_auth resource ([43fb66a](https://github.com/cloudflare/cloudflare-python/commit/43fb66a7e)) |
| 19 | +* **moq:** add moq resource ([c409a18](https://github.com/cloudflare/cloudflare-python/commit/c409a1818)) |
| 20 | +* **logs:** add log_explorer sub-resource with query, datasets, and available datasets ([b8896ca](https://github.com/cloudflare/cloudflare-python/commit/b8896ca79)) |
| 21 | +* **email_security:** add bulk message operations to investigate ([e96350d](https://github.com/cloudflare/cloudflare-python/commit/e96350d9a)) |
| 22 | +* **aisearch:** add multimodal support with image_url content parts and new `@cf/qwen/qwen3-vl-embedding-2b` embedding model ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 23 | +* **zero_trust:** add Worker destination types (`WorkerDestination`, `PreviewWorkerDestination`, `AllWorkersDestination`, `AllPreviewWorkersDestination`) to Access applications and `eager_redirect_cookie_setting` field to self-hosted applications ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 24 | +* **magic_transit:** add `primary` and `site_id` fields to connector create/edit params ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 25 | +* **rulesets:** add `Vary` cache settings with `ActionParametersVary`, `ActionParametersVaryDefault`, and `ActionParametersVaryHeaders` types ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 26 | +* **cloudforce_one:** `threat_events.datasets.list()` now accepts optional params ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 27 | +* **email_security:** add `expected_disposition` param to `investigate.move.create()` and `investigate.move.bulk()` ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 28 | +* **email_routing:** add `support_subaddress` field to `Settings` response type ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 29 | +* **zero_trust:** add `max_ttl_secs` field to `GatewayConfigurationSettings` and new `MaxTTL` type to gateway `Location` for DNS TTL cap control ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 30 | +* **zero_trust:** add `GlobalAcceleration` type to default and custom device policy settings ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 31 | +* **accounts:** add `category` field to `PermissionGroupGetResponse` and `PermissionGroupListResponse` for account and user tokens ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 32 | + |
| 33 | +#### New Resources |
| 34 | + |
| 35 | +**EmailAuth** (`client.email_auth`) |
| 36 | + |
| 37 | +DMARC report management and SPF inspection for email authentication. |
| 38 | + |
| 39 | +**DMARCReports** (`client.email_auth.dmarc_reports`) |
| 40 | + |
| 41 | +- `edit(*, zone_id, **params) -> Optional[DMARCReportEditResponse]` |
| 42 | +- `get(*, zone_id) -> Optional[DMARCReportGetResponse]` |
| 43 | + |
| 44 | +New types: |
| 45 | +```python |
| 46 | +from cloudflare.types.email_auth import DMARCReportEditResponse, DMARCReportGetResponse |
| 47 | +``` |
| 48 | + |
| 49 | +**SPF Inspect** (`client.email_auth.spf.inspect`) |
| 50 | + |
| 51 | +- `get(*, zone_id, **params) -> Optional[InspectGetResponse]` |
| 52 | + |
| 53 | +New types: |
| 54 | +```python |
| 55 | +from cloudflare.types.email_auth.spf import InspectGetResponse |
| 56 | +``` |
| 57 | + |
| 58 | +**MoQ** (`client.moq`) |
| 59 | + |
| 60 | +Media over QUIC relay management. |
| 61 | + |
| 62 | +**Relays** (`client.moq.relays`) |
| 63 | + |
| 64 | +- `create(*, account_id, **params) -> Optional[RelayCreateResponse]` |
| 65 | +- `update(relay_id, *, account_id, **params) -> Optional[RelayUpdateResponse]` |
| 66 | +- `list(*, account_id, **params) -> SyncSinglePage[RelayListResponse]` |
| 67 | +- `delete(relay_id, *, account_id) -> object` |
| 68 | +- `get(relay_id, *, account_id) -> Optional[RelayGetResponse]` |
| 69 | + |
| 70 | +New types: |
| 71 | +```python |
| 72 | +from cloudflare.types.moq import ( |
| 73 | + RelayCreateResponse, |
| 74 | + RelayUpdateResponse, |
| 75 | + RelayListResponse, |
| 76 | + RelayGetResponse, |
| 77 | +) |
| 78 | +``` |
| 79 | + |
| 80 | +**Tokens** (`client.moq.relays.tokens`) |
| 81 | + |
| 82 | +- `rotate(relay_id, *, account_id, **params) -> Optional[TokenRotateResponse]` |
| 83 | + |
| 84 | +New types: |
| 85 | +```python |
| 86 | +from cloudflare.types.moq.relays import TokenRotateResponse |
| 87 | +``` |
| 88 | + |
| 89 | +**Log Explorer** (`client.logs.log_explorer`) |
| 90 | + |
| 91 | +SQL-based log querying and dataset management. |
| 92 | + |
| 93 | +**Query** (`client.logs.log_explorer.query`) |
| 94 | + |
| 95 | +- `sql(body, *, account_id, zone_id, **params) -> SyncSinglePage[QuerySqlResponse]` |
| 96 | + |
| 97 | +New types: |
| 98 | +```python |
| 99 | +from cloudflare.types.logs.log_explorer import QuerySqlResponse |
| 100 | +``` |
| 101 | + |
| 102 | +**Datasets** (`client.logs.log_explorer.datasets`) |
| 103 | + |
| 104 | +- `create(*, account_id, zone_id, **params) -> Optional[Dataset]` |
| 105 | +- `update(dataset_id, *, account_id, zone_id, **params) -> Optional[Dataset]` |
| 106 | +- `list(*, account_id, zone_id, **params) -> SyncSinglePage[DatasetSummary]` |
| 107 | +- `get(dataset_id, *, account_id, zone_id) -> Optional[Dataset]` |
| 108 | + |
| 109 | +**Available** (`client.logs.log_explorer.datasets.available`) |
| 110 | + |
| 111 | +- `list(*, account_id, zone_id) -> SyncSinglePage[AvailableDataset]` |
| 112 | + |
| 113 | +New types: |
| 114 | +```python |
| 115 | +from cloudflare.types.logs.log_explorer import ( |
| 116 | + Dataset, |
| 117 | + DatasetSummary, |
| 118 | + CreateRequest, |
| 119 | + UpdateRequest, |
| 120 | +) |
| 121 | +from cloudflare.types.logs.log_explorer.datasets import AvailableDataset, AvailableList |
| 122 | +``` |
| 123 | + |
| 124 | +**Email Security Investigate Bulk** (`client.email_security.investigate.bulk`) |
| 125 | + |
| 126 | +Bulk message movement and quarantine release operations. |
| 127 | + |
| 128 | +- `create(*, account_id, **params) -> BulkCreateResponse` |
| 129 | +- `list(*, account_id, **params) -> SyncV4PagePaginationArray[BulkListResponse]` |
| 130 | +- `delete(job_id, *, account_id) -> BulkDeleteResponse` |
| 131 | +- `get(job_id, *, account_id) -> BulkGetResponse` |
| 132 | + |
| 133 | +**Cancel** (`client.email_security.investigate.bulk.cancel`) |
| 134 | + |
| 135 | +- `create(job_id, *, account_id) -> CancelCreateResponse` |
| 136 | + |
| 137 | +**Messages** (`client.email_security.investigate.bulk.messages`) |
| 138 | + |
| 139 | +- `list(job_id, *, account_id, **params) -> SyncV4PagePaginationArray[MessageListResponse]` |
| 140 | + |
| 141 | +New types: |
| 142 | +```python |
| 143 | +from cloudflare.types.email_security.investigate import ( |
| 144 | + BulkCreateResponse, |
| 145 | + BulkListResponse, |
| 146 | + BulkDeleteResponse, |
| 147 | + BulkGetResponse, |
| 148 | +) |
| 149 | +from cloudflare.types.email_security.investigate.bulk import ( |
| 150 | + CancelCreateResponse, |
| 151 | + MessageListResponse, |
| 152 | +) |
| 153 | +``` |
| 154 | + |
| 155 | +### Chores |
| 156 | + |
| 157 | +* **billing:** update generated types and methods ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 158 | +* **pipelines:** update generated types and methods ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 159 | +* **workers:** update generated types and methods ([de12426](https://github.com/cloudflare/cloudflare-python/commit/de1242647)) |
| 160 | + |
3 | 161 | ## 5.4.0 (2026-06-16) |
4 | 162 |
|
5 | 163 | Full Changelog: [v5.3.0...v5.4.0](https://github.com/cloudflare/cloudflare-python/compare/v5.3.0...v5.4.0) |
|
0 commit comments