Skip to content

Commit 0f089da

Browse files
RebeccaTamachiroJanik Rabemarciocloudflare
authored
[API deprecations] Add cname_flattening and default nameservers settings (#16972)
* Add cname_flattening and default nameservers setting depreactions * Update src/content/changelogs/api-deprecations.yaml Co-authored-by: marciocloudflare <[email protected]> --------- Co-authored-by: Janik Rabe <[email protected]> Co-authored-by: marciocloudflare <[email protected]>
1 parent 160405d commit 0f089da

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

src/content/changelogs/api-deprecations.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,47 @@ productLink: "/fundamentals/"
55
productArea: Core platform
66
productAreaLink: /fundamentals/reference/changelog/platform/
77
entries:
8+
- publish_date: "2025-03-21"
9+
title: "Zone Setting: cname_flattening"
10+
description: |-
11+
Deprecation date: March 21, 2025
12+
13+
The Zone Settings API endpoints for managing zone-level CNAME flattening are deprecated.
14+
Instead, use the [Show DNS Settings](/api/operations/dns-settings-for-a-zone-list-dns-settings) and [Update DNS Settings](/api/operations/dns-settings-for-a-zone-update-dns-settings) endpoints to manage this setting.
15+
16+
Changes via the old endpoints will be reflected in the new ones, and vice versa, so there is no need to migrate existing zones. However, future API calls must use DNS Settings instead of the Zone Settings endpoints.
17+
18+
Note that, with the deprecated zone setting, values `"off"` and `"apex"` have the same behavior. These are represented as `{"flatten_all_cnames": false}` in the new API.
19+
The zone setting `"on"` corresponds to `{"flatten_all_cnames": true}` in the new API.
20+
21+
Affected APIs:
22+
23+
- `GET /zones/:zone_id/settings`
24+
- `PATCH /zones/:zone_id/settings`
25+
26+
Deprecated APIs:
27+
28+
- `GET /zones/:zone_id/settings/cname_flattening`
29+
- `PATCH /zones/:zone_id/settings/cname_flattening`
30+
31+
- publish_date: "2025-03-14"
32+
title: "Account Settings: default_nameservers and use_account_custom_ns_by_default"
33+
description: |-
34+
Deprecation date: March 14, 2025
35+
36+
The fields `"default_nameservers"` and `"use_account_custom_ns_by_default"` within the `"settings"` object of accounts are deprecated.
37+
Instead, use the [Show DNS Settings](/api/operations/dns-settings-for-an-account-list-dns-settings) and [Update DNS Settings](/api/operations/dns-settings-for-an-account-update-dns-settings) endpoints to manage this setting.
38+
This setting is available in the new API as `.zone_defaults.nameservers.type`, with allowed values `"cloudflare.standard"`, `"cloudflare.standard.random"`, `"custom.account"` and `"custom.tenant"`.
39+
40+
Changes via the old endpoints will be reflected in the new ones, and vice versa, so there is no need to migrate existing zones. However, future API calls must use DNS Settings instead of the Accounts endpoints.
41+
42+
Affected APIs:
43+
44+
- `GET /accounts`
45+
- `POST /accounts`
46+
- `GET /accounts/:account_id`
47+
- `PUT /accounts/:account_id`
48+
849
- publish_date: "2025-01-15"
950
title: "Firewall Rules API and Filters API"
1051
description: |-

0 commit comments

Comments
 (0)