Release 5.7.0 - #2744
Merged
Merged
Conversation
Stainless-Generated-From: c1e6dd31e3913bcfd9d0ec5c050aebdeff4f1c08
Stainless-Generated-From: fc2f198a587669fe407d8c2e8e77ab5686b7aca9
feat: add API-Version header support See merge request cloudflare/sdks/cloudflare-python!2
…curring merge conflicts
Stainless-Generated-From: 5b7c04634972fbe455429a9c5403f5433846708f
Stainless-Generated-From: 8650b26d82229f7608fb73f8474a0f91d8109096
chore(terraform): update prod custom-code tracking after reseal See merge request cloudflare/sdks/api-schemas!436 Stainless-Generated-From: 64a9608e31bbc4af5ae589681f89d702a384025e
Stainless-Generated-From: 8a3e7d3018cd466696aee0b5eda5538fef2d830f
chore(typescript): reseal prod custom-code tracking after regeneration drift See merge request cloudflare/sdks/api-schemas!447 Stainless-Generated-From: 31d8342cdcc9b489d25344974bfb9866198cbdd1
…ain' chore(terraform): reseal prod custom-code tracking after image MRs See merge request cloudflare/sdks/api-schemas!450 Stainless-Generated-From: 246f0164c5f217b7b40f5429a3d6e2747dcf00f0
Stainless-Generated-From: 4f37f78f44eb30bc949f2cb7f8c686f0c20d5ee9
chore: sync custom code hashes for TS See merge request cloudflare/sdks/api-schemas!478 Stainless-Generated-From: 51c0baf5230d43b35ec399d3e548cfd57a4695eb
chore: sync custom code hashes for Python See merge request cloudflare/sdks/api-schemas!481 Stainless-Generated-From: e35766442beeb536277bf059c4c9567ffede0b1b
docs(changelog): add v5.7.0 release notes See merge request cloudflare/sdks/cloudflare-python!4
chore: bump timeouts for CI See merge request cloudflare/sdks/cloudflare-python!5
- accounts/subscriptions: add missing SyncSinglePage/AsyncSinglePage/AsyncPaginator imports and subscription_create_params; wire get() into all 4 response wrapper classes - billing/usage: remove duplicate self.paygo_info assignments that lacked pyright: ignore[reportDeprecated] suppression - aisearch/instance_list_response (x2): remove duplicate TYPE_CHECKING block in SourceParamsWebCrawler; keep the Optional[object] variant - zero_trust/casb/application_get_response: remove duplicate id field that shadowed the correct (narrower) Literal union - tests/accounts/test_subscriptions: import SyncSinglePage and AsyncSinglePage
…te wrapper - accounts/subscriptions: add create() to all 4 response wrapper classes - zero_trust/access/ai_controls/mcp/server_update_params: remove duplicate client_secret TypedDict key - zero_trust/access/ai_controls/mcp/server_create_params: remove duplicate client_secret TypedDict key - registrar/registration_create_params: remove duplicate acknowledgements TypedDict key
vaishakdinesh
approved these changes
Sep 4, 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.7.0 (2026-09-03)
Full Changelog: v5.6.0...v5.7.0
Breaking Changes
create_independent_livestream()method has been removed fromclient.realtime_kit.livestreams. TheLivestreamCreateIndependentLivestreamParamsandLivestreamCreateIndependentLivestreamResponsetypes are no longer available.dismiss()method has been removed fromclient.intel.attack_surface_report.issues. TheIssueDismissResponseandIssueDismissParamstypes are no longer available.Settingtype has been removed fromcloudflare.types.page_shield. Theget()method now returnsOptional[PageShieldGetResponse]and theupdate()method returnsPageShieldUpdateResponse. TheConnectiontype has been replaced byConnectionGetResponseandConnectionListResponse. TheScripttype has been replaced byScriptListResponse. ThePolicytype has been replaced by per-method response types.schemas.delete()method return type changed fromSchemaDeleteResponsetoobject. TheSchemaDeleteResponsetype has been removed fromcloudflare.types.schema_validation.HealthCheckParamtype has been removed fromcloudflare.types.magic_transit. TheIPSECTunnelPSKGenerateParamstype has been removed fromcloudflare.types.magic_transit.Features
client.email_security.settings.content_policiesresource withcreate(),list(),delete(),batch(),edit(), andget()methodsclient.email_sending.suppressionsresource withcreate(),list(),delete(),edit(),get(), andimport_()methods; addedit()toclient.email_sending.subdomainsclient.logpush.transformersresource withcreate(),update(),list(),delete(),get(), andpreview()methods; addclient.logpush.transformers.contentandclient.logpush.transformers.versionssub-resourcesclient.spectrum.protocolsresource withlist()methodclient.zones.nelresource withedit()andget()methodsclient.ssl.recommendationsresource withget()methodclient.user.spectrum_analytics.zones.reportsresource withget()methodclient.browser_rendering.devtools.browser.live_viewresource withcreate()methodclient.precursorresource withupdate()andget()methodsbatch()toclient.email_security.settings.allow_policies,client.email_security.settings.block_senders, andclient.email_security.settings.trusted_domains; addcreate(),update(), andbatch()toclient.email_security.settings.domainsdelete()toclient.addressing.prefixes.bgp_prefixesdelete()toclient.r2_data_catalogcreate(),update(), anddelete()toclient.zero_trust.resource_library.applicationsreplace_preset_by_id()toclient.realtime_kit.presetsupdate()toclient.content_scanning.payloadsedit()toclient.token_validation.configuration.credentialsNew Resources
Logpush Transformers (
client.logpush.transformers)create(*, account_id, **params) -> Optional[TransformerCreateResponse]update(transformer_id, *, account_id, **params) -> Optional[TransformerUpdateResponse]list(*, account_id) -> SyncSinglePage[TransformerListResponse]delete(transformer_id, *, account_id) -> Optional[TransformerDeleteResponse]get(transformer_id, *, account_id) -> Optional[TransformerGetResponse]preview(*, account_id, **params) -> SyncSinglePage[TransformerPreviewResponse]New types:
Logpush Transformer Content (
client.logpush.transformers.content)get(transformer_id, *, account_id) -> ContentGetResponseLogpush Transformer Versions (
client.logpush.transformers.versions)list(transformer_id, *, account_id, **params) -> SyncSinglePage[VersionListResponse]Email Security Content Policies (
client.email_security.settings.content_policies)create(*, account_id, **params) -> Optional[ContentPolicyCreateResponse]list(*, account_id, **params) -> SyncV4PagePaginationArray[ContentPolicyListResponse]delete(policy_id, *, account_id) -> Optional[ContentPolicyDeleteResponse]batch(*, account_id, **params) -> Optional[ContentPolicyBatchResponse]edit(policy_id, *, account_id, **params) -> Optional[ContentPolicyEditResponse]get(policy_id, *, account_id) -> Optional[ContentPolicyGetResponse]New types:
Email Sending Suppressions (
client.email_sending.suppressions)create(*, account_id, **params) -> SuppressionCreateResponselist(*, account_id, **params) -> SyncCursorPagination[SuppressionListResponse]delete(suppression_id, *, account_id) -> SuppressionDeleteResponseedit(suppression_id, *, account_id, **params) -> SuppressionEditResponseget(suppression_id, *, account_id) -> SuppressionGetResponseimport_(*, account_id, **params) -> SuppressionImportResponseNew types:
Zones NEL (
client.zones.nel)edit(*, zone_id, **params) -> Settingget(*, zone_id) -> SettingSpectrum Protocols (
client.spectrum.protocols)list(*, zone_id) -> SyncSinglePage[ProtocolListResponse]New types:
SSL Recommendations (
client.ssl.recommendations)get(*, zone_id) -> RecommendationGetResponseNew types:
User Spectrum Analytics Zone Reports (
client.user.spectrum_analytics.zones.reports)get(*, **params) -> ReportGetResponseNew types:
Browser Rendering Live View (
client.browser_rendering.devtools.browser.live_view)create(browser_session_id, *, account_id, **params) -> LiveViewCreateResponsePrecursor (
client.precursor)Top-level resource for precursor configuration management.
update(*, account_id, **params) -> Optional[PrecursorConfig]get(*, account_id) -> Optional[PrecursorConfig]New types: