unstale

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 init

@unstale/cli 0.2.2 on npm

cloudflare 586 changes

Breaking changes 39

  • The address-map zone delete method has been removed.

    5.9.0release notes

  • The address-map zone update method has been removed.

    5.9.0release notes

  • The method now returns SyncV4PagePaginationArray instead of SyncSinglePage; code reading page-level fields may need updating.

    5.9.0release notes

  • The ZoneDeleteResponse type has been removed.

    5.9.0release notes

  • The ZoneUpdateResponse type has been removed.

    5.9.0release notes

  • Now takes member_account_id as the positional identifier and address_map_id as a keyword argument.

    5.8.0release notes

  • Now takes member_account_id as the positional identifier and address_map_id as a keyword argument.

    5.8.0release notes

  • Resource Library application creation parameters are now a union requiring either hostnames or ip_subnets.

    5.8.0release notes

  • Unused body parameters were removed from the listed token, Address Maps, Cache Reserve, DNS, Email Routing, Access bookmarks, and Gateway certificate operations.

    5.8.0release notes

  • The cache.State type was removed.

    5.8.0release notes

  • Replaces the R2 jurisdiction request keyword and also accepts fedramp-high.

    5.8.0release notes

  • Now uses DELETE and returns Optional[Settings] instead of a page of DNS records.

    5.8.0release notes

  • Now returns an optional List[DNSRecord] rather than an envelope union.

    5.8.0release notes

  • Adds Resource Library application creation parameters requiring either hostnames or ip_subnets.

    5.8.0release notes

  • Bulk edit and update now require an id instead of a body collection.

    5.8.0release notes

  • The R2 request keyword was renamed to cf_r2_jurisdiction across the listed operations.

    5.8.0release notes

  • The legacy Override export was removed.

    5.8.0release notes

  • Device override-code listing now returns Optional[OverrideCodeListResponse].

    5.8.0release notes

  • The rules field is now required.

    5.8.0release notes

  • Rule methods now return typed paginator responses instead of object.

    5.8.0release notes

  • Per-response schema field exports were replaced by shared field types, including SourceField.

    5.8.0release notes

  • The stream.Clip, stream.Playback, and stream.Watermark types were removed.

    5.8.0release notes

  • WAF package retrieval now returns a raw string/object union.

    5.8.0release notes

  • Waiting-room, event, page-preview, status, details, and settings operations now return Optional values, so callers must handle None.

    5.8.0release notes

  • The deprecated method was removed from the issues resource.

    5.7.0release notes

  • The method now returns Optional[PageShieldGetResponse].

    5.7.0release notes

  • The method was removed from the livestreams resource.

    5.7.0release notes

  • The return type changed from SchemaDeleteResponse to object.

    5.7.0release notes

  • The type was replaced by ConnectionGetResponse and ConnectionListResponse.

    5.7.0release notes

  • The type was removed from cloudflare.types.magic_transit.

    5.7.0release notes

  • The type was removed from cloudflare.types.magic_transit.

    5.7.0release notes

  • This type is no longer available.

    5.7.0release notes

  • This type is no longer available.

    5.7.0release notes

  • This type is no longer available.

    5.7.0release notes

  • This type is no longer available.

    5.7.0release notes

  • The type was replaced by per-method response types.

    5.7.0release notes

  • The type was removed from cloudflare.types.schema_validation.

    5.7.0release notes

  • The type was replaced by ScriptListResponse.

    5.7.0release notes

  • The type was removed from cloudflare.types.page_shield.

    5.7.0release notes

