release: v5.8.0 - #2749
Merged
Merged
release: v5.8.0#2749
Conversation
Stainless-Generated-From: 50ac9cb74177f2395afcecde930d741975bdea4d
chore: reseal custom code See merge request cloudflare/sdks/api-schemas!514 Stainless-Generated-From: 37a2bccf4a617a923fa0913e81099236dbe519bf
Stainless-Generated-From: c0525ff2fdc2a32137c126a4b9344dad58545206
Stainless-Generated-From: e93470c9377b1482e2df66912e16fd2c2f7f3aad
chore: reseal custom code See merge request cloudflare/sdks/api-schemas!535 Stainless-Generated-From: d4c7265ed13024eb87d8e5a3099775f7d20acc1e
Stainless-Generated-From: f330bd8f39f90ce7134de2ac66715029354d92b4
chore: reseal custom code See merge request cloudflare/sdks/api-schemas!536 Stainless-Generated-From: 0a027ae0ddb27d6bd663e70aac9bee99ff34e778
chore(terraform): update custom code hashes See merge request cloudflare/sdks/api-schemas!537 Stainless-Generated-From: d3a740c0e4577f0462224057e853cc9ce398c325
Stainless-Generated-From: f6c4d594c7c74d631a41109f5fea295eb35eb5d4
release: v5.8.0 See merge request cloudflare/sdks/cloudflare-python!6
mgirouard
approved these changes
Sep 25, 2026
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.
Changelog
5.8.0 (2026-09-25)
Full Changelog: v5.7.0...v5.8.0
This release adds Managed Defense vulnerability discovery, Field Extractors, billing and subscription APIs, Magic
Transit BGP filter profiles, registrar transfer APIs, Zero Trust posture policies, and zone observability tracing.
It also includes generated signature and response-model corrections. Review the breaking changes before upgrading.
See the v5.8.0 Migration Guide for upgrade examples.
Breaking Changes
client.addressing.address_maps.accounts.update()anddelete()now takemember_account_idas the positional identifier andaddress_map_idas a keyword argument.bodyparameters were removed from token value updates, Address Maps IP and zoneupdates, Cache Reserve clear, DNS scan and zone transfer actions, Email Routing enable/disable, Access bookmarks,
and Gateway certificate activation/deactivation.
jurisdictionwas renamed tocf_r2_jurisdictionacross bucket, object, domain,lifecycle, lock, CORS, event-notification, and Sippy operations. The new keyword also accepts
fedramp-high.None. TheOverride,OverrideDeleteResponse,RateLimit,RateLimitDeleteResponse,WAFRule, andRewriteActionexports wereremoved. Firewall bulk edit/update now require an
idinstead of abodycollection, and WAF package retrievalnow returns a raw string/object union.
RuleUpdateParams.rulesis now required.corrected operation-specific or shared response types. mTLS certificate
list(),delete(), andget()now usethe shared
MTLSCertificatetype;create()still returnsOptional[MTLSCertificateCreateResponse]. Hyperdrivecreate parameters are now origin/integration variants, replacing direct
Origin,Caching, andMTLShelperimports.
SyncV4PagePaginationand adds page/date filters; Gatewaylist items and PAC files now return
SyncV4PagePaginationArrayand add page controls; device override-codelisting now returns
Optional[OverrideCodeListResponse].client.email_routing.dns.delete()now usesDELETEand returnsOptional[Settings]insteadof a page of DNS records.
dns.get()is now optional and returnsList[DNSRecord]rather than an envelope union.Optional[...]; callers must handleNone.either
urlorhtml. Session endpoints such asdevtools.browser.create()are unaffected. NestedViewport,Cookie, andPDFOptionsimports moved under generated variant types.SourceField,SourceFieldParam,ListField,ListFieldParam,StructField, andStructFieldParamtypes.ApplicationCreateParamsfor Resource Library applications is now a union requiring eitherhostnamesorip_subnets. Access Browser RDP and Infrastructuretarget_attributesresponse fields are nowoptional.
BlockRuletoRuleBlockRule,CompressResponseRuletoRuleResponseCompressionRule, andSetConfigRuletoRuleSetConfigurationRule;several response rule fields are now required.
type, and Workers domainenvironmentare nowrequired.
primaryor
site_id.SKIPPED, message status no longer includesDISCOVERING, and bulk responses add required cancellation/skip counts.OktaorWorkday.created_at, selected billing usage fields, and Workers observabilityrequest_idfields are now optional.date/datetimeandintinstead of
strandfloat; session participantper_pageis now anint.messages/errors now use shared
ResponseInfoentries.stream.Clip,stream.Playback,stream.Watermark, andcache.Statewere removed, along withnested types from the removed legacy rate-limit models.
Features
client.managed_defense.vulnerability_discoverywith repository, scan, and report APIsclient.field_extractorswithupdate(),delete(), andget()methodssecret APIs
and profile payment methods
client.hyperdrive.configs.restart()forceto beta worker deletion and pagination/date filters to deployment listingrules; add pagination controls to Gateway list items and PAC files
profile_typefilter for custom policy listingobjectHost,Status, andValidationMethodaliasesstandaloneandIdempotency-Keyaccount creation optionsfields
and organization service-token inactivity settings
transfer_pending; Waiting Rooms Latvian locale; zone upload limits through 5000; Queues jurisdiction; AI GatewayBYOK-only mode; Logpush attack-traffic filtering; Resource Tagging CWS variants; and Rulesets WebMCP settings
New Resources
Managed Defense Vulnerability Discovery (
client.managed_defense.vulnerability_discovery)repositories.create(),repositories.list(), andrepositories.get()scans.create(),scans.list(),scans.get(), andscans.get_report()reports.get()Field Extractors (
client.field_extractors)update()delete()get()Magic Transit BGP Filter Profiles (
client.magic_transit.bgp_filter_profiles)create(),update(),list(),delete(), andget()Zero Trust CASB Posture Policies (
client.zero_trust.casb.posture.policies)create(),update(),list(),delete(), andget()Zone Observability Tracing (
client.zones.observability.tracing)settings.update(),settings.delete(), andsettings.get()rules.update(),rules.delete(), andrules.get()