chore(deps): update dependency cloudflare to v5 - #887
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/cloudflare-5.x
branch
from
May 6, 2026 17:49
4e683ca to
80a0e21
Compare
renovate
Bot
force-pushed
the
renovate/cloudflare-5.x
branch
from
May 22, 2026 00:42
80a0e21 to
985b775
Compare
renovate
Bot
force-pushed
the
renovate/cloudflare-5.x
branch
2 times, most recently
from
June 16, 2026 23:27
39dbded to
02eb47e
Compare
renovate
Bot
force-pushed
the
renovate/cloudflare-5.x
branch
from
July 13, 2026 15:06
02eb47e to
52eaddb
Compare
renovate
Bot
force-pushed
the
renovate/cloudflare-5.x
branch
from
July 22, 2026 22:45
52eaddb to
6a6556b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==4.2.0→==5.6.0Release Notes
cloudflare/cloudflare-python (cloudflare)
v5.6.0Compare Source
Full Changelog: v5.5.0...v5.6.0
Breaking Changes
create()andget()methods have been removed fromclient.accounts.subscriptions. TheSubscriptionCreateParamstype is no longer available.CertificateAuthoritytype has been removed fromcloudflare.types.acm.HostnameAssociationtype has been removed fromcloudflare.types.certificate_authorities.indicator_typessub-resource has been removed fromclient.cloudforce_one.threat_events. Use the newclient.cloudforce_one.threat_events.indicators.typesresource instead.client.hyperdrive.configs.list()changed fromSyncSinglePagetoSyncV4PagePaginationArray. Code that relied on single-page iteration semantics may need adjustment.client.load_balancersnow use a polymorphic/{account_or_zone}/{account_or_zone_id}/load_balancersendpoint pattern instead of the previous/zones/{zone_id}/load_balancers. Method signatures now accept eitheraccount_idorzone_id.rotate()method andTokenRotateResponsetype have been removed fromclient.moq.relays.tokens. Use the newcreate(),list(), anddelete()methods instead.MTLSCertificatetype has been replaced withMTLSCertificateGetResponse,MTLSCertificateListResponse, andMTLSCertificateDeleteResponse. The return types oflist(),delete(), andget()have changed accordingly.Statustype has been removed fromcloudflare.types.custom_certificates.Host,Status, andValidationMethodtypes have been removed fromcloudflare.types.ssl. Thehostsparameter onclient.ssl.certificate_packs.create()changed fromSequenceNotStr[Host]toSequenceNotStr[str].setup_flowssub-resource has been removed fromclient.zero_trust.casb.applications. Theget()method endpoint changed from/accounts/{account_id}/one/applications/{slug}to/accounts/{account_id}/one/applications/{application_id}.Features
summary(),timeseries(), andtop_n()methods, plusdata_security.content_findingsanddata_security.findingssub-resources (7245164)client.ai_audit.robotsresource withbulk_get()andget()methods (7245164)aggregate,graphql,graph,queries,relationships,indicators(withaggregate,types,by_dataset),tags(withcategories,indicators),target_industries,categories, anddatasets(7245164)client.magic_transit.connectors.interruptsresource withcreate()andlist()methods (7245164)create(),list(), anddelete()methods toclient.moq.relays.tokens(7245164)check(),search(), and sub-resources forregistrations,registration_status, andupdate_status(7245164)client.zero_trust.casb.applications.auth_methodsresource withlist()method (7245164)client.zero_trust.casb.posturewith sub-resources forfindings(list, export, ignore, unignore, tune/reset severity),finding_types,content,exports,remediations, andwebhooks(7245164)New Resources
AIAudit Robots (
client.ai_audit.robots)bulk_get(*, zone_id, **params) -> Optional[RobotBulkGetResponse]get(*, zone_id, **params) -> Optional[RobotGetResponse]New types:
MagicTransit Connector Interrupts (
client.magic_transit.connectors.interrupts)create(connector_id, *, account_id, **params) -> InterruptCreateResponselist(connector_id, *, account_id) -> SyncSinglePage[InterruptListResponse]New types:
CASB Application Auth Methods (
client.zero_trust.casb.applications.auth_methods)list(application_id, *, account_id) -> AuthMethodListResponseNew types:
MoQ Relay Tokens (
client.moq.relays.tokens)create(relay_id, *, account_id, **params) -> Optional[TokenCreateResponse]list(relay_id, *, account_id) -> Optional[TokenListResponse]delete(jti, *, account_id, relay_id) -> TokenDeleteResponseNew types:
CloudforceOne ThreatEvents Sub-Resources (
client.cloudforce_one.threat_events)The following sub-resources were added under
client.cloudforce_one.threat_events:aggregategraphqlgraphqueriesrelationshipsindicators(withaggregate,types,by_datasetsub-resources)tags(withcategories,indicatorssub-resources)target_industriescategoriesdatasetsAnalyticsQuery (
client.analytics_query)Query analytics data across datasets with summary, timeseries, and top-N aggregations.
summary(dataset, *, account_id, **params) -> AnalyticsQuerySummaryResponsetimeseries(dataset, *, account_id, **params) -> AnalyticsQueryTimeseriesResponsetop_n(dataset, *, account_id, **params) -> SyncSinglePage[AnalyticsQueryTopNResponse]New types:
DataSecurity ContentFindings (
client.analytics_query.data_security.content_findings)top_n(*, account_id, **params) -> SyncSinglePage[ContentFindingTopNResponse]DataSecurity Findings (
client.analytics_query.data_security.findings)summary(*, account_id, **params) -> FindingSummaryResponsetimeseries(*, account_id, **params) -> FindingTimeseriesResponseRegistrarSandbox (
client.registrar_sandbox)Sandbox environment for domain registration operations.
check(*, account_id, **params) -> RegistrarSandboxCheckResponsesearch(*, account_id, **params) -> RegistrarSandboxSearchResponseRegistrations (
client.registrar_sandbox.registrations)create(*, account_id, **params) -> RegistrationCreateResponselist(*, account_id, **params) -> SyncCursorPagination[RegistrationListResponse]edit(domain_id, *, account_id, **params) -> RegistrationEditResponseget(domain_id, *, account_id) -> RegistrationGetResponseRegistrationStatus (
client.registrar_sandbox.registration_status)get(domain_name, *, account_id) -> RegistrationStatusGetResponseNew types:
UpdateStatus (
client.registrar_sandbox.update_status)get(domain_name, *, account_id) -> UpdateStatusGetResponseNew types:
CASB Posture (
client.zero_trust.casb.posture)Full CASB posture management with findings, remediation, and webhook support.
posture.findings.list(*, account_id, **params) -> SyncV4PagePaginationArray[FindingListResponse]posture.findings.export(*, account_id, **params) -> Optional[FindingExportResponse]posture.findings.get(finding_id, *, account_id) -> Optional[FindingGetResponse]posture.findings.ignore(*, account_id, **params) -> Optional[FindingIgnoreResponse]posture.findings.unignore(*, account_id, **params) -> Optional[FindingUnignoreResponse]posture.findings.tune_severity(finding_id, *, account_id, **params) -> Optional[FindingTuneSeverityResponse]posture.findings.reset_severity(finding_id, *, account_id) -> Optional[FindingResetSeverityResponse]posture.findings.instances.list(*, account_id, **params) -> SyncV4PagePaginationArray[InstanceListResponse]posture.webhooks.create(*, account_id, **params) -> WebhookCreateResponseposture.webhooks.list(*, account_id) -> SyncSinglePage[WebhookListResponse]posture.remediations.jobs.create(*, account_id, **params) -> JobCreateResponseposture.remediations.jobs.list(*, account_id, **params) -> SyncV4PagePaginationArray[JobListResponse]New types:
FindingTypes (
client.zero_trust.casb.posture.finding_types)list(*, account_id, **params) -> SyncV4PagePaginationArray[FindingTypeListResponse]get(finding_type_id, *, account_id) -> Optional[FindingTypeGetResponse]New types:
Content (
client.zero_trust.casb.posture.content)list(*, account_id, **params) -> SyncV4PagePaginationArray[ContentListResponse]export(*, account_id, **params) -> Optional[ContentExportResponse]New types:
Exports (
client.zero_trust.casb.posture.exports)list(*, account_id, **params) -> SyncV4PagePaginationArray[ExportListResponse]get(id, *, account_id) -> Optional[ExportGetResponse]New types:
v5.5.0Compare Source
Full Changelog: v5.4.0...v5.5.0
Breaking Changes
recommendationssub-resource has been removed.client.ssl.recommendations.get()and theRecommendationGetResponsetype are no longer available.listmethod has been removed fromclient.email_routing.rules. Onlycreate,update,delete, andgetremain. TheRuleListParamstype has been removed.UserPolicyCheckGeotype has been removed fromcloudflare.types.zero_trust.access.applications. The geo information is now inlined asUserIdentityGeowithinUserPolicyCheckListResponse.client.zero_trust.devices.ip_profiles.list()changed fromSyncSinglePagetoSyncV4PagePaginationArray. Code that relied on single-page iteration semantics may need adjustment.SourceParamsWebCrawlerStoreOptionstype and thestore_optionsfield onSourceParamsWebCrawlerhave been removed from instance create/update params and responses. Theparse_typeenum value"feed-rss"has been removed (only"sitemap"and"crawl"remain). Thesearch_queryfield onInstanceSearchResponseandNamespaceSearchResponsechanged from requiredstrtoOptional[str]. A new requiredquery_kindfield (Literal["text", "image", "multimodal"]) has been added to search responses.Organizationand related params,MfaSSHPivKeyRequirementshas been renamed toMfaPivKeyRequirements, themfa_ssh_piv_key_requirementsfield has been renamed tomfa_piv_key_requirements, and theallowed_authenticatorsenum value"ssh_piv_key"has been changed to"piv_key".Features
@cf/qwen/qwen3-vl-embedding-2bembedding model (de12426)WorkerDestination,PreviewWorkerDestination,AllWorkersDestination,AllPreviewWorkersDestination) to Access applications andeager_redirect_cookie_settingfield to self-hosted applications (de12426)primaryandsite_idfields to connector create/edit params (de12426)Varycache settings withActionParametersVary,ActionParametersVaryDefault, andActionParametersVaryHeaderstypes (de12426)threat_events.datasets.list()now accepts optional params (de12426)expected_dispositionparam toinvestigate.move.create()andinvestigate.move.bulk()(de12426)support_subaddressfield toSettingsresponse type (de12426)max_ttl_secsfield toGatewayConfigurationSettingsand newMaxTTLtype to gatewayLocationfor DNS TTL cap control (de12426)GlobalAccelerationtype to default and custom device policy settings (de12426)categoryfield toPermissionGroupGetResponseandPermissionGroupListResponsefor account and user tokens (de12426)New Resources
EmailAuth (
client.email_auth)DMARC report management and SPF inspection for email authentication.
DMARCReports (
client.email_auth.dmarc_reports)edit(*, zone_id, **params) -> Optional[DMARCReportEditResponse]get(*, zone_id) -> Optional[DMARCReportGetResponse]New types:
SPF Inspect (
client.email_auth.spf.inspect)get(*, zone_id, **params) -> Optional[InspectGetResponse]New types:
MoQ (
client.moq)Media over QUIC relay management.
Relays (
client.moq.relays)create(*, account_id, **params) -> Optional[RelayCreateResponse]update(relay_id, *, account_id, **params) -> Optional[RelayUpdateResponse]list(*, account_id, **params) -> SyncSinglePage[RelayListResponse]delete(relay_id, *, account_id) -> objectget(relay_id, *, account_id) -> Optional[RelayGetResponse]New types:
Tokens (
client.moq.relays.tokens)rotate(relay_id, *, account_id, **params) -> Optional[TokenRotateResponse]New types:
Log Explorer (
client.logs.log_explorer)SQL-based log querying and dataset management.
Query (
client.logs.log_explorer.query)sql(body, *, account_id, zone_id, **params) -> SyncSinglePage[QuerySqlResponse]New types:
Datasets (
client.logs.log_explorer.datasets)create(*, account_id, zone_id, **params) -> Optional[Dataset]update(dataset_id, *, account_id, zone_id, **params) -> Optional[Dataset]list(*, account_id, zone_id, **params) -> SyncSinglePage[DatasetSummary]get(dataset_id, *, account_id, zone_id) -> Optional[Dataset]Available (
client.logs.log_explorer.datasets.available)list(*, account_id, zone_id) -> SyncSinglePage[AvailableDataset]New types:
Email Security Investigate Bulk (
client.email_security.investigate.bulk)Bulk message movement and quarantine release operations.
create(*, account_id, **params) -> BulkCreateResponselist(*, account_id, **params) -> SyncV4PagePaginationArray[BulkListResponse]delete(job_id, *, account_id) -> BulkDeleteResponseget(job_id, *, account_id) -> BulkGetResponseCancel (
client.email_security.investigate.bulk.cancel)create(job_id, *, account_id) -> CancelCreateResponseMessages (
client.email_security.investigate.bulk.messages)list(job_id, *, account_id, **params) -> SyncV4PagePaginationArray[MessageListResponse]New types:
Chores
v5.4.0Compare Source
Full Changelog: v5.3.0...v5.4.0
Features
Chores
v5.3.0Compare Source
Full Changelog: v5.3.0...v5.4.0
Features
Chores
v5.2.0Compare Source
Full Changelog: v5.2.0...v5.3.0
Features
Bug Fixes
Chores
v5.1.0Compare Source
Full Changelog: v5.1.0...v5.2.0
Features
Chores
v5.0.0Compare Source
Full Changelog: v5.0.0...v5.1.0
Features
audit_logs,classification, andcontextsub-resources to insights (ed7d261)deployment_groupssub-resource to devices (7121a55)Security Center - New Insights Sub-Resources
AuditLogs (
client.security_center.insights.audit_logs)list(*, account_id, zone_id, **params) -> SyncCursorPagination[AuditLogListResponse]list_by_insight(issue_id, *, account_id, zone_id, **params) -> SyncCursorPagination[AuditLogListByInsightResponse]New types:
Classification (
client.security_center.insights.classification)update(issue_id, *, account_id, zone_id, **params) -> ClassificationUpdateResponseNew types:
Context (
client.security_center.insights.context)get(issue_id, *, account_id) -> Optional[ContextGetResponse]New types:
Zero Trust - Device Deployment Groups
New sub-resource
client.zero_trust.devices.deployment_groups:create(*, account_id, **params) -> DeploymentGrouplist(*, account_id, **params) -> SyncV4PagePaginationArray[DeploymentGroup]delete(group_id, *, account_id) -> DeploymentGroupDeleteResponseedit(group_id, *, account_id, **params) -> DeploymentGroupget(group_id, *, account_id) -> DeploymentGroupNew types:
v4.3.1Compare Source
Full Changelog: v4.3.1...v5.0.0
This is a major release of the Cloudflare Python SDK. It drops support for
Python 3.8, adds 11 new API services, introduces optional aiohttp backend
support for improved async concurrency, and includes hundreds of type and
method updates across the entire API surface.
Please review the breaking changes below before upgrading. A migration guide
is available at docs/migration-guides/v5.0.0-migration-guide.md.
Breaking Changes
typing-extensionsminimum version bumped from>=4.10to>=4.14.Additionally, the following resources have breaking changes:
abusereportsacm.totaltlsapigateway.configurationscloudforceone.threateventsd1.databaseintel.indicatorfeedslogpush.edgeorigintlsclientauth.hostnamesqueues.consumersradar.bgprulesets.rulesschemavalidation.schemassnippetszerotrust.dlpzerotrust.networksSee the v5.0.0 Migration Guide for upgrade instructions and resource-specific guidance.
Features
aiohttpHTTP backend for improved concurrency performance. Install withpip install cloudflare[aiohttp]and useDefaultAioHttpClient()as thehttp_clientparameter.New Services
The following top-level resources are new in this release:
aisearch): AI-powered search capabilitiesconnectivity): Connectivity testing and diagnosticsemail_sending): Email send and send_raw endpointsfraud): Fraud detection and preventiongoogle_tag_gateway): Google Tag Gateway managementorganizations): Organization audit logs and managementr2_data_catalog): R2 Data Catalog operationsrealtime_kit): Realtime communication (Calls/TURN)resource_tagging): Resource tagging and labelingtoken_validation): Token validation configuration and rulesvulnerability_scanner): Vulnerability scanning, credential sets, and target environmentsNew Endpoints on Existing Services
Updated Services
Nearly every existing service received type and method updates through
composite API spec refreshes. Notable updates include:
Bug Fixes
polymorphic_serializationparameter tomodel_dumpoverrides (342b5a8)BaseModelbase to responseSchemaFieldStruct/SchemaFieldListstubs (d33af8b)model_rebuild/update_forward_refsforSharedEntryCustomEntryclasses (25ec10c)RunQueryParametersNeedleValueaBaseModelwitharbitrary_types_allowed(6b7efbc)notification_urlfield in webhook response types (fc9fb2f)type: ignore[call-arg]placement for mypy compatibility (fac9404)consumermodel (3f5cf39)Chores
Documentation
v4.3.0Compare Source
Full Changelog: v4.3.0...v4.3.1
Bug Fixes
Chores
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.