New APIs and options 46

  • Adds R2 Data Catalog APIs for catalogs, credentials, namespaces, tables, and maintenance configs.

    5.9.0release notes

  • Adds a cache invalidation method.

    5.9.0release notes

  • Adds an environment cache invalidation method.

    5.9.0release notes

  • Adds threat signal APIs for articles, categories, feeds, indicators, search, and skills.

    5.9.0release notes

  • Adds top-level Containers APIs for applications, instances, rollouts, versions, images, and registries.

    5.9.0release notes

  • Adds a registrar transfer-check method.

    5.9.0release notes

  • Adds OCR, custom metadata, hostname filtering, and updated hybrid-search options.

    5.8.0release notes

  • Adds AI training, AI user, AI search, migration opt-out, and JavaScript detection policy fields.

    5.8.0release notes

  • Adds submitted-report listing and retrieval, including submitted email listing.

    5.8.0release notes

  • Adds APIs for entitlements, payment methods, invoice and bad-debt payments, receipts, invoices, and client secrets.

    5.8.0release notes

  • Adds billing APIs for address validation, credits, history, bad debt, unpaid invoices, rate plans, expanded profiles, and profile payment methods.

    5.8.0release notes

  • Adds top-level Field Extractors update, delete, and get methods.

    5.8.0release notes

  • Adds a restart method for Hyperdrive configs.

    5.8.0release notes

  • Adds repository, scan, and report APIs for Managed Defense vulnerability discovery.

    5.8.0release notes

  • Adds transfer-in creation and transfer status retrieval APIs.

    5.8.0release notes

  • Adds cancel-downgrade, identifier lookup, cancel reasons, actions, and bulk operations.

    5.8.0release notes

  • Gateway locations, proxy endpoints, and rules add search, filter, ordering, and direction controls; list items and PAC files add pagination controls.

    5.8.0release notes

  • Adds Access destination path overrides, infrastructure and device tags, identity-provider login options, and organization service-token inactivity settings.

    5.8.0release notes

  • Workers deployment listing adds pagination and date filters.

    5.8.0release notes

  • Adds a force option to beta worker deletion.

    5.8.0release notes

  • Adds a reusable Host alias.

    5.8.0release notes

  • Adds the Idempotency-Key account creation option.

    5.8.0release notes

  • Adds a profile_type filter for custom policy listing on devices.

    5.8.0release notes

  • Adds the standalone option to account creation.

    5.8.0release notes

  • Adds a reusable Status alias.

    5.8.0release notes

  • Adds a reusable ValidationMethod alias.

    5.8.0release notes

  • Adds K2 bindings, observability issues, asset base paths, preview configuration, and version author fields.

    5.8.0release notes

  • Now returns SyncV4PagePagination and adds page and date filters.

    5.8.0release notes

  • Added a delete method to the BGP prefixes resource.

    5.7.0release notes

  • Added a live view resource with a create method.

    5.7.0release notes

  • Added an update method to the payloads resource.

    5.7.0release notes

  • Added a batch method to the allow policies resource.

    5.7.0release notes

  • Added a content policies resource with create, list, delete, batch, edit, and get methods.

    5.7.0release notes

  • Added create, update, and batch methods to the domains resource.

    5.7.0release notes

  • Added an edit() method to the subdomains resource.

    5.7.0release notes

  • Added a suppressions resource with create, list, delete, edit, get, and import methods.

    5.7.0release notes

  • Added a transformers resource with create, update, list, delete, get, and preview methods, plus content and versions sub-resources.

    5.7.0release notes

  • Added a top-level resource for precursor configuration management with update and get methods.

    5.7.0release notes

  • Added a delete method to the R2 data catalog resource.

    5.7.0release notes

  • Added a replace_preset_by_id() method to the presets resource.

    5.7.0release notes

  • Added a protocols resource with a list method.

    5.7.0release notes

  • Added a recommendations resource with a get method.

    5.7.0release notes

  • Added an edit method to the credentials resource.

    5.7.0release notes

  • Added a reports resource with a get method.

    5.7.0release notes

  • Added create, update, and delete methods to the applications resource.

    5.7.0release notes

  • Added a NEL resource with edit and get methods.

    5.7.0release notes

Behavior and default changes 1

  • The method now returns PageShieldUpdateResponse.

    5.7.0release notes