Skip to content

Bump cloudflare from 4.3.1 to 5.2.0#3

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cloudflare-5.2.0
Open

Bump cloudflare from 4.3.1 to 5.2.0#3
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cloudflare-5.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 28, 2026

Copy link
Copy Markdown

Bumps cloudflare from 4.3.1 to 5.2.0.

Release notes

Sourced from cloudflare's releases.

v5.2.0

5.2.0 (2026-05-21)

Full Changelog: v5.1.0...v5.2.0

Breaking Changes

Cache - Origin Cloud Regions Reworked

The cache.origin_cloud_regions resource has been significantly reworked. Endpoints changed from /zones/{zone_id}/cache/origin_cloud_regions to /zones/{zone_id}/origin/cloud_regions, several methods were removed or renamed, and return types were consolidated.

Removed methods:

  • create -- replaced by update (PUT single item)
  • edit -- removed (use update instead)
  • bulk_edit -- renamed to bulk_update

Changed return types:

  • list now returns SyncV4PagePaginationArray[OriginCloudRegion] (was Optional[OriginCloudRegionListResponse])
  • get now returns Optional[OriginCloudRegion] (was Optional[OriginCloudRegionGetResponse])

Removed types:

  • OriginCloudRegionCreateResponse
  • OriginCloudRegionListResponse
  • OriginCloudRegionBulkEditResponse
  • OriginCloudRegionEditResponse
  • OriginCloudRegionGetResponse

New types:

from cloudflare.types.cache import (
    OriginCloudRegion,
    OriginCloudRegionBulkUpdateResponse,
)

API Gateway - Discovery Operation Edit Removed

The api_gateway.discovery.operations.edit method and its associated OperationEditResponse type have been removed. Use bulk_edit instead.

Features

  • ddos_protection: add new DDoS Protection service (87f7e95)
  • ai_security: add new AI Security service (29cb585)
  • ai_gateway: add billing sub-resource with credit balance, invoices, usage history, topup, and spending limit (4923bbb)
  • r2: add bucket objects sub-resource with list, delete, get, and upload (72d2149)
  • zero_trust: add access SAML certificates, identity provider SAML certificate, and resource library (aeff7d5)

... (truncated)

Changelog

Sourced from cloudflare's changelog.

5.2.0 (2026-05-21)

Full Changelog: v5.1.0...v5.2.0

Features

  • ai_gateway: update generated types and methods (4923bbb)
  • ai_security: add ai_security resource (29cb585)
  • cache: update generated types and methods (b7ae845)
  • ddos_protection: add ddos_protection resource (87f7e95)
  • load_balancers: update generated types and methods (bb6815d)
  • r2: update generated types and methods (72d2149)
  • radar: update generated types and methods (fb2f0c4)
  • secrets_store: update generated types and methods (636414f)
  • workers_for_platforms: update generated types and methods (7bfed3c)
  • workers: update generated types and methods (0bdb685)
  • zero_trust: update generated types and methods (aeff7d5)

Chores

  • acm: update generated types and methods (8b03b3d)
  • ai: update generated types and methods (2f6bdf7)
  • api_gateway: update generated types and methods (5b79a34)
  • cloudforce_one: update generated types and methods (fc72368)
  • d1: update generated types and methods (6a05b68)
  • email_security: update generated types and methods (c89d1ce)
  • intel: update generated types and methods (b097e5d)
  • logpush: update generated types and methods (f26713b)
  • resource_sharing: update generated types and methods (792bf24)
  • restore version (9f99d4b)
  • sync shared codegen files from staging-next (fbb556c)

5.1.0 (2026-05-06)

Full Changelog: v5.0.0...v5.1.0

Features

  • security_center: add audit_logs, classification, and context sub-resources to insights (ed7d261)
  • zero_trust: add deployment_groups sub-resource to devices (7121a55)
  • aisearch: update generated types and methods (54b87759)
  • email_security: update generated types and methods (23a979df)
  • radar: update generated types and methods (b48274ef)
  • zones: update generated types and methods (f0a54099)

Security Center - New Insights Sub-Resources

AuditLogs (client.security_center.insights.audit_logs)

... (truncated)

Commits
  • 8b2b6d3 Merge pull request #2716 from cloudflare/release-please--branches--main--chan...
  • 5466fc1 release: 5.2.0
  • eac1888 Merge pull request #2726 from cloudflare/ci/add-permissions
  • ed104a9 ci: per-job permissions for publish-pypi, release-doctor, sync-labels, semgrep
  • 1a0b300 Merge pull request #2724 from cloudflare/musa-cf-patch-1
  • ece809f ci: fail open on running example
  • 5a119e4 Merge pull request #2723 from cloudflare/apix-852/ci-step-soft-fail
  • 7bb67aa ci: move continue-on-error from job level to step level
  • 9f99d4b chore: restore version
  • aeff7d5 feat(zero_trust): update generated types and methods
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cloudflare](https://github.com/cloudflare/cloudflare-python) from 4.3.1 to 5.2.0.
- [Release notes](https://github.com/cloudflare/cloudflare-python/releases)
- [Changelog](https://github.com/cloudflare/cloudflare-python/blob/main/CHANGELOG.md)
- [Commits](cloudflare/cloudflare-python@v4.3.1...v5.2.0)

---
updated-dependencies:
- dependency-name: cloudflare
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants