pypi / cloudflare
cloudflare
What changed in cloudflare 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
39 breaking46 new APIs and options1 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcloudflare 586 changes
Breaking changes 39
The address-map zone delete method has been removed.
The address-map zone update method has been removed.
The method now returns SyncV4PagePaginationArray instead of SyncSinglePage; code reading page-level fields may need updating.
The ZoneDeleteResponse type has been removed.
The ZoneUpdateResponse type has been removed.
Now takes member_account_id as the positional identifier and address_map_id as a keyword argument.
Now takes member_account_id as the positional identifier and address_map_id as a keyword argument.
Resource Library application creation parameters are now a union requiring either hostnames or ip_subnets.
Unused body parameters were removed from the listed token, Address Maps, Cache Reserve, DNS, Email Routing, Access bookmarks, and Gateway certificate operations.
The cache.State type was removed.
Replaces the R2 jurisdiction request keyword and also accepts fedramp-high.
Now uses DELETE and returns Optional[Settings] instead of a page of DNS records.
Now returns an optional List[DNSRecord] rather than an envelope union.
Adds Resource Library application creation parameters requiring either hostnames or ip_subnets.
Bulk edit and update now require an id instead of a body collection.
The R2 request keyword was renamed to cf_r2_jurisdiction across the listed operations.
The legacy Override export was removed.
Device override-code listing now returns Optional[OverrideCodeListResponse].
The rules field is now required.
Rule methods now return typed paginator responses instead of object.
Per-response schema field exports were replaced by shared field types, including SourceField.
The stream.Clip, stream.Playback, and stream.Watermark types were removed.
WAF package retrieval now returns a raw string/object union.
Waiting-room, event, page-preview, status, details, and settings operations now return Optional values, so callers must handle None.
The deprecated method was removed from the issues resource.
The method now returns
Optional[PageShieldGetResponse].The method was removed from the livestreams resource.
The return type changed from
SchemaDeleteResponsetoobject.The type was replaced by
ConnectionGetResponseandConnectionListResponse.The type was removed from
cloudflare.types.magic_transit.The type was removed from
cloudflare.types.magic_transit.This type is no longer available.
This type is no longer available.
This type is no longer available.
This type is no longer available.
The type was replaced by per-method response types.
The type was removed from
cloudflare.types.schema_validation.The type was replaced by
ScriptListResponse.The type was removed from
cloudflare.types.page_shield.
New APIs and options 46
Adds R2 Data Catalog APIs for catalogs, credentials, namespaces, tables, and maintenance configs.
Adds a cache invalidation method.
Adds an environment cache invalidation method.
Adds threat signal APIs for articles, categories, feeds, indicators, search, and skills.
Adds top-level Containers APIs for applications, instances, rollouts, versions, images, and registries.
Adds a registrar transfer-check method.
Adds OCR, custom metadata, hostname filtering, and updated hybrid-search options.
Adds AI training, AI user, AI search, migration opt-out, and JavaScript detection policy fields.
Adds submitted-report listing and retrieval, including submitted email listing.
Adds APIs for entitlements, payment methods, invoice and bad-debt payments, receipts, invoices, and client secrets.
Adds billing APIs for address validation, credits, history, bad debt, unpaid invoices, rate plans, expanded profiles, and profile payment methods.
Adds top-level Field Extractors update, delete, and get methods.
Adds a restart method for Hyperdrive configs.
Adds repository, scan, and report APIs for Managed Defense vulnerability discovery.
Adds transfer-in creation and transfer status retrieval APIs.
Adds cancel-downgrade, identifier lookup, cancel reasons, actions, and bulk operations.
Gateway locations, proxy endpoints, and rules add search, filter, ordering, and direction controls; list items and PAC files add pagination controls.
Adds Access destination path overrides, infrastructure and device tags, identity-provider login options, and organization service-token inactivity settings.
Workers deployment listing adds pagination and date filters.
Adds a force option to beta worker deletion.
Adds a reusable Host alias.
Adds the Idempotency-Key account creation option.
Adds a profile_type filter for custom policy listing on devices.
Adds the standalone option to account creation.
Adds a reusable Status alias.
Adds a reusable ValidationMethod alias.
Adds K2 bindings, observability issues, asset base paths, preview configuration, and version author fields.
Now returns SyncV4PagePagination and adds page and date filters.
Added a delete method to the BGP prefixes resource.
Added a live view resource with a create method.
Added an update method to the payloads resource.
Added a batch method to the allow policies resource.
Added a content policies resource with create, list, delete, batch, edit, and get methods.
Added create, update, and batch methods to the domains resource.
Added an
edit()method to the subdomains resource.Added a suppressions resource with create, list, delete, edit, get, and import methods.
Added a transformers resource with create, update, list, delete, get, and preview methods, plus content and versions sub-resources.
Added a top-level resource for precursor configuration management with update and get methods.
Added a delete method to the R2 data catalog resource.
Added a
replace_preset_by_id()method to the presets resource.Added a protocols resource with a list method.
Added a recommendations resource with a get method.
Added an edit method to the credentials resource.
Added a reports resource with a get method.
Added create, update, and delete methods to the applications resource.
Added a NEL resource with edit and get methods.
Behavior and default changes 1
The method now returns
PageShieldUpdateResponse.