release: 5.2.0#2716
Merged
Merged
Conversation
45d89ce to
7a2c8dd
Compare
c448fd2 to
ff221b8
Compare
Add continue-on-error: true to the test and detect-breaking-changes jobs so they still run but do not fail CI. These jobs are informational and should not gate release readiness. Refs: APIX-852
ff221b8 to
a28553a
Compare
a28553a to
dc1b021
Compare
Job-level continue-on-error only prevents workflow failure but the job itself still reports as failed, which blocks PRs when the job is a required status check. Moving it to the step level makes the job conclude as success while still surfacing failures in the step output. Also re-enables detect-breaking-changes (was disabled with if: false) with step-level soft-fail so it runs but does not block. Refs: APIX-852
ci: move continue-on-error from job level to step level
dc1b021 to
8205666
Compare
ci: fail open on running example
8205666 to
101abf8
Compare
…, semgrep - publish-pypi: contents: read -- publish step uses PYPI_TOKEN, not GITHUB_TOKEN. - release-doctor: contents: read -- only runs a local sanity-check script. - sync-labels: issues: write -- micnncim/action-label-syncer manages repo labels via GITHUB_TOKEN. - semgrep: contents: read -- only checks out code and runs semgrep ci. Matches the per-job permissions style already used in ci.yml and detect-breaking-changes.yml. Co-authored-by: arpitjain099 <arpitjain099@gmail.com>
ci: per-job permissions for publish-pypi, release-doctor, sync-labels, semgrep
101abf8 to
5466fc1
Compare
musa-cf
approved these changes
May 21, 2026
Contributor
Author
|
🤖 Release is at https://github.com/cloudflare/cloudflare-python/releases/tag/v5.2.0 🌻 |
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.
Automated Release PR
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_regionsresource has been significantly reworked.Endpoints changed from
/zones/{zone_id}/cache/origin_cloud_regionsto/zones/{zone_id}/origin/cloud_regions, several methods were removed orrenamed, and return types were consolidated.
Removed methods:
create-- replaced byupdate(PUT single item)edit-- removed (useupdateinstead)bulk_edit-- renamed tobulk_updateChanged return types:
listnow returnsSyncV4PagePaginationArray[OriginCloudRegion](wasOptional[OriginCloudRegionListResponse])getnow returnsOptional[OriginCloudRegion](wasOptional[OriginCloudRegionGetResponse])Removed types:
OriginCloudRegionCreateResponseOriginCloudRegionListResponseOriginCloudRegionBulkEditResponseOriginCloudRegionEditResponseOriginCloudRegionGetResponseNew types:
API Gateway - Discovery Operation Edit Removed
The
api_gateway.discovery.operations.editmethod and its associatedOperationEditResponsetype have been removed. Usebulk_editinstead.Features
purge_environmentmethod andsmart_tiered_cache.createmethod (b7ae845)secrets.bulk_updatemethod (0bdb685)secrets.bulk_updatemethod (7bfed3c)stores.deletenow accepts optional params (636414f)dynamic_routing.listnow accepts optional params (4923bbb)DDoS Protection (NEW SERVICE)
New top-level service at
client.ddos_protectionfor managing Advanced TCPProtection configurations including allowlists, prefixes, SYN protection
(filters and rules), TCP flow protection (filters and rules), and protection
status.
Key methods:
ddos_protection.advanced_tcp_protection.allowlist.create/list/bulk_deleteddos_protection.advanced_tcp_protection.prefixes.create/list/bulk_create/bulk_deleteddos_protection.advanced_tcp_protection.syn_protection.filters.create/list/bulk_deleteddos_protection.advanced_tcp_protection.syn_protection.rules.create/list/bulk_deleteddos_protection.advanced_tcp_protection.tcp_flow_protection.filters.create/list/bulk_deleteddos_protection.advanced_tcp_protection.tcp_flow_protection.rules.create/list/bulk_deleteddos_protection.advanced_tcp_protection.status.edit/getEach collection also has an
.itemssub-resource for individual itemdelete,edit, andgetoperations.AI Security (NEW SERVICE)
New top-level service at
client.ai_securityfor managing zone-level AIsecurity settings and custom topics.
Methods:
ai_security.update/get-- manage AI security settings for a zoneai_security.custom_topics.update/get-- manage custom topicsAI Gateway - Billing
New
client.ai_gateway.billingsub-resource with credit balance, invoicehistory/preview, usage history, topup management, and spending limits.
R2 - Bucket Objects
New
client.r2.buckets.objectssub-resource for managing objects within R2buckets.
Methods:
r2.buckets.objects.list-- list objects in a bucket (cursor-paginated)r2.buckets.objects.delete-- delete an objectr2.buckets.objects.get-- download an object (returnsBinaryAPIResponse)r2.buckets.objects.upload-- upload an objectZero Trust - SAML Certificates and Resource Library
New sub-resources:
Access SAML Certificates (
client.zero_trust.access.saml_certificates):list,get,get_pem(returnsBinaryAPIResponse),rotateIdentity Provider SAML Certificate (
client.zero_trust.identity_providers.saml_certificate):createResource Library (
client.zero_trust.resource_library):applications.list/get-- browse resource library applicationscategories.list/get-- browse resource library categoriesChores
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions