Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions plugins/changelog/cloudflare.go
Original file line number Diff line number Diff line change
@@ -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"}
)
12 changes: 12 additions & 0 deletions plugins/changelog/cloudflare_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package changelog

import "testing"

func TestCloudflareSDKs(t *testing.T) {
checkSDKs(t, []sdkCase{
{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"},
})
}
4 changes: 4 additions & 0 deletions plugins/changelog/testdata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ Read with `Plugin{File: ...}` (`sdks.go`); `golden/<provider>-<source>.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.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…" |

## Version lists

Expand Down
49 changes: 49 additions & 0 deletions plugins/changelog/testdata/cloudflare-go-7.15.0-CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Loading
Loading