From abc91cad2a5a30142fb9fc0261192d96bab72b7c Mon Sep 17 00:00:00 2001 From: adssib <75389300+adssib@users.noreply.github.com> Date: Fri, 20 Nov 2026 21:05:18 -0500 Subject: [PATCH 1/2] add the cloudflare sdk and terraform changelog sources Co-Authored-By: Claude Opus 5.5 Signed-off-by: adssib <75389300+adssib@users.noreply.github.com> --- plugins/changelog/cloudflare.go | 30 ++ plugins/changelog/cloudflare_test.go | 12 + plugins/changelog/testdata/README.md | 4 + .../cloudflare-go-7.15.0-CHANGELOG.md | 49 +++ .../cloudflare-python-5.6.0-CHANGELOG.md | 246 ++++++++++++++ .../cloudflare-terraform-5.29.0-CHANGELOG.md | 86 +++++ .../cloudflare-typescript-7.2.0-CHANGELOG.md | 307 ++++++++++++++++++ .../testdata/golden/cloudflare-go.json | 27 ++ .../testdata/golden/cloudflare-python.json | 173 ++++++++++ .../testdata/golden/cloudflare-terraform.json | 26 ++ .../golden/cloudflare-typescript.json | 271 ++++++++++++++++ providers/cloudflare-sdks.md | 35 ++ 12 files changed, 1266 insertions(+) create mode 100644 plugins/changelog/cloudflare.go create mode 100644 plugins/changelog/cloudflare_test.go create mode 100644 plugins/changelog/testdata/cloudflare-go-7.15.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/cloudflare-python-5.6.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/cloudflare-terraform-5.29.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/cloudflare-typescript-7.2.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/golden/cloudflare-go.json create mode 100644 plugins/changelog/testdata/golden/cloudflare-python.json create mode 100644 plugins/changelog/testdata/golden/cloudflare-terraform.json create mode 100644 plugins/changelog/testdata/golden/cloudflare-typescript.json create mode 100644 providers/cloudflare-sdks.md diff --git a/plugins/changelog/cloudflare.go b/plugins/changelog/cloudflare.go new file mode 100644 index 0000000..8961db4 --- /dev/null +++ b/plugins/changelog/cloudflare.go @@ -0,0 +1,30 @@ +package changelog + +import "github.com/patch-it-dev/patch-it-plugins/core/plugin" + +func init() { + const page = "providers/cloudflare-sdks.md" + plugin.RegisterProvider(plugin.Provider{ + ID: "cloudflare", Name: "Cloudflare", Category: plugin.CategoryInfrastructure, Homepage: "https://www.cloudflare.com", + Sources: []plugin.Source{ + sdk(page, "typescript", CloudflareTypeScript, "npm:cloudflare"), + sdk(page, "python", CloudflarePython, "pypi:cloudflare"), + sdk(page, "go", CloudflareGo, "go:github.com/cloudflare/cloudflare-go/v7"), + sdk(page, "terraform", CloudflareTerraform), + }, + }) +} + +// Cloudflare's Stainless SDKs and its Terraform provider: release-please +// CHANGELOG.md, "## X.Y.Z (date)" with "### ⚠ BREAKING CHANGES" and bullets +// that start with an area ("**accounts:** ..."); tagged vX.Y.Z. +var ( + CloudflareTypeScript = File{API: "cloudflare/typescript", Package: "cloudflare", Ecosystem: "npm", + Repo: "cloudflare/cloudflare-typescript", TagPrefix: "v", Path: "CHANGELOG.md"} + CloudflarePython = File{API: "cloudflare/python", Package: "cloudflare", Ecosystem: "pypi", Module: "cloudflare", + Repo: "cloudflare/cloudflare-python", TagPrefix: "v", Path: "CHANGELOG.md"} + CloudflareGo = File{API: "cloudflare/go", Package: "github.com/cloudflare/cloudflare-go", Ecosystem: "go", + Repo: "cloudflare/cloudflare-go", TagPrefix: "v", Path: "CHANGELOG.md"} + CloudflareTerraform = File{API: "cloudflare/terraform", Package: "cloudflare/cloudflare", Ecosystem: "terraform", + Repo: "cloudflare/terraform-provider-cloudflare", TagPrefix: "v", Path: "CHANGELOG.md"} +) diff --git a/plugins/changelog/cloudflare_test.go b/plugins/changelog/cloudflare_test.go new file mode 100644 index 0000000..8781dba --- /dev/null +++ b/plugins/changelog/cloudflare_test.go @@ -0,0 +1,12 @@ +package changelog + +import "testing" + +func TestCloudflareSDKs(t *testing.T) { + checkSDKs(t, []sdkCase{ + {CloudflareTypeScript, "7.2.0", "7.1.0", "cloudflare-typescript-7.2.0-CHANGELOG.md", "", "6.5.0"}, + {CloudflarePython, "5.6.0", "5.5.0", "cloudflare-python-5.6.0-CHANGELOG.md", "", "5.4.0"}, + {CloudflareGo, "7.15.0", "7.14.0", "cloudflare-go-7.15.0-CHANGELOG.md", "", "7.13.1"}, + {CloudflareTerraform, "5.29.0", "5.28.1", "cloudflare-terraform-5.29.0-CHANGELOG.md", "", "5.28.1"}, + }) +} diff --git a/plugins/changelog/testdata/README.md b/plugins/changelog/testdata/README.md index 9674235..d674daf 100644 --- a/plugins/changelog/testdata/README.md +++ b/plugins/changelog/testdata/README.md @@ -26,6 +26,10 @@ Read with `Plugin{File: ...}` (`sdks.go`); `golden/-.json` is | `sentry-javascript-changelog-10.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/getsentry/sentry-javascript/10.0.0/CHANGELOG.md | `19f754a` | 2026-11-20 | MIT (sentry-javascript); trimmed to the sections of 10.0.0 (the golden) and 9.40.0 (the drop test), each unchanged | "feat(core)!: Remove `BaseClient` ([#17071](https://github.com/getsentry/sentry-javascript/pull/17071))" | | `sentry-go-0.31.0-CHANGELOG.md` | https://raw.githubusercontent.com/getsentry/sentry-go/v0.31.0/CHANGELOG.md | `17ceb6c` | 2026-11-20 | MIT (sentry-go); trimmed to the sections of 0.31.0 (the golden) and 0.30.0 (the drop test), each unchanged | "Remove `Segment` field from the `User` struct. This field is no longer used in the Sentry product. ([#928](https://gi…" | | `sentry-dotnet-4.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/getsentry/sentry-dotnet/4.0.0/CHANGELOG.md | `d4d8af5` | 2026-11-20 | MIT (sentry-dotnet); trimmed to the sections of 4.0.0 (the golden) and 3.41.4 (the drop test), each unchanged | "`ITransaction` has been renamed to `ITransactionTracer`. You will need to update any references to these interfaces i…" | +| `cloudflare-typescript-7.2.0-CHANGELOG.md` | https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md | `5ba0c3d` | 2026-11-20 | Apache-2.0 (cloudflare-typescript); trimmed to the sections of 7.2.0 (the golden) and 6.5.0 (the drop test), each unchanged | "`accounts.tokens.value.update()`" | +| `cloudflare-python-5.6.0-CHANGELOG.md` | https://raw.githubusercontent.com/cloudflare/cloudflare-python/v5.6.0/CHANGELOG.md | `02ab9a9` | 2026-11-20 | Apache-2.0 (cloudflare-python); trimmed to the sections of 5.6.0 (the golden) and 5.4.0 (the drop test), each unchanged | "accounts:** The `create()` and `get()` methods have been removed from `client.accounts.subscriptions`. The `Subscript…" | +| `cloudflare-go-7.15.0-CHANGELOG.md` | https://raw.githubusercontent.com/cloudflare/cloudflare-go/v7.15.0/CHANGELOG.md | `d2f77a0` | 2026-11-20 | Apache-2.0 (cloudflare-go); trimmed to the sections of 7.15.0 (the golden) and 7.13.1 (the drop test), each unchanged | "rules:** the `ListCursor` and `ListCursorParam` types are removed." | +| `cloudflare-terraform-5.29.0-CHANGELOG.md` | https://raw.githubusercontent.com/cloudflare/terraform-provider-cloudflare/v5.29.0/CHANGELOG.md | `8e7a366` | 2026-11-20 | Apache-2.0 (terraform-provider-cloudflare); trimmed to the sections of 5.29.0 (the golden) and 5.28.1 (the drop test), each unchanged | "zone_dns_settings, account_dns_settings:** the deprecated `foundation_dns` attribute has been removed. On `cloudflare…" | ## Version lists diff --git a/plugins/changelog/testdata/cloudflare-go-7.15.0-CHANGELOG.md b/plugins/changelog/testdata/cloudflare-go-7.15.0-CHANGELOG.md new file mode 100644 index 0000000..a91afa1 --- /dev/null +++ b/plugins/changelog/testdata/cloudflare-go-7.15.0-CHANGELOG.md @@ -0,0 +1,49 @@ +## 7.15.0 (2026-11-06) + +Full Changelog: [v7.14.0...v7.15.0](https://github.com/cloudflare/cloudflare-go/compare/v7.14.0...v7.15.0) + +### Breaking Changes + +See the [v7.15.0 Migration Guide](./docs/migration-guides/v7.15.0-migration-guide.md) for before/after code examples +and actions needed for each change. + +* **accounts:** the `Type` field is removed from `AccountUpdateParams`, along with the `AccountUpdateParamsType` + enum (`standard`, `enterprise`). `Accounts.Update()` no longer accepts a `type`. +* **ssl:** `CertificatePacks.New()` response is simplified. `CertificatePackNewResponse` drops its `Certificates`, + `DCVDelegationRecords`, `ValidationErrors`, and `ValidationRecords` fields, and the nested + `CertificatePackNewResponseCertificate`, `CertificatePackNewResponseCertificatesGeoRestrictions`, + `CertificatePackNewResponseCertificatesGeoRestrictionsLabel`, `CertificatePackNewResponseDCVDelegationRecord`, + `CertificatePackNewResponseValidationError`, and `CertificatePackNewResponseValidationRecord` types are removed. +* **rules:** the `ListCursor` and `ListCursorParam` types are removed. +* **tenants:** `Accounts.List()` return type changed from `*pagination.V4PagePaginationArray[AccountListResponse]` + to `*pagination.SinglePage[AccountListResponse]`. The endpoint no longer uses page-based pagination. + +### Features + +* **workers:** add `Observability.Agents.Traces` sub-resource with `List()`, `Events()`, and `Get()` + (`/accounts/{account_id}/workers/observability/agents/traces`) +* **workers:** add `Observability.Issues` sub-resource with `Update()`, `List()`, `Add()`, `Get()`, `Group()`, + `Notify()`, `Occurrences()`, `Remove()`, `Summary()`, and `Ungroup()`, plus the nested `Issues.Automations` + sub-resource with `New()`, `Update()`, `List()`, `Delete()`, and `Get()` + (`/accounts/{account_id}/workers/observability/issues`) +* **zero_trust:** add `Organizations.TrustSettings` sub-resource with `Update()`, `Delete()`, `Get()`, and `Replace()` + (`/accounts/{account_id}/access/organizations/trust_settings`) +* **zones:** add `OhttpGateway` sub-resource with `New()`, `Delete()`, and `Get()` + (`/zones/{zone_id}/settings/ohttp-gateway`) +* **realtime_kit:** add `Livestreams.GetAppByID()`, `UpdateAppByID()`, `ReplaceParticipant()`, + `RevokeParticipantToken()`, `GetAllWebhooks()`, `MuteAllParticipants()`, `MuteParticipants()`, + `GetLivestreamSessionDetailsForMeeting()`, and `GetLivestreamSessionsForSession()` methods + +## 7.13.1 (2026-10-20) + +Full Changelog: [v7.13.0...v7.13.1](https://github.com/cloudflare/cloudflare-go/compare/v7.13.0...v7.13.1) + +Users are encouraged to build with the latest Go patch release. Rebuild your application with Go >= 1.26.10 or >= 1.27.3. +This library sets no TLS trust policy of its own — trust is resolved by `crypto/x509` in the toolchain that +compiles your binary, so the minimum-version change above does not itself provide this fix. Note that Go +caches the system certificate pool per process, so a restart is required after updating any trust store. + +### Changes + +* The minimum supported Go version is raised from 1.22 to 1.26. Go 1.25 and earlier are no longer supported. + Projects whose own `go.mod` declares a lower version will need to raise it to build against this release. diff --git a/plugins/changelog/testdata/cloudflare-python-5.6.0-CHANGELOG.md b/plugins/changelog/testdata/cloudflare-python-5.6.0-CHANGELOG.md new file mode 100644 index 0000000..ae8a4bb --- /dev/null +++ b/plugins/changelog/testdata/cloudflare-python-5.6.0-CHANGELOG.md @@ -0,0 +1,246 @@ +## 5.6.0 (2026-07-22) + +Full Changelog: [v5.5.0...v5.6.0](https://github.com/cloudflare/cloudflare-python/compare/v5.5.0...v5.6.0) + +### Breaking Changes + +* **accounts:** The `create()` and `get()` methods have been removed from `client.accounts.subscriptions`. The `SubscriptionCreateParams` type is no longer available. +* **acm:** The `CertificateAuthority` type has been removed from `cloudflare.types.acm`. +* **certificate_authorities:** The `HostnameAssociation` type has been removed from `cloudflare.types.certificate_authorities`. +* **cloudforce_one:** The `indicator_types` sub-resource has been removed from `client.cloudforce_one.threat_events`. Use the new `client.cloudforce_one.threat_events.indicators.types` resource instead. +* **hyperdrive:** The pagination type for `client.hyperdrive.configs.list()` changed from `SyncSinglePage` to `SyncV4PagePaginationArray`. Code that relied on single-page iteration semantics may need adjustment. +* **load_balancers:** All methods on `client.load_balancers` now use a polymorphic `/{account_or_zone}/{account_or_zone_id}/load_balancers` endpoint pattern instead of the previous `/zones/{zone_id}/load_balancers`. Method signatures now accept either `account_id` or `zone_id`. +* **moq:** The `rotate()` method and `TokenRotateResponse` type have been removed from `client.moq.relays.tokens`. Use the new `create()`, `list()`, and `delete()` methods instead. +* **mtls_certificates:** The `MTLSCertificate` type has been replaced with `MTLSCertificateGetResponse`, `MTLSCertificateListResponse`, and `MTLSCertificateDeleteResponse`. The return types of `list()`, `delete()`, and `get()` have changed accordingly. +* **custom_certificates:** The `Status` type has been removed from `cloudflare.types.custom_certificates`. +* **ssl:** The `Host`, `Status`, and `ValidationMethod` types have been removed from `cloudflare.types.ssl`. The `hosts` parameter on `client.ssl.certificate_packs.create()` changed from `SequenceNotStr[Host]` to `SequenceNotStr[str]`. +* **zero_trust:** The `setup_flows` sub-resource has been removed from `client.zero_trust.casb.applications`. The `get()` method endpoint changed from `/accounts/{account_id}/one/applications/{slug}` to `/accounts/{account_id}/one/applications/{application_id}`. + +### Features + +* **analytics_query:** add analytics_query resource with `summary()`, `timeseries()`, and `top_n()` methods, plus `data_security.content_findings` and `data_security.findings` sub-resources ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f)) +* **ai_audit:** add `client.ai_audit.robots` resource with `bulk_get()` and `get()` methods ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f)) +* **cloudforce_one:** add extensive threat_events sub-resources: `aggregate`, `graphql`, `graph`, `queries`, `relationships`, `indicators` (with `aggregate`, `types`, `by_dataset`), `tags` (with `categories`, `indicators`), `target_industries`, `categories`, and `datasets` ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f)) +* **magic_transit:** add `client.magic_transit.connectors.interrupts` resource with `create()` and `list()` methods ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f)) +* **moq:** add `create()`, `list()`, and `delete()` methods to `client.moq.relays.tokens` ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f)) +* **registrar_sandbox:** add registrar_sandbox resource with `check()`, `search()`, and sub-resources for `registrations`, `registration_status`, and `update_status` ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f)) +* **zero_trust:** add `client.zero_trust.casb.applications.auth_methods` resource with `list()` method ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f)) +* **zero_trust:** add comprehensive CASB posture management: `client.zero_trust.casb.posture` with sub-resources for `findings` (list, export, ignore, unignore, tune/reset severity), `finding_types`, `content`, `exports`, `remediations`, and `webhooks` ([7245164](https://github.com/cloudflare/cloudflare-python/commit/72451646f)) + +#### New Resources + +**AIAudit Robots** (`client.ai_audit.robots`) + +- `bulk_get(*, zone_id, **params) -> Optional[RobotBulkGetResponse]` +- `get(*, zone_id, **params) -> Optional[RobotGetResponse]` + +New types: +```python +from cloudflare.types.ai_audit import RobotBulkGetResponse, RobotGetResponse +``` + +**MagicTransit Connector Interrupts** (`client.magic_transit.connectors.interrupts`) + +- `create(connector_id, *, account_id, **params) -> InterruptCreateResponse` +- `list(connector_id, *, account_id) -> SyncSinglePage[InterruptListResponse]` + +New types: +```python +from cloudflare.types.magic_transit.connectors import ( + InterruptCreateResponse, + InterruptListResponse, +) +``` + +**CASB Application Auth Methods** (`client.zero_trust.casb.applications.auth_methods`) + +- `list(application_id, *, account_id) -> AuthMethodListResponse` + +New types: +```python +from cloudflare.types.zero_trust.casb.applications import AuthMethodListResponse +``` + +**MoQ Relay Tokens** (`client.moq.relays.tokens`) + +- `create(relay_id, *, account_id, **params) -> Optional[TokenCreateResponse]` +- `list(relay_id, *, account_id) -> Optional[TokenListResponse]` +- `delete(jti, *, account_id, relay_id) -> TokenDeleteResponse` + +New types: +```python +from cloudflare.types.moq.relays import ( + TokenCreateResponse, + TokenListResponse, + TokenDeleteResponse, +) +``` + +**CloudforceOne ThreatEvents Sub-Resources** (`client.cloudforce_one.threat_events`) + +The following sub-resources were added under `client.cloudforce_one.threat_events`: + +- `aggregate` +- `graphql` +- `graph` +- `queries` +- `relationships` +- `indicators` (with `aggregate`, `types`, `by_dataset` sub-resources) +- `tags` (with `categories`, `indicators` sub-resources) +- `target_industries` +- `categories` +- `datasets` + +**AnalyticsQuery** (`client.analytics_query`) + +Query analytics data across datasets with summary, timeseries, and top-N aggregations. + +- `summary(dataset, *, account_id, **params) -> AnalyticsQuerySummaryResponse` +- `timeseries(dataset, *, account_id, **params) -> AnalyticsQueryTimeseriesResponse` +- `top_n(dataset, *, account_id, **params) -> SyncSinglePage[AnalyticsQueryTopNResponse]` + +New types: +```python +from cloudflare.types import ( + AnalyticsQuerySummaryResponse, + AnalyticsQueryTimeseriesResponse, + AnalyticsQueryTopNResponse, +) +``` + +**DataSecurity ContentFindings** (`client.analytics_query.data_security.content_findings`) + +- `top_n(*, account_id, **params) -> SyncSinglePage[ContentFindingTopNResponse]` + +**DataSecurity Findings** (`client.analytics_query.data_security.findings`) + +- `summary(*, account_id, **params) -> FindingSummaryResponse` +- `timeseries(*, account_id, **params) -> FindingTimeseriesResponse` + +**RegistrarSandbox** (`client.registrar_sandbox`) + +Sandbox environment for domain registration operations. + +- `check(*, account_id, **params) -> RegistrarSandboxCheckResponse` +- `search(*, account_id, **params) -> RegistrarSandboxSearchResponse` + +**Registrations** (`client.registrar_sandbox.registrations`) + +- `create(*, account_id, **params) -> RegistrationCreateResponse` +- `list(*, account_id, **params) -> SyncCursorPagination[RegistrationListResponse]` +- `edit(domain_id, *, account_id, **params) -> RegistrationEditResponse` +- `get(domain_id, *, account_id) -> RegistrationGetResponse` + +**RegistrationStatus** (`client.registrar_sandbox.registration_status`) + +- `get(domain_name, *, account_id) -> RegistrationStatusGetResponse` + +New types: +```python +from cloudflare.types.registrar_sandbox import RegistrationStatusGetResponse +``` + +**UpdateStatus** (`client.registrar_sandbox.update_status`) + +- `get(domain_name, *, account_id) -> UpdateStatusGetResponse` + +New types: +```python +from cloudflare.types.registrar_sandbox import UpdateStatusGetResponse +``` + +**CASB Posture** (`client.zero_trust.casb.posture`) + +Full CASB posture management with findings, remediation, and webhook support. + +- `posture.findings.list(*, account_id, **params) -> SyncV4PagePaginationArray[FindingListResponse]` +- `posture.findings.export(*, account_id, **params) -> Optional[FindingExportResponse]` +- `posture.findings.get(finding_id, *, account_id) -> Optional[FindingGetResponse]` +- `posture.findings.ignore(*, account_id, **params) -> Optional[FindingIgnoreResponse]` +- `posture.findings.unignore(*, account_id, **params) -> Optional[FindingUnignoreResponse]` +- `posture.findings.tune_severity(finding_id, *, account_id, **params) -> Optional[FindingTuneSeverityResponse]` +- `posture.findings.reset_severity(finding_id, *, account_id) -> Optional[FindingResetSeverityResponse]` +- `posture.findings.instances.list(*, account_id, **params) -> SyncV4PagePaginationArray[InstanceListResponse]` +- `posture.webhooks.create(*, account_id, **params) -> WebhookCreateResponse` +- `posture.webhooks.list(*, account_id) -> SyncSinglePage[WebhookListResponse]` +- `posture.remediations.jobs.create(*, account_id, **params) -> JobCreateResponse` +- `posture.remediations.jobs.list(*, account_id, **params) -> SyncV4PagePaginationArray[JobListResponse]` + +New types: +```python +from cloudflare.types.zero_trust.casb.posture import ( + FindingListResponse, + FindingExportResponse, + FindingGetResponse, + FindingIgnoreResponse, + FindingUnignoreResponse, + FindingTuneSeverityResponse, + FindingResetSeverityResponse, +) +``` + +**FindingTypes** (`client.zero_trust.casb.posture.finding_types`) + +- `list(*, account_id, **params) -> SyncV4PagePaginationArray[FindingTypeListResponse]` +- `get(finding_type_id, *, account_id) -> Optional[FindingTypeGetResponse]` + +New types: +```python +from cloudflare.types.zero_trust.casb.posture import ( + FindingTypeListResponse, + FindingTypeGetResponse, +) +``` + +**Content** (`client.zero_trust.casb.posture.content`) + +- `list(*, account_id, **params) -> SyncV4PagePaginationArray[ContentListResponse]` +- `export(*, account_id, **params) -> Optional[ContentExportResponse]` + +New types: +```python +from cloudflare.types.zero_trust.casb.posture import ( + ContentListResponse, + ContentExportResponse, +) +``` + +**Exports** (`client.zero_trust.casb.posture.exports`) + +- `list(*, account_id, **params) -> SyncV4PagePaginationArray[ExportListResponse]` +- `get(id, *, account_id) -> Optional[ExportGetResponse]` + +New types: +```python +from cloudflare.types.zero_trust.casb.posture import ( + ExportListResponse, + ExportGetResponse, +) +``` + +## 5.4.0 (2026-06-16) + +Full Changelog: [v5.3.0...v5.4.0](https://github.com/cloudflare/cloudflare-python/compare/v5.3.0...v5.4.0) + +### Features + +* feat(ai_gateway): add custom_providers resource ([b982ff3](https://github.com/cloudflare/cloudflare-python/commit/b982ff391eab267ef16c719d0fc798d970292ed2)) +* feat(api): map ipsec_tunnels/psk, sites/app_policies and cf1_sites for magic-on-ramps ([5d8e422](https://github.com/cloudflare/cloudflare-python/commit/5d8e422736d8e044d2c73065cbb8595573b2656d)) +* feat(ct_alerter): add CT alerting subscription endpoint mappings ([5bb529c](https://github.com/cloudflare/cloudflare-python/commit/5bb529c2eabe4ce0c23cddbf8073c6a025dc3024)) +* feat(tenants): add tenants resource SDK mapping [PT-2567] ([7677b4c](https://github.com/cloudflare/cloudflare-python/commit/7677b4c9566495b627b2cd90c9220268f9c6c46d)) + + +### Chores + +* **api:** update composite API spec ([2b0e738](https://github.com/cloudflare/cloudflare-python/commit/2b0e7388107c4110489484c2b38d4d9295b15af2)) +* **api:** update composite API spec ([c7202c9](https://github.com/cloudflare/cloudflare-python/commit/c7202c9f9215a179b17362439c59b2e99566ab40)) +* **api:** update composite API spec ([f94e4de](https://github.com/cloudflare/cloudflare-python/commit/f94e4de91421e736243f75eee987c888f06d8f0b)) +* **api:** update composite API spec ([656f973](https://github.com/cloudflare/cloudflare-python/commit/656f97390d51da3e224e67f2305d6d46f7ae239a)) +* **api:** update composite API spec ([05e802d](https://github.com/cloudflare/cloudflare-python/commit/05e802d1940e1b0bfe59a25c388b83f53edd238e)) +* **api:** update composite API spec ([3817b57](https://github.com/cloudflare/cloudflare-python/commit/3817b571d02b2d23f087bbdb574853632d0bc1db)) +* **api:** update composite API spec ([3e26c73](https://github.com/cloudflare/cloudflare-python/commit/3e26c739c29586ab33e05bb4dc6673d06748d013)) +* **api:** update composite API spec ([0ff89f9](https://github.com/cloudflare/cloudflare-python/commit/0ff89f99ddfbaf078d3b20eada5fd2bc4139fc65)) +* **api:** update composite API spec ([eeec39a](https://github.com/cloudflare/cloudflare-python/commit/eeec39a7ab478625ead7a1e6276c1c258ff574fd)) +* **api:** update composite API spec ([45260b9](https://github.com/cloudflare/cloudflare-python/commit/45260b91f48ed30eb69f1ecd184f245b03a59146)) +* **api:** update composite API spec ([72eb205](https://github.com/cloudflare/cloudflare-python/commit/72eb20551c18d2cae3dfbef960a12ff22b4a7de7)) +* **internal:** codegen related update ([86bdf98](https://github.com/cloudflare/cloudflare-python/commit/86bdf981e37d4b028f4e555d7e0b1e76324f23b3)) diff --git a/plugins/changelog/testdata/cloudflare-terraform-5.29.0-CHANGELOG.md b/plugins/changelog/testdata/cloudflare-terraform-5.29.0-CHANGELOG.md new file mode 100644 index 0000000..de5b1b1 --- /dev/null +++ b/plugins/changelog/testdata/cloudflare-terraform-5.29.0-CHANGELOG.md @@ -0,0 +1,86 @@ +## 5.29.0 (2026-11-10) + +Full Changelog: [v5.28.1...v5.29.0](https://github.com/cloudflare/terraform-provider-cloudflare/compare/v5.28.1...v5.29.0) + +### ⚠ BREAKING CHANGES + +- **zone_dns_settings, account_dns_settings:** the deprecated `foundation_dns` attribute has been removed. On `cloudflare_zone_dns_settings` a configuration that still sets it now fails with an "Unsupported argument" error; remove it and use `nameservers.type` (`cloudflare.advanced` to enable Advanced Nameservers, `cloudflare.standard` to disable). On `cloudflare_account_dns_settings` the field lived inside the nested `zone_defaults` object and is dropped silently on upgrade. No state upgrader is required. +- **zero_trust_gateway_policy:** the `rule_settings.audit_ssh` block has been removed; the Audit SSH action is no longer offered. Remove `audit_ssh` from any policy configuration. An automatic state migration drops a previously stored `audit_ssh` value. +- **worker_version:** the Durable Object binding `retry` block (`retry.max_attempts`, `retry.timeout_ms`) has been removed from the `cloudflare_worker_version` resource and `cloudflare_worker_versions` data source, following its removal from the API. Remove it from any configuration. +- **zero_trust_access_application, zero_trust_access_policy:** the MFA authenticator value `ssh_piv_key` has been replaced. Use `piv_key` for PIV smart cards and the new `ssh_fido2_key` for FIDO2 SSH authenticators. +- **precursor:** `default_mode` has been renamed to `mode` and `enforcement_rules` to `rules`, and the enforcement enum values `min-friction` and `max-security` are replaced by `off`, `monitor`, and `arm`. The import ID is now `/` instead of ``. Rename the arguments, update any enum values and expressions, and adjust `terraform import` commands. +- **ai_search_instance:** the import ID is now `//` instead of `/`. Update any `terraform import` commands to include the namespace. +- **organization:** the `profile` and `parent` attributes now force replacement — changing either destroys and recreates the organization. Review plans before applying. +- **share_recipient:** the `organization_id` attribute has been removed; configurations that still set it now fail with an "Unsupported argument" error. Remove it. + +### Notes + +- **cloudflare-go:** the Go SDK dependency is updated to v7.15.0. +- **zero_trust_access_policy:** the computed `app_count` attribute has been removed from the resource because it changes outside Terraform and produced perpetual diffs. The attribute remains available on the `cloudflare_zero_trust_access_policy` data source and list data source; update any expressions that referenced `cloudflare_zero_trust_access_policy..app_count`. + +### Features + +#### New Resources + +- **cloudflare_ai_security:** manage AI Security for Apps on a zone. +- **cloudflare_ai_security_custom_topics:** manage custom topic categories for AI Security content detection on a zone. +- **cloudflare_log_explorer_dataset:** manage a Log Explorer dataset for an account or zone, with optional field selection and filtering. Supports `terraform import`. +- **cloudflare_zero_trust_casb_finding_type:** manage a custom CASB finding type, including its asset class, vendor, and Rego detection expression. Supports `terraform import`. +- **cloudflare_zero_trust_dlp_proximity_validator:** manage a DLP proximity validator that raises match confidence using a keyword list. Supports `terraform import`. +- **cloudflare_zero_trust_organization_trust_settings:** manage cross-account Access trust for an organization, granting trust to all accounts or a specified set. Supports `terraform import`. +- **cloudflare_zero_trust_cws_basic_auth_credential, cloudflare_zero_trust_cws_basic_auth_secret, cloudflare_zero_trust_cws_deployment, cloudflare_zero_trust_cws_domain_acl, cloudflare_zero_trust_cws_policy, cloudflare_zero_trust_cws_policy_set, cloudflare_zero_trust_cws_rego_metadata, cloudflare_zero_trust_cws_rego_module, cloudflare_zero_trust_cws_tenant_structure, cloudflare_zero_trust_cws_tenant_structure_node, cloudflare_zero_trust_cws_workload:** manage CWS deployments, policy sets and Rego policies, domain ACLs, basic-auth credentials and secrets, tenant structures and nodes, and workloads. All support `terraform import`. + +#### New Data Sources + +- Singular and list data sources for each new resource above (`cloudflare_ai_security`, `cloudflare_ai_security_custom_topics`, `cloudflare_zero_trust_casb_finding_type`, the `cloudflare_zero_trust_cws_*` set, `cloudflare_zero_trust_dlp_proximity_validator`, `cloudflare_zero_trust_organization_trust_settings`); `cloudflare_log_explorer_dataset` ships a list data source. +- **cloudflare_zero_trust_gateway_dns_destination_ips:** new list data source returning an account's Gateway DNS destination IP pairs (`primary_ip`, `backup_ip`, `pair_type`). + +#### New Attributes + +- **ruleset:** `webmcp_enabled` and `webmcp_packs` on configuration rules. +- **worker_version:** `container` added to the `exports` schema. + +#### New Accepted Values + +- **zero_trust_access_application:** `session_duration` is now supported for infrastructure applications; it sets the maximum connection duration and must use whole seconds expressed with `s`, `m`, or `h`. +- **zero_trust_access_policy:** `connection_rules.rdp` clipboard format attributes accept `file` in addition to `text`. +- **account_dns_settings:** `zone_defaults.nameservers.type` accepts `cloudflare.advanced`. + +### Bug Fixes + +- **account_subscription, stream_download:** drop model fields missing from the schema that could break state reads. +- **account_token:** send null when `expires_on`, `not_before`, or `condition` is removed. +- **ai_gateway_dynamic_routing:** preserve response envelopes and normalize version-graph responses. +- **ai_search_instance:** restore the generated resource and data sources; keep the data source `account_id` optional. +- **certificate_pack:** warn when deletion times out; detect soft deletion. +- **custom_ssl:** rotate `legacy_custom` certificates via PATCH instead of DELETE+POST. +- **dns_record:** require `content` at plan time for record types that use it (A, AAAA, CNAME, MX, NS, OPENPGPKEY, PTR, TXT); ignore a trailing dot when comparing CNAME content. +- **email_routing_settings:** apply `support_subaddress` on create and update. +- **list, list_item:** reject unnormalized IPs and CIDRs at plan time; check item attribute conflicts faster. +- **load_balancer:** preserve safe defaults in plans; give the v4 override `session_affinity_attributes` its own source model. +- **logpush_job:** skip destination config refresh. +- **managed_transforms:** remove duplicate schema fields and use the generated SDK response union. +- **observatory_scheduled_test:** support an optional region during import. +- **snippet:** do not crash when reading a snippet after import. +- **workers_script:** plan `startup_time_ms` as unknown when a deploy is planned; preserve `bindings_inherit` during the v0 state upgrade. +- **zone:** correctly upgrade v5-shaped state stored at schema version 0, guarding against missing raw state, so early v5 state (v5.0–v5.16) is not re-transformed. +- **zone_cache_variants:** send the full value on update. +- **zone_dns_settings:** remove `foundation_dns` to match the DNS settings API. +- **zero_trust_access_application:** stop inline policy selectors leaking across rules on refresh; nullify all-null `landing_page_design` on refresh; default and normalize the login prompt on import and against false/null drift. +- **zero_trust_access_group, zero_trust_access_policy:** stop selectors leaking across rules on refresh. +- **zero_trust_access_identity_provider:** default `login_page_auto_prompt` on read. +- **zero_trust_device_custom_profile:** match split-tunnel entries by address or host. +- **zero_trust_device_default_profile:** keep `policy_id` from state in plans. +- **zero_trust_gateway_policy:** preserve precedence during state migration. +- **zero_trust_organization:** preserve omitted security settings. +- **zero_trust_tunnel_cloudflared_config:** stop `origin_request {}` to null drift. + +## 5.28.1 (2026-10-20) + +Full Changelog: [v5.28.0...v5.28.1](https://github.com/cloudflare/terraform-provider-cloudflare/compare/v5.28.0...v5.28.1) + +### Changes + +- the provider is now built with Go 1.27.3, which distrusts a set of intermediate certificate authorities that have been revoked for CA compromise. The distrust list is compiled into the provider binary, so affected chains are rejected regardless of the host's system trust store. Upgrade to this release to pick up the change; no configuration changes are required. +- **cloudflare-go**: the Go SDK dependency is updated to v7.13.1. +- **cloudflare-go**: the unused v6 Go SDK dependency is removed. The `api_shield_discovery_operation` list data source now uses v7. diff --git a/plugins/changelog/testdata/cloudflare-typescript-7.2.0-CHANGELOG.md b/plugins/changelog/testdata/cloudflare-typescript-7.2.0-CHANGELOG.md new file mode 100644 index 0000000..8cd4185 --- /dev/null +++ b/plugins/changelog/testdata/cloudflare-typescript-7.2.0-CHANGELOG.md @@ -0,0 +1,307 @@ +## 7.2.0 (2026-09-25) + +Full Changelog: [v7.1.0...v7.2.0](https://github.com/cloudflare/cloudflare-typescript/compare/v7.1.0...v7.2.0) + +--- + +### Breaking Changes + +#### Removed Methods + +- `realtimeKit.livestreams.createIndependentLivestream()` -- removed along with `LivestreamCreateIndependentLivestreamResponse` type + +#### End-of-life APIs + +The legacy Rate Limiting and WAF overrides APIs have reached end of life and now respond with `410 Gone`. All methods +on these resources now return `void`, and their model types have been removed. + +| Resource | Methods | Removed Types | +|----------|---------|---------------| +| `rateLimits` | `create()`, `list()`, `delete()`, `edit()`, `get()` | `RateLimit`, `RateLimitsV4PagePaginationArray`, `RateLimitDeleteResponse` | +| `firewall.waf.overrides` | `create()`, `update()`, `list()`, `delete()`, `get()` | `Override`, `OverridesV4PagePaginationArray`, `OverrideDeleteResponse` | + +Migrate to the [Rulesets API](https://developers.cloudflare.com/ruleset-engine/) (`rulesets`) for rate limiting and +managed ruleset overrides. + +#### R2 `jurisdiction` parameter renamed + +The `jurisdiction` header parameter on all `r2.buckets` methods (including `cors`, `domains.custom`, +`domains.managed`, `eventNotifications`, `lifecycle`, `locks`, `objects`, and `sippy`) is now named +`'cf-r2-jurisdiction'`. The allowed values now also include `'us'` and `'fedramp-high'`. + +```ts +// Before +await client.r2.buckets.get('my-bucket', { account_id, jurisdiction: 'eu' }); + +// After +await client.r2.buckets.get('my-bucket', { account_id, 'cf-r2-jurisdiction': 'eu' }); +``` + +#### `addressing.addressMaps.accounts` path parameters + +`update()` and `delete()` now take the member account ID as the positional argument, and `address_map_id` is a +required param. The unused `body` param on `update()` has been removed. The endpoint is now +`/accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{member_account_id}`. + +```ts +// Before +await client.addressing.addressMaps.accounts.update(addressMapID, { account_id, body: {} }); +await client.addressing.addressMaps.accounts.delete(addressMapID, { account_id }); + +// After +await client.addressing.addressMaps.accounts.update(memberAccountID, { account_id, address_map_id: addressMapID }); +await client.addressing.addressMaps.accounts.delete(memberAccountID, { account_id, address_map_id: addressMapID }); +``` + +The `cloudflare migrate` tool has been updated to rewrite these call sites. + +#### `firewall.rules` bulk methods + +The legacy Firewall Rules API is deprecated and returns `410 Gone`; use the +[Rulesets API](https://developers.cloudflare.com/ruleset-engine/) (`rulesets`) instead. To match the published schema, +`bulkEdit()` and `bulkUpdate()` no longer accept a `body` param and now require an `id` param. + +```ts +// Before +await client.firewall.rules.bulkEdit({ zone_id, body: [...] }); + +// After +await client.firewall.rules.bulkEdit({ zone_id, id: ruleID }); +``` + +#### Empty `body` params removed + +The following methods no longer accept a placeholder `body` param. Remove `body: {}` from call sites. + +- `accounts.tokens.value.update()` +- `addressing.addressMaps.ips.update()`, `addressing.addressMaps.zones.update()` +- `cache.cacheReserve.clear()` +- `dns.records.scan()` +- `dns.zoneTransfers.forceAXFR.create()` +- `dns.zoneTransfers.outgoing.disable()`, `enable()`, `forceNotify()` +- `emailRouting.disable()`, `emailRouting.enable()` +- `magicTransit.ipsecTunnels.pskGenerate()` +- `stream.keys.create()` +- `workers.scripts.tail.create()` +- `zeroTrust.access.bookmarks.create()`, `update()` +- `zeroTrust.gateway.certificates.activate()`, `deactivate()` + +```ts +// Before +await client.dns.records.scan({ zone_id, body: {} }); + +// After +await client.dns.records.scan({ zone_id }); +``` + +#### Other parameter changes + +- `browserRendering` -- params for `content`, `json`, `links`, `markdown`, `pdf`, `scrape`, `screenshot`, + `snapshot`, and `accessibilityTree` are now a union of `Variant0` (requires `url`) and `Variant1` (requires + `html`). Code that declares these param types explicitly must provide exactly one of `url` or `html`. +- `magicTransit.connectors` -- `primary` and `site_id` removed from `create()`, `update()`, and `edit()` params and + from all responses +- `cloudforceOne.threatEvents.tags` -- `actorCategoryConfidence`, `analyticPriority`, `attributionConfidence`, + `attributionConfidenceScore`, `motiveConfidence`, `originCountryConfidence`, and `originCountryTlp` removed from + `create()` and `edit()` params; these fields and `originCountryISOAlpha3` removed from responses +- `pipelines.sinks`, `pipelines.streams` -- `schema.format` removed from `create()` params and responses; `force` + removed from `delete()` params +- `workflows.instances.events.create()`, `workflows.instances.bulk()` -- `body` is now required + +#### Return Type Changes + +| Resource | Method | Old Return Type | New Return Type | +|----------|--------|----------------|-----------------| +| `pageShield` | `get()` | `Setting \| null` | `PageShieldGetResponse \| null` | +| `pageShield.connections` | `list()` | `ConnectionsSinglePage` | `ConnectionListResponsesSinglePage` | +| `pageShield.connections` | `get()` | `Connection \| null` | `ConnectionGetResponse \| null` | +| `pageShield.scripts` | `list()` | `ScriptsSinglePage` | `ScriptListResponsesSinglePage` | +| `schemaValidation.schemas` | `delete()` | `SchemaDeleteResponse` | `SchemaDeleteResponse \| null` | +| `cache.originCloudRegions` | `update()` | `OriginCloudRegion` | `OriginCloudRegionUpdateResponse` | +| `cache.originCloudRegions` | `list()` | `OriginCloudRegionsV4PagePaginationArray` | `OriginCloudRegionListResponsesV4PagePaginationArray` | +| `cache.originCloudRegions` | `get()` | `OriginCloudRegion` | `OriginCloudRegionGetResponse` | +| `hyperdrive.configs` | `create()` | `Hyperdrive` | `ConfigCreateResponse` | +| `hyperdrive.configs` | `update()` | `Hyperdrive` | `ConfigUpdateResponse` | +| `hyperdrive.configs` | `list()` | `HyperdrivesV4PagePaginationArray` | `ConfigListResponsesV4PagePaginationArray` | +| `hyperdrive.configs` | `edit()` | `Hyperdrive` | `ConfigEditResponse` | +| `hyperdrive.configs` | `get()` | `Hyperdrive` | `ConfigGetResponse` | +| `mtlsCertificates` | `list()` | `MTLSCertificateListResponsesSinglePage` | `MTLSCertificatesSinglePage` | +| `mtlsCertificates` | `delete()` | `MTLSCertificateDeleteResponse` | `MTLSCertificate` | +| `mtlsCertificates` | `get()` | `MTLSCertificateGetResponse` | `MTLSCertificate` | +| `snippets.rules` | `update()` | `RuleUpdateResponse` | `RuleUpdateResponsesSinglePage` | +| `snippets.rules` | `list()` | `RuleListResponse` | `RuleListResponsesSinglePage` | +| `snippets.rules` | `delete()` | `RuleDeleteResponse` | `RuleDeleteResponsesSinglePage` | +| `snippets.rules` | `get()` | `RuleGetResponse` | `RuleGetResponsesSinglePage` | +| `workers.scripts.deployments` | `list()` | `DeploymentListResponse` | `DeploymentListResponsesV4PagePagination` | +| `zeroTrust.devices.overrideCodes` | `list()` | `OverrideCodeListResponsesSinglePage` | `OverrideCodeListResponse \| null` | +| `zeroTrust.organizations` | `list()` | `Organization` | `OrganizationListResponse` | +| `zeroTrust.gateway.lists.items` | `list()` | `GatewayItemsSinglePage` | `GatewayItemsV4PagePaginationArray` | +| `zeroTrust.gateway.pacfiles` | `list()` | `PacfileListResponsesSinglePage` | `PacfileListResponsesV4PagePaginationArray` | +| `emailRouting.dns` | `delete()` | `DNSRecordsSinglePage` | `Settings` | +| `waitingRooms` | `create()`, `update()`, `edit()`, `get()` | `WaitingRoom` | `WaitingRoom \| null` | +| `waitingRooms` | `delete()` | `WaitingRoomDeleteResponse` | `WaitingRoomDeleteResponse \| null` | +| `waitingRooms.page` | `preview()` | `PagePreviewResponse` | `PagePreviewResponse \| null` | +| `waitingRooms.events` | `create()`, `update()`, `edit()`, `get()` | `Event` | `Event \| null` | +| `waitingRooms.events` | `delete()` | `EventDeleteResponse` | `EventDeleteResponse \| null` | +| `waitingRooms.events.details` | `get()` | `DetailGetResponse` | `DetailGetResponse \| null` | +| `waitingRooms.statuses` | `get()` | `StatusGetResponse` | `StatusGetResponse \| null` | +| `waitingRooms.settings` | `update()` | `SettingUpdateResponse` | `SettingUpdateResponse \| null` | +| `waitingRooms.settings` | `edit()` | `SettingEditResponse` | `SettingEditResponse \| null` | +| `waitingRooms.settings` | `get()` | `SettingGetResponse` | `SettingGetResponse \| null` | + +Paginated `list()` methods that moved from `SinglePage` to `V4PagePagination*` now auto-paginate across pages when +iterated with `for await`. The `mtlsCertificates` change reverts the per-method response types introduced in 7.1.0. + +#### Removed Types + +- `Setting` (on `pageShield`) -- replaced by `PageShieldUpdateResponse` (for `edit()`) and `PageShieldGetResponse` (for `get()`) +- `Policy` (on `pageShield.policies`) -- replaced by per-method response types +- `Connection`, `ConnectionsSinglePage` (on `pageShield.connections`) -- replaced by `ConnectionListResponse`, `ConnectionListResponsesSinglePage` +- `Script`, `ScriptsSinglePage` (on `pageShield.scripts`) -- replaced by `ScriptListResponse`, `ScriptListResponsesSinglePage` +- `LivestreamCreateIndependentLivestreamResponse` (on `realtimeKit.livestreams`) -- removed with method +- `SchemaDeleteResponse` changed from `interface { id: string }` to `type = unknown` -- users accessing `.id` on the result will see a type error +- `HealthCheckParam` (on `magicTransit`) -- removed; `health_check` params now reference types scoped to each interconnect method (e.g. `CfInterconnectUpdateParams.HealthCheck`) +- 72 `WorkersBindingKind*` types removed from `workers.scripts.versions.VersionListResponse` -- the `bindings` field in `VersionListResponse.Resources` is now typed as an empty `Bindings` interface rather than an explicit union of binding variants +- `OriginCloudRegion`, `OriginCloudRegionsV4PagePaginationArray` (on `cache.originCloudRegions`) -- replaced by per-method response types +- `Configuration`, `HyperdrivesV4PagePaginationArray` (on `hyperdrive`) -- replaced by `ConfigCreateResponse`, `ConfigListResponse`, etc. +- `MTLSCertificateListResponse`, `MTLSCertificateDeleteResponse`, `MTLSCertificateGetResponse`, `MTLSCertificateListResponsesSinglePage` (on `mtlsCertificates`) -- replaced by `MTLSCertificate` +- `ClipResource`, `BaseClipResource` (on `stream`) -- renamed to `Clip`, `BaseClip`; the former `Clip` model interface has been removed (`stream.clip.create()` returns `Video`) +- `State` (on `cache.cacheReserve`) +- `CacheVariant` (on `cache.variants`) +- `Aegis` (on `zones.settings`) +- `Info`, `Submit` (on `brandProtection`) +- `Whois` (on `intel.whois`) +- `FallbackDomainPolicy` (on `zeroTrust.devices.policies`) +- `Connection` (on `zeroTrust.tunnels`) +- `OverrideCodeListResponsesSinglePage` (on `zeroTrust.devices.overrideCodes`) +- `GatewayItemsSinglePage` (on `zeroTrust.gateway.lists`) -- replaced by `GatewayItemsV4PagePaginationArray` +- `PacfileListResponsesSinglePage` (on `zeroTrust.gateway.pacfiles`) -- replaced by `PacfileListResponsesV4PagePaginationArray` + +#### Removed Response Fields + +- `apiGateway.operations`, `apiGateway.userSchemas.operations` -- `features.schema_info.learned_available` and + `features.schema_info.active_schema.is_learned` +- `radar.annotations.list()`, `radar.annotations.outages.get()` -- `asnsDetails[].locations` +- `radar.trafficAnomalies.get()` -- `asnDetails.locations` +- `schemaValidation.settings.operations.bulkEdit()` -- `operation_id` on each item +- `stream.webhooks.update()`, `stream.webhooks.get()` -- `notification_url` +- `tokenValidation.configuration.credentials.update()` -- `errors`, `messages`, `success` envelope fields +- `urlScanner.scans.get()` -- `meta.processors.robotsTxt.data[].rules['*']` +- `user.billing.profile.get()` -- `device_data`, `payment_gateway`, `payment_nonce`, `use_legacy` +- `zones.plans` (`AvailableRatePlan`) -- `legacy_discount` + +--- + +### Features + +#### New Resources + +- **`managedDefense.vulnerabilityDiscovery.repositories`** -- `create()`, `list()`, `get()` +- **`managedDefense.vulnerabilityDiscovery.scans`** -- `create()`, `list()`, `get()`, `getReport()` +- **`managedDefense.vulnerabilityDiscovery.reports`** -- `get()` +- **`fieldExtractors`** -- `update()`, `delete()`, `get()` +- **`accounts.subscriptions.cancelReason`** -- `create()`, `get()` +- **`accounts.subscriptions.actions`** -- `append()` +- **`accounts.subscriptions.bulk`** -- `create()` +- **`accounts.entitlements`** -- `list()` +- **`accounts.paymentMethods`** -- `create()`, `update()`, `list()`, `delete()`, `get()`, `setAsDefault()` +- **`accounts.payInvoice`** -- `create()` +- **`accounts.payBadDebt`** -- `create()` +- **`accounts.receipts`** -- `pdf()` +- **`accounts.invoices`** -- `edit()` +- **`accounts.clientSecret`** -- `create()` +- **`billing.profiles.paymentMethod`** -- `create()` +- **`billing.credits`** -- `get()` +- **`billing.history`** -- `list()` +- **`billing.badDebt`** -- `get()` +- **`billing.unpaidInvoice`** -- `get()` +- **`billing.ratePlans`** -- `get()` +- **`user.spectrumAnalytics.zones.reports`** -- `get()` +- **`zones.nel`** -- `edit()`, `get()` +- **`zones.entitlements`** -- `list()` +- **`zones.observability.tracing.settings`** -- `update()`, `delete()`, `get()` +- **`zones.observability.tracing.rules`** -- `update()`, `delete()`, `get()` +- **`emailSecurity.settings.contentPolicies`** -- `create()`, `list()`, `delete()`, `batch()`, `edit()`, `get()` +- **`emailSending.suppressions`** -- `create()`, `list()`, `delete()`, `edit()`, `get()`, `import()` +- **`logpush.transformers`** -- `create()`, `update()`, `list()`, `delete()`, `get()`, `preview()` +- **`logpush.transformers.content`** -- `get()` +- **`logpush.transformers.versions`** -- `list()` +- **`spectrum.protocols`** -- `list()` +- **`magicTransit.bgpFilterProfiles`** -- `create()`, `update()`, `list()`, `delete()`, `get()` +- **`registrar.transferIn`** -- `create()` +- **`registrar.transferInStatus`** -- `get()` +- **`zeroTrust.casb.posture.policies`** -- `create()`, `update()`, `list()`, `delete()`, `get()` +- **`abuseReports.submitted`** -- `list()`, `get()` +- **`abuseReports.submitted.emails`** -- `list()` +- **`browserRendering.devtools.browser.liveView`** -- `create()` + +#### New Methods + +- `accounts.subscriptions.cancelDowngrade()`, `getByIdentifier()` +- `billing.addressValidation()` +- `billing.profiles.create()`, `update()`, `delete()`, `updateBillingEmail()` +- `ssl.recommendations.get()` +- `emailSecurity.settings.allowPolicies.batch()` +- `emailSecurity.settings.blockSenders.batch()` +- `emailSecurity.settings.domains.create()`, `update()`, `batch()` +- `emailSecurity.settings.trustedDomains.batch()` +- `emailSending.subdomains.edit()` +- `addressing.prefixes.bgpPrefixes.delete()` +- `hyperdrive.configs.restart()` +- `r2DataCatalog.delete()` +- `zeroTrust.resourceLibrary.applications.create()`, `update()`, `delete()` +- `realtimeKit.presets.replacePresetByID()` +- `contentScanning.payloads.update()` +- `tokenValidation.configuration.credentials.edit()` + +#### New Types + +- `Host`, `Status`, `ValidationMethod` (on `ssl.certificatePacks`) and `CertificateAuthority` (on `acm.totalTLS`) -- restored +- `FieldType`, `ListField`, `SourceField`, `StructField` (on `pipelines`) +- `cloudforceOne.threatEvents.tags` -- annotated value types for tag attribution and confidence fields + +--- + +### Chores + +- Updated the `cloudflare migrate` tool configuration for `addressing.addressMaps.accounts` and new methods +- Updated the method lists in `MIGRATION.md` + +--- + +## 6.5.0 (2026-06-23) + +Full Changelog: [v6.3.0...v6.5.0](https://github.com/cloudflare/cloudflare-typescript/compare/v6.3.0...v6.5.0) + +### Features + +* **ai-gateway:** add CustomProviders, 1 sub-resource ([456be6f](https://github.com/cloudflare/cloudflare-typescript/commit/456be6ff8e4a85de321f6ac2dd466e0d572f9e85)) +* **email-auth:** add EmailAuth resource ([f424bee](https://github.com/cloudflare/cloudflare-typescript/commit/f424bee5791d76683534ba0721a1e79cba1c1954)) +* **email-security:** add bulk investigation ([827bf4c](https://github.com/cloudflare/cloudflare-typescript/commit/827bf4c8a36b90217765eaed56b47206914d3ea5)) +* **logs:** add log-explorer sub-resource ([5125978](https://github.com/cloudflare/cloudflare-typescript/commit/512597855200c2dd8015ae482061b6f0f9fbb2da)) +* **magic-transit:** add cf1-sites sub-resource ([148612a](https://github.com/cloudflare/cloudflare-typescript/commit/148612a4e52573e0a2500fb06b38e352515206fc)) +* **moq:** add MoQ resource ([2712713](https://github.com/cloudflare/cloudflare-typescript/commit/2712713470b5867c3cc8c6dc3371adf8e3656a1c)) +* **tenants:** add Tenants resource ([035563c](https://github.com/cloudflare/cloudflare-typescript/commit/035563c1d81f5a1eb952179d4faf449191fe4732)) +* **user:** add user tenants sub-resource ([803425f](https://github.com/cloudflare/cloudflare-typescript/commit/803425ff57f5195069325a02c967beefd56c5058)) +* **zones:** add CT alerting sub-resource ([9a3dead](https://github.com/cloudflare/cloudflare-typescript/commit/9a3dead21a27e49473e8dccd21c066e5697ceef0)) + + +### Chores + +* **accounts:** update codegen output ([9f670fd](https://github.com/cloudflare/cloudflare-typescript/commit/9f670fd360d4a6248fc265c45040df86fccf4f0f)) +* **aisearch:** update codegen output ([4d687e0](https://github.com/cloudflare/cloudflare-typescript/commit/4d687e0c8d179352c0473ec24fb451930c1b9614)) +* **billing:** update codegen output ([db0b645](https://github.com/cloudflare/cloudflare-typescript/commit/db0b6457c57776ffcf65124e60483e219235a211)) +* **browser-rendering:** update codegen output ([548a32f](https://github.com/cloudflare/cloudflare-typescript/commit/548a32f1add9bac6e3fa99cfe8af2c89173345f9)) +* **cloudforce-one:** update codegen output ([e2aa54a](https://github.com/cloudflare/cloudflare-typescript/commit/e2aa54a9b7fc433221cbc57445a76590b25f81fd)) +* **custom-hostnames:** update codegen output ([cc890d6](https://github.com/cloudflare/cloudflare-typescript/commit/cc890d67e1fd26348d6c40afb5f5e42f1423b880)) +* **email-routing:** update codegen output ([90eea55](https://github.com/cloudflare/cloudflare-typescript/commit/90eea555f6e84cbc4002704af4b8e1645b842acb)) +* **iam:** update codegen output ([ed876e6](https://github.com/cloudflare/cloudflare-typescript/commit/ed876e69b255c654646547704bb68d46793cae18)) +* **intel:** update codegen output ([271795f](https://github.com/cloudflare/cloudflare-typescript/commit/271795fd9666ca952d8c48763682f8d509d544a4)) +* **origin-tls-compliance-modes:** update codegen output ([704cd50](https://github.com/cloudflare/cloudflare-typescript/commit/704cd50a4a504842fcf4d04ee8959b53b8b135e3)) +* **radar:** update codegen output ([8c02e68](https://github.com/cloudflare/cloudflare-typescript/commit/8c02e6818903b5afe4d0dd84d622a7473adcb331)) +* **rulesets:** update codegen output ([edf0d01](https://github.com/cloudflare/cloudflare-typescript/commit/edf0d01dd93e2e64cd73f13732e89be1403f51ca)) +* **ssl:** update codegen output ([667b5b3](https://github.com/cloudflare/cloudflare-typescript/commit/667b5b3cda91552db9614fe9d4af2e9442028d25)) +* sync shared codegen files from staging-next ([6098a42](https://github.com/cloudflare/cloudflare-typescript/commit/6098a42d775eed6d5c446fa7537a2d5bd640e5d2)) +* **workers-for-platforms:** update codegen output ([ef238e6](https://github.com/cloudflare/cloudflare-typescript/commit/ef238e61422201a42dbbf4094037bcaed85a80a9)) +* **workers:** update codegen output ([51222e9](https://github.com/cloudflare/cloudflare-typescript/commit/51222e95d26965e02df3cb14352849210087cc59)) +* **zero-trust:** update codegen output ([aa2cbc3](https://github.com/cloudflare/cloudflare-typescript/commit/aa2cbc34e9348680e304820d8dbfb84d1028de64)) diff --git a/plugins/changelog/testdata/golden/cloudflare-go.json b/plugins/changelog/testdata/golden/cloudflare-go.json new file mode 100644 index 0000000..664711f --- /dev/null +++ b/plugins/changelog/testdata/golden/cloudflare-go.json @@ -0,0 +1,27 @@ +[ + { + "id": 1, + "fingerprint": "sha256:074a5e03880423fd5123a0a3b2f9bb5065608688493e7cb1964fe8639831e9cc", + "api": "cloudflare/go", + "version": "7.15.0", + "previous_version": "7.14.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/cloudflare/cloudflare-go/v7", + "change": "removed_symbol", + "symbols": [ + "ListCursor", + "ListCursorParam" + ] + }, + "description": "`ListCursor`, `ListCursorParam` were removed in github.com/cloudflare/cloudflare-go 7.15.0: code using it fails.", + "migration_hint": "**rules:** the `ListCursor` and `ListCursorParam` types are removed. (github.com/cloudflare/cloudflare-go's changelog for 7.15.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-go/v7.15.0/CHANGELOG.md", + "source_excerpt": "## 7.15.0 (2026-11-06)\nBreaking Changes\n* **rules:** the `ListCursor` and `ListCursorParam` types are removed.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/cloudflare-python.json b/plugins/changelog/testdata/golden/cloudflare-python.json new file mode 100644 index 0000000..9b38da9 --- /dev/null +++ b/plugins/changelog/testdata/golden/cloudflare-python.json @@ -0,0 +1,173 @@ +[ + { + "id": 1, + "fingerprint": "sha256:3cb251ed147619574779c6350e7cc7d5de187b594ae5684f99344aa295c5310c", + "api": "cloudflare/python", + "version": "5.6.0", + "previous_version": "5.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "client.accounts.subscriptions.create", + "client.accounts.subscriptions.get" + ] + }, + "description": "`client.accounts.subscriptions.create`, `client.accounts.subscriptions.get` were removed in cloudflare 5.6.0: code using it fails.", + "migration_hint": "**accounts:** The `create()` and `get()` methods have been removed from `client.accounts.subscriptions`. The `SubscriptionCreateParams` type is no longer available. (cloudflare's changelog for 5.6.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-python/v5.6.0/CHANGELOG.md", + "source_excerpt": "## 5.6.0 (2026-07-22)\nBreaking Changes\n* **accounts:** The `create()` and `get()` methods have been removed from `client.accounts.subscriptions`. The `SubscriptionCreateParams` type is no longer available.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:5feead857c2e71809894332f68baf622f9170c8ab9bd6215874f91de64ed53da", + "api": "cloudflare/python", + "version": "5.6.0", + "previous_version": "5.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "types.acm.CertificateAuthority" + ] + }, + "description": "`types.acm.CertificateAuthority` was removed in cloudflare 5.6.0: code using it fails.", + "migration_hint": "**acm:** The `CertificateAuthority` type has been removed from `cloudflare.types.acm`. (cloudflare's changelog for 5.6.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-python/v5.6.0/CHANGELOG.md", + "source_excerpt": "## 5.6.0 (2026-07-22)\nBreaking Changes\n* **acm:** The `CertificateAuthority` type has been removed from `cloudflare.types.acm`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:c88da90d9128dd42b957d7d3120662e5595f616edc5e0b8ca9dcb037e1f8bf0a", + "api": "cloudflare/python", + "version": "5.6.0", + "previous_version": "5.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "types.certificate_authorities.HostnameAssociation" + ] + }, + "description": "`types.certificate_authorities.HostnameAssociation` was removed in cloudflare 5.6.0: code using it fails.", + "migration_hint": "**certificate_authorities:** The `HostnameAssociation` type has been removed from `cloudflare.types.certificate_authorities`. (cloudflare's changelog for 5.6.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-python/v5.6.0/CHANGELOG.md", + "source_excerpt": "## 5.6.0 (2026-07-22)\nBreaking Changes\n* **certificate_authorities:** The `HostnameAssociation` type has been removed from `cloudflare.types.certificate_authorities`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:cf3bf0f5e5d0ecbcc6c4188dbba6069120f744f06b20c9a954a8eb5a4f176c26", + "api": "cloudflare/python", + "version": "5.6.0", + "previous_version": "5.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "client.cloudforce_one.threat_events.indicator_types" + ] + }, + "description": "`client.cloudforce_one.threat_events.indicator_types` was removed in cloudflare 5.6.0: code using it fails.", + "migration_hint": "**cloudforce_one:** The `indicator_types` sub-resource has been removed from `client.cloudforce_one.threat_events`. Use the new `client.cloudforce_one.threat_events.indicators.types` resource instead. (cloudflare's changelog for 5.6.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-python/v5.6.0/CHANGELOG.md", + "source_excerpt": "## 5.6.0 (2026-07-22)\nBreaking Changes\n* **cloudforce_one:** The `indicator_types` sub-resource has been removed from `client.cloudforce_one.threat_events`. Use the new `client.cloudforce_one.threat_events.indicators.types` resource instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:eb5fa65379196b9ff19d6716c609f92ee1c1f6d5a55c81fd83e329e461a8f4dc", + "api": "cloudflare/python", + "version": "5.6.0", + "previous_version": "5.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "types.custom_certificates.Status" + ] + }, + "description": "`types.custom_certificates.Status` was removed in cloudflare 5.6.0: code using it fails.", + "migration_hint": "**custom_certificates:** The `Status` type has been removed from `cloudflare.types.custom_certificates`. (cloudflare's changelog for 5.6.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-python/v5.6.0/CHANGELOG.md", + "source_excerpt": "## 5.6.0 (2026-07-22)\nBreaking Changes\n* **custom_certificates:** The `Status` type has been removed from `cloudflare.types.custom_certificates`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:7d702e9358dd147062382f1dc950fbc0aa210418290b69f30dc715328c825364", + "api": "cloudflare/python", + "version": "5.6.0", + "previous_version": "5.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "types.ssl.Host", + "types.ssl.Status", + "types.ssl.ValidationMethod" + ] + }, + "description": "`types.ssl.Host`, `types.ssl.Status`, `types.ssl.ValidationMethod` were removed in cloudflare 5.6.0: code using it fails.", + "migration_hint": "**ssl:** The `Host`, `Status`, and `ValidationMethod` types have been removed from `cloudflare.types.ssl`. The `hosts` parameter on `client.ssl.certificate_packs.create()` changed from `SequenceNotStr[Host]` to `SequenceNotStr[str]`. (cloudflare's changelog for 5.6.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-python/v5.6.0/CHANGELOG.md", + "source_excerpt": "## 5.6.0 (2026-07-22)\nBreaking Changes\n* **ssl:** The `Host`, `Status`, and `ValidationMethod` types have been removed from `cloudflare.types.ssl`. The `hosts` parameter on `client.ssl.certificate_packs.create()` changed from `SequenceNotStr[Host]` to `SequenceNotStr[str]`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:351465f6be74ad1191370b6990d92f2808a94d34454f696cdedc018673c54e34", + "api": "cloudflare/python", + "version": "5.6.0", + "previous_version": "5.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "client.zero_trust.casb.applications.setup_flows" + ] + }, + "description": "`client.zero_trust.casb.applications.setup_flows` was removed in cloudflare 5.6.0: code using it fails.", + "migration_hint": "**zero_trust:** The `setup_flows` sub-resource has been removed from `client.zero_trust.casb.applications`. The `get()` method endpoint changed from `/accounts/{account_id}/one/applications/{slug}` to `/accounts/{account_id}/one/applications/{application_id}`. (cloudflare's changelog for 5.6.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-python/v5.6.0/CHANGELOG.md", + "source_excerpt": "## 5.6.0 (2026-07-22)\nBreaking Changes\n* **zero_trust:** The `setup_flows` sub-resource has been removed from `client.zero_trust.casb.applications`. The `get()` method endpoint changed from `/accounts/{account_id}/one/applications/{slug}` to `/accounts/{account_id}/one/applications/{application_id}`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/cloudflare-terraform.json b/plugins/changelog/testdata/golden/cloudflare-terraform.json new file mode 100644 index 0000000..b1fff40 --- /dev/null +++ b/plugins/changelog/testdata/golden/cloudflare-terraform.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:72145a1ab485e851443f2c85c2eb01e59be63296d6afefee171f192b74c780e1", + "api": "cloudflare/terraform", + "version": "5.29.0", + "previous_version": "5.28.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "terraform", + "package": "cloudflare/cloudflare", + "change": "removed_symbol", + "symbols": [ + "foundation_dns" + ] + }, + "description": "`foundation_dns` was removed in cloudflare/cloudflare 5.29.0: code using it fails.", + "migration_hint": "**zone_dns_settings, account_dns_settings:** the deprecated `foundation_dns` attribute has been removed. On `cloudflare_zone_dns_settings` a configuration that still sets it now fails with an \"Unsupported argument\" error; remove it and use `nameservers.type` (`cloudflare.advanced` to enable Advanced Nameservers, `cloudflare.standard` to disable). On `cloudflare_account_dns_settings` the field lived inside the nested `zone_defaults` object and is dropped silently on upgrade. No state upgrader is required. (cloudflare/cloudflare's changelog for 5.29.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/terraform-provider-cloudflare/v5.29.0/CHANGELOG.md", + "source_excerpt": "## 5.29.0 (2026-11-10)\n⚠ BREAKING CHANGES\n- **zone_dns_settings, account_dns_settings:** the deprecated `foundation_dns` attribute has been removed. On `cloudflare_zone_dns_settings` a configuration that still sets it now fails with an \"Unsupported argument\" error; remove it and use `nameservers.type` (`cloudflare.advanced` to enable Advanced Nameservers, `cloudflare.standard` to disable). On `cloudflare_account_dns_settings` the field lived inside the nested `zone_defaults` object and is dropped silently on upgrade. No state upgrader is required.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/cloudflare-typescript.json b/plugins/changelog/testdata/golden/cloudflare-typescript.json new file mode 100644 index 0000000..291d42f --- /dev/null +++ b/plugins/changelog/testdata/golden/cloudflare-typescript.json @@ -0,0 +1,271 @@ +[ + { + "id": 1, + "fingerprint": "sha256:77fa0f3903472c1341793c5a0ff14a410b4cfee8abea043f3c080f278f7c5e77", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "accounts.tokens.value.update" + ] + }, + "description": "`accounts.tokens.value.update` was removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`accounts.tokens.value.update()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `accounts.tokens.value.update()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:7cece1f65feea5183e709f71b646a38e55d3f61d632effc7d2efe9587a74689a", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "addressing.addressMaps.ips.update", + "addressing.addressMaps.zones.update" + ] + }, + "description": "`addressing.addressMaps.ips.update`, `addressing.addressMaps.zones.update` were removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`addressing.addressMaps.ips.update()`, `addressing.addressMaps.zones.update()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `addressing.addressMaps.ips.update()`, `addressing.addressMaps.zones.update()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:e5b5e77b29b9b0e45a2d3def8c2f3b9625f02bf0a48ed7eec7ae16bf51e4d601", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "cache.cacheReserve.clear" + ] + }, + "description": "`cache.cacheReserve.clear` was removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`cache.cacheReserve.clear()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `cache.cacheReserve.clear()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:4fc37fbc375bcf397e339f1cfa87a5f22c994e80bd9acc85358e2f84c816eb82", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "dns.records.scan" + ] + }, + "description": "`dns.records.scan` was removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`dns.records.scan()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `dns.records.scan()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:134dd1216e0dc7e93216c47f4ad7b738c64c226e4833fd934019ffab692e0f28", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "dns.zoneTransfers.forceAXFR.create" + ] + }, + "description": "`dns.zoneTransfers.forceAXFR.create` was removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`dns.zoneTransfers.forceAXFR.create()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `dns.zoneTransfers.forceAXFR.create()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:50dc4a5e89a74a666093f4c6017aaf3ecf62b4a6a587b39de35061fef29212a2", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "dns.zoneTransfers.outgoing.disable", + "enable", + "forceNotify" + ] + }, + "description": "`dns.zoneTransfers.outgoing.disable`, `enable`, `forceNotify` were removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`dns.zoneTransfers.outgoing.disable()`, `enable()`, `forceNotify()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `dns.zoneTransfers.outgoing.disable()`, `enable()`, `forceNotify()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:133eadd068ce6ef418e06c85cb21d413f3b31c8f3e41c40c19497a860d356612", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "emailRouting.disable", + "emailRouting.enable" + ] + }, + "description": "`emailRouting.disable`, `emailRouting.enable` were removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`emailRouting.disable()`, `emailRouting.enable()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `emailRouting.disable()`, `emailRouting.enable()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 8, + "fingerprint": "sha256:7ed480dff9a03a58c4683b3907d7c62b48528420f43aa233145c4cace2e6f8be", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "magicTransit.ipsecTunnels.pskGenerate" + ] + }, + "description": "`magicTransit.ipsecTunnels.pskGenerate` was removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`magicTransit.ipsecTunnels.pskGenerate()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `magicTransit.ipsecTunnels.pskGenerate()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 9, + "fingerprint": "sha256:6760b085d17ee4bebac8f753461f75403f3bea4585026f6a766cc35043a1a078", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "stream.keys.create" + ] + }, + "description": "`stream.keys.create` was removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`stream.keys.create()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `stream.keys.create()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 10, + "fingerprint": "sha256:79bf35ee3acf7a485565de2453011a61691e2e12145fb13fa712916b4c7fa0a2", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "workers.scripts.tail.create" + ] + }, + "description": "`workers.scripts.tail.create` was removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`workers.scripts.tail.create()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `workers.scripts.tail.create()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 11, + "fingerprint": "sha256:8660f9646a9867f8143274f4e0972f2da1a983de3c3915440a055c8f513c017a", + "api": "cloudflare/typescript", + "version": "7.2.0", + "previous_version": "7.1.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "zeroTrust.gateway.certificates.activate", + "deactivate" + ] + }, + "description": "`zeroTrust.gateway.certificates.activate`, `deactivate` were removed in cloudflare 7.2.0: code using it fails.", + "migration_hint": "`zeroTrust.gateway.certificates.activate()`, `deactivate()` (cloudflare's changelog for 7.2.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", + "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `zeroTrust.gateway.certificates.activate()`, `deactivate()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/providers/cloudflare-sdks.md b/providers/cloudflare-sdks.md new file mode 100644 index 0000000..8926fd8 --- /dev/null +++ b/providers/cloudflare-sdks.md @@ -0,0 +1,35 @@ +# Cloudflare SDKs and Terraform provider (`cloudflare/typescript`, `cloudflare/python`, `cloudflare/go`, `cloudflare/terraform`) + +## What it watches + +Methods, sub-resources, types and attributes removed or renamed in each release of Cloudflare's TypeScript, Python and Go SDKs and its Terraform provider, from that release's section of the repo's `CHANGELOG.md` at its tag. One `package_release` event per bullet that names what it removes plainly. Cloudflare's API notices are a separate source (`cloudflare/api`). + +Kind: `changelog` (`plugins/changelog`, `sdks.go`). + +| Source | Package | Releases listed from | Layer | +|---|---|---|---| +| `cloudflare/typescript` | `npm:cloudflare` | npm | sdk | +| `cloudflare/python` | `pypi:cloudflare` | PyPI | sdk | +| `cloudflare/go` | `go:github.com/cloudflare/cloudflare-go/v7` (events name the module at each release's major) | the repo's `vX.Y.Z` tags | sdk | +| `cloudflare/terraform` | none (Terraform registry `cloudflare/cloudflare`; events carry ecosystem `terraform`) | the repo's `vX.Y.Z` tags | infra | + +## Why this source + +- **Source:** https://github.com/cloudflare/cloudflare-typescript/blob/main/CHANGELOG.md, https://github.com/cloudflare/cloudflare-python/blob/main/CHANGELOG.md, https://github.com/cloudflare/cloudflare-go/blob/main/CHANGELOG.md, https://github.com/cloudflare/terraform-provider-cloudflare/blob/main/CHANGELOG.md, each read raw at the release's `vX.Y.Z` tag; checked on 2026-11-20. +- **Why this one:** the SDKs are generated and breaking changes ship in minors; release-please puts each under "⚠ BREAKING CHANGES", one bullet per area (`**accounts:** …`), naming what was removed. +- **Alternatives considered:** GitHub release notes (the same text); the per-major upgrade guides (`docs/guides/version-5-upgrade.md` for Terraform: one entry per resource, no plain removal sentences); diffing the published packages (`apisurface`, when it's built). +- **Quote:** "**ssl:** The `Host`, `Status`, and `ValidationMethod` types have been removed from `cloudflare.types.ssl`." (cloudflare-python 5.6.0). + +## How the provider announces changes + +Frequent minors, several a month; breaking bullets in a minor's "⚠ BREAKING CHANGES" section. + +## What the plugin reads and ignores + +- Reads the release's section; the area prefix (`**ssl:**`) is read past. Counts `X has been removed (from Y)`, `X and Y types removed`, `Remove X`, `X has been renamed to Y`, and bare names under a removal heading. +- Drops (and logs): changed return types, changed import IDs, simplified responses, renamed enum values, anything that removes a list of names "along with" others in prose. + +## Known gaps + +- A Terraform attribute removed from a block is named by the attribute only when the bullet doesn't name its resource plainly. +- A release whose section is missing at its tag is skipped as nothing to read. From ebd7fbfd5ee96b8ee82250912a3f2495c227a1b8 Mon Sep 17 00:00:00 2001 From: adssib <75389300+adssib@users.noreply.github.com> Date: Fri, 20 Nov 2026 21:17:01 -0500 Subject: [PATCH 2/2] cloudflare/typescript: pin 7.1.0, whose rename is plain 7.2.0's events came from bare names under a heading about removed body params: the methods still exist. With names alone read only under a Removed heading, 7.2.0 has no event; 7.1.0's rename is the golden. Co-Authored-By: Claude Opus 5.5 Signed-off-by: adssib <75389300+adssib@users.noreply.github.com> --- plugins/changelog/cloudflare_test.go | 2 +- plugins/changelog/testdata/README.md | 2 +- .../cloudflare-typescript-7.1.0-CHANGELOG.md | 386 ++++++++++++++++++ .../cloudflare-typescript-7.2.0-CHANGELOG.md | 307 -------------- .../golden/cloudflare-typescript.json | 266 +----------- 5 files changed, 399 insertions(+), 564 deletions(-) create mode 100644 plugins/changelog/testdata/cloudflare-typescript-7.1.0-CHANGELOG.md delete mode 100644 plugins/changelog/testdata/cloudflare-typescript-7.2.0-CHANGELOG.md diff --git a/plugins/changelog/cloudflare_test.go b/plugins/changelog/cloudflare_test.go index 8781dba..5241672 100644 --- a/plugins/changelog/cloudflare_test.go +++ b/plugins/changelog/cloudflare_test.go @@ -4,7 +4,7 @@ import "testing" func TestCloudflareSDKs(t *testing.T) { checkSDKs(t, []sdkCase{ - {CloudflareTypeScript, "7.2.0", "7.1.0", "cloudflare-typescript-7.2.0-CHANGELOG.md", "", "6.5.0"}, + {CloudflareTypeScript, "7.1.0", "7.0.0", "cloudflare-typescript-7.1.0-CHANGELOG.md", "", "7.0.0"}, {CloudflarePython, "5.6.0", "5.5.0", "cloudflare-python-5.6.0-CHANGELOG.md", "", "5.4.0"}, {CloudflareGo, "7.15.0", "7.14.0", "cloudflare-go-7.15.0-CHANGELOG.md", "", "7.13.1"}, {CloudflareTerraform, "5.29.0", "5.28.1", "cloudflare-terraform-5.29.0-CHANGELOG.md", "", "5.28.1"}, diff --git a/plugins/changelog/testdata/README.md b/plugins/changelog/testdata/README.md index d674daf..f08e4da 100644 --- a/plugins/changelog/testdata/README.md +++ b/plugins/changelog/testdata/README.md @@ -26,7 +26,7 @@ Read with `Plugin{File: ...}` (`sdks.go`); `golden/-.json` is | `sentry-javascript-changelog-10.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/getsentry/sentry-javascript/10.0.0/CHANGELOG.md | `19f754a` | 2026-11-20 | MIT (sentry-javascript); trimmed to the sections of 10.0.0 (the golden) and 9.40.0 (the drop test), each unchanged | "feat(core)!: Remove `BaseClient` ([#17071](https://github.com/getsentry/sentry-javascript/pull/17071))" | | `sentry-go-0.31.0-CHANGELOG.md` | https://raw.githubusercontent.com/getsentry/sentry-go/v0.31.0/CHANGELOG.md | `17ceb6c` | 2026-11-20 | MIT (sentry-go); trimmed to the sections of 0.31.0 (the golden) and 0.30.0 (the drop test), each unchanged | "Remove `Segment` field from the `User` struct. This field is no longer used in the Sentry product. ([#928](https://gi…" | | `sentry-dotnet-4.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/getsentry/sentry-dotnet/4.0.0/CHANGELOG.md | `d4d8af5` | 2026-11-20 | MIT (sentry-dotnet); trimmed to the sections of 4.0.0 (the golden) and 3.41.4 (the drop test), each unchanged | "`ITransaction` has been renamed to `ITransactionTracer`. You will need to update any references to these interfaces i…" | -| `cloudflare-typescript-7.2.0-CHANGELOG.md` | https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md | `5ba0c3d` | 2026-11-20 | Apache-2.0 (cloudflare-typescript); trimmed to the sections of 7.2.0 (the golden) and 6.5.0 (the drop test), each unchanged | "`accounts.tokens.value.update()`" | +| `cloudflare-typescript-7.1.0-CHANGELOG.md` | https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.1.0/CHANGELOG.md | `f41ff03` | 2026-11-20 | Apache-2.0 (cloudflare-typescript); trimmed to the sections of 7.1.0 (the golden) and 7.0.0 (the drop test), each unchanged | "`cloudforceOne.threatEvents.indicatorTypes` has been renamed to `cloudforceOne.threatEvents.indicators`" | | `cloudflare-python-5.6.0-CHANGELOG.md` | https://raw.githubusercontent.com/cloudflare/cloudflare-python/v5.6.0/CHANGELOG.md | `02ab9a9` | 2026-11-20 | Apache-2.0 (cloudflare-python); trimmed to the sections of 5.6.0 (the golden) and 5.4.0 (the drop test), each unchanged | "accounts:** The `create()` and `get()` methods have been removed from `client.accounts.subscriptions`. The `Subscript…" | | `cloudflare-go-7.15.0-CHANGELOG.md` | https://raw.githubusercontent.com/cloudflare/cloudflare-go/v7.15.0/CHANGELOG.md | `d2f77a0` | 2026-11-20 | Apache-2.0 (cloudflare-go); trimmed to the sections of 7.15.0 (the golden) and 7.13.1 (the drop test), each unchanged | "rules:** the `ListCursor` and `ListCursorParam` types are removed." | | `cloudflare-terraform-5.29.0-CHANGELOG.md` | https://raw.githubusercontent.com/cloudflare/terraform-provider-cloudflare/v5.29.0/CHANGELOG.md | `8e7a366` | 2026-11-20 | Apache-2.0 (terraform-provider-cloudflare); trimmed to the sections of 5.29.0 (the golden) and 5.28.1 (the drop test), each unchanged | "zone_dns_settings, account_dns_settings:** the deprecated `foundation_dns` attribute has been removed. On `cloudflare…" | diff --git a/plugins/changelog/testdata/cloudflare-typescript-7.1.0-CHANGELOG.md b/plugins/changelog/testdata/cloudflare-typescript-7.1.0-CHANGELOG.md new file mode 100644 index 0000000..aa329ae --- /dev/null +++ b/plugins/changelog/testdata/cloudflare-typescript-7.1.0-CHANGELOG.md @@ -0,0 +1,386 @@ +## 7.1.0 (2026-08-17) + +Full Changelog: [v7.0.0...v7.1.0](https://github.com/cloudflare/cloudflare-typescript/compare/v7.0.0...v7.1.0) + +--- + +### Breaking Changes + +#### Resource Restructuring + +- `cloudforceOne.threatEvents.indicatorTypes` has been renamed to `cloudforceOne.threatEvents.indicators` + +#### Removed Methods + +- `intel.attackSurfaceReport.issues.dismiss()` -- removed along with `IssueDismissResponse` type +- `moq.relays.tokens.rotate()` -- removed along with `TokenRotateResponse` type + +#### Return Type Changes + +| Resource | Method | Old Return Type | New Return Type | +|----------|--------|----------------|-----------------| +| `zones.ct.alerting` | `edit()` | `AlertingEditResponse` | `CTAlertingSubscription` | +| `zones.ct.alerting` | `get()` | `AlertingGetResponse` | `CTAlertingSubscription` | +| `mtlsCertificates` | `list()` | `MTLSCertificatesSinglePage` | `MTLSCertificateListResponsesSinglePage` | +| `mtlsCertificates` | `delete()` | `MTLSCertificate` | `MTLSCertificateDeleteResponse` | +| `mtlsCertificates` | `get()` | `MTLSCertificate` | `MTLSCertificateGetResponse` | +| `hostnames.settings.tls` | `get()` | `TLSGetResponsesSinglePage` | `Setting` | +| `hyperdrive.configs` | `list()` | `HyperdrivesSinglePage` | `HyperdrivesV4PagePaginationArray` | + +#### Removed Types + +- `AlertingEditResponse`, `AlertingGetResponse` (on `zones.ct.alerting`) -- replaced by `CTAlertingSubscription` +- `MTLSCertificate`, `MTLSCertificatesSinglePage` (on `mtlsCertificates`) -- replaced by per-method response types +- `Host`, `Status`, `ValidationMethod` (on `ssl.certificatePacks`) +- `CertificateAuthority` (on `acm.totalTLS`) +- `HostnameAssociation` (on `certificateAuthorities.hostnameAssociations`) +- `Status` (on `customCertificates`) +- `TLSGetResponse`, `TLSGetResponsesSinglePage` (on `hostnames.settings.tls`) + +#### Endpoint Changes + +| Resource | Method | Old Endpoint | New Endpoint | +|----------|--------|-------------|--------------| +| `accounts.subscriptions` | `create()` | `POST /accounts/{account_id}/subscriptions` | `POST /{accounts_or_zones}/{account_or_zone_id}/subscriptions` | +| `accounts.subscriptions` | `get()` | `GET /accounts/{account_id}/subscriptions` | `GET /{accounts_or_zones}/{account_or_zone_id}/subscriptions` | +| `loadBalancers` | `create()`, `update()`, `list()`, `delete()`, `edit()`, `get()` | `/zones/{zone_id}/load_balancers/...` | `/{accounts_or_zones}/{account_or_zone_id}/load_balancers/...` | +| `billing.usage` | `paygo()` | `GET /accounts/{account_id}/paygo-usage` | `GET /accounts/{account_id}/billable-usage` | +| `hostnames.settings.tls` | `get()` | `GET /zones/{zone_id}/hostnames/settings/{setting_id}` | `GET /zones/{zone_id}/hostnames/settings/{setting_id}/{hostname}` | + +--- + +### Features + +#### New Resources + +- **`analyticsQuery`** -- `summary()`, `timeseries()`, `topN()` for analytics queries +- **`analyticsQuery.dataSecurity.contentFindings`** -- `topN()` +- **`analyticsQuery.dataSecurity.findings`** -- `summary()`, `timeseries()` +- **`accounts.speedSettings.transformations`** -- `get()` +- **`zones.transformationsAllowedOrigins`** -- `edit()`, `get()` +- **`zones.transformationsC2pa`** -- `edit()`, `get()` +- **`customHostnames.quota`** -- `get()` +- **`dns.dnssec.zsk`** -- `list()` +- **`emailRouting.accountRules`** -- `list()` +- **`intel.urls`** -- `get()` +- **`intel.sinkholes.ingresses`** -- `create()`, `update()`, `delete()`, `get()` +- **`magicTransit.connectors.interrupts`** -- `create()`, `list()` +- **`pages.projects.deployments.tails`** -- `create()`, `delete()` +- **`pages.assets`** -- `checkMissing()`, `upload()`, `upsertHashes()` +- **`precursor`** -- `update()`, `get()` +- **`registrar.extensions`** -- `list()`, `get()` +- **`registrarSandbox`** -- `check()`, `search()` with sub-resources for `registrations`, `registrationStatus`, `updateStatus`, and `extensions` +- **`cloudforceOne.threatEvents.aggregate`** -- `list()` +- **`cloudforceOne.threatEvents.graphql`** -- `create()` +- **`cloudforceOne.threatEvents.graph`** -- `list()` +- **`cloudforceOne.threatEvents.queries`** -- `create()`, `list()`, `delete()`, `edit()`, `get()` +- **`cloudforceOne.threatEvents.relationships`** -- `list()` +- **`cloudforceOne.threatEvents.indicators`** -- with sub-resources for `aggregate`, `types`, `byDataset`, and `byDataset.tags` +- **`cloudforceOne.threatEvents.categories.catalog`** -- `list()` +- **`cloudforceOne.threatEvents.datasets.events`** -- `get()` +- **`cloudforceOne.threatEvents.tags`** -- with sub-resources for `categories`, `indicators`, and `indicators.byDataset` +- **`cloudforceOne.threatEvents.targetIndustries`** -- with sub-resources for `byDataset` and `catalog` +- **`radar.bgp.routes.upstreams`** -- `timeseries()` +- **`radar.bgp.routes.paths`** -- `list()` +- **`zeroTrust.casb.applications.authMethods`** -- `list()` +- **`zeroTrust.casb.posture`** -- with sub-resources for `findings`, `exports`, `findingTypes`, `findingTypes.remediationTypes`, `content`, `remediations.jobs`, `webhooks`, and `webhooks.jobs` +- **`zeroTrust.networks.subnets.initialResolvedIP`** -- `update()`, `get()` + +#### New Methods on Existing Resources + +- **`emailSecurity.settings.domains.bulkDelete()`** -- `DELETE /accounts/{account_id}/email-security/settings/domains` +- **`emailRouting.update()`** -- `PUT /zones/{zone_id}/email/routing` +- **`emailRouting.edit()`** -- `PATCH /zones/{zone_id}/email/routing` +- **`emailRouting.rules.list()`** -- `GET /{accounts_or_zones}/{account_or_zone_id}/email/routing/rules` +- **`logs.logExplorer.datasets.delete()`** -- `DELETE /{accounts_or_zones}/{account_or_zone_id}/logs/explorer/datasets/{dataset_id}` +- **`queues.messages.peek()`** -- `POST /accounts/{account_id}/queues/{queue_id}/messages/peek` +- **`queues.messages.purge()`** -- `POST /accounts/{account_id}/queues/{queue_id}/messages/purge` +- **`addressing.prefixes.validate()`** -- `POST /accounts/{account_id}/addressing/prefixes/{prefix_id}/validate` +- **`billing.usage.getAccountUsageInfoV1()`** -- `GET /accounts/{account_id}/billable-usage/info` +- **`billing.usage.getAccountUsageV1()`** -- `GET /accounts/{account_id}/billable-usage` +- **`billing.usage.getAccountUsageV2()`** -- `GET /accounts/{account_id}/billable/usage` +- **`billing.usage.paygoInfo()`** -- `GET /accounts/{account_id}/billable-usage/info` +- **`intel.sinkholes.create()`**, **`update()`**, **`delete()`**, **`get()`** -- CRUD for sinkholes +- **`pages.projects.getUploadToken()`** -- `GET /accounts/{account_id}/pages/projects/{project_name}/upload-token` +- **`zeroTrust.casb.applications.list()`**, **`get()`** -- list and get CASB applications +- **`zeroTrust.casb.integrations`** -- `create()`, `update()`, `list()`, `delete()`, `get()`, `pause()`, `resume()` +- **`hostnames.settings.tls.list()`** -- `GET /zones/{zone_id}/hostnames/settings/{setting_id}` +- **`moq.relays.tokens.create()`**, **`list()`**, **`delete()`** -- token management +- **`cloudforceOne.threatEvents.bulkCreateRelationships()`** -- bulk create relationships +- **`cloudforceOne.threatEvents.datasets.delete()`** -- delete datasets +- **`cloudforceOne.threatEvents.tags.list()`**, **`delete()`**, **`edit()`** -- tag management +- **`resourceTagging.summary.get()`** -- `GET /accounts/{account_id}/tags/summary` +- **`aiAudit.robots.bulkGet()`**, **`get()`** -- AI audit robot data + +--- + +### Chores + +- Updated `@arethetypeswrong/cli` from ^0.17.0 to ^0.18.0 +- Fixed `repository` field in `package.json` + +## 7.0.0 (2026-07-09) + +Full Changelog: [v6.5.0...v7.0.0](https://github.com/cloudflare/cloudflare-typescript/compare/v6.5.0...v7.0.0) + +This is a major release with significant breaking changes to the SDK internals and API surface. +The SDK now uses the builtin Web fetch API, has zero runtime dependencies, and adopts a new +parameter convention for methods with multiple path parameters. A migration CLI is included to +help automate code updates. + +Please read through the breaking changes below and the [Migration Guide](./MIGRATION.md) before +upgrading. You can also run the automated migration tool: + +```sh +npx cloudflare migrate ./your/src/folders +``` + +#### Known limitations of the migration tool + +- **Not idempotent** -- running it a second time on already-migrated code will produce + incorrect output. Run it once only. +- **Partial migrations** -- if you have manually updated some call sites to v7 style + before running the tool, those call sites may be incorrectly transformed. Review + the output diff carefully before committing. + +--- + +### General Changes + +#### Zero dependencies + +The SDK no longer depends on `node-fetch`, `agentkeepalive`, `form-data-encoder`, `formdata-node`, +or `abort-controller`. It uses the builtin Web fetch API on all platforms. The `dependencies` field +in `package.json` is now empty. + +#### New client options + +- **`fetchOptions`** -- pass additional `RequestInit` options to every `fetch` call (e.g. custom + `signal`, `keepalive`, `cache`). Per-request `fetchOptions` override the client-level default. +- **`logLevel`** / **`logger`** -- configure SDK logging. Defaults to `process.env['CLOUDFLARE_LOG']` + or `'warn'`. Set `logLevel: 'debug'` for request/response tracing. + +#### Removed client options + +- **`httpAgent`** -- removed. Use `fetchOptions` to pass agent-like configuration instead. + +#### Type changes + +- `defaultHeaders` type changed from `Core.Headers` to `HeadersLike` +- `fetch` type changed from `Core.Fetch` to `Fetch` + +#### Internal restructuring + +The SDK internals have been reorganized: +- `src/core.ts` -> split into `src/core/` modules (`api-promise.ts`, `error.ts`, `pagination.ts`, + `resource.ts`, `uploads.ts`) +- `src/_shims/` -> replaced by `src/internal/` (`builtin-types.ts`, `detect-platform.ts`, + `errors.ts`, `headers.ts`, `parse.ts`, `shims.ts`, etc.) +- `src/index.ts` now re-exports from `src/client.ts` + +Import paths for internal modules have changed. If you were importing from `cloudflare/core` or +`cloudflare/_shims`, update your imports accordingly. + +--- + +### Breaking Changes + +#### Named path parameters + +Methods that take multiple path parameters now use named instead of positional arguments for all +but the _last_ path parameter. This prevents a common footgun where arguments could be accidentally +passed in the wrong order. + +```ts +// Before (v6.x) +client.accounts.members.get(memberId, { account_id: '...' }); + +// After (v7.0.0) +client.accounts.members.get(memberID, { account_id: '...' }); +``` + +For methods with 3+ path parameters, intermediate parameters move into the options object: + +```ts +// Before (v6.x) +client.customHostnames.certificatePack.certificates.update( + customHostnameId, certificatePackId, certificateId, { ...params } +); + +// After (v7.0.0) +client.customHostnames.certificatePack.certificates.update( + certificateID, { custom_hostname_id: '...', certificate_pack_id: '...', ...params } +); +``` + +This affects 232 methods across the SDK. See the [Migration Guide](./MIGRATION.md) for the +complete list. + +#### Parameter name casing (`camelCase` -> `UPPER_ID`) + +Path parameter argument names have been standardized from `camelCase` to `UPPER_ID` format +across 792 methods: + +```ts +// Before (v6.x) +client.alerting.policies.get(policyId, { ...params }); + +// After (v7.0.0) +client.alerting.policies.get(policyID, { ...params }); +``` + +While this is not a runtime breaking change (positional arguments work regardless of name), +it is a TypeScript compilation change if you were using named/destructured parameters. + +#### Web types for `withResponse`, `asResponse`, and `APIError.headers` + +The SDK now uses the builtin Web fetch API on all platforms. If you accessed `node-fetch`-specific +properties on response objects, you need to switch to standardized alternatives: + +```ts +// Before (v6.x) +const res = await client.example.retrieve('id').asResponse(); +res.body.pipe(process.stdout); + +// After (v7.0.0) +import { Readable } from 'node:stream'; +const res = await client.example.retrieve('id').asResponse(); +Readable.fromWeb(res.body).pipe(process.stdout); +``` + +The `headers` property on `APIError` objects is now an instance of the Web `Headers` class +(previously `Record`). + +#### Return type changes + +| Resource | Method | Old Return Type | New Return Type | +|----------|--------|----------------|-----------------| +| `zeroTrust.devices.dexTests` | `create()` | `DEXTestCreateResponse` | `SchemaHTTP` | +| `zeroTrust.devices.dexTests` | `update()` | `DEXTestUpdateResponse` | `SchemaHTTP` | +| `zeroTrust.devices.dexTests` | `list()` | `DEXTestListResponsesV4PagePaginationArray` | `SchemaHTTPSV4PagePaginationArray` | +| `zeroTrust.devices.dexTests` | `get()` | `DEXTestGetResponse` | `SchemaHTTP` | + +#### Removed types + +- `DEXTestCreateResponse` (use `SchemaHTTP`) +- `DEXTestUpdateResponse` (use `SchemaHTTP`) +- `DEXTestListResponse` (use `SchemaHTTPS`) +- `DEXTestGetResponse` (use `SchemaHTTP`) + +#### Method renames (`Id` -> `ID`) + +Several methods were renamed to use consistent `ID` casing: + +| Resource | Old Method | New Method | +|----------|-----------|------------| +| `vectorize.indexes` | `deleteByIds()` | `deleteByIDs()` | +| `vectorize.indexes` | `getByIds()` | `getByIDs()` | +| `realtimeKit.meetings` | `getMeetingById()` | `getMeetingByID()` | +| `realtimeKit.meetings` | `replaceMeetingById()` | `replaceMeetingByID()` | +| `realtimeKit.meetings` | `updateMeetingById()` | `updateMeetingByID()` | +| `realtimeKit.presets` | `getPresetById()` | `getPresetByID()` | +| `realtimeKit.sessions` | `getParticipantDataFromPeerId()` | `getParticipantDataFromPeerID()` | +| `realtimeKit.webhooks` | `getWebhookById()` | `getWebhookByID()` | +| `realtimeKit.livestreams` | `getActiveLivestreamsForLivestreamId()` | `getActiveLivestreamsForLivestreamID()` | +| `realtimeKit.livestreams` | `getLivestreamSessionDetailsForSessionId()` | `getLivestreamSessionDetailsForSessionID()` | +| `realtimeKit.livestreams` | `getLivestreamSessionForLivestreamId()` | `getLivestreamSessionForLivestreamID()` | + +#### Removed `fileFromPath` helper + +The `Cloudflare.fileFromPath` static method and the named `fileFromPath` export have been removed. +Use native Node.js streams or the `toFile()` helper instead: + +```ts +// Before (v6.x) +import Cloudflare, { fileFromPath } from 'cloudflare'; +const file = await fileFromPath('path/to/file'); + +// After (v7.0.0) +import fs from 'node:fs'; +const file = fs.createReadStream('path/to/file'); +``` + +#### `APIClient` replaced by `BaseCloudflare` + +The `APIClient` base class has been replaced: + +```ts +// Before (v6.x) +import { APIClient } from 'cloudflare/core'; + +// After (v7.0.0) +import { BaseCloudflare } from 'cloudflare/client'; +``` + +#### Page classes converted to type aliases + +Per-method pagination classes (e.g. `AccountsV4PagePaginationArray`) are now type aliases instead +of classes. Runtime `instanceof` checks against them will break. Import the base pagination class +instead, or use them only at the type level. + +#### `cloudflare/src` directory removed + +The `cloudflare/src/*` import paths are no longer available. If your IDE auto-completed imports +from `cloudflare/src/...`, replace them with `cloudflare/...`. + +--- + +### Features + +#### New Resources + +- **`registrar.registrations`** -- `create()`, `list()`, `edit()`, `get()` for domain registrations + +#### New Methods + +- **`accounts.logs.audit.history()`** -- `GET /accounts/{account_id}/logs/audit/{id}/history` +- **`accounts.logs.audit.productCategories()`** -- `GET /accounts/{account_id}/logs/audit/product_categories` +- **`organizations.logs.audit.history()`** -- `GET /organizations/{organization_id}/logs/audit/{id}/history` +- **`emailRouting.unlock()`** -- `POST /zones/{zone_id}/email/routing/unlock` +- **`emailRouting.addresses.edit()`** -- `PATCH /accounts/{account_id}/email/routing/addresses/{destination_address_identifier}` +- **`browserRendering.accessibilityTree.create()`** -- `POST /accounts/{account_id}/browser-rendering/accessibilityTree` + +#### New Types + +- `AuditHistoryResponse` (on `accounts.logs.audit` and `organizations.logs.audit`) +- `AuditProductCategoriesResponse` (on `accounts.logs.audit`) + +#### Tree-shaking support + +New `createClient` function and `PartialCloudflare` type exported from `cloudflare/tree-shakable`. +Every resource class now exports a `Base*` variant (e.g. `BaseAccounts`, `BaseZones`) for selective +imports, allowing bundlers to tree-shake unused resources and reduce bundle size. + +```ts +import { createClient } from 'cloudflare/tree-shakable'; +import { Zones } from 'cloudflare/resources/zones/zones'; + +const client = createClient({ resources: [Zones] }); +``` + +#### Migration CLI + +Automated codemod for v6 -> v7 migration. Handles path parameter reordering, casing changes, +and import path updates: + +```sh +npx cloudflare migrate ./your/src/folders +``` + +--- + +### Bug Fixes + +- **workflows:** move Workflow payload types into `Payload` namespace to avoid TS2717 duplicate + identifier errors + +--- + +### Chores + +- Zero runtime dependencies (removed `node-fetch`, `agentkeepalive`, `form-data-encoder`, + `formdata-node`, `abort-controller`) +- TypeScript upgraded to 5.8.3 (from ^4.8.2) +- ESLint upgraded to ^9.39.1 (from ^8.49.0) +- Node.js minimum version: 20 LTS +- Internal module restructuring (`src/core.ts` -> `src/core/`, `src/_shims/` -> `src/internal/`) diff --git a/plugins/changelog/testdata/cloudflare-typescript-7.2.0-CHANGELOG.md b/plugins/changelog/testdata/cloudflare-typescript-7.2.0-CHANGELOG.md deleted file mode 100644 index 8cd4185..0000000 --- a/plugins/changelog/testdata/cloudflare-typescript-7.2.0-CHANGELOG.md +++ /dev/null @@ -1,307 +0,0 @@ -## 7.2.0 (2026-09-25) - -Full Changelog: [v7.1.0...v7.2.0](https://github.com/cloudflare/cloudflare-typescript/compare/v7.1.0...v7.2.0) - ---- - -### Breaking Changes - -#### Removed Methods - -- `realtimeKit.livestreams.createIndependentLivestream()` -- removed along with `LivestreamCreateIndependentLivestreamResponse` type - -#### End-of-life APIs - -The legacy Rate Limiting and WAF overrides APIs have reached end of life and now respond with `410 Gone`. All methods -on these resources now return `void`, and their model types have been removed. - -| Resource | Methods | Removed Types | -|----------|---------|---------------| -| `rateLimits` | `create()`, `list()`, `delete()`, `edit()`, `get()` | `RateLimit`, `RateLimitsV4PagePaginationArray`, `RateLimitDeleteResponse` | -| `firewall.waf.overrides` | `create()`, `update()`, `list()`, `delete()`, `get()` | `Override`, `OverridesV4PagePaginationArray`, `OverrideDeleteResponse` | - -Migrate to the [Rulesets API](https://developers.cloudflare.com/ruleset-engine/) (`rulesets`) for rate limiting and -managed ruleset overrides. - -#### R2 `jurisdiction` parameter renamed - -The `jurisdiction` header parameter on all `r2.buckets` methods (including `cors`, `domains.custom`, -`domains.managed`, `eventNotifications`, `lifecycle`, `locks`, `objects`, and `sippy`) is now named -`'cf-r2-jurisdiction'`. The allowed values now also include `'us'` and `'fedramp-high'`. - -```ts -// Before -await client.r2.buckets.get('my-bucket', { account_id, jurisdiction: 'eu' }); - -// After -await client.r2.buckets.get('my-bucket', { account_id, 'cf-r2-jurisdiction': 'eu' }); -``` - -#### `addressing.addressMaps.accounts` path parameters - -`update()` and `delete()` now take the member account ID as the positional argument, and `address_map_id` is a -required param. The unused `body` param on `update()` has been removed. The endpoint is now -`/accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{member_account_id}`. - -```ts -// Before -await client.addressing.addressMaps.accounts.update(addressMapID, { account_id, body: {} }); -await client.addressing.addressMaps.accounts.delete(addressMapID, { account_id }); - -// After -await client.addressing.addressMaps.accounts.update(memberAccountID, { account_id, address_map_id: addressMapID }); -await client.addressing.addressMaps.accounts.delete(memberAccountID, { account_id, address_map_id: addressMapID }); -``` - -The `cloudflare migrate` tool has been updated to rewrite these call sites. - -#### `firewall.rules` bulk methods - -The legacy Firewall Rules API is deprecated and returns `410 Gone`; use the -[Rulesets API](https://developers.cloudflare.com/ruleset-engine/) (`rulesets`) instead. To match the published schema, -`bulkEdit()` and `bulkUpdate()` no longer accept a `body` param and now require an `id` param. - -```ts -// Before -await client.firewall.rules.bulkEdit({ zone_id, body: [...] }); - -// After -await client.firewall.rules.bulkEdit({ zone_id, id: ruleID }); -``` - -#### Empty `body` params removed - -The following methods no longer accept a placeholder `body` param. Remove `body: {}` from call sites. - -- `accounts.tokens.value.update()` -- `addressing.addressMaps.ips.update()`, `addressing.addressMaps.zones.update()` -- `cache.cacheReserve.clear()` -- `dns.records.scan()` -- `dns.zoneTransfers.forceAXFR.create()` -- `dns.zoneTransfers.outgoing.disable()`, `enable()`, `forceNotify()` -- `emailRouting.disable()`, `emailRouting.enable()` -- `magicTransit.ipsecTunnels.pskGenerate()` -- `stream.keys.create()` -- `workers.scripts.tail.create()` -- `zeroTrust.access.bookmarks.create()`, `update()` -- `zeroTrust.gateway.certificates.activate()`, `deactivate()` - -```ts -// Before -await client.dns.records.scan({ zone_id, body: {} }); - -// After -await client.dns.records.scan({ zone_id }); -``` - -#### Other parameter changes - -- `browserRendering` -- params for `content`, `json`, `links`, `markdown`, `pdf`, `scrape`, `screenshot`, - `snapshot`, and `accessibilityTree` are now a union of `Variant0` (requires `url`) and `Variant1` (requires - `html`). Code that declares these param types explicitly must provide exactly one of `url` or `html`. -- `magicTransit.connectors` -- `primary` and `site_id` removed from `create()`, `update()`, and `edit()` params and - from all responses -- `cloudforceOne.threatEvents.tags` -- `actorCategoryConfidence`, `analyticPriority`, `attributionConfidence`, - `attributionConfidenceScore`, `motiveConfidence`, `originCountryConfidence`, and `originCountryTlp` removed from - `create()` and `edit()` params; these fields and `originCountryISOAlpha3` removed from responses -- `pipelines.sinks`, `pipelines.streams` -- `schema.format` removed from `create()` params and responses; `force` - removed from `delete()` params -- `workflows.instances.events.create()`, `workflows.instances.bulk()` -- `body` is now required - -#### Return Type Changes - -| Resource | Method | Old Return Type | New Return Type | -|----------|--------|----------------|-----------------| -| `pageShield` | `get()` | `Setting \| null` | `PageShieldGetResponse \| null` | -| `pageShield.connections` | `list()` | `ConnectionsSinglePage` | `ConnectionListResponsesSinglePage` | -| `pageShield.connections` | `get()` | `Connection \| null` | `ConnectionGetResponse \| null` | -| `pageShield.scripts` | `list()` | `ScriptsSinglePage` | `ScriptListResponsesSinglePage` | -| `schemaValidation.schemas` | `delete()` | `SchemaDeleteResponse` | `SchemaDeleteResponse \| null` | -| `cache.originCloudRegions` | `update()` | `OriginCloudRegion` | `OriginCloudRegionUpdateResponse` | -| `cache.originCloudRegions` | `list()` | `OriginCloudRegionsV4PagePaginationArray` | `OriginCloudRegionListResponsesV4PagePaginationArray` | -| `cache.originCloudRegions` | `get()` | `OriginCloudRegion` | `OriginCloudRegionGetResponse` | -| `hyperdrive.configs` | `create()` | `Hyperdrive` | `ConfigCreateResponse` | -| `hyperdrive.configs` | `update()` | `Hyperdrive` | `ConfigUpdateResponse` | -| `hyperdrive.configs` | `list()` | `HyperdrivesV4PagePaginationArray` | `ConfigListResponsesV4PagePaginationArray` | -| `hyperdrive.configs` | `edit()` | `Hyperdrive` | `ConfigEditResponse` | -| `hyperdrive.configs` | `get()` | `Hyperdrive` | `ConfigGetResponse` | -| `mtlsCertificates` | `list()` | `MTLSCertificateListResponsesSinglePage` | `MTLSCertificatesSinglePage` | -| `mtlsCertificates` | `delete()` | `MTLSCertificateDeleteResponse` | `MTLSCertificate` | -| `mtlsCertificates` | `get()` | `MTLSCertificateGetResponse` | `MTLSCertificate` | -| `snippets.rules` | `update()` | `RuleUpdateResponse` | `RuleUpdateResponsesSinglePage` | -| `snippets.rules` | `list()` | `RuleListResponse` | `RuleListResponsesSinglePage` | -| `snippets.rules` | `delete()` | `RuleDeleteResponse` | `RuleDeleteResponsesSinglePage` | -| `snippets.rules` | `get()` | `RuleGetResponse` | `RuleGetResponsesSinglePage` | -| `workers.scripts.deployments` | `list()` | `DeploymentListResponse` | `DeploymentListResponsesV4PagePagination` | -| `zeroTrust.devices.overrideCodes` | `list()` | `OverrideCodeListResponsesSinglePage` | `OverrideCodeListResponse \| null` | -| `zeroTrust.organizations` | `list()` | `Organization` | `OrganizationListResponse` | -| `zeroTrust.gateway.lists.items` | `list()` | `GatewayItemsSinglePage` | `GatewayItemsV4PagePaginationArray` | -| `zeroTrust.gateway.pacfiles` | `list()` | `PacfileListResponsesSinglePage` | `PacfileListResponsesV4PagePaginationArray` | -| `emailRouting.dns` | `delete()` | `DNSRecordsSinglePage` | `Settings` | -| `waitingRooms` | `create()`, `update()`, `edit()`, `get()` | `WaitingRoom` | `WaitingRoom \| null` | -| `waitingRooms` | `delete()` | `WaitingRoomDeleteResponse` | `WaitingRoomDeleteResponse \| null` | -| `waitingRooms.page` | `preview()` | `PagePreviewResponse` | `PagePreviewResponse \| null` | -| `waitingRooms.events` | `create()`, `update()`, `edit()`, `get()` | `Event` | `Event \| null` | -| `waitingRooms.events` | `delete()` | `EventDeleteResponse` | `EventDeleteResponse \| null` | -| `waitingRooms.events.details` | `get()` | `DetailGetResponse` | `DetailGetResponse \| null` | -| `waitingRooms.statuses` | `get()` | `StatusGetResponse` | `StatusGetResponse \| null` | -| `waitingRooms.settings` | `update()` | `SettingUpdateResponse` | `SettingUpdateResponse \| null` | -| `waitingRooms.settings` | `edit()` | `SettingEditResponse` | `SettingEditResponse \| null` | -| `waitingRooms.settings` | `get()` | `SettingGetResponse` | `SettingGetResponse \| null` | - -Paginated `list()` methods that moved from `SinglePage` to `V4PagePagination*` now auto-paginate across pages when -iterated with `for await`. The `mtlsCertificates` change reverts the per-method response types introduced in 7.1.0. - -#### Removed Types - -- `Setting` (on `pageShield`) -- replaced by `PageShieldUpdateResponse` (for `edit()`) and `PageShieldGetResponse` (for `get()`) -- `Policy` (on `pageShield.policies`) -- replaced by per-method response types -- `Connection`, `ConnectionsSinglePage` (on `pageShield.connections`) -- replaced by `ConnectionListResponse`, `ConnectionListResponsesSinglePage` -- `Script`, `ScriptsSinglePage` (on `pageShield.scripts`) -- replaced by `ScriptListResponse`, `ScriptListResponsesSinglePage` -- `LivestreamCreateIndependentLivestreamResponse` (on `realtimeKit.livestreams`) -- removed with method -- `SchemaDeleteResponse` changed from `interface { id: string }` to `type = unknown` -- users accessing `.id` on the result will see a type error -- `HealthCheckParam` (on `magicTransit`) -- removed; `health_check` params now reference types scoped to each interconnect method (e.g. `CfInterconnectUpdateParams.HealthCheck`) -- 72 `WorkersBindingKind*` types removed from `workers.scripts.versions.VersionListResponse` -- the `bindings` field in `VersionListResponse.Resources` is now typed as an empty `Bindings` interface rather than an explicit union of binding variants -- `OriginCloudRegion`, `OriginCloudRegionsV4PagePaginationArray` (on `cache.originCloudRegions`) -- replaced by per-method response types -- `Configuration`, `HyperdrivesV4PagePaginationArray` (on `hyperdrive`) -- replaced by `ConfigCreateResponse`, `ConfigListResponse`, etc. -- `MTLSCertificateListResponse`, `MTLSCertificateDeleteResponse`, `MTLSCertificateGetResponse`, `MTLSCertificateListResponsesSinglePage` (on `mtlsCertificates`) -- replaced by `MTLSCertificate` -- `ClipResource`, `BaseClipResource` (on `stream`) -- renamed to `Clip`, `BaseClip`; the former `Clip` model interface has been removed (`stream.clip.create()` returns `Video`) -- `State` (on `cache.cacheReserve`) -- `CacheVariant` (on `cache.variants`) -- `Aegis` (on `zones.settings`) -- `Info`, `Submit` (on `brandProtection`) -- `Whois` (on `intel.whois`) -- `FallbackDomainPolicy` (on `zeroTrust.devices.policies`) -- `Connection` (on `zeroTrust.tunnels`) -- `OverrideCodeListResponsesSinglePage` (on `zeroTrust.devices.overrideCodes`) -- `GatewayItemsSinglePage` (on `zeroTrust.gateway.lists`) -- replaced by `GatewayItemsV4PagePaginationArray` -- `PacfileListResponsesSinglePage` (on `zeroTrust.gateway.pacfiles`) -- replaced by `PacfileListResponsesV4PagePaginationArray` - -#### Removed Response Fields - -- `apiGateway.operations`, `apiGateway.userSchemas.operations` -- `features.schema_info.learned_available` and - `features.schema_info.active_schema.is_learned` -- `radar.annotations.list()`, `radar.annotations.outages.get()` -- `asnsDetails[].locations` -- `radar.trafficAnomalies.get()` -- `asnDetails.locations` -- `schemaValidation.settings.operations.bulkEdit()` -- `operation_id` on each item -- `stream.webhooks.update()`, `stream.webhooks.get()` -- `notification_url` -- `tokenValidation.configuration.credentials.update()` -- `errors`, `messages`, `success` envelope fields -- `urlScanner.scans.get()` -- `meta.processors.robotsTxt.data[].rules['*']` -- `user.billing.profile.get()` -- `device_data`, `payment_gateway`, `payment_nonce`, `use_legacy` -- `zones.plans` (`AvailableRatePlan`) -- `legacy_discount` - ---- - -### Features - -#### New Resources - -- **`managedDefense.vulnerabilityDiscovery.repositories`** -- `create()`, `list()`, `get()` -- **`managedDefense.vulnerabilityDiscovery.scans`** -- `create()`, `list()`, `get()`, `getReport()` -- **`managedDefense.vulnerabilityDiscovery.reports`** -- `get()` -- **`fieldExtractors`** -- `update()`, `delete()`, `get()` -- **`accounts.subscriptions.cancelReason`** -- `create()`, `get()` -- **`accounts.subscriptions.actions`** -- `append()` -- **`accounts.subscriptions.bulk`** -- `create()` -- **`accounts.entitlements`** -- `list()` -- **`accounts.paymentMethods`** -- `create()`, `update()`, `list()`, `delete()`, `get()`, `setAsDefault()` -- **`accounts.payInvoice`** -- `create()` -- **`accounts.payBadDebt`** -- `create()` -- **`accounts.receipts`** -- `pdf()` -- **`accounts.invoices`** -- `edit()` -- **`accounts.clientSecret`** -- `create()` -- **`billing.profiles.paymentMethod`** -- `create()` -- **`billing.credits`** -- `get()` -- **`billing.history`** -- `list()` -- **`billing.badDebt`** -- `get()` -- **`billing.unpaidInvoice`** -- `get()` -- **`billing.ratePlans`** -- `get()` -- **`user.spectrumAnalytics.zones.reports`** -- `get()` -- **`zones.nel`** -- `edit()`, `get()` -- **`zones.entitlements`** -- `list()` -- **`zones.observability.tracing.settings`** -- `update()`, `delete()`, `get()` -- **`zones.observability.tracing.rules`** -- `update()`, `delete()`, `get()` -- **`emailSecurity.settings.contentPolicies`** -- `create()`, `list()`, `delete()`, `batch()`, `edit()`, `get()` -- **`emailSending.suppressions`** -- `create()`, `list()`, `delete()`, `edit()`, `get()`, `import()` -- **`logpush.transformers`** -- `create()`, `update()`, `list()`, `delete()`, `get()`, `preview()` -- **`logpush.transformers.content`** -- `get()` -- **`logpush.transformers.versions`** -- `list()` -- **`spectrum.protocols`** -- `list()` -- **`magicTransit.bgpFilterProfiles`** -- `create()`, `update()`, `list()`, `delete()`, `get()` -- **`registrar.transferIn`** -- `create()` -- **`registrar.transferInStatus`** -- `get()` -- **`zeroTrust.casb.posture.policies`** -- `create()`, `update()`, `list()`, `delete()`, `get()` -- **`abuseReports.submitted`** -- `list()`, `get()` -- **`abuseReports.submitted.emails`** -- `list()` -- **`browserRendering.devtools.browser.liveView`** -- `create()` - -#### New Methods - -- `accounts.subscriptions.cancelDowngrade()`, `getByIdentifier()` -- `billing.addressValidation()` -- `billing.profiles.create()`, `update()`, `delete()`, `updateBillingEmail()` -- `ssl.recommendations.get()` -- `emailSecurity.settings.allowPolicies.batch()` -- `emailSecurity.settings.blockSenders.batch()` -- `emailSecurity.settings.domains.create()`, `update()`, `batch()` -- `emailSecurity.settings.trustedDomains.batch()` -- `emailSending.subdomains.edit()` -- `addressing.prefixes.bgpPrefixes.delete()` -- `hyperdrive.configs.restart()` -- `r2DataCatalog.delete()` -- `zeroTrust.resourceLibrary.applications.create()`, `update()`, `delete()` -- `realtimeKit.presets.replacePresetByID()` -- `contentScanning.payloads.update()` -- `tokenValidation.configuration.credentials.edit()` - -#### New Types - -- `Host`, `Status`, `ValidationMethod` (on `ssl.certificatePacks`) and `CertificateAuthority` (on `acm.totalTLS`) -- restored -- `FieldType`, `ListField`, `SourceField`, `StructField` (on `pipelines`) -- `cloudforceOne.threatEvents.tags` -- annotated value types for tag attribution and confidence fields - ---- - -### Chores - -- Updated the `cloudflare migrate` tool configuration for `addressing.addressMaps.accounts` and new methods -- Updated the method lists in `MIGRATION.md` - ---- - -## 6.5.0 (2026-06-23) - -Full Changelog: [v6.3.0...v6.5.0](https://github.com/cloudflare/cloudflare-typescript/compare/v6.3.0...v6.5.0) - -### Features - -* **ai-gateway:** add CustomProviders, 1 sub-resource ([456be6f](https://github.com/cloudflare/cloudflare-typescript/commit/456be6ff8e4a85de321f6ac2dd466e0d572f9e85)) -* **email-auth:** add EmailAuth resource ([f424bee](https://github.com/cloudflare/cloudflare-typescript/commit/f424bee5791d76683534ba0721a1e79cba1c1954)) -* **email-security:** add bulk investigation ([827bf4c](https://github.com/cloudflare/cloudflare-typescript/commit/827bf4c8a36b90217765eaed56b47206914d3ea5)) -* **logs:** add log-explorer sub-resource ([5125978](https://github.com/cloudflare/cloudflare-typescript/commit/512597855200c2dd8015ae482061b6f0f9fbb2da)) -* **magic-transit:** add cf1-sites sub-resource ([148612a](https://github.com/cloudflare/cloudflare-typescript/commit/148612a4e52573e0a2500fb06b38e352515206fc)) -* **moq:** add MoQ resource ([2712713](https://github.com/cloudflare/cloudflare-typescript/commit/2712713470b5867c3cc8c6dc3371adf8e3656a1c)) -* **tenants:** add Tenants resource ([035563c](https://github.com/cloudflare/cloudflare-typescript/commit/035563c1d81f5a1eb952179d4faf449191fe4732)) -* **user:** add user tenants sub-resource ([803425f](https://github.com/cloudflare/cloudflare-typescript/commit/803425ff57f5195069325a02c967beefd56c5058)) -* **zones:** add CT alerting sub-resource ([9a3dead](https://github.com/cloudflare/cloudflare-typescript/commit/9a3dead21a27e49473e8dccd21c066e5697ceef0)) - - -### Chores - -* **accounts:** update codegen output ([9f670fd](https://github.com/cloudflare/cloudflare-typescript/commit/9f670fd360d4a6248fc265c45040df86fccf4f0f)) -* **aisearch:** update codegen output ([4d687e0](https://github.com/cloudflare/cloudflare-typescript/commit/4d687e0c8d179352c0473ec24fb451930c1b9614)) -* **billing:** update codegen output ([db0b645](https://github.com/cloudflare/cloudflare-typescript/commit/db0b6457c57776ffcf65124e60483e219235a211)) -* **browser-rendering:** update codegen output ([548a32f](https://github.com/cloudflare/cloudflare-typescript/commit/548a32f1add9bac6e3fa99cfe8af2c89173345f9)) -* **cloudforce-one:** update codegen output ([e2aa54a](https://github.com/cloudflare/cloudflare-typescript/commit/e2aa54a9b7fc433221cbc57445a76590b25f81fd)) -* **custom-hostnames:** update codegen output ([cc890d6](https://github.com/cloudflare/cloudflare-typescript/commit/cc890d67e1fd26348d6c40afb5f5e42f1423b880)) -* **email-routing:** update codegen output ([90eea55](https://github.com/cloudflare/cloudflare-typescript/commit/90eea555f6e84cbc4002704af4b8e1645b842acb)) -* **iam:** update codegen output ([ed876e6](https://github.com/cloudflare/cloudflare-typescript/commit/ed876e69b255c654646547704bb68d46793cae18)) -* **intel:** update codegen output ([271795f](https://github.com/cloudflare/cloudflare-typescript/commit/271795fd9666ca952d8c48763682f8d509d544a4)) -* **origin-tls-compliance-modes:** update codegen output ([704cd50](https://github.com/cloudflare/cloudflare-typescript/commit/704cd50a4a504842fcf4d04ee8959b53b8b135e3)) -* **radar:** update codegen output ([8c02e68](https://github.com/cloudflare/cloudflare-typescript/commit/8c02e6818903b5afe4d0dd84d622a7473adcb331)) -* **rulesets:** update codegen output ([edf0d01](https://github.com/cloudflare/cloudflare-typescript/commit/edf0d01dd93e2e64cd73f13732e89be1403f51ca)) -* **ssl:** update codegen output ([667b5b3](https://github.com/cloudflare/cloudflare-typescript/commit/667b5b3cda91552db9614fe9d4af2e9442028d25)) -* sync shared codegen files from staging-next ([6098a42](https://github.com/cloudflare/cloudflare-typescript/commit/6098a42d775eed6d5c446fa7537a2d5bd640e5d2)) -* **workers-for-platforms:** update codegen output ([ef238e6](https://github.com/cloudflare/cloudflare-typescript/commit/ef238e61422201a42dbbf4094037bcaed85a80a9)) -* **workers:** update codegen output ([51222e9](https://github.com/cloudflare/cloudflare-typescript/commit/51222e95d26965e02df3cb14352849210087cc59)) -* **zero-trust:** update codegen output ([aa2cbc3](https://github.com/cloudflare/cloudflare-typescript/commit/aa2cbc34e9348680e304820d8dbfb84d1028de64)) diff --git a/plugins/changelog/testdata/golden/cloudflare-typescript.json b/plugins/changelog/testdata/golden/cloudflare-typescript.json index 291d42f..cff035e 100644 --- a/plugins/changelog/testdata/golden/cloudflare-typescript.json +++ b/plugins/changelog/testdata/golden/cloudflare-typescript.json @@ -1,270 +1,26 @@ [ { "id": 1, - "fingerprint": "sha256:77fa0f3903472c1341793c5a0ff14a410b4cfee8abea043f3c080f278f7c5e77", + "fingerprint": "sha256:9b49062284e88bb168adc4b850ea1d2d8f847d648c0b8a81f2c79913a7e9c10c", "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", + "version": "7.1.0", + "previous_version": "7.0.0", "change_type": "breaking", "breaking": true, "subject": { "type": "package_release", "ecosystem": "npm", "package": "cloudflare", - "change": "removed_symbol", + "change": "renamed_symbol", "symbols": [ - "accounts.tokens.value.update" - ] + "cloudforceOne.threatEvents.indicatorTypes" + ], + "replacement": "cloudforceOne.threatEvents.indicators" }, - "description": "`accounts.tokens.value.update` was removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`accounts.tokens.value.update()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `accounts.tokens.value.update()`", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 2, - "fingerprint": "sha256:7cece1f65feea5183e709f71b646a38e55d3f61d632effc7d2efe9587a74689a", - "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "npm", - "package": "cloudflare", - "change": "removed_symbol", - "symbols": [ - "addressing.addressMaps.ips.update", - "addressing.addressMaps.zones.update" - ] - }, - "description": "`addressing.addressMaps.ips.update`, `addressing.addressMaps.zones.update` were removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`addressing.addressMaps.ips.update()`, `addressing.addressMaps.zones.update()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `addressing.addressMaps.ips.update()`, `addressing.addressMaps.zones.update()`", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 3, - "fingerprint": "sha256:e5b5e77b29b9b0e45a2d3def8c2f3b9625f02bf0a48ed7eec7ae16bf51e4d601", - "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "npm", - "package": "cloudflare", - "change": "removed_symbol", - "symbols": [ - "cache.cacheReserve.clear" - ] - }, - "description": "`cache.cacheReserve.clear` was removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`cache.cacheReserve.clear()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `cache.cacheReserve.clear()`", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 4, - "fingerprint": "sha256:4fc37fbc375bcf397e339f1cfa87a5f22c994e80bd9acc85358e2f84c816eb82", - "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "npm", - "package": "cloudflare", - "change": "removed_symbol", - "symbols": [ - "dns.records.scan" - ] - }, - "description": "`dns.records.scan` was removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`dns.records.scan()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `dns.records.scan()`", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 5, - "fingerprint": "sha256:134dd1216e0dc7e93216c47f4ad7b738c64c226e4833fd934019ffab692e0f28", - "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "npm", - "package": "cloudflare", - "change": "removed_symbol", - "symbols": [ - "dns.zoneTransfers.forceAXFR.create" - ] - }, - "description": "`dns.zoneTransfers.forceAXFR.create` was removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`dns.zoneTransfers.forceAXFR.create()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `dns.zoneTransfers.forceAXFR.create()`", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 6, - "fingerprint": "sha256:50dc4a5e89a74a666093f4c6017aaf3ecf62b4a6a587b39de35061fef29212a2", - "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "npm", - "package": "cloudflare", - "change": "removed_symbol", - "symbols": [ - "dns.zoneTransfers.outgoing.disable", - "enable", - "forceNotify" - ] - }, - "description": "`dns.zoneTransfers.outgoing.disable`, `enable`, `forceNotify` were removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`dns.zoneTransfers.outgoing.disable()`, `enable()`, `forceNotify()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `dns.zoneTransfers.outgoing.disable()`, `enable()`, `forceNotify()`", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 7, - "fingerprint": "sha256:133eadd068ce6ef418e06c85cb21d413f3b31c8f3e41c40c19497a860d356612", - "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "npm", - "package": "cloudflare", - "change": "removed_symbol", - "symbols": [ - "emailRouting.disable", - "emailRouting.enable" - ] - }, - "description": "`emailRouting.disable`, `emailRouting.enable` were removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`emailRouting.disable()`, `emailRouting.enable()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `emailRouting.disable()`, `emailRouting.enable()`", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 8, - "fingerprint": "sha256:7ed480dff9a03a58c4683b3907d7c62b48528420f43aa233145c4cace2e6f8be", - "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "npm", - "package": "cloudflare", - "change": "removed_symbol", - "symbols": [ - "magicTransit.ipsecTunnels.pskGenerate" - ] - }, - "description": "`magicTransit.ipsecTunnels.pskGenerate` was removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`magicTransit.ipsecTunnels.pskGenerate()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `magicTransit.ipsecTunnels.pskGenerate()`", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 9, - "fingerprint": "sha256:6760b085d17ee4bebac8f753461f75403f3bea4585026f6a766cc35043a1a078", - "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "npm", - "package": "cloudflare", - "change": "removed_symbol", - "symbols": [ - "stream.keys.create" - ] - }, - "description": "`stream.keys.create` was removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`stream.keys.create()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `stream.keys.create()`", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 10, - "fingerprint": "sha256:79bf35ee3acf7a485565de2453011a61691e2e12145fb13fa712916b4c7fa0a2", - "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "npm", - "package": "cloudflare", - "change": "removed_symbol", - "symbols": [ - "workers.scripts.tail.create" - ] - }, - "description": "`workers.scripts.tail.create` was removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`workers.scripts.tail.create()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `workers.scripts.tail.create()`", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 11, - "fingerprint": "sha256:8660f9646a9867f8143274f4e0972f2da1a983de3c3915440a055c8f513c017a", - "api": "cloudflare/typescript", - "version": "7.2.0", - "previous_version": "7.1.0", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "npm", - "package": "cloudflare", - "change": "removed_symbol", - "symbols": [ - "zeroTrust.gateway.certificates.activate", - "deactivate" - ] - }, - "description": "`zeroTrust.gateway.certificates.activate`, `deactivate` were removed in cloudflare 7.2.0: code using it fails.", - "migration_hint": "`zeroTrust.gateway.certificates.activate()`, `deactivate()` (cloudflare's changelog for 7.2.0)", - "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.2.0/CHANGELOG.md", - "source_excerpt": "## 7.2.0 (2026-09-25)\nBreaking Changes\n- `zeroTrust.gateway.certificates.activate()`, `deactivate()`", + "description": "`cloudforceOne.threatEvents.indicatorTypes` was renamed to `cloudforceOne.threatEvents.indicators` in cloudflare 7.1.0: code using the old name fails.", + "migration_hint": "`cloudforceOne.threatEvents.indicatorTypes` has been renamed to `cloudforceOne.threatEvents.indicators` (cloudflare's changelog for 7.1.0)", + "source_url": "https://raw.githubusercontent.com/cloudflare/cloudflare-typescript/v7.1.0/CHANGELOG.md", + "source_excerpt": "## 7.1.0 (2026-08-17)\nBreaking Changes\n- `cloudforceOne.threatEvents.indicatorTypes` has been renamed to `cloudforceOne.threatEvents.indicators`", "confidence": 1, "detected_at": "2026-11-14T12:00:00Z" }