From 7f09c1c07071a7905c97c66568916d3a82c6ef10 Mon Sep 17 00:00:00 2001 From: adssib <75389300+adssib@users.noreply.github.com> Date: Fri, 20 Nov 2026 21:04:04 -0500 Subject: [PATCH 1/9] changelog: read SDK changelogs, release notes and tag-listed releases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The classifier reads the SDK changelogs' shapes: release-please's "⚠ BREAKING CHANGES", changesets' "Major Changes", Stripe's ⚠️ bullets, "**[BREAKING]**" and "feat!:" marks, an area, issue or commit a bullet starts with, passive removals and renames from an owner, and semantic- release's "# [X.0.0]" major headings. A File can read each GitHub release's notes (Notes), list releases from the repo's tags for an ecosystem with no registry lister, and names a Go module at its major. Co-Authored-By: Claude Opus 5.5 Signed-off-by: adssib <75389300+adssib@users.noreply.github.com> --- AGENTS.md | 2 +- docs/which-kind.md | 2 +- docs/writing-a-plugin.md | 2 +- plugins/changelog/changelog.go | 135 +++++++++++++++--- plugins/changelog/changelog_test.go | 35 +++++ plugins/changelog/classify.go | 63 ++++++-- plugins/changelog/parse.go | 44 ++++-- plugins/changelog/parse_test.go | 13 ++ plugins/changelog/testdata/README.md | 1 + .../versions/octokit-rest-releases.json | 6 + .../testdata/versions/stripe-go-tags.json | 7 + plugins/changelog/versions_test.go | 29 ++++ 12 files changed, 291 insertions(+), 48 deletions(-) create mode 100644 plugins/changelog/testdata/versions/octokit-rest-releases.json create mode 100644 plugins/changelog/testdata/versions/stripe-go-tags.json diff --git a/AGENTS.md b/AGENTS.md index fbf9895..8f54e2e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -61,7 +61,7 @@ core/event/ the change event of patch-it's contract: types, fingerpri core/diff/ core/normalize/ core/hint/ the OpenAPI diff engine and its helpers plugins// one package per kind, with its providers: openapi (+ adapter/, one spec adapter per provider), notices (+ retire/, feed/, eol/), migrationguide (+ sdkguide/, - members/), changelog (Markdown, RST or JSON), catalog, apisurface (+ pysurface/); + members/), changelog (Markdown, RST, GitHub release notes or JSON), catalog, apisurface (+ pysurface/); plugins/all imports every one cmd/list-plugins/ prints the list from the registry (make plugins); internal/pluginlist/ is its logic cmd/new-plugin/ scaffolds a provider's source on a kind (make new-plugin ARGS=...; go run ./cmd/new-plugin --help) diff --git a/docs/which-kind.md b/docs/which-kind.md index f2f67c9..aa860e9 100644 --- a/docs/which-kind.md +++ b/docs/which-kind.md @@ -10,7 +10,7 @@ Every kind is one of two shapes ([writing-a-plugin.md, step 4](writing-a-plugin. |---|---|---|---| | Does the provider publish an **OpenAPI spec** of its API, per release or per commit? | `openapi` | Two specs, diffed: removed and renamed operations, parameters, fields; deprecations | A spec repo with release tags; a spec file a repo commits on every change | | Is there a **guide that lists what a release removed**, one per major or per release, in a table? | `migrationguide` | The guide at the release's tag: removed request parameters (reader `sdk`) or removed members of a module (reader `members`, RST or Markdown tables) | `MIGRATION.md` per major; "removed members" tables in a 2.0 migration guide; an API version removal guide | -| Is there a **changelog**: a file per release (`CHANGELOG.md`, `CHANGES.rst`, `HISTORY.rst`), or a machine-readable JSON changelog? | `changelog` | The release's section at its tag (reader `markdown`), or the life-cycle entries a JSON changelog adds commit by commit (reader `json`) | Keep a Changelog files; reStructuredText release notes; an API changelog JSON in a repo; a Terraform provider's changelog | +| Is there a **changelog**: a file per release (`CHANGELOG.md`, `CHANGES.rst`, `HISTORY.rst`), release notes on each GitHub release, or a machine-readable JSON changelog? | `changelog` | The release's section at its tag, or the tag's GitHub release notes (`Notes: true`) (reader `markdown`), or the life-cycle entries a JSON changelog adds commit by commit (reader `json`) | Keep a Changelog files; release-please and changesets changelogs; reStructuredText release notes; an SDK with only GitHub release notes; an API changelog JSON in a repo; a Terraform provider's changelog | | Is there a **live page of dated notices**: a deprecations or shutdown table, an end-of-life table, or an **RSS/Atom feed** of announcements? | `notices` | The page as it is now, cited through a Web Archive snapshot, against the snapshot kept from the read before: a living page, with no versions of its own (reader `deprecations`, `feed`, or an end-of-life table) | A model deprecations page; an API end-of-life policy table; a changelog feed with a "deprecation" label; a Kubernetes API removals page | | Is there a **flat catalog**, one JSON entry per name (a command, an endpoint), with no release tags? | `catalog` | Two snapshots, compared for names that disappeared entirely | A list of commands a server accepts, kept in a repo | | Is it a **published package** with no changelog worth reading? | `apisurface` | Each release's files from the registry (PyPI first), compared: removed or renamed classes, functions, methods, and parameters removed or newly required | An SDK generated from a spec, released often, whose changelog says "chore: update types" | diff --git a/docs/writing-a-plugin.md b/docs/writing-a-plugin.md index 01b4ea7..5c0023a 100644 --- a/docs/writing-a-plugin.md +++ b/docs/writing-a-plugin.md @@ -85,7 +85,7 @@ Write the numbers on the provider page, as `providers/vercel.md` does for its sp | `plugins/openapi` | An OpenAPI spec per release, diffed with `core/diff/` and turned into events by `core/normalize/` | An `adapter.Adapter` in `plugins/openapi/adapter/` (latest tag, fetch a tag's spec; `Versions` to list every release) and a `plugin.RegisterProvider` block | | `plugins/notices` | A live page of dated notices: a model provider's deprecations page (a table of date, model, replacement), a vendor's RSS or Atom feed, a vendor's table of whole API version ranges and their support status | A `retire.Page` in `plugins/notices/retire/providers.go`, a `feed.Feed` with a reader for that vendor's entries in `plugins/notices/feed/`, or an `eol.Page` in `plugins/notices/eol/` (`new-plugin` doesn't scaffold this reader yet) | | `plugins/migrationguide` | A guide that lists what a release removed, at the release's tag: an SDK's migration guide per new major (removed request parameters), or a package's table of removed members (an RST simple table or a Markdown pipe table) | A `sdkguide.Guide` in `plugins/migrationguide/sdkguide/`, or a `members.Guide` in `plugins/migrationguide/members/` | -| `plugins/changelog` | A changelog: a `CHANGELOG.md` / `CHANGES.rst` / `HISTORY.rst`, each release's section at its tag (releases from PyPI or npm), or a vendor's machine-readable API changelog in JSON (per day, endpoint and API version, oasdiff change codes), commit by commit | A `changelog.File` with its `TagPrefix`, or a `changelog.Log` | +| `plugins/changelog` | A changelog: a `CHANGELOG.md` / `CHANGES.rst` / `HISTORY.rst`, each release's section at its tag (releases from PyPI or npm, or for any other ecosystem the repo's `TagPrefix` + X.Y.Z tags), or each GitHub release's notes (`Notes`), or a vendor's machine-readable API changelog in JSON (per day, endpoint and API version, oasdiff change codes), commit by commit | A `changelog.File` with its `Ecosystem` and `TagPrefix`, or a `changelog.Log` | | `plugins/catalog` | A flat JSON catalog, one entry per name, with no release tags to pin — a commit SHA stands in | A `catalog.Catalog`, diffed between two snapshots for names that disappeared entirely | | `plugins/apisurface` | A published package's public API, compared between two releases: the classes, functions, methods and parameters in each release's files (Python first: the wheel or sdist from PyPI) | A `apisurface.Package` (registry name, ecosystem, top-level module) and its `plugin.RegisterProvider` block | diff --git a/plugins/changelog/changelog.go b/plugins/changelog/changelog.go index 90a8a63..0d4d44f 100644 --- a/plugins/changelog/changelog.go +++ b/plugins/changelog/changelog.go @@ -1,17 +1,22 @@ // Package changelog is the kind for a changelog, with a parser for each -// shape: a package's changelog file in Markdown or reStructuredText (File; -// this file, parse.go, classify.go), or a vendor's machine-readable API -// changelog in JSON (Log; json.go). One Plugin reads either. +// shape: a package's changelog file in Markdown or reStructuredText, or its +// release notes on GitHub (File; this file, parse.go, classify.go), or a +// vendor's machine-readable API changelog in JSON (Log; json.go). One Plugin +// reads either. // -// A changelog file (CHANGELOG.md, CHANGES.rst, HISTORY.rst) is read at a release's tag: one -// change event per bullet that plainly removes, renames or deprecates names -// code uses. The tag never changes, so its URL is the event's provenance (no +// A changelog file (CHANGELOG.md, CHANGES.rst, HISTORY.rst) is read at a +// release's tag, and a release's notes at its tag's GitHub release: one change +// event per bullet that plainly removes, renames or deprecates names code +// uses. The tag never changes, so its URL is the event's provenance (no // snapshot) and a rerun stores nothing new: the fingerprints dedupe. // // Which bullets count: those under a Keep a Changelog "Removed" or // "Deprecated" heading, and the common variants ("Breaking changes", -// "Backwards incompatible changes", "Deprecations", reStructuredText titles, -// "**Deprecations**:"), plus a "Breaking change:" bullet under any heading. +// "⚠ BREAKING CHANGES", "Backwards incompatible changes", "Deprecations", +// changesets' "Major Changes", reStructuredText titles, "**Deprecations**:"), +// plus a bullet marked breaking under any heading ("Breaking change:", "⚠️", +// "**[BREAKING]**", "feat!:"). An area, issue or commit the bullet starts +// with ("**client:**", "[#12](...)", "abc1234:") is read past. // A bullet must say which names in one plain sentence ("Removed `X`", // "`X` class removed", "Deprecated `X` in favor of `Y`"); anything else // (dropped Python versions, behavior changes, parameters of an unnamed call, @@ -20,8 +25,12 @@ package changelog import ( "context" + "encoding/json" "fmt" "log" + "net/url" + "regexp" + "slices" "strings" "github.com/patch-it-dev/patch-it-plugins/core/event" @@ -62,16 +71,21 @@ func init() { } // File is one package's changelog. Unpinned (Tag and Release empty), it is -// read release by release: every version on the package registry, the file at -// that release's tag (TagPrefix + version). Pinned (At), it is one release. +// read release by release: every version on the package registry (PyPI, npm) +// or, for an ecosystem patch-it doesn't list (Go, Maven, NuGet, RubyGems, +// Packagist, Terraform), every TagPrefix + X.Y.Z tag in the repo; the file at +// that release's tag. With Notes, the changelog is each release's notes on +// GitHub instead of a file, and the versions are the repo's releases. Pinned +// (At), it is one release. type File struct { API string // the source id the events carry: "urllib3/urllib3" - Package string // the installed name: "urllib3" - Ecosystem string // where its releases are listed: "pypi" + Package string // the installed name: "urllib3"; a Go module's path without its /vN + Ecosystem string // where it's installed from: "pypi", "npm", "go", "maven", "nuget", "rubygems", "packagist", "terraform" Module string // the import name, stripped from a symbol's front: "urllib3" Repo string // owner/name on GitHub TagPrefix string // a release's git tag is TagPrefix + its version: "v" for v0.86.0 Path string // the changelog's path in the repo + Notes bool // the changelog is each GitHub release's notes, not a file Tag string // pinned: the release's tag: "2.0.0", "v0.86.0" Release string // pinned: the release as the changelog heads it: "2.0.0" } @@ -104,11 +118,41 @@ var ( Urllib3200 = Urllib3.At("2.0.0") ) -// URL is the changelog as it was at the (pinned) tag: its own provenance. +// URL is what ReadAt fetches: the changelog as it was at the (pinned) tag, +// or the tag's release on GitHub's API. func (f File) URL() string { + if f.Notes { + return fmt.Sprintf("%s/repos/%s/releases/tags/%s", versions.GitHubAPI, f.Repo, url.PathEscape(f.Tag)) + } return fmt.Sprintf("https://raw.githubusercontent.com/%s/%s/%s", f.Repo, f.Tag, f.Path) } +// Cite is the events' provenance: the file at the tag, or the release's +// page, where a person reads the same notes. +func (f File) Cite() string { + if f.Notes { + return fmt.Sprintf("https://github.com/%s/releases/tag/%s", f.Repo, url.PathEscape(f.Tag)) + } + return f.URL() +} + +// what the changelog is, in a sentence. +func (f File) what() string { + if f.Notes { + return "release notes" + } + return "changelog" +} + +// installed is the package as code installs it at the release: a Go +// module's path gains /vN from major 2 on (Go's semantic import versioning). +func (f File) installed() string { + if m := versions.Major(f.Release); f.Ecosystem == "go" && m >= 2 { + return fmt.Sprintf("%s/v%d", f.Package, m) + } + return f.Package +} + // Finding is one bullet that became a change, or one that was dropped. type Finding struct { Change Change @@ -119,7 +163,12 @@ type Finding struct { // Read finds the release's breaking and deprecation bullets. func (f File) Read(page []byte) (heading string, out []Finding, err error) { - heading, sections, err := ReleaseNotes(page, f.Release) + var sections []Section + if f.Notes { + heading, sections, err = f.notes(page) + } else { + heading, sections, err = ReleaseNotes(page, f.Release) + } if err != nil { return "", nil, err } @@ -144,6 +193,30 @@ func (f File) Read(page []byte) (heading string, out []Finding, err error) { return heading, out, nil } +// notes are the sections of a GitHub release's body (the API's JSON for one +// release), headed by its name. A release with no notes has nothing to read. +func (f File) notes(page []byte) (string, []Section, error) { + var r struct { + Tag string `json:"tag_name"` + Name string `json:"name"` + Body string `json:"body"` + } + if err := json.Unmarshal(page, &r); err != nil { + return "", nil, fmt.Errorf("parsing the release %s: %w", f.Tag, err) + } + if r.Tag != f.Tag { + return "", nil, fmt.Errorf("the release read is %q, not %q", r.Tag, f.Tag) + } + if strings.TrimSpace(r.Body) == "" { + return "", nil, fmt.Errorf("release %s has no notes: %w", f.Tag, plugin.ErrNothingToRead) + } + heading := r.Name + if heading == "" { + heading = r.Tag + } + return heading, NotesSections(r.Body), nil +} + // added are the names the release's "Added" bullets name, as symbols. func (f File) added(sections []Section) map[string]bool { out := map[string]bool{} @@ -194,13 +267,24 @@ func (p Plugin) ListVersions(ctx context.Context, env plugin.Env) ([]plugin.Vers } var vs []plugin.Version var err error - switch f.Ecosystem { - case "pypi": + switch { + case f.Notes: + vs, err = versions.GitHubReleases(ctx, env.Get, f.Repo, func(tag string) bool { + v, ok := strings.CutPrefix(tag, f.TagPrefix) + return ok && versions.Final(v) && !strings.HasPrefix(v, "v") + }) + for i := range vs { + vs[i].ID = strings.TrimPrefix(vs[i].Ref, f.TagPrefix) + } + slices.SortStableFunc(vs, func(a, b plugin.Version) int { return versions.Compare(a.ID, b.ID) }) + return vs, err + case f.Ecosystem == "pypi": vs, err = versions.PyPIReleases(ctx, env.Get, f.Package) - case "npm": + case f.Ecosystem == "npm": vs, err = versions.NPMReleases(ctx, env.Get, f.Package) default: - return nil, fmt.Errorf("%s: no registry to list %q releases from", f.Package, f.Ecosystem) + // No registry patch-it lists from: the repo's release tags. + return versions.GitHubTags(ctx, env.Get, f.Repo, regexp.MustCompile(`^`+regexp.QuoteMeta(f.TagPrefix)+`(\d+(?:\.\d+)+)$`)) } if err != nil { return nil, err @@ -222,7 +306,7 @@ func (p Plugin) ReadAt(ctx context.Context, env plugin.Env, v plugin.Version) (p if err != nil { return plugin.Snapshot{}, fmt.Errorf("fetching %s: %w", f.URL(), err) } - return plugin.Snapshot{Version: v, Content: page, SourceURL: f.URL()}, nil + return plugin.Snapshot{Version: v, Content: page, SourceURL: f.Cite()}, nil } // Extract is the to release's section of the changelog: an event per bullet @@ -237,11 +321,12 @@ func (p Plugin) Extract(_ context.Context, env plugin.Env, from, to plugin.Snaps f.Release, f.Tag = to.Version.ID, to.Version.Ref heading, findings, err := f.Read(to.Content) if err != nil { - return plugin.Result{}, fmt.Errorf("reading %s: %w", f.URL(), err) + return plugin.Result{}, fmt.Errorf("reading %s: %w", f.Cite(), err) } now := env.Now().UTC() var events []event.Event var rejected []error + seen := map[string]bool{} // a changelog that lists a bullet twice is one change for _, fd := range findings { if fd.Dropped != "" { log.Printf("%s %s: dropped %q: %s", f.Package, f.Release, fd.Bullet.Text, fd.Dropped) @@ -249,7 +334,7 @@ func (p Plugin) Extract(_ context.Context, env plugin.Env, from, to plugin.Snaps } c := fd.Change subject := event.Subject{ - Type: event.SubjectPackageRelease, Ecosystem: f.Ecosystem, Package: f.Package, + Type: event.SubjectPackageRelease, Ecosystem: f.Ecosystem, Package: f.installed(), Change: c.Change, Symbols: c.Symbols, Replacement: c.Replacement, } e := event.Event{ @@ -260,13 +345,17 @@ func (p Plugin) Extract(_ context.Context, env plugin.Env, from, to plugin.Snaps Breaking: c.ChangeType == event.ChangeTypeBreaking, Subject: subject, Description: describe(f, c), - MigrationHint: cap2000(fmt.Sprintf("%s (%s's changelog for %s)", fd.Bullet.Text, f.Package, f.Release)), - SourceURL: f.URL(), + MigrationHint: cap2000(fmt.Sprintf("%s (%s's %s for %s)", fd.Bullet.Text, f.Package, f.what(), f.Release)), + SourceURL: f.Cite(), SourceExcerpt: cap2000(heading + "\n" + fd.Section + "\n" + fd.Bullet.Raw), Confidence: 1.0, DetectedAt: now, } e.Fingerprint = event.Fingerprint(e.API, e.Version, e.ChangeType, subject, "") + if seen[e.Fingerprint] { + continue + } + seen[e.Fingerprint] = true if err := e.Validate(); err != nil { rejected = append(rejected, fmt.Errorf("%s %s %v: %w", f.Package, f.Release, c.Symbols, err)) continue diff --git a/plugins/changelog/changelog_test.go b/plugins/changelog/changelog_test.go index 6dc9088..86114fa 100644 --- a/plugins/changelog/changelog_test.go +++ b/plugins/changelog/changelog_test.go @@ -2,6 +2,7 @@ package changelog import ( "context" + "errors" "strings" "testing" @@ -95,3 +96,37 @@ func TestUnsureBulletsAreDropped(t *testing.T) { } } } + +// A Go module's events name the module as code imports it at that major. +func TestAGoModuleIsNamedByItsMajor(t *testing.T) { + f := File{Package: "github.com/acme/acme-go", Ecosystem: "go"} + for release, want := range map[string]string{"73.0.0": "github.com/acme/acme-go/v73", "1.4.0": "github.com/acme/acme-go", "0.31.0": "github.com/acme/acme-go"} { + if got := f.At(release).installed(); got != want { + t.Errorf("%s: %s, want %s", release, got, want) + } + } +} + +// A release's notes on GitHub are read whole: any heading level starts a +// section, a code fence is skipped, and notes for another tag or none at +// all are never read as "no breaking changes". +func TestReleaseNotesAreReadWhole(t *testing.T) { + f := File{Package: "acme", Repo: "acme/acme", TagPrefix: "v", Notes: true}.At("2.0.0") + body := "## BREAKING CHANGES\\n\\n* `acme.old()` has been removed\\n\\n```\\n- `acme.example()` has been removed\\n```\\n\\n### Features\\n\\n* add `acme.new()`\\n" + _, fs, err := f.Read([]byte(`{"tag_name": "v2.0.0", "name": "v2.0.0", "body": "` + body + `"}`)) + if err != nil { + t.Fatal(err) + } + if len(fs) != 1 || fs[0].Dropped != "" || strings.Join(fs[0].Change.Symbols, ",") != "acme.old" { + t.Errorf("findings %+v", fs) + } + if f.Cite() != "https://github.com/acme/acme/releases/tag/v2.0.0" || f.URL() != "https://api.github.com/repos/acme/acme/releases/tags/v2.0.0" { + t.Errorf("cite %s, url %s", f.Cite(), f.URL()) + } + if _, _, err := f.Read([]byte(`{"tag_name": "v1.9.0", "body": "x"}`)); err == nil { + t.Error("another release's notes: want an error") + } + if _, _, err := f.Read([]byte(`{"tag_name": "v2.0.0", "body": ""}`)); !errors.Is(err, plugin.ErrNothingToRead) { + t.Errorf("no notes: %v, want plugin.ErrNothingToRead", err) + } +} diff --git a/plugins/changelog/classify.go b/plugins/changelog/classify.go index 3b50675..a1e24e8 100644 --- a/plugins/changelog/classify.go +++ b/plugins/changelog/classify.go @@ -22,8 +22,11 @@ const ( // SectionKind classifies a section title. func SectionKind(title string) Kind { t := strings.ToLower(title) + // "Major Changes" is a changesets changelog's section for what made the + // release a new major. breaking := strings.Contains(t, "removed") || strings.Contains(t, "removal") || - strings.Contains(t, "breaking") || strings.Contains(t, "incompatible") + strings.Contains(t, "breaking") || strings.Contains(t, "incompatible") || + strings.HasPrefix(t, "major change") deprecation := strings.Contains(t, "deprecat") switch { case breaking && deprecation: @@ -39,7 +42,26 @@ func SectionKind(title string) Kind { // A bullet in any section that starts with one of these is breaking: Keep a // Changelog has no "Breaking" section, so projects mark it inline under // "Changed" ("Breaking change: Removed `App.dark` reactive attribute"). -var breakingPrefix = regexp.MustCompile(`(?i)^\**(breaking( changes?)?|backwards?[- ]incompatible)\**\s*[:!-]\s*`) +// Stripe marks each breaking bullet with "⚠️", Neon with "**[BREAKING]**", +// conventional commits with "!" after the type ("remove!: ..."). +var breakingPrefix = regexp.MustCompile(`(?i)^(?:\**(?:breaking( changes?)?|backwards?[- ]incompatible)\**\s*[:!-]\s*|⚠️?\s*|\**\[breaking\]\**\s*|[a-z]+(?:\([^)]*\))?!:\s*)`) + +// What a bullet may start with that says nothing about the change, stripped +// before it's read: an area ("**client:**", "[datadog_monitor]", "Tracing - +// ", "Core: "), its issue or pull request ("[#1914](...)", "[[#51](...)]"), +// a changesets entry's commit and thanks ("abc1234: ", "[#12](...) +// [`abc1234`](...) Thanks [@me](...)! - "). +var noisePrefix = regexp.MustCompile("^(?:" + strings.Join([]string{ + `\*\*[\w ,./-]+:\*\*\s*`, + `\[[\w ,./-]+\]\s+`, + `\[\[#\d+\]\([^)]*\)\]\s*`, + `\[#\d+\]\([^)]*\)\s*`, + `\[` + "`" + `[0-9a-f]{7,40}` + "`" + `\]\([^)]*\)\s*`, + "`?[0-9a-f]{7,40}`?:?\\s+", + `Thanks \[@[^\]]+\]\([^)]*\)!\s*-\s*`, + `(?:[A-Z][\w/]*(?: [A-Z][\w/]*)*) - `, + `[A-Z][a-zA-Z]+: `, +}, "|") + ")") // Change is what one bullet says, when it says it plainly enough. type Change struct { @@ -62,27 +84,36 @@ var ( // Templates over a bullet's first sentence with every code span replaced by // §. Each says one thing plainly; a bullet matching none is dropped. const ( - noun = `(?:(?:reactive )?(?:module|method|function|class|attribute|property|constant|widget|exception|warning|classvar|alias)s?)` + noun = `(?:(?:reactive |read-only |optional )?(?:module|method|function|class|attribute|property|constant|widget|exception|warning|classvar|alias|type|field|enum|interface|struct|resource|data source|sub-resource|definition)(?:es|s)?)` list = `(§(?:(?:,? and |, )§)*)` ) var ( - removedActive = regexp.MustCompile(`(?i)^(?:removed|remove|dropped|drop) (?:the )?(?:deprecated )?(?:` + noun + ` )?` + list + - `(?: ` + noun + `)?(?: from (?:the )?(?:` + noun + ` )?(§)(?: ` + noun + `)?)?(?: \(now called (§)\))?$`) + removedActive = regexp.MustCompile(`(?i)^(?:removed|removes|remove|dropped|drops|drop) (?:the )?(?:previously )?(?:deprecated )?(?:` + noun + ` )?` + list + + `(?: ` + noun + `)?(?: (?:from|in|on|of) (?:the )?(?:` + noun + ` )?(§)(?: ` + noun + `)?)?(?: \(now called (§)\))?$`) removedPassive = regexp.MustCompile(`(?i)^(?:the )?(?:deprecated )?(?:` + noun + ` )?` + list + `(?: ` + noun + - `)? (?:has been |have been |was |were |is |are |is now |are now |now )?removed$`) - bare = regexp.MustCompile(`(?i)^(?:` + noun + ` )?` + list + `(?: ` + noun + `)?$`) - renamed = regexp.MustCompile(`(?i)^renamed (§)(?: ` + noun + `)? to (§)$`) - deprecActive = regexp.MustCompile(`(?i)^(?:deprecated|deprecate) (?:the )?(?:` + noun + ` )?` + list + `(?: ` + noun + `)?(?: (?:which|that) will be removed in .+| in favou?r of (?:the )?(§)(?: ` + noun + `)?)?$`) - deprecPassive = regexp.MustCompile(`(?i)^(?:the )?(?:` + noun + ` )?` + list + `(?: ` + noun + `)? (?:is|are) (?:now )?deprecated(?: in favou?r of (?:the )?(§)(?: ` + noun + `)?)?$`) + `)? (?:has been |have been |was |were |is |are |is now |are now |now )?removed(?: from (?:the )?(?:` + noun + ` )?(§)(?: ` + noun + `)?)?$`) + bare = regexp.MustCompile(`(?i)^(?:` + noun + ` )?` + list + `(?: ` + noun + `)?$`) + renamed = regexp.MustCompile(`(?i)^(?:renamed|renames|rename) (?:the )?(?:` + noun + ` )?(§)(?: ` + noun + `)? to (§)$`) + renamedPassive = regexp.MustCompile(`(?i)^(?:the )?(?:` + noun + ` )?(§)(?: ` + noun + `)? (?:has been|have been|was|were|is|is now) renamed to (?:the )?(§)$`) + deprecActive = regexp.MustCompile(`(?i)^(?:deprecated|deprecates|deprecate) (?:the )?(?:` + noun + ` )?` + list + `(?: ` + noun + `)?(?: (?:which|that) will be removed in .+| in favou?r of (?:the )?(§)(?: ` + noun + `)?)?$`) + deprecPassive = regexp.MustCompile(`(?i)^(?:the )?(?:` + noun + ` )?` + list + `(?: ` + noun + `)? (?:is|are) (?:now )?deprecated(?: in favou?r of (?:the )?(§)(?: ` + noun + `)?)?$`) ) // Classify reads one bullet of a section of kind k. ok is false for a bullet // that isn't breaking or a deprecation; why is set for one that is but // doesn't say plainly which names it changes (dropped, never guessed). func Classify(k Kind, text, module string) (c Change, ok bool, why string) { - if m := breakingPrefix.FindString(text); m != "" { - text, k = text[len(m):], KindBreaking + for { + if m := breakingPrefix.FindString(text); m != "" { + text, k = text[len(m):], KindBreaking + continue + } + if m := noisePrefix.FindString(text); m != "" { + text = text[len(m):] + continue + } + break } if k == KindNone { return Change{}, false, "" @@ -93,11 +124,14 @@ func Classify(k Kind, text, module string) (c Change, ok bool, why string) { if m := try(renamed); m != nil { return names(event.ChangeTypeBreaking, codes, "§", "", "", "", module, codes[1]) } + if m := try(renamedPassive); m != nil { + return names(event.ChangeTypeBreaking, codes, "§", "", "", "", module, codes[1]) + } if m := try(removedActive); m != nil { return names(event.ChangeTypeBreaking, codes, m[1], m[2], m[3], "", module, "") } if m := try(removedPassive); m != nil { - return names(event.ChangeTypeBreaking, codes, m[1], "", "", "", module, "") + return names(event.ChangeTypeBreaking, codes, m[1], m[2], "", "", module, "") } // Only names, no verb ("`Placeholder.reset_color_cycle`"): counts // under a Removed heading, where the heading is the verb. @@ -164,7 +198,8 @@ func names(ct event.ChangeType, codes []string, list, owner, newName, favour, mo repl = []string{renamedTo} } clean := func(s string) (string, bool) { - s = strings.TrimSuffix(strings.TrimSpace(s), "()") + // Ruby's and ioredis' "Class#method" is Class.method in code. + s = strings.ReplaceAll(strings.TrimSuffix(strings.TrimSpace(s), "()"), "#", ".") if module != "" { s = strings.TrimPrefix(s, module+".") } diff --git a/plugins/changelog/parse.go b/plugins/changelog/parse.go index 9739d27..5e6f6dd 100644 --- a/plugins/changelog/parse.go +++ b/plugins/changelog/parse.go @@ -24,9 +24,14 @@ type Bullet struct { } var ( - // Markdown: "## [1.2.0] - 2024-01-01", "## 1.2.0 (date)", "## v1.2.0". - mdRelease = regexp.MustCompile(`^##\s+\[?v?([0-9][^\]\s)]*)\]?`) + // Markdown: "## [1.2.0] - 2024-01-01", "## 1.2.0 (date)", "## v1.2.0", + // Stripe's "## 16.1.0 - date", Datadog's + // "## 2.67.0/2026-10-13", and semantic-release's "# [5.0.0](...)" for a + // major. + mdRelease = regexp.MustCompile(`^##?\s+(?:]*>\s*)?\[?v?([0-9][^\]\s)/]*)\]?`) mdSection = regexp.MustCompile(`^###\s+(.+?)\s*$`) + // A release's notes on their own use any level. + anyHeading = regexp.MustCompile(`^#{1,6}\s+(.+?)\s*$`) // "**Deprecations**:" on a line of its own (httpx's variant). boldSection = regexp.MustCompile(`^\*\*([^*]+)\*\*:?\s*$`) // RST: a title line, then an underline of one punctuation character at @@ -43,24 +48,46 @@ var ( // "-----"). Text before the first section title is not a section. A // changelog without the release is an error: the file moved or the release // isn't in it, and neither may read as "no breaking changes". -func ReleaseNotes(file []byte, release string) (heading string, sections []Section, err error) { +func ReleaseNotes(file []byte, release string) (string, []Section, error) { lines := strings.Split(strings.ReplaceAll(string(file), "\r\n", "\n"), "\n") heading, body, rst, err := releaseLines(lines, release) if err != nil { return "", nil, err } + return heading, sections(body, rst, mdSection), nil +} + +// NotesSections are the sections of one release's notes on their own (a +// GitHub release's body): every Markdown heading, whatever its level, starts +// one, and so does a bold line. +func NotesSections(body string) []Section { + return sections(strings.Split(strings.ReplaceAll(body, "\r\n", "\n"), "\n"), false, anyHeading) +} + +// sections splits a release's lines into titled sections of bullets: a +// Markdown heading (heading) or a reStructuredText title (rst) starts one. +func sections(body []string, rst bool, heading *regexp.Regexp) []Section { var out []Section var cur *Section + fenced := false for i := 0; i < len(body); i++ { l := body[i] + // A fenced code block is an example, never a title or a bullet. + if strings.HasPrefix(strings.TrimSpace(l), "```") { + fenced = !fenced + continue + } + if fenced { + continue + } title := "" switch { case rst && i+1 < len(body) && strings.TrimSpace(l) != "" && !bullet.MatchString(l) && rstUnderline.MatchString(strings.TrimSpace(body[i+1])) && len(strings.TrimSpace(body[i+1])) >= len(strings.TrimSpace(l)): title = strings.TrimSpace(l) i++ - case !rst && mdSection.MatchString(l): - title = mdSection.FindStringSubmatch(l)[1] + case !rst && heading.MatchString(l): + title = heading.FindStringSubmatch(l)[1] case boldSection.MatchString(strings.TrimSpace(l)): title = boldSection.FindStringSubmatch(strings.TrimSpace(l))[1] } @@ -90,18 +117,19 @@ func ReleaseNotes(file []byte, release string) (heading string, sections []Secti b.Raw += "\n" + l } } - return heading, out, nil + return out } // releaseLines are release's heading and the lines under it, up to the next // release's, and whether the file is reStructuredText. func releaseLines(lines []string, release string) (string, []string, bool, error) { - // Markdown first: a "## " heading naming the release. + // Markdown first: a "## " (or "# ") heading naming the release, up to + // the next one. for i, l := range lines { if m := mdRelease.FindStringSubmatch(l); m != nil && m[1] == release { end := len(lines) for j := i + 1; j < len(lines); j++ { - if strings.HasPrefix(lines[j], "## ") { + if strings.HasPrefix(lines[j], "## ") || strings.HasPrefix(lines[j], "# ") { end = j break } diff --git a/plugins/changelog/parse_test.go b/plugins/changelog/parse_test.go index 4017537..b3b5106 100644 --- a/plugins/changelog/parse_test.go +++ b/plugins/changelog/parse_test.go @@ -61,6 +61,19 @@ func TestOnlyAPlainSentenceNamesItsSymbols(t *testing.T) { {KindDeprecation, "Deprecated ``pkg.contrib.x`` module which will be removed in pkg v2.1.0 (#1)", "deprecation removed_symbol contrib.x"}, {KindMixed, "Removed `X`", "breaking removed_symbol X"}, {KindMixed, "Deprecated `Y`", "deprecation removed_symbol Y"}, + // The SDK changelogs' shapes: a mark that makes a bullet breaking, and + // an area, issue or commit read past. + {KindNone, "⚠️ [#1914](https://x.test/1914) Remove deprecated `StripeObject.request()` method", "breaking removed_symbol StripeObject.request"}, + {KindNone, "⚠️ Remove `RedirectUrl` from `LoginLinkCreateOptions`. The property was deprecated.", "breaking removed_symbol LoginLinkCreateOptions.RedirectUrl"}, + {KindNone, "**[BREAKING]** Removed the attribute `default_branch_protected` from the resource `neon_project`.", "breaking removed_symbol neon_project.default_branch_protected"}, + {KindNone, "feat(core)!: Remove `BaseClient` ([#17071](https://x.test/17071))", "breaking removed_symbol BaseClient"}, + {KindBreaking, "**ssl:** The `Host`, `Status`, and `ValidationMethod` types have been removed from `pkg.types.ssl`.", "breaking removed_symbol types.ssl.Host,types.ssl.Status,types.ssl.ValidationMethod"}, + {KindBreaking, "fc05013: Remove `Capture.Library` and `Exception.Library`. Set `$lib` instead.", "breaking removed_symbol Capture.Library,Exception.Library"}, + {KindBreaking, "`octokit.users.listEmails()` has been renamed to `octokit.users.listEmailsForAuthenticated()`", "breaking renamed_symbol octokit.users.listEmails>octokit.users.listEmailsForAuthenticated"}, + {KindBreaking, "`Redis#serverInfo` is removed. This field is never documented.", "breaking removed_symbol Redis.serverInfo"}, + {KindDeprecation, "Tracing - Deprecates `ddtrace.filters.FilterRequestsOnUrl`.", "deprecation removed_symbol ddtrace.filters.FilterRequestsOnUrl"}, + {SectionKind("Major Changes"), "Remove `X`", "breaking removed_symbol X"}, + {SectionKind("⚠ BREAKING CHANGES"), "**api:** add support for new API version 2026-10-21", "drop"}, // Not plain: dropped. {KindBreaking, "Drop support for Python 3.7. (#2813)", "drop"}, {KindBreaking, "Removed `limit_rules` from Stylesheet.apply", "drop"}, diff --git a/plugins/changelog/testdata/README.md b/plugins/changelog/testdata/README.md index a52d3ca..b8e5b4f 100644 --- a/plugins/changelog/testdata/README.md +++ b/plugins/changelog/testdata/README.md @@ -13,6 +13,7 @@ golden files under `golden/` are what the plugin stores from them | File | URL | Saved | License | Use | |---|---|---|---|---| +| `versions/stripe-go-tags.json`, `versions/octokit-rest-releases.json` | https://api.github.com/repos/stripe/stripe-go/tags, https://api.github.com/repos/octokit/rest.js/releases (shape only) | written for the test, 2026-11-20 | not saved copies: a few real tag names and releases in the shape of GitHub's API (a pre-release, a draft and a tag of another series among them) | for the version-listing test only (tags for an ecosystem with no registry lister, releases for release notes); no golden reads them | | `pypi-urllib3-excerpt.json` | https://pypi.org/pypi/urllib3/json (shape only) | written for the test, 2026-11-20 | not a saved copy: four releases in the shape of PyPI's JSON API (`releases` → files with `upload_time_iso_8601`, `yanked`), dates approximate, a pre-release among them | for the version-listing test only (ListVersions, consecutive pairs); no golden reads it | ## JSON changelogs diff --git a/plugins/changelog/testdata/versions/octokit-rest-releases.json b/plugins/changelog/testdata/versions/octokit-rest-releases.json new file mode 100644 index 0000000..4eab1fe --- /dev/null +++ b/plugins/changelog/testdata/versions/octokit-rest-releases.json @@ -0,0 +1,6 @@ +[ + {"tag_name": "v18.0.1-beta.1", "draft": false, "prerelease": true, "published_at": "2020-07-20T00:00:00Z", "html_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.1-beta.1"}, + {"tag_name": "v18.0.0", "draft": false, "prerelease": false, "published_at": "2020-07-08T00:00:00Z", "html_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0"}, + {"tag_name": "v17.11.2", "draft": false, "prerelease": false, "published_at": "2020-06-25T00:00:00Z", "html_url": "https://github.com/octokit/rest.js/releases/tag/v17.11.2"}, + {"tag_name": "v19.0.0", "draft": true, "prerelease": false, "published_at": "0001-01-01T00:00:00Z", "html_url": ""} +] diff --git a/plugins/changelog/testdata/versions/stripe-go-tags.json b/plugins/changelog/testdata/versions/stripe-go-tags.json new file mode 100644 index 0000000..85bc087 --- /dev/null +++ b/plugins/changelog/testdata/versions/stripe-go-tags.json @@ -0,0 +1,7 @@ +[ + {"name": "v73.1.0-beta.1"}, + {"name": "v73.0.0"}, + {"name": "v72.122.0"}, + {"name": "wif-v0.1.0-alpha.1"}, + {"name": "v72.121.0"} +] diff --git a/plugins/changelog/versions_test.go b/plugins/changelog/versions_test.go index 809d4ca..123dec0 100644 --- a/plugins/changelog/versions_test.go +++ b/plugins/changelog/versions_test.go @@ -79,3 +79,32 @@ func TestAReleaseWithNoSectionIsNothingToRead(t *testing.T) { t.Errorf("err = %v, want plugin.ErrNothingToRead naming 2.0.1", err) } } + +// An ecosystem patch-it lists no registry for (Go here) lists the repo's +// TagPrefix + X.Y.Z tags; a source read from release notes lists the repo's +// published releases. Pre-releases, drafts and other tags are left out. +func TestReleasesFromTagsAndFromGitHubReleases(t *testing.T) { + env := kittest.Env(t, kittest.Pages{ + "https://api.github.com/repos/stripe/stripe-go/tags?per_page=100&page=1": "testdata/versions/stripe-go-tags.json", + "https://api.github.com/repos/octokit/rest.js/releases?per_page=100&page=1": "testdata/versions/octokit-rest-releases.json", + }) + for _, c := range []struct { + file File + want string + }{ + {File{API: "stripe/go", Ecosystem: "go", Repo: "stripe/stripe-go", TagPrefix: "v", Path: "CHANGELOG.md"}, "72.121.0@v72.121.0 72.122.0@v72.122.0 73.0.0@v73.0.0"}, + {File{API: "github/octokit-rest", Ecosystem: "npm", Repo: "octokit/rest.js", TagPrefix: "v", Notes: true}, "17.11.2@v17.11.2 18.0.0@v18.0.0"}, + } { + vs, err := Plugin{File: c.file}.ListVersions(context.Background(), env) + if err != nil { + t.Fatal(err) + } + var ids []string + for _, v := range vs { + ids = append(ids, v.ID+"@"+v.Ref) + } + if got := strings.Join(ids, " "); got != c.want { + t.Errorf("%s: %s, want %s", c.file.API, got, c.want) + } + } +} From bc122d68196a5e8fdf891a93603a80f771c22ec2 Mon Sep 17 00:00:00 2001 From: adssib <75389300+adssib@users.noreply.github.com> Date: Fri, 20 Nov 2026 21:04:44 -0500 Subject: [PATCH 2/9] add the stripe sdk changelog sources Co-Authored-By: Claude Opus 5.5 Signed-off-by: adssib <75389300+adssib@users.noreply.github.com> --- plugins/changelog/sdks.go | 30 + plugins/changelog/sdks_test.go | 49 + plugins/changelog/stripe.go | 39 + plugins/changelog/stripe_test.go | 15 + plugins/changelog/testdata/README.md | 14 + .../testdata/golden/stripe-dotnet.json | 128 +++ .../changelog/testdata/golden/stripe-go.json | 942 ++++++++++++++++++ .../testdata/golden/stripe-java.json | 194 ++++ .../testdata/golden/stripe-node.json | 198 ++++ .../changelog/testdata/golden/stripe-php.json | 326 ++++++ .../testdata/golden/stripe-python.json | 104 ++ .../testdata/golden/stripe-ruby.json | 122 +++ .../stripe-dotnet-40.0.0-CHANGELOG.md | 51 + .../testdata/stripe-go-73.0.0-CHANGELOG.md | 146 +++ .../testdata/stripe-java-21.0.0-CHANGELOG.md | 59 ++ .../testdata/stripe-node-10.0.0-CHANGELOG.md | 49 + .../testdata/stripe-php-9.0.0-CHANGELOG.md | 47 + .../testdata/stripe-python-4.0.0-CHANGELOG.md | 32 + .../testdata/stripe-ruby-7.0.0-CHANGELOG.md | 31 + providers/stripe-sdks.md | 38 + 20 files changed, 2614 insertions(+) create mode 100644 plugins/changelog/sdks.go create mode 100644 plugins/changelog/sdks_test.go create mode 100644 plugins/changelog/stripe.go create mode 100644 plugins/changelog/stripe_test.go create mode 100644 plugins/changelog/testdata/golden/stripe-dotnet.json create mode 100644 plugins/changelog/testdata/golden/stripe-go.json create mode 100644 plugins/changelog/testdata/golden/stripe-java.json create mode 100644 plugins/changelog/testdata/golden/stripe-node.json create mode 100644 plugins/changelog/testdata/golden/stripe-php.json create mode 100644 plugins/changelog/testdata/golden/stripe-python.json create mode 100644 plugins/changelog/testdata/golden/stripe-ruby.json create mode 100644 plugins/changelog/testdata/stripe-dotnet-40.0.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/stripe-go-73.0.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/stripe-java-21.0.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/stripe-node-10.0.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/stripe-php-9.0.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/stripe-python-4.0.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/stripe-ruby-7.0.0-CHANGELOG.md create mode 100644 providers/stripe-sdks.md diff --git a/plugins/changelog/sdks.go b/plugins/changelog/sdks.go new file mode 100644 index 0000000..a92a94d --- /dev/null +++ b/plugins/changelog/sdks.go @@ -0,0 +1,30 @@ +package changelog + +import "github.com/patch-it-dev/patch-it-plugins/core/plugin" + +// The providers' official SDKs (stripe.go, sentry.go, cloudflare.go, ...), +// each read from its own changelog at every release (or, with Notes, from its +// release notes on GitHub). Every one was checked by hand: the file's path, +// the tag each release is cut at, and a release whose section this reader +// turns into events (each provider's test pins it). + +// sdk is the source an SDK's changelog is, its metadata read off f. +func sdk(page, id string, f File, packages ...string) plugin.Source { + watches := "Names removed, renamed or deprecated in each release of " + f.Package + ", from the release's section of " + f.Path + " at its tag" + first := "https://github.com/" + f.Repo + "/blob/HEAD/" + f.Path + if f.Notes { + watches = "Names removed, renamed or deprecated in each release of " + f.Package + ", from the release's notes on GitHub" + first = "https://github.com/" + f.Repo + "/releases" + } + return plugin.Source{ + ID: id, Layer: layerOf(f), Page: page, Watches: watches, + URLs: []string{first}, Packages: packages, Plugin: Plugin{File: f}, + } +} + +func layerOf(f File) plugin.Layer { + if f.Ecosystem == "terraform" { + return plugin.LayerInfra + } + return plugin.LayerSDK +} diff --git a/plugins/changelog/sdks_test.go b/plugins/changelog/sdks_test.go new file mode 100644 index 0000000..d8cfb4b --- /dev/null +++ b/plugins/changelog/sdks_test.go @@ -0,0 +1,49 @@ +package changelog + +import ( + "strings" + "testing" + + "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" +) + +// sdkCase is one SDK's changelog, saved at a release's tag +// (testdata/README.md), and the release its golden pins: the pair from the +// release before (on the registry, or among the repo's tags) to it. drop is +// another release in the same saved file (for Notes, in dropped, its own +// saved release) whose notes name nothing removed: it must read as no event. +type sdkCase struct { + file File + release, prev string + saved, dropped string + drop string +} + +// checkSDKs runs each case's golden, its drop test and its registration. +func checkSDKs(t *testing.T, cases []sdkCase) { + t.Helper() + for _, c := range cases { + t.Run(c.file.API, func(t *testing.T) { + kittest.Registered(t, Plugin{File: c.file}) + got := release(t, c.file.At(c.release), "testdata/"+c.saved, c.prev) + if len(got) == 0 { + t.Fatal("no events: the golden must pin a release with some") + } + kittest.Golden(t, "testdata/golden/"+strings.ReplaceAll(c.file.API, "/", "-")+".json", got) + + saved := c.saved + if c.dropped != "" { + saved = c.dropped + } + _, fs, err := c.file.At(c.drop).Read(kittest.Read(t, "testdata/"+saved)) + if err != nil { + t.Fatal(err) + } + for _, f := range fs { + if f.Dropped == "" { + t.Errorf("drop test %s: an event from %q", c.drop, f.Bullet.Text) + } + } + }) + } +} diff --git a/plugins/changelog/stripe.go b/plugins/changelog/stripe.go new file mode 100644 index 0000000..d098922 --- /dev/null +++ b/plugins/changelog/stripe.go @@ -0,0 +1,39 @@ +package changelog + +import "github.com/patch-it-dev/patch-it-plugins/core/plugin" + +func init() { + const page = "providers/stripe-sdks.md" + plugin.RegisterProvider(plugin.Provider{ + ID: "stripe", Name: "Stripe", Category: plugin.CategoryPayments, Homepage: "https://stripe.com", + Sources: []plugin.Source{ + sdk(page, "python", StripePython, "pypi:stripe"), + sdk(page, "node", StripeNode, "npm:stripe"), + sdk(page, "go", StripeGo, "go:github.com/stripe/stripe-go/v87"), + sdk(page, "java", StripeJava, "maven:com.stripe:stripe-java"), + sdk(page, "ruby", StripeRuby, "rubygems:stripe"), + sdk(page, "dotnet", StripeDotnet, "nuget:Stripe.net"), + sdk(page, "php", StripePHP, "packagist:stripe/stripe-php"), + }, + }) +} + +// Stripe's SDKs: one CHANGELOG.md each, "## X.Y.Z - date" +// (older ones "## X.Y.Z - date"), every breaking bullet marked "⚠️"; each +// release tagged vX.Y.Z. +var ( + StripePython = File{API: "stripe/python", Package: "stripe", Ecosystem: "pypi", Module: "stripe", + Repo: "stripe/stripe-python", TagPrefix: "v", Path: "CHANGELOG.md"} + StripeNode = File{API: "stripe/node", Package: "stripe", Ecosystem: "npm", + Repo: "stripe/stripe-node", TagPrefix: "v", Path: "CHANGELOG.md"} + StripeGo = File{API: "stripe/go", Package: "github.com/stripe/stripe-go", Ecosystem: "go", + Repo: "stripe/stripe-go", TagPrefix: "v", Path: "CHANGELOG.md"} + StripeJava = File{API: "stripe/java", Package: "com.stripe:stripe-java", Ecosystem: "maven", + Repo: "stripe/stripe-java", TagPrefix: "v", Path: "CHANGELOG.md"} + StripeRuby = File{API: "stripe/ruby", Package: "stripe", Ecosystem: "rubygems", + Repo: "stripe/stripe-ruby", TagPrefix: "v", Path: "CHANGELOG.md"} + StripeDotnet = File{API: "stripe/dotnet", Package: "Stripe.net", Ecosystem: "nuget", + Repo: "stripe/stripe-dotnet", TagPrefix: "v", Path: "CHANGELOG.md"} + StripePHP = File{API: "stripe/php", Package: "stripe/stripe-php", Ecosystem: "packagist", + Repo: "stripe/stripe-php", TagPrefix: "v", Path: "CHANGELOG.md"} +) diff --git a/plugins/changelog/stripe_test.go b/plugins/changelog/stripe_test.go new file mode 100644 index 0000000..1a2a3e5 --- /dev/null +++ b/plugins/changelog/stripe_test.go @@ -0,0 +1,15 @@ +package changelog + +import "testing" + +func TestStripeSDKs(t *testing.T) { + checkSDKs(t, []sdkCase{ + {StripePython, "4.0.0", "3.5.0", "stripe-python-4.0.0-CHANGELOG.md", "", "3.5.0"}, + {StripeNode, "10.0.0", "9.16.0", "stripe-node-10.0.0-CHANGELOG.md", "", "9.16.0"}, + {StripeGo, "73.0.0", "72.122.0", "stripe-go-73.0.0-CHANGELOG.md", "", "72.122.0"}, + {StripeJava, "21.0.0", "20.136.0", "stripe-java-21.0.0-CHANGELOG.md", "", "20.136.0"}, + {StripeRuby, "7.0.0", "6.5.0", "stripe-ruby-7.0.0-CHANGELOG.md", "", "6.5.0"}, + {StripeDotnet, "40.0.0", "39.126.0", "stripe-dotnet-40.0.0-CHANGELOG.md", "", "39.126.0"}, + {StripePHP, "9.0.0", "8.12.1", "stripe-php-9.0.0-CHANGELOG.md", "", "8.12.0"}, + }) +} diff --git a/plugins/changelog/testdata/README.md b/plugins/changelog/testdata/README.md index b8e5b4f..fb18461 100644 --- a/plugins/changelog/testdata/README.md +++ b/plugins/changelog/testdata/README.md @@ -9,6 +9,20 @@ golden files under `golden/` are what the plugin stores from them | `textual-v0.86.0-CHANGELOG.md` | https://raw.githubusercontent.com/Textualize/textual/v0.86.0/CHANGELOG.md | `5a738fa` | 2026-11-14 08:36 UTC | MIT (Textual), kept whole | "Breaking change: Removed `App.dark` reactive attribute" | | `urllib3-2.0.0-CHANGES.rst` | https://raw.githubusercontent.com/urllib3/urllib3/2.0.0/CHANGES.rst | `303ba81` | 2026-11-14 08:35 UTC | MIT (urllib3), kept whole | "Removed support for Python 2.7, 3.5, and 3.6" | +## SDK changelogs + +Read with `Plugin{File: ...}` (`sdks.go`); `golden/-.json` is what each stores from its release (`sdks_test.go`), the pair from the release before it on the registry (or among the repo's tags). Every file is the changelog at the release's tag, saved with `curl`, **trimmed** to two releases' sections, each kept whole and unchanged: the release the golden pins and one more release from the same file whose notes remove nothing the reader can name (the drop test). Only the pinned release's own section is read for the golden, so the trimmed copy gives the same events as the whole file (checked when each copy was made). + +| File | URL | Tag commit | Saved | License; trimming | Quote | +|---|---|---|---|---|---| +| `stripe-python-4.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/stripe/stripe-python/v4.0.0/CHANGELOG.md | `e65630a` | 2026-11-20 | MIT (stripe-python); trimmed to the sections of 4.0.0 (the golden) and 3.5.0 (the drop test), each unchanged | "Removed deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `IssuerFraudRecord`, `Recipient`, `Recip…" | +| `stripe-node-10.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/stripe/stripe-node/v10.0.0/CHANGELOG.md | `321d2fd` | 2026-11-20 | MIT (stripe-node); trimmed to the sections of 10.0.0 (the golden) and 9.16.0 (the drop test), each unchanged | "Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`." | +| `stripe-go-73.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md | `234502c` | 2026-11-20 | MIT (stripe-go); trimmed to the sections of 73.0.0 (the golden) and 72.122.0 (the drop test), each unchanged | "Remove `BalanceTransactionStatus`. It was meant to be an enum, but none of the enum values were defined, so it was ju…" | +| `stripe-java-21.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/stripe/stripe-java/v21.0.0/CHANGELOG.md | `cd2b023` | 2026-11-20 | MIT (stripe-java); trimmed to the sections of 21.0.0 (the golden) and 20.136.0 (the drop test), each unchanged | "Removed `CashBalance.retrieveCashBalance` method. Prefer `CashBalance.retrieve`." | +| `stripe-ruby-7.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/stripe/stripe-ruby/v7.0.0/CHANGELOG.md | `6081371` | 2026-11-20 | MIT (stripe-ruby); trimmed to the sections of 7.0.0 (the golden) and 6.5.0 (the drop test), each unchanged | "Remove `details` method from `Issuing.Card` resource. The method was not supported." | +| `stripe-dotnet-40.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/stripe/stripe-dotnet/v40.0.0/CHANGELOG.md | `e07ebe7` | 2026-11-20 | Apache-2.0 (stripe-dotnet); trimmed to the sections of 40.0.0 (the golden) and 39.126.0 (the drop test), each unchanged | "Remove `CustomerPaymentSettingsOptions`, `CustomerPaymentSettingsPaymentMethodOptionsBancontactOptions`, `CustomerPay…" | +| `stripe-php-9.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md | `e405c17` | 2026-11-20 | MIT (stripe-php); trimmed to the sections of 9.0.0 (the golden) and 8.12.0 (the drop test), each unchanged | "Remove deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Recipient`, `RecipientTransfer`, and `Th…" | + ## Version lists | File | URL | Saved | License | Use | diff --git a/plugins/changelog/testdata/golden/stripe-dotnet.json b/plugins/changelog/testdata/golden/stripe-dotnet.json new file mode 100644 index 0000000..2aab2ed --- /dev/null +++ b/plugins/changelog/testdata/golden/stripe-dotnet.json @@ -0,0 +1,128 @@ +[ + { + "id": 1, + "fingerprint": "sha256:eebe0e0b38610cb9a0567dd0faa50aaef5b3ad8adb64e47c4ec2b8b775a0d28c", + "api": "stripe/dotnet", + "version": "40.0.0", + "previous_version": "39.126.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "nuget", + "package": "Stripe.net", + "change": "removed_symbol", + "symbols": [ + "CustomerPaymentSettingsOptions", + "CustomerPaymentSettingsPaymentMethodOptionsBancontactOptions", + "CustomerPaymentSettingsPaymentMethodOptionsCardOptions", + "CustomerPaymentSettingsPaymentMethodOptionsOptions" + ] + }, + "description": "`CustomerPaymentSettingsOptions`, `CustomerPaymentSettingsPaymentMethodOptionsBancontactOptions`, `CustomerPaymentSettingsPaymentMethodOptionsCardOptions`, `CustomerPaymentSettingsPaymentMethodOptionsOptions` were removed in Stripe.net 40.0.0: code using it fails.", + "migration_hint": "Remove `CustomerPaymentSettingsOptions`, `CustomerPaymentSettingsPaymentMethodOptionsBancontactOptions`, `CustomerPaymentSettingsPaymentMethodOptionsCardOptions`, and `CustomerPaymentSettingsPaymentMethodOptionsOptions`. (Stripe.net's changelog for 40.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-dotnet/v40.0.0/CHANGELOG.md", + "source_excerpt": "## 40.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `CustomerPaymentSettingsOptions`, `CustomerPaymentSettingsPaymentMethodOptionsBancontactOptions`, `CustomerPaymentSettingsPaymentMethodOptionsCardOptions`, and `CustomerPaymentSettingsPaymentMethodOptionsOptions`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:da684da773ddf61efd72704ca30144801a397b1f97d9ebe8b38747a7c5895aa3", + "api": "stripe/dotnet", + "version": "40.0.0", + "previous_version": "39.126.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "nuget", + "package": "Stripe.net", + "change": "removed_symbol", + "symbols": [ + "FilePurpose.IncorporationArticle", + "FilePurpose.IncorporationDocument", + "FilePurpose.PaymentProviderTransfer", + "FilePurpose.ProductFeed" + ] + }, + "description": "`FilePurpose.IncorporationArticle`, `FilePurpose.IncorporationDocument`, `FilePurpose.PaymentProviderTransfer`, `FilePurpose.ProductFeed` were removed in Stripe.net 40.0.0: code using it fails.", + "migration_hint": "Remove `IncorporationArticle`, `IncorporationDocument`, `PaymentProviderTransfer`, and `ProductFeed` from `FilePurpose` constants. The values are no longer in use. (Stripe.net's changelog for 40.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-dotnet/v40.0.0/CHANGELOG.md", + "source_excerpt": "## 40.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `IncorporationArticle`, `IncorporationDocument`, `PaymentProviderTransfer`, and `ProductFeed` from `FilePurpose` constants. The values are no longer in use.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:8e8af5e5a10f757b9a821b6933a11b5eed7e272b7c5f7c06ce366fe85ac1a13c", + "api": "stripe/dotnet", + "version": "40.0.0", + "previous_version": "39.126.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "nuget", + "package": "Stripe.net", + "change": "removed_symbol", + "symbols": [ + "CustomerUpdateOptions.TrialEnd" + ] + }, + "description": "`CustomerUpdateOptions.TrialEnd` was removed in Stripe.net 40.0.0: code using it fails.", + "migration_hint": "Remove `TrialEnd` property in `CustomerUpdateOptions`. The property was not supported in the operation. (Stripe.net's changelog for 40.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-dotnet/v40.0.0/CHANGELOG.md", + "source_excerpt": "## 40.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `TrialEnd` property in `CustomerUpdateOptions`. The property was not supported in the operation.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:f19f602855f3af0487e459aefecbf349d33357be48e1090eec34ba49d50152fb", + "api": "stripe/dotnet", + "version": "40.0.0", + "previous_version": "39.126.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "nuget", + "package": "Stripe.net", + "change": "removed_symbol", + "symbols": [ + "QuoteFinalizeQuoteOptions" + ] + }, + "description": "`QuoteFinalizeQuoteOptions` was removed in Stripe.net 40.0.0: code using it fails.", + "migration_hint": "Remove `QuoteFinalizeQuoteOptions`. The options weren't used anymore. (Stripe.net's changelog for 40.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-dotnet/v40.0.0/CHANGELOG.md", + "source_excerpt": "## 40.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `QuoteFinalizeQuoteOptions`. The options weren't used anymore.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:6318782d02a60ee53ce339826d81530094a32aa04dd81945452d24a7dfdd13de", + "api": "stripe/dotnet", + "version": "40.0.0", + "previous_version": "39.126.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "nuget", + "package": "Stripe.net", + "change": "removed_symbol", + "symbols": [ + "LoginLinkCreateOptions.RedirectUrl" + ] + }, + "description": "`LoginLinkCreateOptions.RedirectUrl` was removed in Stripe.net 40.0.0: code using it fails.", + "migration_hint": "Remove `RedirectUrl` from `LoginLinkCreateOptions`. The property was deprecated. (Stripe.net's changelog for 40.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-dotnet/v40.0.0/CHANGELOG.md", + "source_excerpt": "## 40.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `RedirectUrl` from `LoginLinkCreateOptions`. The property was deprecated.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/stripe-go.json b/plugins/changelog/testdata/golden/stripe-go.json new file mode 100644 index 0000000..08cc18c --- /dev/null +++ b/plugins/changelog/testdata/golden/stripe-go.json @@ -0,0 +1,942 @@ +[ + { + "id": 1, + "fingerprint": "sha256:f837052506f58bb33e02572b81383dcc3d53a80aca893897f446412e2c8ff047", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "BalanceTransactionStatus" + ] + }, + "description": "`BalanceTransactionStatus` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `BalanceTransactionStatus`. It was meant to be an enum, but none of the enum values were defined, so it was just an alias for string. (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `BalanceTransactionStatus`. It was meant to be an enum, but none of the enum values were defined, so it was just an alias for string.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:c171141689be54d629b416af0762dd4dc355c414a5c94a5543e18816b14894b5", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "CardParams.AccountType" + ] + }, + "description": "`CardParams.AccountType` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `CardParams.AccountType`. `AccountType` does not exist on any client method for Card. It does on BankAccount, which is similar. (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `CardParams.AccountType`. `AccountType` does not exist on any client method for Card. It does on BankAccount, which is similar.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:c745dcedd14d1c4ed6102654dbcdccc5a468d9908ec8a14a957695177462975f", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "CheckoutSessionLineItemPriceDataRecurringParams.AggregateUsage", + "CheckoutSessionLineItemPriceDataRecurringParams.TrialPeriodDays", + "CheckoutSessionLineItemPriceDataRecurringParams.UsageType" + ] + }, + "description": "`CheckoutSessionLineItemPriceDataRecurringParams.AggregateUsage`, `CheckoutSessionLineItemPriceDataRecurringParams.TrialPeriodDays`, `CheckoutSessionLineItemPriceDataRecurringParams.UsageType` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `CheckoutSessionLineItemPriceDataRecurringParams.AggregateUsage`, `CheckoutSessionLineItemPriceDataRecurringParams.TrialPeriodDays`, and `CheckoutSessionLineItemPriceDataRecurringParams.UsageType` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `CheckoutSessionLineItemPriceDataRecurringParams.AggregateUsage`, `CheckoutSessionLineItemPriceDataRecurringParams.TrialPeriodDays`, and `CheckoutSessionLineItemPriceDataRecurringParams.UsageType`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:f8cd2b4de4e6dc58dd264973fb0b147e137c4ac5ae029633992c5d14165de851", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "CheckoutSessionPaymentIntentDataParams.Params", + "CheckoutSessionSetupIntentDataParams.Params", + "CheckoutSessionSubscriptionDataParams.Params" + ] + }, + "description": "`CheckoutSessionPaymentIntentDataParams.Params`, `CheckoutSessionSetupIntentDataParams.Params`, `CheckoutSessionSubscriptionDataParams.Params` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `CheckoutSessionPaymentIntentDataParams.Params`, `CheckoutSessionSetupIntentDataParams.Params`, `CheckoutSessionSubscriptionDataParams.Params`. `Params` should only be embedded in root method struct, and has extraneous fields not applicable to child/sub structs. (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `CheckoutSessionPaymentIntentDataParams.Params`, `CheckoutSessionSetupIntentDataParams.Params`, `CheckoutSessionSubscriptionDataParams.Params`. `Params` should only be embedded in root method struct, and has extraneous fields not applicable to child/sub structs.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:974192abbe3984b3c30da88a48ed5b1001704ea39b9357442bdb4f455085dd88", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "CheckoutSessionTotalDetailsBreakdownTax.TaxRate" + ] + }, + "description": "`CheckoutSessionTotalDetailsBreakdownTax.TaxRate` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `CheckoutSessionTotalDetailsBreakdownTax.TaxRate`. Use `CheckoutSessionTotalDetailsBreakdownTax.Rate` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `CheckoutSessionTotalDetailsBreakdownTax.TaxRate`. Use `CheckoutSessionTotalDetailsBreakdownTax.Rate`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:5a41a62f665c7edc22a9a59a12e4f9164db34715301330c7b66b5a8d0d387918", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "CheckoutSessionTotalDetailsBreakdownTax.Deleted" + ] + }, + "description": "`CheckoutSessionTotalDetailsBreakdownTax.Deleted` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `CheckoutSessionTotalDetailsBreakdownTax.Deleted` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `CheckoutSessionTotalDetailsBreakdownTax.Deleted`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:bdefbd6fbc222b70cb1f4944d4d7501e54ddb31c61905e4414409953a2d83e81", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "CustomerParams.Token" + ] + }, + "description": "`CustomerParams.Token` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `CustomerParams.Token` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `CustomerParams.Token`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 8, + "fingerprint": "sha256:c9917160ac326bff21fbf76b359edf91262a6eee4d8654e5a550e2b33ce9e2ee", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "DiscountParams" + ] + }, + "description": "`DiscountParams` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `DiscountParams` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `DiscountParams`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 9, + "fingerprint": "sha256:e9f1a3738a3a3c30f6ba508734a449a85a1d23e74e736f4f755e2462c4b8022c", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "InvoiceParams.Paid" + ] + }, + "description": "`InvoiceParams.Paid` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `InvoiceParams.Paid`. Use `invoice.status` to check for status. `invoice.status` is a read-only field. (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `InvoiceParams.Paid`. Use `invoice.status` to check for status. `invoice.status` is a read-only field.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 10, + "fingerprint": "sha256:e5ae8d10dc875f7c0a3b7807346d8849a28dcb29ce2a2fe328749a16958b75ff", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "IssuingCardSpendingControlsParams.SpendingLimitsCurrency" + ] + }, + "description": "`IssuingCardSpendingControlsParams.SpendingLimitsCurrency` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `IssuingCardSpendingControlsParams.SpendingLimitsCurrency`. `issuing_card` has `currency`, and `issuing_card.spending_controls.spending_limits.amount` will use that currency (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `IssuingCardSpendingControlsParams.SpendingLimitsCurrency`. `issuing_card` has `currency`, and `issuing_card.spending_controls.spending_limits.amount` will use that currency", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 11, + "fingerprint": "sha256:deb6a1e9e0b3a0fe8b22c8afbaa8b94b7fa846ba27568ce47dd4d660a07a3978", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "IssuingDisputeEvidenceServiceNotAsDescribed.ProductDescription", + "IssuingDisputeEvidenceServiceNotAsDescribed.ProductType", + "IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductDescription", + "IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductType", + "IssuingDisputeEvidenceServiceNotAsDescribedProductType" + ] + }, + "description": "`IssuingDisputeEvidenceServiceNotAsDescribed.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribed.ProductType`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductType`, `IssuingDisputeEvidenceServiceNotAsDescribedProductType` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `IssuingDisputeEvidenceServiceNotAsDescribed.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribed.ProductType`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductType`, and `IssuingDisputeEvidenceServiceNotAsDescribedProductType`. `issuing_dispute.evidence.service_not_as_described` does not have `product_description` or `product_type`. `issuing_dispute.evidence.canceled` does. (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `IssuingDisputeEvidenceServiceNotAsDescribed.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribed.ProductType`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductType`, and `IssuingDisputeEvidenceServiceNotAsDescribedProductType`. `issuing_dispute.evidence.service_not_as_described` does not have `product_description` or `product_type`. `issuing_dispute.evidence.canceled` does.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 12, + "fingerprint": "sha256:bde76308505cb9fb9b888886ea74785cd6224b1a04d0ce7b19d869060907e4e4", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "LineItemTax.TaxRate" + ] + }, + "description": "`LineItemTax.TaxRate` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `LineItemTax.TaxRate`. Use `LineItemTax.Rate` instead. (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `LineItemTax.TaxRate`. Use `LineItemTax.Rate` instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 13, + "fingerprint": "sha256:0c3b8bbaebbc4ff5c9ffc7ec05c70c58735565904a630f89e029bb167a11ffd9", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "LineItem.Deleted" + ] + }, + "description": "`LineItem.Deleted` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `LineItem.Deleted` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `LineItem.Deleted`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 14, + "fingerprint": "sha256:a920d707b527271b4ece80bab0bfd8b90076716ea85fcd84b804aa1127b17650", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "LoginLink.RedirectURL" + ] + }, + "description": "`LoginLink.RedirectURL` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `LoginLink.RedirectURL` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `LoginLink.RedirectURL`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 15, + "fingerprint": "sha256:9eab45c446e618d250ac6fd36e3576a95531f9509a2c30236c6609a30c443218", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "PaymentIntentConfirmParams.PaymentMethodTypes" + ] + }, + "description": "`PaymentIntentConfirmParams.PaymentMethodTypes` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `PaymentIntentConfirmParams.PaymentMethodTypes` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `PaymentIntentConfirmParams.PaymentMethodTypes`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 16, + "fingerprint": "sha256:43835f02097187dd38190a8d5b70fdaab12951ffdc9a9e3449309b76745b1246", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "PaymentMethodFPX.TransactionID" + ] + }, + "description": "`PaymentMethodFPX.TransactionID` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `PaymentMethodFPX.TransactionID` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `PaymentMethodFPX.TransactionID`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 17, + "fingerprint": "sha256:c3694e59cc09e7bfafc46cc303c67c391dbaeac2bf163804ef62dabe44bb7b5a", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "PlanParams.ProductID" + ] + }, + "description": "`PlanParams.ProductID` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `PlanParams.ProductID`. Use `PlanParams.Product.ID` instead. (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `PlanParams.ProductID`. Use `PlanParams.Product.ID` instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 18, + "fingerprint": "sha256:26a05cd5678882db42e2d0574f1af89f5a313d15f3d57f66544f8dc37c33499d", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "Customer.DefaultCurrency" + ] + }, + "description": "`Customer.DefaultCurrency` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `DefaultCurrency` property from `Customer` resource. Please use `Currency` property instead. (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `DefaultCurrency` property from `Customer` resource. Please use `Currency` property instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 19, + "fingerprint": "sha256:747e593c78a458b6db0071fb21da8a80b575514df6e324f05be95cec43b5c379", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "RadarValueList.Updated", + "RadarValueList.UpdatedBy" + ] + }, + "description": "`RadarValueList.Updated`, `RadarValueList.UpdatedBy` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `Updated` and `UpdatedBy` from `RadarValueList` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `Updated` and `UpdatedBy` from `RadarValueList`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 20, + "fingerprint": "sha256:acc442d857bf6e23a80c0fd2a37bb5a8978758eea634a74080445cd7aa57fc72", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "RadarValueListItem.Name" + ] + }, + "description": "`RadarValueListItem.Name` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `Name` from `RadarValueListItem` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `Name` from `RadarValueListItem`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 21, + "fingerprint": "sha256:64aeb32d66430b1987b83de0c9713062a0a67aacb224c19451b1348fa8bcc64f", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "Review.ReviewReasonType" + ] + }, + "description": "`Review.ReviewReasonType` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `ReviewReasonType` type from `Review` resource. Use `ReviewReason` instead (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `ReviewReasonType` type from `Review` resource. Use `ReviewReason` instead", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 22, + "fingerprint": "sha256:9111d2a1f9f44593beee2dd832ea5d6b102a6441cfeac4d0bf0f9ec24ffd8be8", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SigmaScheduledQueryRun.Query" + ] + }, + "description": "`SigmaScheduledQueryRun.Query` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SigmaScheduledQueryRun.Query`. The field was invalid (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SigmaScheduledQueryRun.Query`. The field was invalid", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 23, + "fingerprint": "sha256:c22a29f6a0dabafeba9db6416820a23e72e21d76bc985c3d7abe6ff9c17ff2b3", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SKUParams.Description", + "SKU.Description" + ] + }, + "description": "`SKUParams.Description`, `SKU.Description` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SKUParams.Description` and `SKU.Description` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SKUParams.Description` and `SKU.Description`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 24, + "fingerprint": "sha256:fc84cbc6883d95b92e104d1c79916f8c88cddf670734e5507aef1e2ad8297a81", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SourceMandateAcceptanceStatus", + "SourceMandateAcceptanceStatusAccepted", + "SourceMandateAcceptanceStatusRefused", + "SourceMandateNotificationMethod", + "SourceMandateNotificationMethodEmail", + "SourceMandateNotificationMethodManual", + "SourceMandateNotificationMethodNone" + ] + }, + "description": "`SourceMandateAcceptanceStatus`, `SourceMandateAcceptanceStatusAccepted`, `SourceMandateAcceptanceStatusRefused`, `SourceMandateNotificationMethod`, `SourceMandateNotificationMethodEmail`, `SourceMandateNotificationMethodManual`, `SourceMandateNotificationMethodNone` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SourceMandateAcceptanceStatus`, `SourceMandateAcceptanceStatusAccepted`, `SourceMandateAcceptanceStatusRefused`, `SourceMandateNotificationMethod`, `SourceMandateNotificationMethodEmail`, `SourceMandateNotificationMethodManual`, and `SourceMandateNotificationMethodNone` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SourceMandateAcceptanceStatus`, `SourceMandateAcceptanceStatusAccepted`, `SourceMandateAcceptanceStatusRefused`, `SourceMandateNotificationMethod`, `SourceMandateNotificationMethodEmail`, `SourceMandateNotificationMethodManual`, and `SourceMandateNotificationMethodNone`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 25, + "fingerprint": "sha256:cb52fb0ef5638deb73f8758f3be765c392fe736207c7a99a7e3516cd6c5f1854", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SourceTransaction.CustomerData" + ] + }, + "description": "`SourceTransaction.CustomerData` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SourceTransaction.CustomerData`. The field was deprecated (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SourceTransaction.CustomerData`. The field was deprecated", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 26, + "fingerprint": "sha256:0d5234543295b3d75573d23c7638c5f8fd357b9a7aa00fbabe5c2356b156adba", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SourceTransaction.TypeData", + "SourceTransaction.UnmarshalJSON" + ] + }, + "description": "`SourceTransaction.TypeData`, `SourceTransaction.UnmarshalJSON` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SourceTransaction.TypeData` and `SourceTransaction.UnmarshalJSON`. Use payment specific fields - Remove `ACHCreditTransfer`, `CHFCreditTransfer`, `GBPCreditTransfer`, `PaperCheck`, and `SEPACreditTransfer` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SourceTransaction.TypeData` and `SourceTransaction.UnmarshalJSON`. Use payment specific fields - Remove `ACHCreditTransfer`, `CHFCreditTransfer`, `GBPCreditTransfer`, `PaperCheck`, and `SEPACreditTransfer`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 27, + "fingerprint": "sha256:24e1c61189fa5f74829b23606f65e935bad7b8266d30aa1668654b900da1580e", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SubscriptionPaymentBehavior", + "SubscriptionPaymentBehaviorAllowIncomplete", + "SubscriptionPaymentBehaviorErrorIfIncomplete", + "SubscriptionPaymentBehaviorPendingIfIncomplete" + ] + }, + "description": "`SubscriptionPaymentBehavior`, `SubscriptionPaymentBehaviorAllowIncomplete`, `SubscriptionPaymentBehaviorErrorIfIncomplete`, `SubscriptionPaymentBehaviorPendingIfIncomplete` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SubscriptionPaymentBehavior`, `SubscriptionPaymentBehaviorAllowIncomplete`, `SubscriptionPaymentBehaviorErrorIfIncomplete`, and `SubscriptionPaymentBehaviorPendingIfIncomplete` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SubscriptionPaymentBehavior`, `SubscriptionPaymentBehaviorAllowIncomplete`, `SubscriptionPaymentBehaviorErrorIfIncomplete`, and `SubscriptionPaymentBehaviorPendingIfIncomplete`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 28, + "fingerprint": "sha256:c5d87f9bb94d5c4d8237dd5e87f28179f99015ddab3c8adad80d611113c9c47d", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SubscriptionProrationBehavior", + "SubscriptionProrationBehaviorAlwaysInvoice", + "SubscriptionProrationBehaviorCreateProrations", + "SubscriptionProrationBehaviorNone" + ] + }, + "description": "`SubscriptionProrationBehavior`, `SubscriptionProrationBehaviorAlwaysInvoice`, `SubscriptionProrationBehaviorCreateProrations`, `SubscriptionProrationBehaviorNone` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SubscriptionProrationBehavior`, `SubscriptionProrationBehaviorAlwaysInvoice`, `SubscriptionProrationBehaviorCreateProrations`, and `SubscriptionProrationBehaviorNone` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SubscriptionProrationBehavior`, `SubscriptionProrationBehaviorAlwaysInvoice`, `SubscriptionProrationBehaviorCreateProrations`, and `SubscriptionProrationBehaviorNone`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 29, + "fingerprint": "sha256:ac9411bb856ec03b20cab5d9556731efd2763d4fe62e4bc9a94701ada166ce64", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SubscriptionStatusAll" + ] + }, + "description": "`SubscriptionStatusAll` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SubscriptionStatusAll` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SubscriptionStatusAll`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 30, + "fingerprint": "sha256:2902e81051374ad2c155d1dbe603eb3a9a51756040ff6f3193b6a7216a71ce4e", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SubscriptionParams.Card", + "SubscriptionParams.Plan", + "SubscriptionParams.Quantity" + ] + }, + "description": "`SubscriptionParams.Card`, `SubscriptionParams.Plan`, `SubscriptionParams.Quantity` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SubscriptionParams.Card`, `SubscriptionParams.Plan`, and `SubscriptionParams.Quantity` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SubscriptionParams.Card`, `SubscriptionParams.Plan`, and `SubscriptionParams.Quantity`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 31, + "fingerprint": "sha256:5a4bb8d2681a60429744d3014d65852ebe01edc4fb5c431442baad67d67e6990", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "Subscription.Plan", + "Subscription.Quantity" + ] + }, + "description": "`Subscription.Plan`, `Subscription.Quantity` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `Subscription.Plan` and `Subscription.Quantity` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `Subscription.Plan` and `Subscription.Quantity`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 32, + "fingerprint": "sha256:88b47b02d230fbe97a5b3c89924e96e385d2b28e3bd24fe41f1c224fdc3b1bda", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SubscriptionItemParams.ID" + ] + }, + "description": "`SubscriptionItemParams.ID` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SubscriptionItemParams.ID`. The field was deprecated (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SubscriptionItemParams.ID`. The field was deprecated", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 33, + "fingerprint": "sha256:a61ca1c620016258f3d3d246c1549c23bd912fea8bd3c55b78b5b6f284662711", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams", + "SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams" + ] + }, + "description": "`SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams`, `SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams` and `SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams` and `SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 34, + "fingerprint": "sha256:8fe895146f05e1639f09a32355d15e3b85358c03ee201998778c22867d1f4a74", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "TaxRate.Del" + ] + }, + "description": "`TaxRate.Del` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `Del` method on `TaxRate` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `Del` method on `TaxRate`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 35, + "fingerprint": "sha256:645435c630f60163aa4eafbce3ce6d81c8ce1170f4dab2829498a6391e6ed01b", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "TerminalReaderGetParams" + ] + }, + "description": "`TerminalReaderGetParams` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `TerminalReaderGetParams`. Use `TerminalReaderParams` instead. (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `TerminalReaderGetParams`. Use `TerminalReaderParams` instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 36, + "fingerprint": "sha256:f8783b3b8921606936676c83ed8f3d271216cdd4a5996601198dc9fe0666573a", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "Token.Email", + "TokenParams.Email" + ] + }, + "description": "`Token.Email`, `TokenParams.Email` were removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `Token.Email` and `TokenParams.Email` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `Token.Email` and `TokenParams.Email`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 37, + "fingerprint": "sha256:9b3886e5d282e8e2679b65116f2186e3bf675c4452220a4c13db5c8c6df2e704", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "TopupParams.SetSource" + ] + }, + "description": "`TopupParams.SetSource` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `TopupParams.SetSource` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `TopupParams.SetSource`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 38, + "fingerprint": "sha256:d4d073680f457f30d134a42c601f23a0721a951a0dec5bc8cb511927c9d269aa", + "api": "stripe/go", + "version": "73.0.0", + "previous_version": "72.122.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/stripe/stripe-go/v73", + "change": "removed_symbol", + "symbols": [ + "WebhookEndpoint.Connected" + ] + }, + "description": "`WebhookEndpoint.Connected` was removed in github.com/stripe/stripe-go 73.0.0: code using it fails.", + "migration_hint": "Remove `WebhookEndpoint.Connected` (github.com/stripe/stripe-go's changelog for 73.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-go/v73.0.0/CHANGELOG.md", + "source_excerpt": "## 73.0.0 - 2022-08-02\n⚠️ Removed\n- Remove `WebhookEndpoint.Connected`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/stripe-java.json b/plugins/changelog/testdata/golden/stripe-java.json new file mode 100644 index 0000000..37eb26f --- /dev/null +++ b/plugins/changelog/testdata/golden/stripe-java.json @@ -0,0 +1,194 @@ +[ + { + "id": 1, + "fingerprint": "sha256:52d5d7009a373dfc3666fa786bf3861a5c8e6ab8c76fc96f1bc323f9cedde7cb", + "api": "stripe/java", + "version": "21.0.0", + "previous_version": "20.136.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "maven", + "package": "com.stripe:stripe-java", + "change": "removed_symbol", + "symbols": [ + "CashBalance.retrieveCashBalance" + ] + }, + "description": "`CashBalance.retrieveCashBalance` was removed in com.stripe:stripe-java 21.0.0: code using it fails.", + "migration_hint": "Removed `CashBalance.retrieveCashBalance` method. Prefer `CashBalance.retrieve`. (com.stripe:stripe-java's changelog for 21.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-java/v21.0.0/CHANGELOG.md", + "source_excerpt": "## 21.0.0 - 2022-08-02\n⚠️ Removed\n- Removed `CashBalance.retrieveCashBalance` method. Prefer `CashBalance.retrieve`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:243aa32aa0d94502d221264fc88b76024d1392329d5936eeb1594223bbde16e9", + "api": "stripe/java", + "version": "21.0.0", + "previous_version": "20.136.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "maven", + "package": "com.stripe:stripe-java", + "change": "removed_symbol", + "symbols": [ + "Rule.getDeleted" + ] + }, + "description": "`Rule.getDeleted` was removed in com.stripe:stripe-java 21.0.0: code using it fails.", + "migration_hint": "Removed `Rule.getDeleted` method. The property was never populated and always had the default value of `false`. (com.stripe:stripe-java's changelog for 21.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-java/v21.0.0/CHANGELOG.md", + "source_excerpt": "## 21.0.0 - 2022-08-02\n⚠️ Removed\n- Removed `Rule.getDeleted` method. The property was never populated and always had the default value of `false`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:c85c6374f1dbb41fd978e13ee8fdaf009533c19529b82367d9e0b0186cab25e6", + "api": "stripe/java", + "version": "21.0.0", + "previous_version": "20.136.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "maven", + "package": "com.stripe:stripe-java", + "change": "removed_symbol", + "symbols": [ + "LineItem.getDeleted" + ] + }, + "description": "`LineItem.getDeleted` was removed in com.stripe:stripe-java 21.0.0: code using it fails.", + "migration_hint": "Removed `LineItem.getDeleted` method. The property was never populated and always had the default value of `false`. (com.stripe:stripe-java's changelog for 21.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-java/v21.0.0/CHANGELOG.md", + "source_excerpt": "## 21.0.0 - 2022-08-02\n⚠️ Removed\n- Removed `LineItem.getDeleted` method. The property was never populated and always had the default value of `false`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:ab3c4e3268d23e6cf7563c14c3a1c67d5ce241784a8efc4f99418b92f44c1cee", + "api": "stripe/java", + "version": "21.0.0", + "previous_version": "20.136.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "maven", + "package": "com.stripe:stripe-java", + "change": "removed_symbol", + "symbols": [ + "LoginLink.redirectUrl" + ] + }, + "description": "`LoginLink.redirectUrl` was removed in com.stripe:stripe-java 21.0.0: code using it fails.", + "migration_hint": "Removed deprecated `LoginLink.redirectUrl` property. (com.stripe:stripe-java's changelog for 21.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-java/v21.0.0/CHANGELOG.md", + "source_excerpt": "## 21.0.0 - 2022-08-02\n⚠️ Removed\n- Removed deprecated `LoginLink.redirectUrl` property.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:01aa491de6852639511b23c7635842bdb4821ad0d8015ef21013133cf97e1f7b", + "api": "stripe/java", + "version": "21.0.0", + "previous_version": "20.136.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "maven", + "package": "com.stripe:stripe-java", + "change": "removed_symbol", + "symbols": [ + "Charge.order" + ] + }, + "description": "`Charge.order` was removed in com.stripe:stripe-java 21.0.0: code using it fails.", + "migration_hint": "Removed deprecated `Charge.order` property. (com.stripe:stripe-java's changelog for 21.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-java/v21.0.0/CHANGELOG.md", + "source_excerpt": "## 21.0.0 - 2022-08-02\n⚠️ Removed\n- Removed deprecated `Charge.order` property.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:43418603b888248622b34c7dde74366f65799e8756b196daf20e8d6d7bf95845", + "api": "stripe/java", + "version": "21.0.0", + "previous_version": "20.136.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "maven", + "package": "com.stripe:stripe-java", + "change": "removed_symbol", + "symbols": [ + "Card.recipient" + ] + }, + "description": "`Card.recipient` was removed in com.stripe:stripe-java 21.0.0: code using it fails.", + "migration_hint": "Removed deprecated `Card.recipient` property. (com.stripe:stripe-java's changelog for 21.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-java/v21.0.0/CHANGELOG.md", + "source_excerpt": "## 21.0.0 - 2022-08-02\n⚠️ Removed\n- Removed deprecated `Card.recipient` property.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:f445955ccefd8a04403f005db91a02b8b5ecbf9f649de82c4073ffc1c97a3650", + "api": "stripe/java", + "version": "21.0.0", + "previous_version": "20.136.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "maven", + "package": "com.stripe:stripe-java", + "change": "removed_symbol", + "symbols": [ + "Customer.defaultCurrency" + ] + }, + "description": "`Customer.defaultCurrency` was removed in com.stripe:stripe-java 21.0.0: code using it fails.", + "migration_hint": "Removed `defaultCurrency` property from `Customer` resource. Please use `Currency` property instead. (com.stripe:stripe-java's changelog for 21.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-java/v21.0.0/CHANGELOG.md", + "source_excerpt": "## 21.0.0 - 2022-08-02\n⚠️ Removed\n- Removed `defaultCurrency` property from `Customer` resource. Please use `Currency` property instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 8, + "fingerprint": "sha256:7275ee8da7eefc657932c00b8ecc072a60e8d2bf5fc421eec76c459d9fa3f1a6", + "api": "stripe/java", + "version": "21.0.0", + "previous_version": "20.136.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "maven", + "package": "com.stripe:stripe-java", + "change": "removed_symbol", + "symbols": [ + "InitiatingPaymentMethodDetails" + ] + }, + "description": "`InitiatingPaymentMethodDetails` was removed in com.stripe:stripe-java 21.0.0: code using it fails.", + "migration_hint": "Removed `InitiatingPaymentMethodDetails` class (com.stripe:stripe-java's changelog for 21.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-java/v21.0.0/CHANGELOG.md", + "source_excerpt": "## 21.0.0 - 2022-08-02\n⚠️ Removed\n- Removed `InitiatingPaymentMethodDetails` class", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/stripe-node.json b/plugins/changelog/testdata/golden/stripe-node.json new file mode 100644 index 0000000..a40bfc6 --- /dev/null +++ b/plugins/changelog/testdata/golden/stripe-node.json @@ -0,0 +1,198 @@ +[ + { + "id": 1, + "fingerprint": "sha256:2856cf1b062ef3e8a7b029619210d99c4eeff1d987fd1b07cda009f21595fa7e", + "api": "stripe/node", + "version": "10.0.0", + "previous_version": "9.16.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "CustomerSource.AlipayAccount", + "CustomerSource.BitcoinReceiver" + ] + }, + "description": "`CustomerSource.AlipayAccount`, `CustomerSource.BitcoinReceiver` were removed in stripe 10.0.0: code using it fails.", + "migration_hint": "Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`. (stripe's changelog for 10.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-node/v10.0.0/CHANGELOG.md", + "source_excerpt": "## 10.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:c3a46e1eed63fe07ee8fd17743bd9b26ddd7dfdf8acc3dfb878f305f4a5c3058", + "api": "stripe/node", + "version": "10.0.0", + "previous_version": "9.16.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "order.payment_failed", + "transfer.failed", + "transfer.paid" + ] + }, + "description": "`order.payment_failed`, `transfer.failed`, `transfer.paid` were removed in stripe 10.0.0: code using it fails.", + "migration_hint": "Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated. (stripe's changelog for 10.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-node/v10.0.0/CHANGELOG.md", + "source_excerpt": "## 10.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:c8d1cabbaa3ec871d84e66b56fc7000c11d07d4bdc8ab353fd9eb7052bfa2f33", + "api": "stripe/node", + "version": "10.0.0", + "previous_version": "9.16.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "Issuing.Card.retrieveDetails" + ] + }, + "description": "`Issuing.Card.retrieveDetails` was removed in stripe 10.0.0: code using it fails.", + "migration_hint": "Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual. (stripe's changelog for 10.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-node/v10.0.0/CHANGELOG.md", + "source_excerpt": "## 10.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:630ab133a793dae35fa3a5cbde150da23a1aa3c254aa74599c0baa9a20a480ab", + "api": "stripe/node", + "version": "10.0.0", + "previous_version": "9.16.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "Issuing.CardDetails", + "CardRetrieveDetailsParams" + ] + }, + "description": "`Issuing.CardDetails`, `CardRetrieveDetailsParams` were removed in stripe 10.0.0: code using it fails.", + "migration_hint": "Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition. (stripe's changelog for 10.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-node/v10.0.0/CHANGELOG.md", + "source_excerpt": "## 10.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:5c369c047eb7249b0ea0ae8ee4a26678fe4f7fdec7ee607b2824c30a4af28af6", + "api": "stripe/node", + "version": "10.0.0", + "previous_version": "9.16.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "IssuerFraudRecords" + ] + }, + "description": "`IssuerFraudRecords` was removed in stripe 10.0.0: code using it fails.", + "migration_hint": "Remove `IssuerFraudRecords` resource. (stripe's changelog for 10.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-node/v10.0.0/CHANGELOG.md", + "source_excerpt": "## 10.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `IssuerFraudRecords` resource.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:cbfe6524ca5fce0839f344f84ffaa87777379e8cc5383028d755846a04d1788c", + "api": "stripe/node", + "version": "10.0.0", + "previous_version": "9.16.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "InvoiceMarkUncollectibleParams" + ] + }, + "description": "`InvoiceMarkUncollectibleParams` was removed in stripe 10.0.0: code using it fails.", + "migration_hint": "Remove `InvoiceMarkUncollectibleParams` definition. (stripe's changelog for 10.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-node/v10.0.0/CHANGELOG.md", + "source_excerpt": "## 10.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `InvoiceMarkUncollectibleParams` definition.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:05a31b5b2a1e855150ca4f888a658af38cd71e7f06fa59918059a3ffa8e1a899", + "api": "stripe/node", + "version": "10.0.0", + "previous_version": "9.16.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "LoginLinks.redirect_url" + ] + }, + "description": "`LoginLinks.redirect_url` was removed in stripe 10.0.0: code using it fails.", + "migration_hint": "Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported. (stripe's changelog for 10.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-node/v10.0.0/CHANGELOG.md", + "source_excerpt": "## 10.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 8, + "fingerprint": "sha256:d6bc5839f091fe5c6f08d1f1028ded7ac98387016f830a72523be8dc59e6072f", + "api": "stripe/node", + "version": "10.0.0", + "previous_version": "9.16.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "LineItemListParams" + ] + }, + "description": "`LineItemListParams` was removed in stripe 10.0.0: code using it fails.", + "migration_hint": "Remove `LineItemListParams` definition. The interface was no longer in use. (stripe's changelog for 10.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-node/v10.0.0/CHANGELOG.md", + "source_excerpt": "## 10.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `LineItemListParams` definition. The interface was no longer in use.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/stripe-php.json b/plugins/changelog/testdata/golden/stripe-php.json new file mode 100644 index 0000000..7d3c100 --- /dev/null +++ b/plugins/changelog/testdata/golden/stripe-php.json @@ -0,0 +1,326 @@ +[ + { + "id": 1, + "fingerprint": "sha256:95f08416a80abe613f0c0d925233869ab43a475c14833646b920c22ea42cedfc", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "AlipayAccount", + "BitcoinReceiver", + "BitcoinTransaction", + "Recipient", + "RecipientTransfer", + "ThreeDSecure" + ] + }, + "description": "`AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Recipient`, `RecipientTransfer`, `ThreeDSecure` were removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Recipient`, `RecipientTransfer`, and `ThreeDSecure` resources. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Recipient`, `RecipientTransfer`, and `ThreeDSecure` resources.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:bc7f7490d19133a9d24b8e38ad4f552b3160fb06efa5047fc107dcad79153136", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "Account.CAPABILITY_CARD_PAYMENTS", + "Account.CAPABILITY_LEGACY_PAYMENTS", + "Account.CAPABILITY_PLATFORM_PAYMENTS", + "Account.CAPABILITY_TRANSFERS", + "Account.CAPABILITY_STATUS_ACTIVE", + "Account.CAPABILITY_STATUS_INACTIVE", + "Account.CAPABILITY_STATUS_PENDING" + ] + }, + "description": "`Account.CAPABILITY_CARD_PAYMENTS`, `Account.CAPABILITY_LEGACY_PAYMENTS`, `Account.CAPABILITY_PLATFORM_PAYMENTS`, `Account.CAPABILITY_TRANSFERS`, `Account.CAPABILITY_STATUS_ACTIVE`, `Account.CAPABILITY_STATUS_INACTIVE`, `Account.CAPABILITY_STATUS_PENDING` were removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `CAPABILITY_CARD_PAYMENTS`, `CAPABILITY_LEGACY_PAYMENTS`, `CAPABILITY_PLATFORM_PAYMENTS`, `CAPABILITY_TRANSFERS`, `CAPABILITY_STATUS_ACTIVE`, `CAPABILITY_STATUS_INACTIVE`, and `CAPABILITY_STATUS_PENDING` constants from `Account` resource. Please use up-to-date values from https://stripe.com/docs/connect/account-capabilities. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `CAPABILITY_CARD_PAYMENTS`, `CAPABILITY_LEGACY_PAYMENTS`, `CAPABILITY_PLATFORM_PAYMENTS`, `CAPABILITY_TRANSFERS`, `CAPABILITY_STATUS_ACTIVE`, `CAPABILITY_STATUS_INACTIVE`, and `CAPABILITY_STATUS_PENDING` constants from `Account` resource. Please use up-to-date values from https://stripe.com/docs/connect/account-capabilities.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:970dba3c9bd9103e02ed256e84a01d746b02d5a16c9b2f5a1204050536b134b9", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "Card.details" + ] + }, + "description": "`Card.details` was removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `details` method from `Card` resource. The endpoint was deprecated and no longer exists. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `details` method from `Card` resource. The endpoint was deprecated and no longer exists.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:f4dbe10e62145cce352a66464591f45618e1c8c0d2db286f532af5ae71c9e1b1", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "Card.recipient" + ] + }, + "description": "`Card.recipient` was removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `recipient` property from `Card` resource. The property was deprecated. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `recipient` property from `Card` resource. The property was deprecated.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:b2616c13d70525432c1b5386b9f85b70d3c8f060ecfcb97f5283c24cce678dc3", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "Card.sources" + ] + }, + "description": "`Card.sources` was removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `sources` property from `Card` resource. The property was deprecated. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `sources` property from `Card` resource. The property was deprecated.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:7d685fdf0f1f95f4fbb4fa80385d31814e45e71b121322b4c2bb071f80e1fc3b", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "Refund.FAILURE_REASON" + ] + }, + "description": "`Refund.FAILURE_REASON` was removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `FAILURE_REASON` constant from `Refund` resource. The value was deprecated. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `FAILURE_REASON` constant from `Refund` resource. The value was deprecated.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:3d5515e7f14aefd9f500fafafd38b5af54a220769696aded6b6263155ffd9788", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "Recipient" + ] + }, + "description": "`Recipient` was removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `Recipient` resource. The resource was deprecated. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `Recipient` resource. The resource was deprecated.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 8, + "fingerprint": "sha256:d98bdf8072fe5d37f343e9c527d0105cabf8bc6b43888000e736c49aa559ac44", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "OrderItem" + ] + }, + "description": "`OrderItem` was removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `OrderItem` resource. The resource was deprecated. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `OrderItem` resource. The resource was deprecated.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 9, + "fingerprint": "sha256:9ee75099718bbebdeb4be9c0306c6b0f6b6bbd7f2b4b48ce1f83d5e9e8e4f2f5", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "LineItem.all" + ] + }, + "description": "`LineItem.all` was removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `all` method from `LineItem`. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `all` method from `LineItem`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 10, + "fingerprint": "sha256:edfdf15a041809d95c8f8b2566c9f894bc38093e4d9193d58f351d106e1d19e6", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "Account.persons" + ] + }, + "description": "`Account.persons` was removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `persons` method from `Account` resource. Please use `allPersons` method instead. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `persons` method from `Account` resource. Please use `allPersons` method instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 11, + "fingerprint": "sha256:3129db17b7c504632b11f9cc7c285b28b9149744e7368a66c31690abe053d1bf", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "Source.sourceTransactions" + ] + }, + "description": "`Source.sourceTransactions` was removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `sourceTransactions` method from `Source` resource. Please use `allSourceTransactions` method instead. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `sourceTransactions` method from `Source` resource. Please use `allSourceTransactions` method instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 12, + "fingerprint": "sha256:87f358cf49af35ffde3e3c8f0c97e06a9d08e00e2c122d800fbc2308fb7c6838", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "SubscriptionItem.usageRecordSummaries" + ] + }, + "description": "`SubscriptionItem.usageRecordSummaries` was removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `usageRecordSummaries` method from `SubscriptionItem` resource. Please use `allUsageRecordSummaries` method instead. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `usageRecordSummaries` method from `SubscriptionItem` resource. Please use `allUsageRecordSummaries` method instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 13, + "fingerprint": "sha256:8111fd622d99b4ee315adf3e50f80f9f6dbcbe044ae1bc9ccc85ad18ab0f20ed", + "api": "stripe/php", + "version": "9.0.0", + "previous_version": "8.12.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "packagist", + "package": "stripe/stripe-php", + "change": "removed_symbol", + "symbols": [ + "Transfer.SOURCE_TYPE_ALIPAY_ACCOUNT", + "Transfer.SOURCE_TYPE_FINANCING" + ] + }, + "description": "`Transfer.SOURCE_TYPE_ALIPAY_ACCOUNT`, `Transfer.SOURCE_TYPE_FINANCING` were removed in stripe/stripe-php 9.0.0: code using it fails.", + "migration_hint": "Remove `SOURCE_TYPE_ALIPAY_ACCOUNT` and `SOURCE_TYPE_FINANCING` constants from `Transfer` resource. The values were deprecated and are no longer in use. (stripe/stripe-php's changelog for 9.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md", + "source_excerpt": "## 9.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `SOURCE_TYPE_ALIPAY_ACCOUNT` and `SOURCE_TYPE_FINANCING` constants from `Transfer` resource. The values were deprecated and are no longer in use.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/stripe-python.json b/plugins/changelog/testdata/golden/stripe-python.json new file mode 100644 index 0000000..2d22448 --- /dev/null +++ b/plugins/changelog/testdata/golden/stripe-python.json @@ -0,0 +1,104 @@ +[ + { + "id": 1, + "fingerprint": "sha256:4ef8a02b8745af184c28063aa738bba6dffde1c7207f479415f39d568b3525d9", + "api": "stripe/python", + "version": "4.0.0", + "previous_version": "3.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "AlipayAccount", + "BitcoinReceiver", + "BitcoinTransaction", + "IssuerFraudRecord", + "Recipient", + "RecipientTransfer", + "ThreeDSecure" + ] + }, + "description": "`AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `IssuerFraudRecord`, `Recipient`, `RecipientTransfer`, `ThreeDSecure` were removed in stripe 4.0.0: code using it fails.", + "migration_hint": "Removed deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `IssuerFraudRecord`, `Recipient`, `RecipientTransfer`, and `ThreeDSecure` classes. (stripe's changelog for 4.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-python/v4.0.0/CHANGELOG.md", + "source_excerpt": "## 4.0.0 - 2022-08-02\n⚠️ Removed\n- Removed deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `IssuerFraudRecord`, `Recipient`, `RecipientTransfer`, and `ThreeDSecure` classes.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:ca689207e3e9817ee38fb9be79582dafd72a09c4c289a57e13c2b3e0111e260a", + "api": "stripe/python", + "version": "4.0.0", + "previous_version": "3.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "Source.source_transactions" + ] + }, + "description": "`Source.source_transactions` was removed in stripe 4.0.0: code using it fails.", + "migration_hint": "Removed the deprecated `Source.source_transactions` method. Prefer `SubscriptionItem.list_source_transactions` (stripe's changelog for 4.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-python/v4.0.0/CHANGELOG.md", + "source_excerpt": "## 4.0.0 - 2022-08-02\n⚠️ Removed\n- Removed the deprecated `Source.source_transactions` method. Prefer `SubscriptionItem.list_source_transactions`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:64c4a22647bac26cb2fed938ea6ebe90e9930543c8ea7498791c12adfe81b82b", + "api": "stripe/python", + "version": "4.0.0", + "previous_version": "3.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "SubscriptionItem.usage_record_summaries" + ] + }, + "description": "`SubscriptionItem.usage_record_summaries` was removed in stripe 4.0.0: code using it fails.", + "migration_hint": "Removed the deprecated `SubscriptionItem.usage_record_summaries` method. Prefer `SubscriptionItem.list_usage_record_summaries` (stripe's changelog for 4.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-python/v4.0.0/CHANGELOG.md", + "source_excerpt": "## 4.0.0 - 2022-08-02\n⚠️ Removed\n- Removed the deprecated `SubscriptionItem.usage_record_summaries` method. Prefer `SubscriptionItem.list_usage_record_summaries`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:91688bb22334f3aea1d46e62ef002d7e1a5f7c5df3f9c78576712469e34d4092", + "api": "stripe/python", + "version": "4.0.0", + "previous_version": "3.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "Charge.refund" + ] + }, + "description": "`Charge.refund` was removed in stripe 4.0.0: code using it fails.", + "migration_hint": "Removed the deprecated `Charge.refund` method. Prefer [Refund.create](https://stripe.com/docs/api/refunds/create) (stripe's changelog for 4.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-python/v4.0.0/CHANGELOG.md", + "source_excerpt": "## 4.0.0 - 2022-08-02\n⚠️ Removed\n- Removed the deprecated `Charge.refund` method. Prefer [Refund.create](https://stripe.com/docs/api/refunds/create)", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/stripe-ruby.json b/plugins/changelog/testdata/golden/stripe-ruby.json new file mode 100644 index 0000000..179b992 --- /dev/null +++ b/plugins/changelog/testdata/golden/stripe-ruby.json @@ -0,0 +1,122 @@ +[ + { + "id": 1, + "fingerprint": "sha256:4073c8c038b5e0a11881cc1ba4490333aea88628c8607408e23b43fa9a26a9eb", + "api": "stripe/ruby", + "version": "7.0.0", + "previous_version": "6.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "rubygems", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "Issuing.Card.details" + ] + }, + "description": "`Issuing.Card.details` was removed in stripe 7.0.0: code using it fails.", + "migration_hint": "Remove `details` method from `Issuing.Card` resource. The method was not supported. (stripe's changelog for 7.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-ruby/v7.0.0/CHANGELOG.md", + "source_excerpt": "## 7.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `details` method from `Issuing.Card` resource. The method was not supported.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:bc47f3c78bbe44ff6aa507547c6693214f5c374ebbac8fa2248685914f3aae69", + "api": "stripe/ruby", + "version": "7.0.0", + "previous_version": "6.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "rubygems", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "Issuing.CardDetails" + ] + }, + "description": "`Issuing.CardDetails` was removed in stripe 7.0.0: code using it fails.", + "migration_hint": "Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual. (stripe's changelog for 7.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-ruby/v7.0.0/CHANGELOG.md", + "source_excerpt": "## 7.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:41990f1f204892089efee2818cd4e8191e1bd49f0d6fd8797c90d3864852bab7", + "api": "stripe/ruby", + "version": "7.0.0", + "previous_version": "6.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "rubygems", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "ReportType.create" + ] + }, + "description": "`ReportType.create` was removed in stripe 7.0.0: code using it fails.", + "migration_hint": "Remove `create` method from `ReportType` resource. The method was not supported. (stripe's changelog for 7.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-ruby/v7.0.0/CHANGELOG.md", + "source_excerpt": "## 7.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `create` method from `ReportType` resource. The method was not supported.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:2d9549e7d050ba760dfea4571c876ae0743893310d2259f0c2c4fefa127c5ea1", + "api": "stripe/ruby", + "version": "7.0.0", + "previous_version": "6.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "rubygems", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "SubscriptionItem.usage_record_summaries" + ] + }, + "description": "`SubscriptionItem.usage_record_summaries` was removed in stripe 7.0.0: code using it fails.", + "migration_hint": "Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead. (stripe's changelog for 7.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-ruby/v7.0.0/CHANGELOG.md", + "source_excerpt": "## 7.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:b1d35424e6907ade50fc99c73ea1c72b43a5c849fac26de6133dde8490efca3b", + "api": "stripe/ruby", + "version": "7.0.0", + "previous_version": "6.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "rubygems", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "Transfer.cancel" + ] + }, + "description": "`Transfer.cancel` was removed in stripe 7.0.0: code using it fails.", + "migration_hint": "Remove `cancel` method from `Transfer` resource. The method was deprecated. (stripe's changelog for 7.0.0)", + "source_url": "https://raw.githubusercontent.com/stripe/stripe-ruby/v7.0.0/CHANGELOG.md", + "source_excerpt": "## 7.0.0 - 2022-08-02\n⚠️ Removed\n* Remove `cancel` method from `Transfer` resource. The method was deprecated.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/stripe-dotnet-40.0.0-CHANGELOG.md b/plugins/changelog/testdata/stripe-dotnet-40.0.0-CHANGELOG.md new file mode 100644 index 0000000..0f287b0 --- /dev/null +++ b/plugins/changelog/testdata/stripe-dotnet-40.0.0-CHANGELOG.md @@ -0,0 +1,51 @@ +## 40.0.0 - 2022-08-02 + +Major version release for API version 2022-08-01. Default API version changed to "2022-08-01". + +Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-dotnet/wiki/Migration-guide-for-v40. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01. + +"⚠️" symbol highlights breaking changes. + +* [#2549](https://github.com/stripe/stripe-dotnet/pull/2549) API Updates +* [#2547](https://github.com/stripe/stripe-dotnet/pull/2547) Next major release changes + +### Added +* Add `RefundAccountHolderName`, `RefundAccountHolderType`, and `RefundRoutingNumber` properties to `SourceAchCreditTransfer` entity. +* Add `DataString`, `NativeUrl`, and `StatementDescriptor` properties to `SourceAlipay` entity. +* Add `Description`, `Iin`, and `Issuer` properties to `SourceCard` and `SourceCardPresent` entities. +* Add `Reference` and `StatementDescriptor` properties to `SourceEps` entity. +* Add `StatementDescriptor` property to `SourceBancontact`,`SourceGiropay`, `SourceIdeal`, and `SourceSofort` entities. +* Add `RefundAccountHolderAddressCity`, `RefundAccountHolderAddressCountry`, `RefundAccountHolderAddressLine1`, `RefundAccountHolderAddressLine2`, `RefundAccountHolderAddressPostalCode`, `RefundAccountHolderAddressState`, `RefundAccountHolderName` and `RefundIban` properties to `SourceMultibanco` and `SourceSepaCreditTransfer` entities. +* Add `Name` property to `SourceThreeDSecure` entity. +* Add support for `ShippingCost` and `ShippingDetails` on `CheckoutSession` + +### ⚠️ Changed +* Rename `BalanceDetails` to `BalanceIssuing`. Rename type of `Balance.Issuing` property. +* Change `Application` property in `BillingPortal.Configuration` entity to be expandable. +* Change `Delinquent` property in `Customer` entity to be nullable. +* Change `Amount` property in `Dispute` and `PaymentIntentAmountDetailsTip` entities to be non-nullable. The field is required. +* Change type of `Start` and `End` property in `InvoiceItemPeriod` and `InvoiceLineItemPeriod` entities to `DateTime`. +* Change `AmountSubtotal` and `AmountTotal` properties in `LineItem` entity to be non-nullable. The fields are required. +* Change `Director`, `Executive`, `Owner`, and `Representative` properties in `PersonRelationship` to be nullable. +* Change `Location` property in `Reader` and `Terminal.Reader` entities to be expandable. +* Change type of `ExpMonth` and `ExpYear` properties in `ExternalAccountUpdateOptions` and `TokenCardOptions` to `string`. +* Change type of `StartDate` property in `SubscriptionSchedulePhaseOptions` to union of date and string. This supports `"now"` as a valid value. +* Change type of `Timestamp` property in `UsageRecordCreateOptions` to union of date and string. This supports `"now"` as a valid value. + +### ⚠️ Removed +* Remove `CustomerPaymentSettingsOptions`, `CustomerPaymentSettingsPaymentMethodOptionsBancontactOptions`, `CustomerPaymentSettingsPaymentMethodOptionsCardOptions`, and `CustomerPaymentSettingsPaymentMethodOptionsOptions`. +* Remove `IncorporationArticle`, `IncorporationDocument`, `PaymentProviderTransfer`, and `ProductFeed` from `FilePurpose` constants. The values are no longer in use. +* Remove `DefaultSourceType` property from `Customer` entity. The field was undocumented and unsupported. +* Remove `AssociatedObjects` array property from `EphemeralKey` entity. The field was undocumented and unsupported. +* Remove `EphemeralKeyAssociatedObject` entity. +* Remove `Quantity` and `TrialEnd` properties in `CustomerCreateOptions`. The fields are not supported in the operation. +* Remove `TrialEnd` property in `CustomerUpdateOptions`. The property was not supported in the operation. +* Remove `Order` and `OrderItem` resources and APIs as those have been deprecated for multiple years. + * Remove `OrderPaymentSucceeded`, `OrderUpdated`, and `OrderReturnCreated` event constants. These events are deprecated. + * Remove `Order` and `OrderId` properties in `Charge` entity. The property was deprecated. +* Remove `QuoteFinalizeQuoteOptions`. The options weren't used anymore. +* Remove `RedirectUrl` from `LoginLinkCreateOptions`. The property was deprecated. + +## 39.126.0 - 2022-07-26 +* [#2544](https://github.com/stripe/stripe-dotnet/pull/2544) API Updates + * Add support for `CustomerBalance` on `CheckoutSessionPaymentMethodOptionsOptions` and `CheckoutSessionPaymentMethodOptions` diff --git a/plugins/changelog/testdata/stripe-go-73.0.0-CHANGELOG.md b/plugins/changelog/testdata/stripe-go-73.0.0-CHANGELOG.md new file mode 100644 index 0000000..2f28cc1 --- /dev/null +++ b/plugins/changelog/testdata/stripe-go-73.0.0-CHANGELOG.md @@ -0,0 +1,146 @@ +## 73.0.0 - 2022-08-02 +Major version release for API version 2022-08-01. Default API version changed to "2022-08-01". + +Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-go/wiki/Migration-guide-for-v73. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01. + +"⚠️" symbol highlights breaking changes. + +* [#1513](https://github.com/stripe/stripe-go/pull/1513) API Updates +* [#1512](https://github.com/stripe/stripe-go/pull/1512) Next major release changes + +### Added + +- Add `CheckoutSessionSetupIntentDataParams.Metadata`. +- Add Invoice `UpcomingLines` method. +- Add `ShippingCost` and `ShippingDetails` properties to `CheckoutSession` resource. +- Add `CheckoutSessionShippingCostTax` and `CheckoutSessionShippingCost` classes +- Add `IssuingCardCancellationReasonDesignRejected` constant to `IssuingCardCancellationReason`. +- Add `Validate` field to `Customer` resource. +- Add `Validate` field to `PaymentSourceParams`. +- Add `SetupAttemptPaymentMethodDetailsCardThreeDSecureResultExempted` constant in `SetupAttemptPaymentMethodDetailsCardThreeDSecureResult`. +- Add `SKUPackageDimensionsParams` and `SKUPackageDimensions`. +- Add dedicated structs for different payment sources and transfers. +- Add `Subscription.DeleteDiscount` methods. +- Add `SubscriptionItemUsageRecordSummariesParams` +- Add `UsageRecordSummary` `UsageRecordSummaries`, and `UsageRecordSummaryList` methods in `SubscriptionItem` +- Add `SubscriptionSchedulePhaseBillingCycleAnchor`, `SubscriptionSchedulePhaseBillingCycleAnchorAutomatic`, and `SubscriptionSchedulePhaseBillingCycleAnchorPhaseStart` +- Add `SubscriptionSchedulePhaseInvoiceSettings` and `SubscriptionSchedulePhaseInvoiceSettingsParams ` +- `TerminalLocation` `UnmarshalJSON` - make `TerminalLocation` expandable +* Add support for new value `invalid_tos_acceptance` on enums `AccountFutureRequirementsErrorsCode`, `AccountRequirementsErrorsCode`, `CapabilityFutureRequirementsErrorsCode`, `CapabilityRequirementsErrorsCode`, `PersonFutureRequirementsErrorsCode`, and `PersonRequirementsErrorsCode` +* Add support for `ShippingCost` and `ShippingDetails` on `CheckoutSession` + +### ⚠️ Changed + +- Rename files to be consistent with the library's naming conventions. + - `fee.go` to `applicationfee.go` + - `fee/client.go` to `applicationfee/client.go` + - `sub.go` to `subscription.go` + - `sub/client.go` to `subscription/client.go` + - `subitem.go` to `subscriptionitem.go` + - `subitem/client.go` to `subscriptionitem/client.go` + - `subschedule.go` to `subscriptionschedule.go` + - `subschedule/client.go` to `subscriptionschedule/client.go` + - `reversal.go` to `transferreversal.go` + - `reversal/client.go` to `transferreversal/client.go` + +- Change resource names on `client#API` to be plural to be consistent with the library's naming conventions: +- Rename structs, fields, enums, and methods to be consistent with the library's naming conventions and with the other Stripe SDKs. + - `Ach` to `ACH` + - `Acss` to `ACSS` + - `Bic` to `BIC` + - `Eps` to `EPS` + - `FEDEX` to `FedEx` + - `Iban` to `IBAN` + - `Ideal` to `IDEAL` + - `Sepa` to `SEPA` + - `Wechat` to `WeChat` + - `ExternalAccount` to `AccountExternalAccount` + - `InvoiceLine` to `InvoiceLineItem` + - `Person` structs/enums to use `Person` prefix + - and others (see Migration guide) + +- Change types of various fields in `Account`, `ApplicationFee`, `BalanceTransaction`, `BillingPortalConfiguration`, `Card`, `Charge`, `Customer`, `Discount`, `Invoice`, `Issuing Card`, `Issuing Dispute `, `Mandate `, `PaymentIntent`, `PaymentMethod`, `Payout`, `Plan `, `Plan `, `Refund`, `SetupIntent`, `Source`, `Source`, `Subscription`, `SubscriptionItem`, `SubscriptionSchedule`, `Terminal ConnectionToken`, `Terminal Location`, `Terminal Reader `, `Topup`, and `Transfer` (see Migration guide). + +- Update the Webhook `ConstructEvent,` `ConstructEventIgnoringTolerance` and `ConstructEventWithTolerance` functions to return an error when the webhook event's API version does not match the stripe-go library API version. +- Update `ErrorType`and `ErrorCode` values. +- Move `BalanceTransaction` iterator from `balance.go` to `balancetransaction.go` +- Fix `BalanceTransactionSource` `UnmarshalJSON` for when `BalanceTransactionSource.Type == "transfer_reversal"` (previously, we were checking if `Type == "reversal"`, which was always false) +- For BankAccount and Card client methods, check that exactly one of `params.Account` and `params.Customer` is set (previously they could both be set, but only one would be used, and it was different between BankAccount and Card) +- Replace `CardVerification` with field-specific enums (with the same values) +- Move `Del` from `discount/client.go` to `customer/client.go` and rename to `DeleteDiscount` +- Move `DelSub` from `discount/client.go` to `subscription/client.go` and rename to `DeleteDiscount` +- Add separate parameter struct for CreditNote `ListPreviewLines` (renamed to `PreviewLines`) method (`[CreditNoteLineItemListPreviewParams -> CreditNotePreviewParams].Lines` `CreditNoteLineParams` -> `CreditNotePreviewLineParams`) +- Replace `FeeRefundParams.ApplicationFee` with `FeeRefundParams.Fee` and `FeeRefundParams.ID` +- Add separate parameter struct for Invoice `GetNext` (renamed to `Upcoming`) method (`InvoiceUpcomingParams`, and nested params `InvoiceUpcomingLinesInvoiceItemPriceDataParams`, `InvoiceUpcomingLinesInvoiceItemDiscountParams`, `InvoiceUpcomingLinesDiscountParams`, `InvoiceUpcomingLinesInvoiceItemPeriodParams`). `Upcoming`-only fields `Coupon`, `CustomerDetails`, `InvoiceItems`, `Subscription`, `SubscriptionBillingCycleAnchor`, `Schedule`, `SubscriptionBillingCycleAnchor`, `SubscriptionBillingCycleAnchorNow`, `SubscriptionBillingCycleAnchorUnchanged`, `SubscriptionCancelAt`, `SubscriptionCancelAtPeriodEnd`, `SubscriptionCancelNow`, `SubscriptionDefaultTaxRates`, `SubscriptionItems`, `SubscriptionProrationBehavior`, `SubscriptionProrationDate`, `SubscriptionStartDate`, `SubscriptionTrialEnd`, `SubscriptionTrialEndNow`, and `SubscriptionTrialFromPlan` are removed from `InvoiceParams`. +- Add separate structs for `BillingDetails` and `BillingDetailsParams`: `PaymentMethodBillingDetails`, `PaymentMethodBillingDetailsParams` +- Add separate structs for `PaymentMethodCardNetwork`: `PaymentMethodCardNetworksAvailable`, `PaymentMethodCardNetworksPreferred` + +### Deprecated + +- The `SKU` resource has been deprecated. This will be replaced by https://stripe.com/docs/api/orders_v2. + +### ⚠️ Removed + +- Remove the legacy Orders API +- Remove `AccountCapability` enum definition. This was not referenced in the library. +- Remove `UnmarshalJSON` for resources that are not expandable: `BillingPortalSession`, `Capability`, `CheckoutSession`, `FileLink`, `InvoiceItem`, `LineItem`, `Person`, `WebhookEndpoint` +- Remove `AccountRejectReason` (was only referenced in `account/client_test.go`, actual `AccountRejectParams.Reason` is `*string`) +- Remove `AccountParams.RequestedCapabilities` (use Capabilities instead: https://stripe.com/docs/connect/account-capabilities) +- Remove `AccountSettingsParams.Dashboard` and `AccountSettingsDashboardParams` (Note: `Dashboard` are still available on `AccountSettings`, but it's not available as parameters for any of the methods) +- Remove `AccountCompany.RegistrationNumber` (Note: `RegistrationNumber` is still available on `AccountCompanyParams`, but is not returned in the response) +- Remove `BalanceTransactionStatus`. It was meant to be an enum, but none of the enum values were defined, so it was just an alias for string. +- Remove `CardParams.AccountType`. `AccountType` does not exist on any client method for Card. It does on BankAccount, which is similar. +- Remove `id` param from CheckoutSessions `ListLineItems`. Use `CheckoutSessionListLineItemsParams.Session` instead. +- Remove `CheckoutSessionLineItemPriceDataRecurringParams.AggregateUsage`, `CheckoutSessionLineItemPriceDataRecurringParams.TrialPeriodDays`, and `CheckoutSessionLineItemPriceDataRecurringParams.UsageType` +- Remove `CheckoutSessionPaymentIntentDataParams.Params`, `CheckoutSessionSetupIntentDataParams.Params`, `CheckoutSessionSubscriptionDataParams.Params`. `Params` should only be embedded in root method struct, and has extraneous fields not applicable to child/sub structs. +- Remove `CheckoutSessionTotalDetailsBreakdownTax.TaxRate`. Use `CheckoutSessionTotalDetailsBreakdownTax.Rate` +- Remove `CheckoutSessionTotalDetailsBreakdownTax.Deleted` +- Remove `CustomerParams.Token` +- Remove `Discount` `APIResource` embed +- Remove `DiscountParams` +- Remove `FilePurposeFoundersStockDocument` (`"founders_stock_document"` option for `File.Purpose`) +- Remove `InvoiceParams.Paid`. Use `invoice.status` to check for status. `invoice.status` is a read-only field. +- Remove `InvoiceParams.SubscriptionPlan` and `InvoiceParams.SubscriptionQuantity` (note: these would have been on `InvoiceUpcomingParams`) +- Remove `InvoiceListLinesParams.Customer` and `InvoiceListLinesParams.Subscription` (these are not available for Invoice `ListLines`, but are available for `List`) +- Remove `IssuingAuthorizationRequestHistoryViolatedAuthorizationControlEntity` and `IssuingAuthorizationRequestHistoryViolatedAuthorizationControlName` (unused enums) +- Remove `IssuingCardSpendingControlsParams.SpendingLimitsCurrency`. `issuing_card` has `currency`, and `issuing_card.spending_controls.spending_limits.amount` will use that currency +- Remove `IssuingDisputeEvidenceServiceNotAsDescribed.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribed.ProductType`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductDescription`, `IssuingDisputeEvidenceServiceNotAsDescribedParams.ProductType`, and `IssuingDisputeEvidenceServiceNotAsDescribedProductType`. `issuing_dispute.evidence.service_not_as_described` does not have `product_description` or `product_type`. `issuing_dispute.evidence.canceled` does. +- Remove `LineItemTax.TaxRate`. Use `LineItemTax.Rate` instead. +- Remove `LineItem.Deleted` +- Remove `LoginLink.RedirectURL` +- Remove `PaymentIntentOffSession` (unused enum) +- Remove `PaymentIntentConfirmParams.PaymentMethodTypes` +- Remove `PaymentMethodFPX.TransactionID` +- Remove `Payout.BankAccount` and `Payout.Card` (These fields were never populated, use `PayoutDestination.BankAccount` and `PayoutDestination.Card` instead) +- Remove `PlanParams.ProductID`. Use `PlanParams.Product.ID` instead. +- Remove `Shipping` and `ShippingRate` properties from `CheckoutSession` resource. Please use `ShippingCost` and `ShippingDetails` properties instead. +- Remove `DefaultCurrency` property from `Customer` resource. Please use `Currency` property instead. +- Remove `Updated` and `UpdatedBy` from `RadarValueList` +- Remove `Name` from `RadarValueListItem` +- Remove `ReviewReasonType` type from `Review` resource. Use `ReviewReason` instead +- Remove `SetupIntentCancellationReasonFailedInvoice` and `SetupIntentCancellationReasonFraudulent` values from `SetupIntentCancellationReason` +- Remove `SigmaScheduledQueryRun.Query`. The field was invalid +- Remove `SKUParams.Description` and `SKU.Description` +- Remove `SourceMandateAcceptanceStatus`, `SourceMandateAcceptanceStatusAccepted`, `SourceMandateAcceptanceStatusRefused`, `SourceMandateNotificationMethod`, `SourceMandateNotificationMethodEmail`, `SourceMandateNotificationMethodManual`, and `SourceMandateNotificationMethodNone` +- Remove `Source.TypeData` and SourceParams and replace with payment method-specific fields (AUBECSDebit, Bancontact, Card, CardPresent, EPS, Giropay, IDEAL, Klarna, Multibanco, P24, SEPACreditTransfer, SEPADebit, Sofort, ThreeDSecure, Wechat) and `Source.AppendTo` method +- Remove `SourceTransaction.CustomerData`. The field was deprecated +- Remove `SourceTransaction.TypeData` and `SourceTransaction.UnmarshalJSON`. Use payment specific fields - Remove `ACHCreditTransfer`, `CHFCreditTransfer`, `GBPCreditTransfer`, `PaperCheck`, and `SEPACreditTransfer` +- Remove `SubscriptionPaymentBehavior`, `SubscriptionPaymentBehaviorAllowIncomplete`, `SubscriptionPaymentBehaviorErrorIfIncomplete`, and `SubscriptionPaymentBehaviorPendingIfIncomplete` +- Remove `SubscriptionProrationBehavior`, `SubscriptionProrationBehaviorAlwaysInvoice`, `SubscriptionProrationBehaviorCreateProrations`, and `SubscriptionProrationBehaviorNone` +- Remove `SubscriptionStatusAll` +- Remove `SubscriptionParams.Card`, `SubscriptionParams.Plan`, and `SubscriptionParams.Quantity` +- Remove `Subscription.Plan` and `Subscription.Quantity` +- Remove `SubscriptionItemParams.ID`. The field was deprecated +- Remove `SubscriptionSchedulePhaseAddInvoiceItemPriceDataRecurringParams` and `SubscriptionSchedulePhaseAddInvoiceItemPriceDataParams` +- Remove `Del` method on `TaxRate` +- Remove `TerminalReaderGetParams`. Use `TerminalReaderParams` instead. +- Remove `TerminalReaderList.Location` and `TerminalReaderList.Status` (Not available for the list, but is available for individual `TerminalReader`s in `TerminalReaderList.Data`) +- Remove `Token.Email` and `TokenParams.Email` +- Remove `TopupParams.SetSource` +- Remove `WebhookEndpointListParams.Created` and `WebhookEndpointListParams.CreatedRange` (use `StartingAfter` from `ListParams`) +- Remove `WebhookEndpoint.Connected` + +## 72.122.0 - 2022-07-26 +* [#1508](https://github.com/stripe/stripe-go/pull/1508) API Updates + * Add support for new value `exempted` on enums `ChargePaymentMethodDetailsCardThreeDSecureResult` and `SetupAttemptPaymentMethodDetailsCardThreeDSecureResult` + * Add support for `CustomerBalance` on `CheckoutSessionPaymentMethodOptionsParams` and `CheckoutSessionPaymentMethodOptions` diff --git a/plugins/changelog/testdata/stripe-java-21.0.0-CHANGELOG.md b/plugins/changelog/testdata/stripe-java-21.0.0-CHANGELOG.md new file mode 100644 index 0000000..3d397f1 --- /dev/null +++ b/plugins/changelog/testdata/stripe-java-21.0.0-CHANGELOG.md @@ -0,0 +1,59 @@ +## 21.0.0 - 2022-08-02 + +Major version release for API version 2022-08-01. Default API version changed to "2022-08-01". + +Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-java/wiki/Migration-guide-for-v21. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01. + +"⚠️" symbol highlights breaking changes. + +* [#1409](https://github.com/stripe/stripe-java/pull/1409) API Updates +* [#1407](https://github.com/stripe/stripe-java/pull/1407) Next major release changes + +### Added +* Add `ApiKeyMissingException`. +* Add `validate` field to `CustomerCreateParams`. +* Add `validate` field to `CustomerUpdateParams`. +* Add `validate` field to `PaymentSourceCollectionCreateParams`. +* Add `shippingCost`, `shippingDetails`, and `shippingOptions` properties to `checkout.Session` resource. +* Add support for `shipping_cost` and `shipping_details` on `Checkout.Session` +* Add support for new value `2022-08-01` on enum `WebhookEndpointCreateParams.api_version` + +### ⚠️ Removed + +- Removed deprecated `AlipayAccount` and related classes. +- Removed deprecated `BitcoinReceiver` and related classes. +- Removed deprecated `BitcoinTransaction` and related classes. +- Removed deprecated `Recipient` and related classes. +- Removed deprecated `IssuerFraudRecord` and related classes. +- Removed deprecated `Order` and related classes. +- Removed deprecated `ThreeDSecure` and related classes. +- Removed unused `QuoteFinalizeParams`, `QuoteCollectionListParams` classes. +- Removed unused `BillingDetails` class. +- Removed `CashBalance.retrieveCashBalance` method. Prefer `CashBalance.retrieve`. +- Removed `Rule.getDeleted` method. The property was never populated and always had the default value of `false`. +- Removed `LineItem.getDeleted` method. The property was never populated and always had the default value of `false`. +- Removed public constructors from `TestHelper` inner classes and made them static. +- Removed instance `Account.refresh`, `Account.disconnect` methods. +- Removed deprecated `TREASURY__RECEIVED_CREDIT__REVERSED`, `TREASURY__RECEIVED_DEBIT__CREATED`, `ORDER__UPDATED`, `ORDER_RETURN__CREATED`, `ORDER__PAYMENT_SUCCEEDED`, `TRANSFER__FAILED`, `TRANSFER__PAID` webhook events. +- Removed deprecated `LoginLink.redirectUrl` property. +- Removed deprecated `Charge.order` property. +- Removed deprecated `Card.recipient` property. +- Removed `defaultCurrency` property from `Customer` resource. Please use `Currency` property instead. +- Removed `shipping` and `shippingOptions` properties from `checkout.Session` resource. Please use `shippingCost`, `shippingDetails`, and `shippingOptions` properties instead. +- Removed `InitiatingPaymentMethodDetails` class + +### ⚠️ Changed + +- Default API version changed to "2022-07-28". +- Changed `CashBalance.retrieve` method from an instance to a static. +- Renamed `PaymentIntent.FinancialAddresses` class to `FinancialAddress`. +- Check that apiKey is set (either globally or via request options) in `StripeCollection.autoPagingIterable` and `StripeSearchResult.autoPagingIterable`, and throw an exception if it is not. +- Changed type of `businessType` field in `AccountCreateParams` from `Object` to `BusinessType` + + +## 20.136.0 - 2022-07-26 +* [#1406](https://github.com/stripe/stripe-java/pull/1406) API Updates + * Add support for `customer_balance` on `Checkout.Session.payment_method_options` and `CheckoutSessionCreateParams.payment_method_options` + * Add support for new value `customer_balance` on enum `CheckoutSessionCreateParams.payment_method_types[]` + * Add support for new values `en-CA` and `fr-CA` on enums `OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale`, `OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale`, `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale` +* [#1405](https://github.com/stripe/stripe-java/pull/1405) chore: Update gson version in README. diff --git a/plugins/changelog/testdata/stripe-node-10.0.0-CHANGELOG.md b/plugins/changelog/testdata/stripe-node-10.0.0-CHANGELOG.md new file mode 100644 index 0000000..8767dd9 --- /dev/null +++ b/plugins/changelog/testdata/stripe-node-10.0.0-CHANGELOG.md @@ -0,0 +1,49 @@ +## 10.0.0 - 2022-08-02 + +Major version release for API version 2022-08-01. Default API version changed to "2022-08-01". + +Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v10. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01. + +"⚠️" symbol highlights breaking changes. + +* [#1497](https://github.com/stripe/stripe-node/pull/1497) API Updates +* [#1493](https://github.com/stripe/stripe-node/pull/1493) Next major release changes + +### Added +* Add support for new value `invalid_tos_acceptance` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `Capability.future_requirements.errors[].code`, `Capability.requirements.errors[].code`, `Person.future_requirements.errors[].code`, and `Person.requirements.errors[].code` +* Add support for `shipping_cost` and `shipping_details` on `Checkout.Session` + +### ⚠️ Changed +* Change type of `business_profile`, `business_type`, `country`, `default_currency`, and `settings` properties on `Account` resource to be nullable. +* Change type of `currency` property on `Checkout.Session` resource from `string` to `'cad' | 'usd'`. +* Change location of TypeScript definitions for `CreditNoteLineItemListPreviewParams`, `CreditNoteLineItemListPreviewParams.Line`, `CreditNoteLineItemListPreviewParams.Line.Type`, and `CreditNoteLineItemListPreviewParams.Line.Reason` interfaces from `CreditNoteLineItems.d.ts` to `CreditNotes.d.ts`. +* Change type of `address`, `currency`, `delinquent`, `discount`, `invoice_prefix`, `name`, `phone`, and `preferred_locales` properties on `Customer` resource to be nullable. +* Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`. + +### ⚠️ Removed +* Remove for `AlipayAccount`, `DeletedAlipayAccount`, `BitcoinReceiver`, `DeletedBitcoinReceiver`, `BitcoinTransaction`, and `BitcoinTransactionListParams` definitions. +* Remove `AlipayAccount` and `BitcoinReceiver` from `CustomerSource`. +* Remove `Stripe.DeletedAlipayAccount` and `Stripe.DeletedBitcoinReceiver` from possible values of `source` property in `PaymentIntent`. +* Remove `IssuerFraudRecord`, `IssuerFraudRecordRetrieveParams`, `IssuerFraudRecordListParams`, and `IssuerFraudRecordsResource`, definitions. +* Remove `treasury.received_credit.reversed` webhook event constant. Please use `treasury.received_credit.returned` instead. +* Remove `order.payment_failed`, `transfer.failed`, and `transfer.paid`. The events were deprecated. +* Remove `retrieveDetails` method from `Issuing.Card` resource. The method was unsupported. Read more at https://stripe.com/docs/issuing/cards/virtual. +* Remove `Issuing.CardDetails` and `CardRetrieveDetailsParams` definition. +* Remove `IssuerFraudRecords` resource. +* Remove `Recipient` resource and`recipient` property from `Card` resource. +* Remove `InvoiceMarkUncollectibleParams` definition. +* Remove deprecated `Stripe.Errors` and `StripeError` (and derived `StripeCardError`, `StripeInvalidRequestError`, `StripeAPIError`, `StripeAuthenticationError`, `StripePermissionError`, `StripeRateLimitError`, `StripeConnectionError`, `StripeSignatureVerificationError`, `StripeIdempotencyError`, and `StripeInvalidGrantError`) definitions. +* Remove `redirect_url` from `LoginLinks` definition. The property is no longer supported. +* Remove `LineItemListParams` definition. The interface was no longer in use. + +### ⚠️ Renamed +* Rename `listUpcomingLineItems` method on `Invoice` resource to `listUpcomingLines`. +* Rename `InvoiceLineItemListUpcomingParams` to `InvoiceListUpcomingLinesParams`. +* Rename `InvoiceRetrieveUpcomingParams` to `InvoiceListUpcomingLinesParams`. + +## 9.16.0 - 2022-07-26 +* [#1492](https://github.com/stripe/stripe-node/pull/1492) API Updates + * Add support for new value `exempted` on enums `Charge.payment_method_details.card.three_d_secure.result` and `SetupAttempt.payment_method_details.card.three_d_secure.result` + * Add support for `customer_balance` on `Checkout.Session.payment_method_options` and `CheckoutSessionCreateParams.payment_method_options` + * Add support for new value `customer_balance` on enum `CheckoutSessionCreateParams.payment_method_types[]` + * Add support for new values `en-CA` and `fr-CA` on enums `OrderCreateParams.payment.settings.payment_method_options.klarna.preferred_locale`, `OrderUpdateParams.payment.settings.payment_method_options.klarna.preferred_locale`, `PaymentIntentConfirmParams.payment_method_options.klarna.preferred_locale`, `PaymentIntentCreateParams.payment_method_options.klarna.preferred_locale`, and `PaymentIntentUpdateParams.payment_method_options.klarna.preferred_locale` diff --git a/plugins/changelog/testdata/stripe-php-9.0.0-CHANGELOG.md b/plugins/changelog/testdata/stripe-php-9.0.0-CHANGELOG.md new file mode 100644 index 0000000..1cd3194 --- /dev/null +++ b/plugins/changelog/testdata/stripe-php-9.0.0-CHANGELOG.md @@ -0,0 +1,47 @@ +## 9.0.0 - 2022-08-02 + +Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v9. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01. + +"⚠️" symbol highlights breaking changes. + +* [#1344](https://github.com/stripe/stripe-php/pull/1344) API Updates +* [#1337](https://github.com/stripe/stripe-php/pull/1337) API Updates +* [#1273](https://github.com/stripe/stripe-php/pull/1273) Add some PHPDoc return types and fixes +* [#1341](https://github.com/stripe/stripe-php/pull/1341) Next major release changes + +### Added +* Add `alternate_statement_descriptors`, `authorization_code`, and `level3` properties to `Charge` resource. +* Add `previewLines` method to `CreditNote` resource. +* Add `transfer_data` property to `Subscription` resource. +* Add `SOURCE_TYPE_FPX` constant to `Transfer` resource. +* Add new error code constants to `ErrorObject`. +* Add support for `shipping_cost` and `shipping_details` on `Checkout.Session` + +### ⚠️ Changed +* Updated certificate bundle ([#1314](https://github.com/stripe/stripe-php/pull/1314)) +* Add `params` parameter to `close` method in `Dispute` resource. + +### ⚠️ Removed +* Remove deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Recipient`, `RecipientTransfer`, and `ThreeDSecure` resources. +* Remove `CAPABILITY_CARD_PAYMENTS`, `CAPABILITY_LEGACY_PAYMENTS`, `CAPABILITY_PLATFORM_PAYMENTS`, `CAPABILITY_TRANSFERS`, `CAPABILITY_STATUS_ACTIVE`, `CAPABILITY_STATUS_INACTIVE`, and `CAPABILITY_STATUS_PENDING` constants from `Account` resource. Please use up-to-date values from https://stripe.com/docs/connect/account-capabilities. +* Remove `AssociatedObjects` array property from `EphemeralKey` resource. The field was undocumented and unsupported. +* Remove `details` method from `Card` resource. The endpoint was deprecated and no longer exists. +* Remove `recipient` property from `Card` resource. The property was deprecated. +* Remove ability to list `Card` resources for a particular `Recipient`. +* Remove `sources` property from `Card` resource. The property was deprecated. +* Remove `FAILURE_REASON` constant from `Refund` resource. The value was deprecated. +* Remove `Recipient` resource. The resource was deprecated. +* Remove `OrderItem` resource. The resource was deprecated. +* Remove `all` method from `LineItem`. +* Remove `cancel` method from `Transfer` and `TransferService`. This method is deprecated. +* Remove `allTransactions` method from `SourceService` service. Please use `allSourceTransactions` method instead. +* Remove `persons` method from `Account` resource. Please use `allPersons` method instead. +* Remove `sourceTransactions` method from `Source` resource. Please use `allSourceTransactions` method instead. +* Remove `usageRecordSummaries` method from `SubscriptionItem` resource. Please use `allUsageRecordSummaries` method instead. +* Remove `SOURCE_TYPE_ALIPAY_ACCOUNT` and `SOURCE_TYPE_FINANCING` constants from `Transfer` resource. The values were deprecated and are no longer in use. +* Remove deprecated error code constants from `ErrorObject`: `CODE_ACCOUNT_ALREADY_EXISTS`, `CODE_ORDER_CREATION_FAILED`, `CODE_ORDER_REQUIRED_SETTINGS`, `CODE_ORDER_STATUS_INVALID`, `CODE_ORDER_UPSTREAM_TIMEOUT`, and `CODE_UPSTREAM_ORDER_CREATION_FAILED`. +* Remove deprecated event constants from `Webhook`: `ISSUER_FRAUD_RECORD_CREATED`, ` ORDER_PAYMENT_FAILED`, `ORDER_PAYMENT_SUCCEEDED`, `ORDER_UPDATED`, `ORDER_RETURN_CREATED`, `PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED`, `PING`, `PROMOTION_CODE_DELETED`, and `TREASURY_RECEIVED_CREDIT_REVERSED`. The events are deprecated and no longer sent by Stripe. + +## 8.12.0 - 2022-07-25 +* [#1332](https://github.com/stripe/stripe-php/pull/1332) API Updates + * Add support for `default_currency` and `invoice_credit_balance` on `Customer` diff --git a/plugins/changelog/testdata/stripe-python-4.0.0-CHANGELOG.md b/plugins/changelog/testdata/stripe-python-4.0.0-CHANGELOG.md new file mode 100644 index 0000000..94c2afb --- /dev/null +++ b/plugins/changelog/testdata/stripe-python-4.0.0-CHANGELOG.md @@ -0,0 +1,32 @@ +## 4.0.0 - 2022-08-02 + +Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v4. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01. + +"⚠️" symbol highlights breaking changes. + +* [#847](https://github.com/stripe/stripe-python/pull/847) API Updates +* [#845](https://github.com/stripe/stripe-python/pull/845) Next major release changes +* [#836](https://github.com/stripe/stripe-python/pull/836) API Updates. Add Price.create tests. +* [#835](https://github.com/stripe/stripe-python/pull/835) API Updates. Use auto-generation for credit_note and invoice methods. + +### ⚠️ Removed +- Removed deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `IssuerFraudRecord`, `Recipient`, `RecipientTransfer`, and `ThreeDSecure` classes. +- Removed deprecated `Charge.update_dispute` and `Charge.close_dispute` methods that were using legacy REST API endpoint. Prefer [Dispute.modify](https://stripe.com/docs/api/disputes/update?lang=python) and [Dispute.close](https://stripe.com/docs/api/disputes/close?lang=python) +- Removed deprecated `Card.details` method and `CardDetails` resource. The REST API endpoint is not longer supported. +- Removed the deprecated `Source.source_transactions` method. Prefer `SubscriptionItem.list_source_transactions` +- Removed the deprecated `SubscriptionItem.usage_record_summaries` method. Prefer `SubscriptionItem.list_usage_record_summaries` +- Removed the deprecated `Charge.refund` method. Prefer [Refund.create](https://stripe.com/docs/api/refunds/create) + +### ⚠️ Changed +- To be consistent with other resource methods, `ApplicationFee.refund` returns an instance of `ApplicationFee` and doesn't mutate the instance of `ApplicationFee`. +- To be consistent with other resource methods, the `Customer.delete_discount` no longer resets the `discount` property to `None` and returns the deleted discount instead. If you were relying on this behavior, reset the discount property manually: +- The `LineItem` resource now inherits from `StripeObject` as it has no methods of it's own. +- To be consistent with other resource methods, the `Subscription.delete_discount` returns an instance of deleted discount and doesn't mutate the instance of `Subscription`. +- Update the CA certificate bundle. +- Request sending logic unified across standard and custom methods (https://github.com/stripe/stripe-python/pull/832) + +## 3.5.0 - 2022-06-30 +* [#831](https://github.com/stripe/stripe-python/pull/831) API Updates + * Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card` + * Switch from using `instance_url` to computing method path in place for custom methods. + * Switch from using explicit class methods for test helpers instead of using meta-programming. diff --git a/plugins/changelog/testdata/stripe-ruby-7.0.0-CHANGELOG.md b/plugins/changelog/testdata/stripe-ruby-7.0.0-CHANGELOG.md new file mode 100644 index 0000000..c6e6e11 --- /dev/null +++ b/plugins/changelog/testdata/stripe-ruby-7.0.0-CHANGELOG.md @@ -0,0 +1,31 @@ +## 7.0.0 - 2022-08-02 + +Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01. + +"⚠️" symbol highlights breaking changes. + +* [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates +* [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates +* [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods +* [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes + +### ⚠️ Changed +* `retrieve_cash_balance` and `update_cash_balance` methods on `Customer` resource no longer requires the second argument to always be `nil`. The methods now now take in `customer_id`, `params`, and `opts` parameters. +* Update default bundle of CA certificates to April 26, 2022. + +### Deprecated +* Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead. + +### ⚠️ Removed +* Remove `details` method from `Issuing.Card` resource. The method was not supported. +* Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual. +* Remove `create` method from `ReportType` resource. The method was not supported. +* Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead. +* Remove `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Issuing::CardDetails`, `Recipient`, ` RecipientTransfer`, and `ThreeDSecure` resources. The resources were deprecated or no longer in use. +* Remove ability to list `Card` resource for a `Recipient`. +* Remove `cancel` method from `Transfer` resource. The method was deprecated. + +## 6.5.0 - 2022-06-29 +* [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates + * Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card` +* [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8. diff --git a/providers/stripe-sdks.md b/providers/stripe-sdks.md new file mode 100644 index 0000000..8d90d2a --- /dev/null +++ b/providers/stripe-sdks.md @@ -0,0 +1,38 @@ +# Stripe SDKs (`stripe/python`, `stripe/node`, `stripe/go`, `stripe/java`, `stripe/ruby`, `stripe/dotnet`, `stripe/php`) + +## What it watches + +Classes, methods, properties, constants and resources removed or renamed in each release of Stripe's seven official server SDKs, read from that release's section of the SDK's own `CHANGELOG.md`. One `package_release` event per bullet that names what it removes plainly. Stripe's API itself is a separate source (`stripe/api`, kind `openapi`). + +Kind: `changelog` (`plugins/changelog`, `sdks.go`). + +| Source | Package | Releases listed from | Tag | +|---|---|---|---| +| `stripe/python` | `pypi:stripe` | PyPI | `vX.Y.Z` | +| `stripe/node` | `npm:stripe` | npm | `vX.Y.Z` | +| `stripe/go` | `go:github.com/stripe/stripe-go/v87` (events name the module at each release's major: `…/v73`) | the repo's `vX.Y.Z` tags | `vX.Y.Z` | +| `stripe/java` | `maven:com.stripe:stripe-java` | the repo's tags | `vX.Y.Z` | +| `stripe/ruby` | `rubygems:stripe` | the repo's tags | `vX.Y.Z` | +| `stripe/dotnet` | `nuget:Stripe.net` | the repo's tags | `vX.Y.Z` | +| `stripe/php` | `packagist:stripe/stripe-php` | the repo's tags | `vX.Y.Z` | + +## Why this source + +- **Source:** each SDK's `CHANGELOG.md`, read raw at the release's tag, e.g. https://github.com/stripe/stripe-python/blob/master/CHANGELOG.md (checked on 2026-11-20; `https://raw.githubusercontent.com/stripe/stripe-python/v4.0.0/CHANGELOG.md` for the golden). +- **Why this one:** it's Stripe's own record of each release, and every breaking bullet is marked `⚠️`, in all seven SDKs. At a tag it never changes, so the URL is its own citation. +- **Alternatives considered:** GitHub release notes (the same text, release by release, editable afterwards); the SDKs' wiki migration guides (one page per major, prose); Stripe's API changelog (about the API, not the SDK's names); diffing the published packages (the `apisurface` kind, a separate source when it's built). +- **Quote:** "⚠️ Removed the deprecated `Charge.refund` method. Prefer [Refund.create](https://stripe.com/docs/api/refunds/create)" (stripe-python 4.0.0). + +## How the provider announces changes + +Stripe ships a new major of every SDK when it pins a new API version (twice a year or so), and marks each breaking bullet `⚠️`. Older changelogs head releases `## X.Y.Z - date`, newer ones `## X.Y.Z - date`; both are read. + +## What the plugin reads and ignores + +- Reads the release's section only. A bullet counts when it's marked `⚠️` or sits under a breaking or deprecation heading, and its first sentence is a plain template over code spans: `Remove X`, `Remove X from Y`, `Rename X to Y`, `X has been removed`, `Deprecated X in favor of Y`. The pull-request link it starts with is read past. +- Drops (and logs) everything else: type changes ("Change type of …"), nullable fields, pinned API versions, dropped language versions, bullets that list names inside prose or parentheses, and "Generated changes from …" roll-ups. + +## Known gaps + +- Stripe's big generated roll-ups ("⚠️ Generated changes from #…") list their removals in nested bullets the reader doesn't open: those releases give no event. +- A release whose tag or section is missing is skipped as nothing to read, never guessed. From bd302f5e1d5b2d7d648f86e4c8b11d8f6a93381c Mon Sep 17 00:00:00 2001 From: adssib <75389300+adssib@users.noreply.github.com> Date: Fri, 20 Nov 2026 21:05:04 -0500 Subject: [PATCH 3/9] add the sentry sdk changelog sources Co-Authored-By: Claude Opus 5.5 Signed-off-by: adssib <75389300+adssib@users.noreply.github.com> --- plugins/changelog/sentry.go | 30 ++ plugins/changelog/sentry_test.go | 12 + plugins/changelog/testdata/README.md | 4 + .../testdata/golden/sentry-dotnet.json | 52 ++++ .../changelog/testdata/golden/sentry-go.json | 26 ++ .../golden/sentry-javascript-changelog.json | 50 ++++ .../golden/sentry-python-changelog.json | 194 +++++++++++++ .../testdata/sentry-dotnet-4.0.0-CHANGELOG.md | 223 +++++++++++++++ .../testdata/sentry-go-0.31.0-CHANGELOG.md | 72 +++++ ...y-javascript-changelog-10.0.0-CHANGELOG.md | 138 +++++++++ ...sentry-python-changelog-2.0.0-CHANGELOG.md | 267 ++++++++++++++++++ providers/sentry-sdks.md | 35 +++ 12 files changed, 1103 insertions(+) create mode 100644 plugins/changelog/sentry.go create mode 100644 plugins/changelog/sentry_test.go create mode 100644 plugins/changelog/testdata/golden/sentry-dotnet.json create mode 100644 plugins/changelog/testdata/golden/sentry-go.json create mode 100644 plugins/changelog/testdata/golden/sentry-javascript-changelog.json create mode 100644 plugins/changelog/testdata/golden/sentry-python-changelog.json create mode 100644 plugins/changelog/testdata/sentry-dotnet-4.0.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/sentry-go-0.31.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/sentry-javascript-changelog-10.0.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/sentry-python-changelog-2.0.0-CHANGELOG.md create mode 100644 providers/sentry-sdks.md diff --git a/plugins/changelog/sentry.go b/plugins/changelog/sentry.go new file mode 100644 index 0000000..e6c6e07 --- /dev/null +++ b/plugins/changelog/sentry.go @@ -0,0 +1,30 @@ +package changelog + +import "github.com/patch-it-dev/patch-it-plugins/core/plugin" + +func init() { + const page = "providers/sentry-sdks.md" + plugin.RegisterProvider(plugin.Provider{ + ID: "sentry", Name: "Sentry", Category: plugin.CategoryMonitoring, Homepage: "https://sentry.io", + Sources: []plugin.Source{ + sdk(page, "python-changelog", SentryPython, "pypi:sentry-sdk"), + sdk(page, "javascript-changelog", SentryJavaScript, "npm:@sentry/node", "npm:@sentry/browser"), + sdk(page, "go", SentryGo, "go:github.com/getsentry/sentry-go"), + sdk(page, "dotnet", SentryDotnet, "nuget:Sentry"), + }, + }) +} + +// Sentry's SDKs: CHANGELOG.md, "## X.Y.Z", with "### Breaking Changes" / +// "### Removed" / "### Deprecations" sections or conventional-commit bullets +// ("feat(core)!: Remove `x`"); tagged X.Y.Z, except sentry-go's vX.Y.Z. +var ( + SentryPython = File{API: "sentry/python-changelog", Package: "sentry-sdk", Ecosystem: "pypi", Module: "sentry_sdk", + Repo: "getsentry/sentry-python", Path: "CHANGELOG.md"} + SentryJavaScript = File{API: "sentry/javascript-changelog", Package: "@sentry/node", Ecosystem: "npm", + Repo: "getsentry/sentry-javascript", Path: "CHANGELOG.md"} + SentryGo = File{API: "sentry/go", Package: "github.com/getsentry/sentry-go", Ecosystem: "go", Module: "sentry", + Repo: "getsentry/sentry-go", TagPrefix: "v", Path: "CHANGELOG.md"} + SentryDotnet = File{API: "sentry/dotnet", Package: "Sentry", Ecosystem: "nuget", + Repo: "getsentry/sentry-dotnet", Path: "CHANGELOG.md"} +) diff --git a/plugins/changelog/sentry_test.go b/plugins/changelog/sentry_test.go new file mode 100644 index 0000000..4ca4a07 --- /dev/null +++ b/plugins/changelog/sentry_test.go @@ -0,0 +1,12 @@ +package changelog + +import "testing" + +func TestSentrySDKs(t *testing.T) { + checkSDKs(t, []sdkCase{ + {SentryPython, "2.0.0", "1.45.1", "sentry-python-changelog-2.0.0-CHANGELOG.md", "", "1.45.0"}, + {SentryJavaScript, "10.0.0", "9.47.2", "sentry-javascript-changelog-10.0.0-CHANGELOG.md", "", "9.40.0"}, + {SentryGo, "0.31.0", "0.30.0", "sentry-go-0.31.0-CHANGELOG.md", "", "0.30.0"}, + {SentryDotnet, "4.0.0", "3.41.4", "sentry-dotnet-4.0.0-CHANGELOG.md", "", "3.41.4"}, + }) +} diff --git a/plugins/changelog/testdata/README.md b/plugins/changelog/testdata/README.md index fb18461..9674235 100644 --- a/plugins/changelog/testdata/README.md +++ b/plugins/changelog/testdata/README.md @@ -22,6 +22,10 @@ Read with `Plugin{File: ...}` (`sdks.go`); `golden/-.json` is | `stripe-ruby-7.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/stripe/stripe-ruby/v7.0.0/CHANGELOG.md | `6081371` | 2026-11-20 | MIT (stripe-ruby); trimmed to the sections of 7.0.0 (the golden) and 6.5.0 (the drop test), each unchanged | "Remove `details` method from `Issuing.Card` resource. The method was not supported." | | `stripe-dotnet-40.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/stripe/stripe-dotnet/v40.0.0/CHANGELOG.md | `e07ebe7` | 2026-11-20 | Apache-2.0 (stripe-dotnet); trimmed to the sections of 40.0.0 (the golden) and 39.126.0 (the drop test), each unchanged | "Remove `CustomerPaymentSettingsOptions`, `CustomerPaymentSettingsPaymentMethodOptionsBancontactOptions`, `CustomerPay…" | | `stripe-php-9.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/stripe/stripe-php/v9.0.0/CHANGELOG.md | `e405c17` | 2026-11-20 | MIT (stripe-php); trimmed to the sections of 9.0.0 (the golden) and 8.12.0 (the drop test), each unchanged | "Remove deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Recipient`, `RecipientTransfer`, and `Th…" | +| `sentry-python-changelog-2.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md | `38bbb8d` | 2026-11-20 | MIT (sentry-python); trimmed to the sections of 2.0.0 (the golden) and 1.45.0 (the drop test), each unchanged | "Removed `sentry_sdk.tracing.Span.new_span`. Use `sentry_sdk.tracing.Span.start_child` instead." | +| `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…" | ## Version lists diff --git a/plugins/changelog/testdata/golden/sentry-dotnet.json b/plugins/changelog/testdata/golden/sentry-dotnet.json new file mode 100644 index 0000000..982652d --- /dev/null +++ b/plugins/changelog/testdata/golden/sentry-dotnet.json @@ -0,0 +1,52 @@ +[ + { + "id": 1, + "fingerprint": "sha256:0f44b1e48ef9b130605c09c38f207a5b580f7ed6b0c2a05c906b83dc7ad76388", + "api": "sentry/dotnet", + "version": "4.0.0", + "previous_version": "3.41.4", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "nuget", + "package": "Sentry", + "change": "renamed_symbol", + "symbols": [ + "ITransaction" + ], + "replacement": "ITransactionTracer" + }, + "description": "`ITransaction` was renamed to `ITransactionTracer` in Sentry 4.0.0: code using the old name fails.", + "migration_hint": "`ITransaction` has been renamed to `ITransactionTracer`. You will need to update any references to these interfaces in your code to use the new interface names ([#2731](https://github.com/getsentry/sentry-dotnet/pull/2731), [#2870](https://github.com/getsentry/sentry-dotnet/pull/2870)) (Sentry's changelog for 4.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-dotnet/4.0.0/CHANGELOG.md", + "source_excerpt": "## 4.0.0\nAPI breaking Changes\n- `ITransaction` has been renamed to `ITransactionTracer`. You will need to update any references to these interfaces in your code to use the new interface names ([#2731](https://github.com/getsentry/sentry-dotnet/pull/2731), [#2870](https://github.com/getsentry/sentry-dotnet/pull/2870))", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:c2e3c53d050a43c913df5961fc5e32dd38251a8591ad9592599e1ac2f274e61c", + "api": "sentry/dotnet", + "version": "4.0.0", + "previous_version": "3.41.4", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "nuget", + "package": "Sentry", + "change": "removed_symbol", + "symbols": [ + "WithScope", + "WithScopeAsync" + ] + }, + "description": "`WithScope`, `WithScopeAsync` were removed in Sentry 4.0.0: code using it fails.", + "migration_hint": "The `WithScope` and `WithScopeAsync` methods have been removed. We have discovered that these methods didn't work correctly in certain desktop contexts, especially when using a global scope. ([#2717](https://github.com/getsentry/sentry-dotnet/pull/2717)) (Sentry's changelog for 4.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-dotnet/4.0.0/CHANGELOG.md", + "source_excerpt": "## 4.0.0\nAPI breaking Changes\n- The `WithScope` and `WithScopeAsync` methods have been removed. We have discovered that these methods didn't work correctly in certain desktop contexts, especially when using a global scope. ([#2717](https://github.com/getsentry/sentry-dotnet/pull/2717))", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/sentry-go.json b/plugins/changelog/testdata/golden/sentry-go.json new file mode 100644 index 0000000..fa72683 --- /dev/null +++ b/plugins/changelog/testdata/golden/sentry-go.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:b9934e7cf2ed5fce3e47a8dcccab92ee4b04c4b4fe555a45643237bb667985ff", + "api": "sentry/go", + "version": "0.31.0", + "previous_version": "0.30.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/getsentry/sentry-go", + "change": "removed_symbol", + "symbols": [ + "User.Segment" + ] + }, + "description": "`User.Segment` was removed in github.com/getsentry/sentry-go 0.31.0: code using it fails.", + "migration_hint": "Remove `Segment` field from the `User` struct. This field is no longer used in the Sentry product. ([#928](https://github.com/getsentry/sentry-go/pull/928)) (github.com/getsentry/sentry-go's changelog for 0.31.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-go/v0.31.0/CHANGELOG.md", + "source_excerpt": "## 0.31.0\nBreaking Changes\n- Remove `Segment` field from the `User` struct. This field is no longer used in the Sentry product. ([#928](https://github.com/getsentry/sentry-go/pull/928))", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/sentry-javascript-changelog.json b/plugins/changelog/testdata/golden/sentry-javascript-changelog.json new file mode 100644 index 0000000..fe732c2 --- /dev/null +++ b/plugins/changelog/testdata/golden/sentry-javascript-changelog.json @@ -0,0 +1,50 @@ +[ + { + "id": 1, + "fingerprint": "sha256:56f85aa1cf74a8a8d04b37f117e24c3545011d733459d9f04195be526598fe1d", + "api": "sentry/javascript-changelog", + "version": "10.0.0", + "previous_version": "9.47.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@sentry/node", + "change": "removed_symbol", + "symbols": [ + "BaseClient" + ] + }, + "description": "`BaseClient` was removed in @sentry/node 10.0.0: code using it fails.", + "migration_hint": "feat(core)!: Remove `BaseClient` ([#17071](https://github.com/getsentry/sentry-javascript/pull/17071)) (@sentry/node's changelog for 10.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-javascript/10.0.0/CHANGELOG.md", + "source_excerpt": "## 10.0.0\nBreaking Changes\n- feat(core)!: Remove `BaseClient` ([#17071](https://github.com/getsentry/sentry-javascript/pull/17071))", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:b30cd0ae134c24563f30f8467e081143808401e8218d929b741564ab8a0efa0f", + "api": "sentry/javascript-changelog", + "version": "10.0.0", + "previous_version": "9.47.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@sentry/node", + "change": "removed_symbol", + "symbols": [ + "hasTracingEnabled" + ] + }, + "description": "`hasTracingEnabled` was removed in @sentry/node 10.0.0: code using it fails.", + "migration_hint": "feat(core)!: Remove `hasTracingEnabled` ([#17072](https://github.com/getsentry/sentry-javascript/pull/17072)) (@sentry/node's changelog for 10.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-javascript/10.0.0/CHANGELOG.md", + "source_excerpt": "## 10.0.0\nBreaking Changes\n- feat(core)!: Remove `hasTracingEnabled` ([#17072](https://github.com/getsentry/sentry-javascript/pull/17072))", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/sentry-python-changelog.json b/plugins/changelog/testdata/golden/sentry-python-changelog.json new file mode 100644 index 0000000..76bcea1 --- /dev/null +++ b/plugins/changelog/testdata/golden/sentry-python-changelog.json @@ -0,0 +1,194 @@ +[ + { + "id": 1, + "fingerprint": "sha256:f0c7d39b5f7637c7ff0fa723b2600b82acea056fca8dd0e00461c323b93cfd92", + "api": "sentry/python-changelog", + "version": "2.0.0", + "previous_version": "1.45.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "sentry-sdk", + "change": "removed_symbol", + "symbols": [ + "tracing.Span.new_span" + ] + }, + "description": "`tracing.Span.new_span` was removed in sentry-sdk 2.0.0: code using it fails.", + "migration_hint": "Removed `sentry_sdk.tracing.Span.new_span`. Use `sentry_sdk.tracing.Span.start_child` instead. (sentry-sdk's changelog for 2.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", + "source_excerpt": "## 2.0.0\nRemoved\n- Removed `sentry_sdk.tracing.Span.new_span`. Use `sentry_sdk.tracing.Span.start_child` instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:3e2dd515421c964b45beeb1d408742904a22f2734f16400cd4dd7d3deb161b39", + "api": "sentry/python-changelog", + "version": "2.0.0", + "previous_version": "1.45.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "sentry-sdk", + "change": "removed_symbol", + "symbols": [ + "tracing.Transaction.new_span" + ] + }, + "description": "`tracing.Transaction.new_span` was removed in sentry-sdk 2.0.0: code using it fails.", + "migration_hint": "Removed `sentry_sdk.tracing.Transaction.new_span`. Use `sentry_sdk.tracing.Transaction.start_child` instead. (sentry-sdk's changelog for 2.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", + "source_excerpt": "## 2.0.0\nRemoved\n- Removed `sentry_sdk.tracing.Transaction.new_span`. Use `sentry_sdk.tracing.Transaction.start_child` instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:1eda15f0db1d4c4b77515fad862379d9e5dde46a6599b2112366b81432a835ab", + "api": "sentry/python-changelog", + "version": "2.0.0", + "previous_version": "1.45.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "sentry-sdk", + "change": "removed_symbol", + "symbols": [ + "utils.Auth.store_api_url" + ] + }, + "description": "`utils.Auth.store_api_url` was removed in sentry-sdk 2.0.0: code using it fails.", + "migration_hint": "Removed `sentry_sdk.utils.Auth.store_api_url`. (sentry-sdk's changelog for 2.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", + "source_excerpt": "## 2.0.0\nRemoved\n- Removed `sentry_sdk.utils.Auth.store_api_url`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:e7bf8f003f2bc635b49dda1611d52077b42ee8239ab466e79341dbfa7d4e289c", + "api": "sentry/python-changelog", + "version": "2.0.0", + "previous_version": "1.45.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "sentry-sdk", + "change": "removed_symbol", + "symbols": [ + "tracing_utils_py2.py" + ] + }, + "description": "`tracing_utils_py2.py` was removed in sentry-sdk 2.0.0: code using it fails.", + "migration_hint": "Removed `tracing_utils_py2.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`. (sentry-sdk's changelog for 2.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", + "source_excerpt": "## 2.0.0\nRemoved\n- Removed `tracing_utils_py2.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:3907408c839ca3323d9d3618c649c1ecb3ab9341022e4da40fed5f2ef788655f", + "api": "sentry/python-changelog", + "version": "2.0.0", + "previous_version": "1.45.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "sentry-sdk", + "change": "removed_symbol", + "symbols": [ + "profiler.Scheduler.stop_profiling" + ] + }, + "description": "`profiler.Scheduler.stop_profiling` was removed in sentry-sdk 2.0.0: code using it fails.", + "migration_hint": "Removed the `sentry_sdk.profiler.Scheduler.stop_profiling` method. Any calls to this method can simply be removed, since this was a no-op method. (sentry-sdk's changelog for 2.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", + "source_excerpt": "## 2.0.0\nRemoved\n- Removed the `sentry_sdk.profiler.Scheduler.stop_profiling` method. Any calls to this method can simply be removed, since this was a no-op method.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:267c491f2b9d0d8aecfc5322d8bc8361cd4325bcdfe89e083d22d36f95b783ac", + "api": "sentry/python-changelog", + "version": "2.0.0", + "previous_version": "1.45.1", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "sentry-sdk", + "change": "removed_symbol", + "symbols": [ + "configure_scope" + ] + }, + "description": "`configure_scope` is deprecated in sentry-sdk 2.0.0: a later release may remove it.", + "migration_hint": "`configure_scope` is deprecated. Use the new isolation scope directly via `Scope.get_isolation_scope()` instead. (sentry-sdk's changelog for 2.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", + "source_excerpt": "## 2.0.0\nDeprecated\n- `configure_scope` is deprecated. Use the new isolation scope directly via `Scope.get_isolation_scope()` instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:50850b1709f2eb184c4c9c06ca7e03526b392d864286ad444696bea22dd27302", + "api": "sentry/python-changelog", + "version": "2.0.0", + "previous_version": "1.45.1", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "sentry-sdk", + "change": "removed_symbol", + "symbols": [ + "push_scope" + ] + }, + "description": "`push_scope` is deprecated in sentry-sdk 2.0.0: a later release may remove it.", + "migration_hint": "`push_scope` is deprecated. Use the new `new_scope` context manager to fork the necessary scopes. (sentry-sdk's changelog for 2.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", + "source_excerpt": "## 2.0.0\nDeprecated\n- `push_scope` is deprecated. Use the new `new_scope` context manager to fork the necessary scopes.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 8, + "fingerprint": "sha256:2c94e0b51f757d22c715faac37426deb5f991e822636564ff18f87449121719c", + "api": "sentry/python-changelog", + "version": "2.0.0", + "previous_version": "1.45.1", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "sentry-sdk", + "change": "removed_symbol", + "symbols": [ + "transport.Transport.capture_event" + ] + }, + "description": "`transport.Transport.capture_event` is deprecated in sentry-sdk 2.0.0: a later release may remove it.", + "migration_hint": "Deprecated `sentry_sdk.transport.Transport.capture_event`. Please use `sentry_sdk.transport.Transport.capture_envelope`, instead. (sentry-sdk's changelog for 2.0.0)", + "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", + "source_excerpt": "## 2.0.0\nDeprecated\n- Deprecated `sentry_sdk.transport.Transport.capture_event`. Please use `sentry_sdk.transport.Transport.capture_envelope`, instead.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/sentry-dotnet-4.0.0-CHANGELOG.md b/plugins/changelog/testdata/sentry-dotnet-4.0.0-CHANGELOG.md new file mode 100644 index 0000000..a2d0df1 --- /dev/null +++ b/plugins/changelog/testdata/sentry-dotnet-4.0.0-CHANGELOG.md @@ -0,0 +1,223 @@ +## 4.0.0 + +This major release includes many exciting new features including support for [Profiling](https://docs.sentry.io/platforms/dotnet/profiling/) and [Metrics](https://docs.sentry.io/platforms/dotnet/metrics/)(preview), [AOT](https://sentry.engineering/blog/should-you-could-you-aot) with [Native Crash Reporting](https://github.com/getsentry/sentry-dotnet/issues/2770), [Spotlight](https://spotlightjs.com/), Screenshots on MAUI and much more. Details about these features and other changes are below. + +### .NET target framework changes + +We're dropping support for some of the old target frameworks, please check this [GitHub Discussion](https://github.com/getsentry/sentry-dotnet/discussions/2776) for details on why. + +- **Replace support for .NET Framework 4.6.1 with 4.6.2** ([#2786](https://github.com/getsentry/sentry-dotnet/pull/2786)) + + .NET Framework 4.6.1 was announced on Nov 30, 2015. And went out of support over a year ago, on Apr 26, 2022. + +- **Drop .NET Core 3.1 and .NET 5 support** ([#2787](https://github.com/getsentry/sentry-dotnet/pull/2787)) + +- **Dropped netstandard2.0 support for Sentry.AspNetCore** ([#2807](https://github.com/getsentry/sentry-dotnet/pull/2807)) + +- **Replace support for .NET 6 on mobile (e.g: `net6.0-android`) with .NET 7** ([#2624](https://github.com/getsentry/sentry-dotnet/pull/2604)) + + .NET 6 on mobile has been out of support since May 2023 and with .NET 8, it's no longer possible to build .NET 6 Mobile specific targets. + For that reason, we're moving the mobile-specific TFMs from `net6.0-platform` to `net7.0-platform`. + + Mobile apps still work on .NET 6 will pull the `Sentry` .NET 6, which offers the .NET-only features, + without native/platform-specific bindings and SDKs. See [this ticket for more details](https://github.com/getsentry/sentry-dotnet/issues/2623). + +- **MAUI dropped Tizen support** ([#2734](https://github.com/getsentry/sentry-dotnet/pull/2734)) + +### Sentry Self-hosted Compatibility + +If you're using `sentry.io` this change does not affect you. +This SDK version is compatible with a self-hosted version of Sentry `22.12.0` or higher. If you are using an older version of [self-hosted Sentry](https://develop.sentry.dev/self-hosted/) (aka on-premise), you will need to [upgrade](https://develop.sentry.dev/self-hosted/releases/). + +### Significant change in behavior + +- Transaction names for ASP.NET Core are now consistently named `HTTP-VERB /path` (e.g. `GET /home`). Previously, the leading forward slash was missing for some endpoints. ([#2808](https://github.com/getsentry/sentry-dotnet/pull/2808)) +- Setting `SentryOptions.Dsn` to `null` now throws `ArgumentNullException` during initialization. ([#2655](https://github.com/getsentry/sentry-dotnet/pull/2655)) +- Enable `CaptureFailedRequests` by default ([#2688](https://github.com/getsentry/sentry-dotnet/pull/2688)) +- Added `Sentry` namespace to global usings when `ImplicitUsings` is enabled ([#3043](https://github.com/getsentry/sentry-dotnet/pull/3043)) +If you have conflicts, you can opt out by adding the following to your `csproj`: +``` + + false + +``` +- Transactions' spans are no longer automatically finished with the status `deadline_exceeded` by the transaction. This is now handled by the [Relay](https://github.com/getsentry/relay). + - Customers self hosting Sentry must use verion 22.12.0 or later ([#3013](https://github.com/getsentry/sentry-dotnet/pull/3013)) +- The `User.IpAddress` is now set to `{{auto}}` by default, even when sendDefaultPII is disabled ([#2981](https://github.com/getsentry/sentry-dotnet/pull/2981)) + - The "Prevent Storing of IP Addresses" option in the "Security & Privacy" project settings on sentry.io can be used to control this instead +- The `DiagnosticLogger` signature for `LogWarning` changed to take the `exception` as the first parameter. That way it no longer gets mixed up with the TArgs. ([#2987](https://github.com/getsentry/sentry-dotnet/pull/2987)) + +### API breaking Changes + +If you have compilation errors you can find the affected types or overloads missing in the changelog entries below. + +#### Changed APIs + +- Class renamed `Sentry.User` to `Sentry.SentryUser` ([#3015](https://github.com/getsentry/sentry-dotnet/pull/3015)) +- Class renamed `Sentry.Runtime` to `Sentry.SentryRuntime` ([#3016](https://github.com/getsentry/sentry-dotnet/pull/3016)) +- Class renamed `Sentry.Span` to `Sentry.SentrySpan` ([#3021](https://github.com/getsentry/sentry-dotnet/pull/3021)) +- Class renamed `Sentry.Transaction` to `Sentry.SentryTransaction` ([#3023](https://github.com/getsentry/sentry-dotnet/pull/3023)) +- Rename iOS and MacCatalyst platform-specific options from `Cocoa` to `Native` ([#2940](https://github.com/getsentry/sentry-dotnet/pull/2940)) +- Rename iOS platform-specific options `EnableCocoaSdkTracing` to `EnableTracing` ([#2940](https://github.com/getsentry/sentry-dotnet/pull/2940)) +- Rename Android platform-specific options from `Android` to `Native` ([#2940](https://github.com/getsentry/sentry-dotnet/pull/2940)) +- Rename Android platform-specific options `EnableAndroidSdkTracing` and `EnableAndroidSdkBeforeSend` to `EnableTracing` and `EnableBeforeSend` respectively ([#2940](https://github.com/getsentry/sentry-dotnet/pull/2940)) +- Rename iOS and MacCatalyst platform-specific options from `iOS` to `Cocoa` ([#2929](https://github.com/getsentry/sentry-dotnet/pull/2929)) +- `ITransaction` has been renamed to `ITransactionTracer`. You will need to update any references to these interfaces in your code to use the new interface names ([#2731](https://github.com/getsentry/sentry-dotnet/pull/2731), [#2870](https://github.com/getsentry/sentry-dotnet/pull/2870)) +- `DebugImage` and `DebugMeta` moved to `Sentry.Protocol` namespace. ([#2815](https://github.com/getsentry/sentry-dotnet/pull/2815)) +- `SentryClient.Dispose` is no longer obsolete ([#2842](https://github.com/getsentry/sentry-dotnet/pull/2842)) +- `ISentryClient.CaptureEvent` overloads have been replaced by a single method accepting optional `Hint` and `Scope` parameters. You will need to pass `hint` as a named parameter from code that calls `CaptureEvent` without passing a `scope` argument. ([#2749](https://github.com/getsentry/sentry-dotnet/pull/2749)) +- `TransactionContext` and `SpanContext` constructors were updated. If you're constructing instances of these classes, you will need to adjust the order in which you pass parameters to these. ([#2694](https://github.com/getsentry/sentry-dotnet/pull/2694), [#2696](https://github.com/getsentry/sentry-dotnet/pull/2696)) +- The `DiagnosticLogger` signature for `LogError` and `LogFatal` changed to take the `exception` as the first parameter. That way it no longer gets mixed up with the TArgs. The `DiagnosticLogger` now also receives an overload for `LogError` and `LogFatal` that accepts a message only. ([#2715](https://github.com/getsentry/sentry-dotnet/pull/2715)) +- `Distribution` added to `IEventLike`. ([#2660](https://github.com/getsentry/sentry-dotnet/pull/2660)) +- `StackFrame`'s `ImageAddress`, `InstructionAddress`, and `FunctionId` changed to `long?`. ([#2691](https://github.com/getsentry/sentry-dotnet/pull/2691)) +- `DebugImage.ImageAddress` changed to `long?`. ([#2725](https://github.com/getsentry/sentry-dotnet/pull/2725)) +- Contexts now inherit from `IDictionary` rather than `ConcurrentDictionary`. The specific dictionary being used is an implementation detail. ([#2729](https://github.com/getsentry/sentry-dotnet/pull/2729)) +- The method used to configure a Sentry Sink for Serilog now has an additional overload. Calling `WriteTo.Sentry()` with no arguments will no longer attempt to initialize the SDK (it has optional arguments to configure the behavior of the Sink only). If you want to initialize Sentry at the same time you configure the Sentry Sink then you will need to use the overload of this method that accepts a DSN as the first parameter (e.g. `WriteTo.Sentry("https://d4d82fc1c2c4032a83f3a29aa3a3aff@fake-sentry.io:65535/2147483647")`). ([#2928](https://github.com/getsentry/sentry-dotnet/pull/2928)) + +#### Removed APIs + +- SentrySinkExtensions.ConfigureSentrySerilogOptions is now internal. If you were using this method, please use one of the `SentrySinkExtensions.Sentry` extension methods instead. ([#2902](https://github.com/getsentry/sentry-dotnet/pull/2902)) +- A number of `[Obsolete]` options have been removed ([#2841](https://github.com/getsentry/sentry-dotnet/pull/2841)) + - `BeforeSend` - use `SetBeforeSend` instead. + - `BeforeSendTransaction` - use `SetBeforeSendTransaction` instead. + - `BeforeBreadcrumb` - use `SetBeforeBreadcrumb` instead. + - `CreateHttpClientHandler` - use `CreateHttpMessageHandler` instead. + - `ReportAssemblies` - use `ReportAssembliesMode` instead. + - `KeepAggregateException` - this property is no longer used and has no replacement. + - `DisableTaskUnobservedTaskExceptionCapture` method has been renamed to `DisableUnobservedTaskExceptionCapture`. + - `DebugDiagnosticLogger` - use `TraceDiagnosticLogger` instead. +- A number of iOS/Android-specific `[Obsolete]` options have been removed ([#2856](https://github.com/getsentry/sentry-dotnet/pull/2856)) + - `Distribution` - use `SentryOptions.Distribution` instead. + - `EnableAutoPerformanceTracking` - use `SetBeforeSendTransaction` instead. + - `EnableCoreDataTracking` - use `EnableCoreDataTracing` instead. + - `EnableFileIOTracking` - use `EnableFileIOTracing` instead. + - `EnableOutOfMemoryTracking` - use `EnableWatchdogTerminationTracking` instead. + - `EnableUIViewControllerTracking` - use `EnableUIViewControllerTracing` instead. + - `StitchAsyncCode` - no longer available. + - `ProfilingTracesInterval` - no longer available. + - `ProfilingEnabled` - use `ProfilesSampleRate` instead. +- Obsolete `SystemClock` constructor removed, use `SystemClock.Clock` instead. ([#2856](https://github.com/getsentry/sentry-dotnet/pull/2856)) +- Obsolete `Runtime.Clone()` removed, this shouldn't have been public in the past and has no replacement. ([#2856](https://github.com/getsentry/sentry-dotnet/pull/2856)) +- Obsolete `SentryException.Data` removed, use `SentryException.Mechanism.Data` instead. ([#2856](https://github.com/getsentry/sentry-dotnet/pull/2856)) +- Obsolete `AssemblyExtensions` removed, this shouldn't have been public in the past and has no replacement. ([#2856](https://github.com/getsentry/sentry-dotnet/pull/2856)) +- Obsolete `SentryDatabaseLogging.UseBreadcrumbs()` removed, it is called automatically and has no replacement. ([#2856](https://github.com/getsentry/sentry-dotnet/pull/2856)) +- Obsolete `Scope.GetSpan()` removed, use `Span` property instead. ([#2856](https://github.com/getsentry/sentry-dotnet/pull/2856)) +- Obsolete `IUserFactory` removed, use `ISentryUserFactory` instead. ([#2856](https://github.com/getsentry/sentry-dotnet/pull/2856), [#2840](https://github.com/getsentry/sentry-dotnet/pull/2840)) +- `IHasMeasurements` has been removed, use `ISpanData` instead. ([#2659](https://github.com/getsentry/sentry-dotnet/pull/2659)) +- `IHasBreadcrumbs` has been removed, use `IEventLike` instead. ([#2670](https://github.com/getsentry/sentry-dotnet/pull/2670)) +- `ISpanContext` has been removed, use `ITraceContext` instead. ([#2668](https://github.com/getsentry/sentry-dotnet/pull/2668)) +- `IHasTransactionNameSource` has been removed, use `ITransactionContext` instead. ([#2654](https://github.com/getsentry/sentry-dotnet/pull/2654)) +- ([#2694](https://github.com/getsentry/sentry-dotnet/pull/2694)) +- The unused `StackFrame.InstructionOffset` has been removed. ([#2691](https://github.com/getsentry/sentry-dotnet/pull/2691)) +- The unused `Scope.Platform` property has been removed. ([#2695](https://github.com/getsentry/sentry-dotnet/pull/2695)) +- The obsolete setter `Sentry.PlatformAbstractions.Runtime.Identifier` has been removed ([2764](https://github.com/getsentry/sentry-dotnet/pull/2764)) +- `Sentry.Values` is now internal as it is never exposed in the public API ([#2771](https://github.com/getsentry/sentry-dotnet/pull/2771)) +- The `TracePropagationTarget` class has been removed, use the `SubstringOrRegexPattern` class instead. ([#2763](https://github.com/getsentry/sentry-dotnet/pull/2763)) +- The `WithScope` and `WithScopeAsync` methods have been removed. We have discovered that these methods didn't work correctly in certain desktop contexts, especially when using a global scope. ([#2717](https://github.com/getsentry/sentry-dotnet/pull/2717)) + + Replace your usage of `WithScope` with overloads of `Capture*` methods: + + - `SentrySdk.CaptureEvent(SentryEvent @event, Action scopeCallback)` + - `SentrySdk.CaptureMessage(string message, Action scopeCallback)` + - `SentrySdk.CaptureException(Exception exception, Action scopeCallback)` + + ```c# + // Before + SentrySdk.WithScope(scope => + { + scope.SetTag("key", "value"); + SentrySdk.CaptureEvent(new SentryEvent()); + }); + + // After + SentrySdk.CaptureEvent(new SentryEvent(), scope => + { + // Configure your scope here + scope.SetTag("key", "value"); + }); + ``` + +### Features + +- Experimental pre-release availability of Metrics. We're exploring the use of Metrics in Sentry. The API will very likely change and we don't yet have any documentation. ([#2949](https://github.com/getsentry/sentry-dotnet/pull/2949)) + - `SentrySdk.Metrics.Set` now additionally accepts `string` as value ([#3092](https://github.com/getsentry/sentry-dotnet/pull/3092)) + - Timing metrics can now be captured with `SentrySdk.Metrics.StartTimer` ([#3075](https://github.com/getsentry/sentry-dotnet/pull/3075)) + - Added support for capturing built-in metrics from the `System.Diagnostics.Metrics` API ([#3052](https://github.com/getsentry/sentry-dotnet/pull/3052)) +- `Sentry.Profiling` is now available as a package on [nuget](nuget.org). Be aware that profiling is in alpha and on servers the overhead could be high. Improving the experience for ASP.NET Core is tracked on [this issue]( +https://github.com/getsentry/sentry-dotnet/issues/2316) ([#2800](https://github.com/getsentry/sentry-dotnet/pull/2800)) + - iOS profiling support (alpha). ([#2930](https://github.com/getsentry/sentry-dotnet/pull/2930)) +- Native crash reporting on NativeAOT published apps (Windows, Linux, macOS). ([#2887](https://github.com/getsentry/sentry-dotnet/pull/2887)) +- Support for [Spotlight](https://spotlightjs.com/), a debug tool for local development. ([#2961](https://github.com/getsentry/sentry-dotnet/pull/2961)) + - Enable it with the option `EnableSpotlight` + - Optionally configure the URL to connect via `SpotlightUrl`. Defaults to `http://localhost:8969/stream`. + +### MAUI + +- Added screenshot capture support for errors. You can opt-in via `SentryMauiOptions.AttachScreenshots` ([#2965](https://github.com/getsentry/sentry-dotnet/pull/2965)) + - Supports Android and iOS only. Windows is not supported. +- App context now has `in_foreground`, indicating whether the app was in the foreground or the background. ([#2983](https://github.com/getsentry/sentry-dotnet/pull/2983)) +- Android: When capturing unhandled exceptions, the SDK now can automatically attach `LogCat` to the event. You can opt-in via `SentryOptions.Android.LogCatIntegration` and configure `SentryOptions.Android.LogCatMaxLines`. ([#2926](https://github.com/getsentry/sentry-dotnet/pull/2926)) + - Available when targeting `net7.0-android` or later, on API level 23 or later. + +#### Native AOT + +Native AOT publishing support for .NET 8 has been added to Sentry for the following platforms: + +- Windows +- Linux +- macOS +- Mac Catalyst +- iOS + +There are some functional differences when publishing Native AOT: + +- `StackTraceMode.Enhanced` is ignored because it's not available when publishing Native AOT. The mechanism to generate these enhanced stack traces relies heavily on reflection which isn't compatible with trimming. +- Reflection cannot be leveraged for JSON Serialization and you may need to use `SentryOptions.AddJsonSerializerContext` to supply a serialization context for types that you'd like to send to Sentry (e.g. in the `Span.Context`). ([#2732](https://github.com/getsentry/sentry-dotnet/pull/2732), [#2793](https://github.com/getsentry/sentry-dotnet/pull/2793)) +- `Ben.Demystifier` is not available as it only runs in JIT mode. +- WinUI applications: When publishing Native AOT, Sentry isn't able to automatically register an unhandled exception handler because that relies on reflection. You'll need to [register the unhandled event handler manually](https://github.com/getsentry/sentry-dotnet/issues/2778) instead. +- For Azure Functions Workers, when AOT/Trimming is enabled we can't use reflection to read route data from the HttpTrigger so the route name will always be `/api/` ([#2920](https://github.com/getsentry/sentry-dotnet/pull/2920)) + +### Fixes + +- Native integration logging on macOS ([#3079](https://github.com/getsentry/sentry-dotnet/pull/3079)) +- The scope transaction is now correctly set for Otel transactions ([#3072](https://github.com/getsentry/sentry-dotnet/pull/3072)) +- Fixed an issue with tag values in metrics not being properly serialized ([#3065](https://github.com/getsentry/sentry-dotnet/pull/3065)) +- Moved the binding to MAUI events for breadcrumb creation from `WillFinishLaunching` to `FinishedLaunching`. This delays the initial instantiation of `app`. ([#3057](https://github.com/getsentry/sentry-dotnet/pull/3057)) +- The SDK no longer adds the `WinUIUnhandledExceptionIntegration` on non-Windows platforms ([#3055](https://github.com/getsentry/sentry-dotnet/pull/3055)) +- Stop Sentry for MacCatalyst from creating `default.profraw` in the app bundle using xcodebuild archive to build sentry-cocoa ([#2960](https://github.com/getsentry/sentry-dotnet/pull/2960)) +- Workaround a .NET 8 NativeAOT crash on transaction finish. ([#2943](https://github.com/getsentry/sentry-dotnet/pull/2943)) +- Reworked automatic breadcrumb creation for MAUI. ([#2900](https://github.com/getsentry/sentry-dotnet/pull/2900)) + - The SDK no longer uses reflection to bind to all public element events. This also fixes issues where the SDK would consume third-party events. + - Added `CreateElementEventsBreadcrumbs` to the SentryMauiOptions to allow users to opt-in automatic breadcrumb creation for `BindingContextChanged`, `ChildAdded`, `ChildRemoved`, and `ParentChanged` on `Element`. + - Reduced amount of automatic breadcrumbs by limiting the number of bindings created in `VisualElement`, `Window`, `Shell`, `Page`, and `Button`. +- Fixed Sentry SDK has not been initialized when using ASP.NET Core, Serilog, and OpenTelemetry ([#2911](https://github.com/getsentry/sentry-dotnet/pull/2911)) +- Android native symbol upload ([#2876](https://github.com/getsentry/sentry-dotnet/pull/2876)) +- `Sentry.Serilog` no longer throws if a disabled DSN is provided when initializing Sentry via the Serilog integration ([#2883](https://github.com/getsentry/sentry-dotnet/pull/2883)) +- Don't add WinUI exception integration on mobile platforms ([#2821](https://github.com/getsentry/sentry-dotnet/pull/2821)) +- `Transactions` are now getting enriched by the client instead of the hub ([#2838](https://github.com/getsentry/sentry-dotnet/pull/2838)) +- Fixed an issue when using the SDK together with OpenTelemetry `1.5.0` and newer where the SDK would create transactions for itself. The fix is backward compatible. ([#3001](https://github.com/getsentry/sentry-dotnet/pull/3001)) + +### Dependencies + +- Upgraded to NLog version 5. ([#2697](https://github.com/getsentry/sentry-dotnet/pull/2697)) +- Integrate `sentry-native` as a static library in Native AOT builds to enable symbolication. ([#2704](https://github.com/getsentry/sentry-dotnet/pull/2704)) + + +- Bump Cocoa SDK from v8.16.1 to v8.19.0 ([#2910](https://github.com/getsentry/sentry-dotnet/pull/2910), [#2936](https://github.com/getsentry/sentry-dotnet/pull/2936), [#2972](https://github.com/getsentry/sentry-dotnet/pull/2972), [#3005](https://github.com/getsentry/sentry-dotnet/pull/3005), [#3084](https://github.com/getsentry/sentry-dotnet/pull/3084)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8190) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.16.1...8.19.0) +- Bump Java SDK from v6.34.0 to v7.3.0 ([#2932](https://github.com/getsentry/sentry-dotnet/pull/2932), [#2979](https://github.com/getsentry/sentry-dotnet/pull/2979), [#3049](https://github.com/getsentry/sentry-dotnet/pull/3049), (https://github.com/getsentry/sentry-dotnet/pull/3098)) + - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#730) + - [diff](https://github.com/getsentry/sentry-java/compare/6.34.0...7.3.0) +- Bump Native SDK from v0.6.5 to v0.6.7 ([#2914](https://github.com/getsentry/sentry-dotnet/pull/2914), [#3029](https://github.com/getsentry/sentry-dotnet/pull/3029)) + - [changelog](https://github.com/getsentry/sentry-native/blob/master/CHANGELOG.md#070) + - [diff](https://github.com/getsentry/sentry-native/compare/0.6.5...0.7.0) +- Bump CLI from v2.21.5 to v2.27.0 ([#2901](https://github.com/getsentry/sentry-dotnet/pull/2901), [#2915](https://github.com/getsentry/sentry-dotnet/pull/2915), [#2956](https://github.com/getsentry/sentry-dotnet/pull/2956), [#2985](https://github.com/getsentry/sentry-dotnet/pull/2985), [#2999](https://github.com/getsentry/sentry-dotnet/pull/2999), [#3012](https://github.com/getsentry/sentry-dotnet/pull/3012), [#3030](https://github.com/getsentry/sentry-dotnet/pull/3030), [#3059](https://github.com/getsentry/sentry-dotnet/pull/3059), [#3062](https://github.com/getsentry/sentry-dotnet/pull/3062), [#3073](https://github.com/getsentry/sentry-dotnet/pull/3073), [#3099](https://github.com/getsentry/sentry-dotnet/pull/3099)) + - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2270) + - [diff](https://github.com/getsentry/sentry-cli/compare/2.21.5...2.27.0) + +## 3.41.4 + +### Fixes + +- Fixed an issue when using the SDK together with Open Telemetry `1.5.0` and newer where the SDK would create transactions for itself. The fix is backward compatible. ([#3001](https://github.com/getsentry/sentry-dotnet/pull/3001)) diff --git a/plugins/changelog/testdata/sentry-go-0.31.0-CHANGELOG.md b/plugins/changelog/testdata/sentry-go-0.31.0-CHANGELOG.md new file mode 100644 index 0000000..6e70370 --- /dev/null +++ b/plugins/changelog/testdata/sentry-go-0.31.0-CHANGELOG.md @@ -0,0 +1,72 @@ +## 0.31.0 + +### Breaking Changes + +- Remove support for metrics. Read more about the end of the Metrics beta [here](https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Metrics-Beta-Ended-on-October-7th). ([#914](https://github.com/getsentry/sentry-go/pull/914)) + +- Remove support for profiling. ([#915](https://github.com/getsentry/sentry-go/pull/915)) + +- Remove `Segment` field from the `User` struct. This field is no longer used in the Sentry product. ([#928](https://github.com/getsentry/sentry-go/pull/928)) + +- Every integration is now a separate module, reducing the binary size and number of dependencies. Once you update `sentry-go` to latest version, you'll need to `go get` the integration you want to use. For example, if you want to use the `echo` integration, you'll need to run `go get github.com/getsentry/sentry-go/echo` ([#919](github.com/getsentry/sentry-go/pull/919)). + +### Features + +Add the ability to override `hub` in `context` for integrations that use custom context. ([#931](https://github.com/getsentry/sentry-go/pull/931)) + +- Add `HubProvider` Hook for `sentrylogrus`, enabling dynamic Sentry hub allocation for each log entry or goroutine. ([#936](https://github.com/getsentry/sentry-go/pull/936)) + +This change enhances compatibility with Sentry's recommendation of using separate hubs per goroutine. To ensure a separate Sentry hub for each goroutine, configure the `HubProvider` like this: + +```go +hook, err := sentrylogrus.New(nil, sentry.ClientOptions{}) +if err != nil { + log.Fatalf("Failed to initialize Sentry hook: %v", err) +} + +// Set a custom HubProvider to generate a new hub for each goroutine or log entry +hook.SetHubProvider(func() *sentry.Hub { + client, _ := sentry.NewClient(sentry.ClientOptions{}) + return sentry.NewHub(client, sentry.NewScope()) +}) + +logrus.AddHook(hook) +``` + +### Bug Fixes + +- Add support for closing worker goroutines started by the `HTTPTranport` to prevent goroutine leaks. ([#894](https://github.com/getsentry/sentry-go/pull/894)) + +```go +client, _ := sentry.NewClient() +defer client.Close() +``` + +Worker can be also closed by calling `Close()` method on the `HTTPTransport` instance. `Close` should be called after `Flush` and before terminating the program otherwise some events may be lost. + +```go +transport := sentry.NewHTTPTransport() +defer transport.Close() +``` + +### Misc + +- Bump [gin-gonic/gin](https://github.com/gin-gonic/gin) to v1.9.1. ([#946](https://github.com/getsentry/sentry-go/pull/946)) + +## 0.30.0 + +The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.30.0. + +### Features + +- Add `sentryzerolog` integration ([#857](https://github.com/getsentry/sentry-go/pull/857)) +- Add `sentryslog` integration ([#865](https://github.com/getsentry/sentry-go/pull/865)) +- Always set Mechanism Type to generic ([#896](https://github.com/getsentry/sentry-go/pull/897)) + +### Bug Fixes + +- Prevent panic in `fasthttp` and `fiber` integration in case a malformed URL has to be parsed ([#912](https://github.com/getsentry/sentry-go/pull/912)) + +### Misc + +Drop support for Go 1.18, 1.19 and 1.20. The currently supported Go versions are the last 3 stable releases: 1.23, 1.22 and 1.21. diff --git a/plugins/changelog/testdata/sentry-javascript-changelog-10.0.0-CHANGELOG.md b/plugins/changelog/testdata/sentry-javascript-changelog-10.0.0-CHANGELOG.md new file mode 100644 index 0000000..8b19021 --- /dev/null +++ b/plugins/changelog/testdata/sentry-javascript-changelog-10.0.0-CHANGELOG.md @@ -0,0 +1,138 @@ +## 10.0.0 + +Version `10.0.0` marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to primarily upgrade the underlying OpenTelemetry dependencies to v2 with minimal breaking changes. + +### How To Upgrade + +Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 9 to version 10. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/ + +A comprehensive migration guide outlining all changes can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md + +### Breaking Changes + +- feat!: Bump to OpenTelemetry v2 ([#16872](https://github.com/getsentry/sentry-javascript/pull/16872)) +- feat(browser)!: Remove FID web vital collection ([#17076](https://github.com/getsentry/sentry-javascript/pull/17076)) +- feat(core)!: Remove `BaseClient` ([#17071](https://github.com/getsentry/sentry-javascript/pull/17071)) +- feat(core)!: Remove `enableLogs` and `beforeSendLog` experimental options ([#17063](https://github.com/getsentry/sentry-javascript/pull/17063)) +- feat(core)!: Remove `hasTracingEnabled` ([#17072](https://github.com/getsentry/sentry-javascript/pull/17072)) +- feat(core)!: Remove deprecated logger ([#17061](https://github.com/getsentry/sentry-javascript/pull/17061)) +- feat(replay)!: Promote `_experiments.autoFlushOnFeedback` option as default ([#17220](https://github.com/getsentry/sentry-javascript/pull/17220)) +- chore(deps)!: Bump bundler plugins to v4 ([#17089](https://github.com/getsentry/sentry-javascript/pull/17089)) + +### Other Changes + +- feat(astro): Implement Request Route Parametrization for Astro 5 ([#17105](https://github.com/getsentry/sentry-javascript/pull/17105)) +- feat(astro): Parametrize routes on client-side ([#17133](https://github.com/getsentry/sentry-javascript/pull/17133)) +- feat(aws): Add `SentryNodeServerlessSDKv10` v10 AWS Lambda Layer ([#17069](https://github.com/getsentry/sentry-javascript/pull/17069)) +- feat(aws): Create unified lambda layer for ESM and CJS ([#17012](https://github.com/getsentry/sentry-javascript/pull/17012)) +- feat(aws): Detect SDK source for AWS Lambda layer ([#17128](https://github.com/getsentry/sentry-javascript/pull/17128)) +- feat(core): Add missing openai tool calls attributes ([#17226](https://github.com/getsentry/sentry-javascript/pull/17226)) +- feat(core): Add shared `flushIfServerless` function ([#17177](https://github.com/getsentry/sentry-javascript/pull/17177)) +- feat(core): Implement `strictTraceContinuation` ([#16313](https://github.com/getsentry/sentry-javascript/pull/16313)) +- feat(core): MCP server instrumentation without breaking Miniflare ([#16817](https://github.com/getsentry/sentry-javascript/pull/16817)) +- feat(deps): bump @prisma/instrumentation from 6.11.1 to 6.12.0 ([#17117](https://github.com/getsentry/sentry-javascript/pull/17117)) +- feat(meta): Unify detection of serverless environments and add Cloud Run ([#17168](https://github.com/getsentry/sentry-javascript/pull/17168)) +- feat(nestjs): Switch to OTel core instrumentation ([#17068](https://github.com/getsentry/sentry-javascript/pull/17068)) +- feat(node-native): Upgrade `@sentry-internal/node-native-stacktrace` to `0.2.2` ([#17207](https://github.com/getsentry/sentry-javascript/pull/17207)) +- feat(node): Add `shouldHandleError` option to `fastifyIntegration` ([#16845](https://github.com/getsentry/sentry-javascript/pull/16845)) +- feat(node): Add firebase integration ([#16719](https://github.com/getsentry/sentry-javascript/pull/16719)) +- feat(node): Instrument stream responses for openai ([#17110](https://github.com/getsentry/sentry-javascript/pull/17110)) +- feat(react-router): Add `createSentryHandleError` ([#17235](https://github.com/getsentry/sentry-javascript/pull/17235)) +- feat(react-router): Automatically flush on serverless for loaders/actions ([#17234](https://github.com/getsentry/sentry-javascript/pull/17234)) +- feat(react-router): Automatically flush on Vercel for request handlers ([#17232](https://github.com/getsentry/sentry-javascript/pull/17232)) +- fix(astro): Construct parametrized route during runtime ([#17190](https://github.com/getsentry/sentry-javascript/pull/17190)) +- fix(aws): Add layer build output to nx cache ([#17148](https://github.com/getsentry/sentry-javascript/pull/17148)) +- fix(aws): Fix path to packages directory ([#17112](https://github.com/getsentry/sentry-javascript/pull/17112)) +- fix(aws): Resolve all Sentry packages to local versions in layer build ([#17106](https://github.com/getsentry/sentry-javascript/pull/17106)) +- fix(aws): Use file link in dependency version ([#17111](https://github.com/getsentry/sentry-javascript/pull/17111)) +- fix(cloudflare): Allow non uuid workflow instance IDs ([#17121](https://github.com/getsentry/sentry-javascript/pull/17121)) +- fix(cloudflare): Avoid turning DurableObject sync methods into async ([#17184](https://github.com/getsentry/sentry-javascript/pull/17184)) +- fix(core): Fix OpenAI SDK private field access by binding non-instrumented fns ([#17163](https://github.com/getsentry/sentry-javascript/pull/17163)) +- fix(core): Fix operation name for openai responses API ([#17206](https://github.com/getsentry/sentry-javascript/pull/17206)) +- fix(core): Update ai.response.object to gen_ai.response.object ([#17153](https://github.com/getsentry/sentry-javascript/pull/17153)) +- fix(nextjs): Flush in route handlers ([#17223](https://github.com/getsentry/sentry-javascript/pull/17223)) +- fix(nextjs): Handle async params in url extraction ([#17162](https://github.com/getsentry/sentry-javascript/pull/17162)) +- fix(nextjs): Update stackframe calls for next v15.5 ([#17156](https://github.com/getsentry/sentry-javascript/pull/17156)) +- fix(node): Add mechanism to `fastifyIntegration` error handler ([#17208](https://github.com/getsentry/sentry-javascript/pull/17208)) +- fix(node): Ensure tool errors for `vercelAiIntegration` have correct trace connected ([#17132](https://github.com/getsentry/sentry-javascript/pull/17132)) +- fix(node): Fix exports for openai instrumentation ([#17238](https://github.com/getsentry/sentry-javascript/pull/17238)) +- fix(node): Handle stack traces with data URI filenames ([#17218](https://github.com/getsentry/sentry-javascript/pull/17218)) +- fix(react): Memoize wrapped component to prevent rerenders ([#17230](https://github.com/getsentry/sentry-javascript/pull/17230)) +- fix(remix): Ensure source maps upload fails silently if Sentry CLI fails ([#17082](https://github.com/getsentry/sentry-javascript/pull/17082)) +- fix(replay): Fix re-sampled sessions after a click ([#17008](https://github.com/getsentry/sentry-javascript/pull/17008)) +- fix(svelte): Do not insert preprocess code in script module in Svelte 5 ([#17114](https://github.com/getsentry/sentry-javascript/pull/17114)) +- fix(sveltekit): Align error status filtering and mechanism in `handleErrorWithSentry` ([#17157](https://github.com/getsentry/sentry-javascript/pull/17157)) + +Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution! + +## 9.40.0 + +### Important Changes + +- **feat(browser): Add debugId sync APIs between web worker and main thread ([#16981](https://github.com/getsentry/sentry-javascript/pull/16981))** + +This release adds two Browser SDK APIs to let the main thread know about debugIds of worker files: + +- `webWorkerIntegration({worker})` to be used in the main thread +- `registerWebWorker({self})` to be used in the web worker + +```js +// main.js +Sentry.init({...}) + +const worker = new MyWorker(...); + +Sentry.addIntegration(Sentry.webWorkerIntegration({ worker })); + +worker.addEventListener('message', e => {...}); +``` + +```js +// worker.js +Sentry.registerWebWorker({ self }); + +self.postMessage(...); +``` + +- **feat(core): Deprecate logger in favor of debug ([#17040](https://github.com/getsentry/sentry-javascript/pull/17040))** + +The internal SDK `logger` export from `@sentry/core` has been deprecated in favor of the `debug` export. `debug` only exposes `log`, `warn`, and `error` methods but is otherwise identical to `logger`. Note that this deprecation does not affect the `logger` export from other packages (like `@sentry/browser` or `@sentry/node`) which is used for Sentry Logging. + +```js +import { logger, debug } from '@sentry/core'; + +// before +logger.info('This is an info message'); + +// after +debug.log('This is an info message'); +``` + +- **feat(node): Add OpenAI integration ([#17022](https://github.com/getsentry/sentry-javascript/pull/17022))** + +This release adds official support for instrumenting OpenAI SDK calls in with Sentry tracing, following OpenTelemetry semantic conventions for Generative AI. It instruments: + +- `client.chat.completions.create()` - For chat-based completions +- `client.responses.create()` - For the responses API + +```js +// The integration respects your `sendDefaultPii` option, but you can override the behavior in the integration options + +Sentry.init({ + dsn: '__DSN__', + integrations: [ + Sentry.openAIIntegration({ + recordInputs: true, // Force recording prompts + recordOutputs: true, // Force recording responses + }), + ], +}); +``` + +### Other Changes + +- feat(node-core): Expand `@opentelemetry/instrumentation` range to cover `0.203.0` ([#17043](https://github.com/getsentry/sentry-javascript/pull/17043)) +- fix(cloudflare): Ensure errors get captured from durable objects ([#16838](https://github.com/getsentry/sentry-javascript/pull/16838)) +- fix(sveltekit): Ensure server errors from streamed responses are sent ([#17044](https://github.com/getsentry/sentry-javascript/pull/17044)) + +Work in this release was contributed by @0xbad0c0d3 and @tommy-gilligan. Thank you for your contributions! diff --git a/plugins/changelog/testdata/sentry-python-changelog-2.0.0-CHANGELOG.md b/plugins/changelog/testdata/sentry-python-changelog-2.0.0-CHANGELOG.md new file mode 100644 index 0000000..86d5998 --- /dev/null +++ b/plugins/changelog/testdata/sentry-python-changelog-2.0.0-CHANGELOG.md @@ -0,0 +1,267 @@ +## 2.0.0 + +This is the first major update in a *long* time! + +We dropped support for some ancient languages and frameworks (Yes, Python 2.7 is no longer supported). Additionally we refactored a big part of the foundation of the SDK (how data inside the SDK is handled). + +We hope you like it! + +For a shorter version of what you need to do, to upgrade to Sentry SDK 2.0 see: https://docs.sentry.io/platforms/python/migration/1.x-to-2.x + +### New Features + +- Additional integrations will now be activated automatically if the SDK detects the respective package is installed: Ariadne, ARQ, asyncpg, Chalice, clickhouse-driver, GQL, Graphene, huey, Loguru, PyMongo, Quart, Starlite, Strawberry. +- Added new API for custom instrumentation: `new_scope`, `isolation_scope`. See the [Deprecated](#deprecated) section to see how they map to the existing APIs. + +### Changed +(These changes are all backwards-incompatible. **Breaking Change** (if you are just skimming for that phrase)) + +- The Pyramid integration will not capture errors that might happen in `authenticated_userid()` in a custom `AuthenticationPolicy` class. +- The method `need_code_loation` of the `MetricsAggregator` was renamed to `need_code_location`. +- The `BackgroundWorker` thread used to process events was renamed from `raven-sentry.BackgroundWorker` to `sentry-sdk.BackgroundWorker`. +- The `reraise` function was moved from `sentry_sdk._compat` to `sentry_sdk.utils`. +- The `_ScopeManager` was moved from `sentry_sdk.hub` to `sentry_sdk.scope`. +- Moved the contents of `tracing_utils_py3.py` to `tracing_utils.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`. +- The actual implementation of `get_current_span` was moved to `sentry_sdk.tracing_utils`. `sentry_sdk.get_current_span` is still accessible as part of the top-level API. +- `sentry_sdk.tracing_utils.add_query_source()`: Removed the `hub` parameter. It is not necessary anymore. +- `sentry_sdk.tracing_utils.record_sql_queries()`: Removed the `hub` parameter. It is not necessary anymore. +- `sentry_sdk.tracing_utils.get_current_span()` does now take a `scope` instead of a `hub` as parameter. +- `sentry_sdk.tracing_utils.should_propagate_trace()` now takes a `Client` instead of a `Hub` as first parameter. +- `sentry_sdk.utils.is_sentry_url()` now takes a `Client` instead of a `Hub` as first parameter. +- `sentry_sdk.utils._get_contextvars` does not return a tuple with three values, but a tuple with two values. The `copy_context` was removed. +- If you create a transaction manually and later mutate the transaction in a `configure_scope` block this does not work anymore. Here is a recipe on how to change your code to make it work: + Your existing implementation: + ```python + transaction = sentry_sdk.transaction(...) + + # later in the code execution: + + with sentry_sdk.configure_scope() as scope: + scope.set_transaction_name("new-transaction-name") + ``` + + needs to be changed to this: + ```python + transaction = sentry_sdk.transaction(...) + + # later in the code execution: + + scope = sentry_sdk.Scope.get_current_scope() + scope.set_transaction_name("new-transaction-name") + ``` +- The classes listed in the table below are now abstract base classes. Therefore, they can no longer be instantiated. Subclasses can only be instantiated if they implement all of the abstract methods. +
+ Show table + + | Class | Abstract methods | + | ------------------------------------- | -------------------------------------- | + | `sentry_sdk.integrations.Integration` | `setup_once` | + | `sentry_sdk.metrics.Metric` | `add`, `serialize_value`, and `weight` | + | `sentry_sdk.profiler.Scheduler` | `setup` and `teardown` | + | `sentry_sdk.transport.Transport` | `capture_envelope` | + +
+ +### Removed +(These changes are all backwards-incompatible. **Breaking Change** (if you are just skimming for that phrase)) + +- Removed support for Python 2 and Python 3.5. The SDK now requires at least Python 3.6. +- Removed support for Celery 3.\*. +- Removed support for Django 1.8, 1.9, 1.10. +- Removed support for Flask 0.\*. +- Removed support for gRPC < 1.39. +- Removed support for Tornado < 6. +- Removed `last_event_id()` top level API. The last event ID is still returned by `capture_event()`, `capture_exception()` and `capture_message()` but the top level API `sentry_sdk.last_event_id()` has been removed. +- Removed support for sending events to the `/store` endpoint. Everything is now sent to the `/envelope` endpoint. If you're on SaaS you don't have to worry about this, but if you're running Sentry yourself you'll need version `20.6.0` or higher of self-hosted Sentry. +- The deprecated `with_locals` configuration option was removed. Use `include_local_variables` instead. See https://docs.sentry.io/platforms/python/configuration/options/#include-local-variables. +- The deprecated `request_bodies` configuration option was removed. Use `max_request_body_size`. See https://docs.sentry.io/platforms/python/configuration/options/#max-request-body-size. +- Removed support for `user.segment`. It was also removed from the trace header as well as from the dynamic sampling context. +- Removed support for the `install` method for custom integrations. Please use `setup_once` instead. +- Removed `sentry_sdk.tracing.Span.new_span`. Use `sentry_sdk.tracing.Span.start_child` instead. +- Removed `sentry_sdk.tracing.Transaction.new_span`. Use `sentry_sdk.tracing.Transaction.start_child` instead. +- Removed support for creating transactions via `sentry_sdk.tracing.Span(transaction=...)`. To create a transaction, please use `sentry_sdk.tracing.Transaction(name=...)`. +- Removed `sentry_sdk.utils.Auth.store_api_url`. +- `sentry_sdk.utils.Auth.get_api_url`'s now accepts a `sentry_sdk.consts.EndpointType` enum instead of a string as its only parameter. We recommend omitting this argument when calling the function, since the parameter's default value is the only possible `sentry_sdk.consts.EndpointType` value. The parameter exists for future compatibility. +- Removed `tracing_utils_py2.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`. +- Removed the `sentry_sdk.profiler.Scheduler.stop_profiling` method. Any calls to this method can simply be removed, since this was a no-op method. + +### Deprecated + +- Using the `Hub` directly as well as using hub-based APIs has been deprecated. Where available, use [the top-level API instead](sentry_sdk/api.py); otherwise use the [scope API](sentry_sdk/scope.py) or the [client API](sentry_sdk/client.py). + + Before: + + ```python + with hub.start_span(...): + # do something + ``` + + After: + + ```python + import sentry_sdk + + with sentry_sdk.start_span(...): + # do something + ``` + +- Hub cloning is deprecated. + + Before: + + ```python + with Hub(Hub.current) as hub: + # do something with the cloned hub + ``` + + After: + + ```python + import sentry_sdk + + with sentry_sdk.isolation_scope() as scope: + # do something with the forked scope + ``` + +- `configure_scope` is deprecated. Use the new isolation scope directly via `Scope.get_isolation_scope()` instead. + + Before: + + ```python + with configure_scope() as scope: + # do something with `scope` + ``` + + After: + + ```python + from sentry_sdk.scope import Scope + + scope = Scope.get_isolation_scope() + # do something with `scope` + ``` + +- `push_scope` is deprecated. Use the new `new_scope` context manager to fork the necessary scopes. + + Before: + + ```python + with push_scope() as scope: + # do something with `scope` + ``` + + After: + + ```python + import sentry_sdk + + with sentry_sdk.new_scope() as scope: + # do something with `scope` + ``` + +- Accessing the client via the hub has been deprecated. Use the top-level `sentry_sdk.get_client()` to get the current client. +- `profiler_mode` and `profiles_sample_rate` have been deprecated as `_experiments` options. Use them as top level options instead: + ```python + sentry_sdk.init( + ..., + profiler_mode="thread", + profiles_sample_rate=1.0, + ) + ``` +- Deprecated `sentry_sdk.transport.Transport.capture_event`. Please use `sentry_sdk.transport.Transport.capture_envelope`, instead. +- Passing a function to `sentry_sdk.init`'s `transport` keyword argument has been deprecated. If you wish to provide a custom transport, please pass a `sentry_sdk.transport.Transport` instance or a subclass. +- The parameter `propagate_hub` in `ThreadingIntegration()` was deprecated and renamed to `propagate_scope`. + +## 1.45.0 + +This is the final 1.x release for the forseeable future. Development will continue on the 2.x release line. The first 2.x version will be available in the next few weeks. + +### Various fixes & improvements + +- Allow to upsert monitors (#2929) by @sentrivana + + It's now possible to provide `monitor_config` to the `monitor` decorator/context manager directly: + + ```python + from sentry_sdk.crons import monitor + + # All keys except `schedule` are optional + monitor_config = { + "schedule": {"type": "crontab", "value": "0 0 * * *"}, + "timezone": "Europe/Vienna", + "checkin_margin": 10, + "max_runtime": 10, + "failure_issue_threshold": 5, + "recovery_threshold": 5, + } + + @monitor(monitor_slug='', monitor_config=monitor_config) + def tell_the_world(): + print('My scheduled task...') + ``` + + Check out [the cron docs](https://docs.sentry.io/platforms/python/crons/) for details. + +- Add Django `signals_denylist` to filter signals that are attached to by `signals_spans` (#2758) by @lieryan + + If you want to exclude some Django signals from performance tracking, you can use the new `signals_denylist` Django option: + + ```python + import django.db.models.signals + import sentry_sdk + + sentry_sdk.init( + ... + integrations=[ + DjangoIntegration( + ... + signals_denylist=[ + django.db.models.signals.pre_init, + django.db.models.signals.post_init, + ], + ), + ], + ) + ``` + +- `increment` for metrics (#2588) by @mitsuhiko + + `increment` and `inc` are equivalent, so you can pick whichever you like more. + +- Add `value`, `unit` to `before_emit_metric` (#2958) by @sentrivana + + If you add a custom `before_emit_metric`, it'll now accept 4 arguments (the `key`, `value`, `unit` and `tags`) instead of just `key` and `tags`. + + ```python + def before_emit(key, value, unit, tags): + if key == "removed-metric": + return False + tags["extra"] = "foo" + del tags["release"] + return True + + sentry_sdk.init( + ... + _experiments={ + "before_emit_metric": before_emit, + } + ) + ``` + +- Remove experimental metric summary options (#2957) by @sentrivana + + The `_experiments` options `metrics_summary_sample_rate` and `should_summarize_metric` have been removed. + +- New normalization rules for metric keys, names, units, tags (#2946) by @sentrivana +- Change `data_category` from `statsd` to `metric_bucket` (#2954) by @cleptric +- Accessing `__mro__` might throw a `ValueError` (#2952) by @sentrivana +- Suppress prompt spawned by subprocess when using `pythonw` (#2936) by @collinbanko +- Handle `None` in GraphQL query #2715 (#2762) by @czyber +- Do not send "quiet" Sanic exceptions to Sentry (#2821) by @hamedsh +- Implement `metric_bucket` rate limits (#2933) by @cleptric +- Fix type hints for `monitor` decorator (#2944) by @szokeasaurusrex +- Remove deprecated `typing` imports in crons (#2945) by @szokeasaurusrex +- Make `monitor_config` a `TypedDict` (#2931) by @sentrivana +- Add `devenv-requirements.txt` and update env setup instructions (#2761) by @arr-ee +- Bump `types-protobuf` from `4.24.0.20240311` to `4.24.0.20240408` (#2941) by @dependabot +- Disable Codecov check run annotations (#2537) by @eliatcodecov diff --git a/providers/sentry-sdks.md b/providers/sentry-sdks.md new file mode 100644 index 0000000..842041d --- /dev/null +++ b/providers/sentry-sdks.md @@ -0,0 +1,35 @@ +# Sentry SDKs (`sentry/python-changelog`, `sentry/javascript-changelog`, `sentry/go`, `sentry/dotnet`) + +## What it watches + +Names removed, renamed or deprecated in each release of Sentry's Python, JavaScript, Go and .NET SDKs, from that release's section of the SDK's `CHANGELOG.md` at its tag. One `package_release` event per bullet that names what it changes plainly. Sentry's API is a separate source (`sentry/api`). + +Kind: `changelog` (`plugins/changelog`, `sdks.go`). + +| Source | Package | Releases listed from | Tag | +|---|---|---|---| +| `sentry/python-changelog` | `pypi:sentry-sdk` | PyPI | `X.Y.Z` | +| `sentry/javascript-changelog` | `npm:@sentry/node`, `npm:@sentry/browser` (released together) | npm (`@sentry/node`) | `X.Y.Z` | +| `sentry/go` | `go:github.com/getsentry/sentry-go` | the repo's `vX.Y.Z` tags | `vX.Y.Z` | +| `sentry/dotnet` | `nuget:Sentry` | the repo's `X.Y.Z` tags | `X.Y.Z` | + +## Why this source + +- **Source:** https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md, https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md, https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md, https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md, each read raw at the release's tag; checked on 2026-11-20. +- **Why this one:** Sentry writes every major's removals into the changelog itself, under "Removed" / "Breaking Changes" / "Deprecations" headings or as conventional-commit bullets (`feat(core)!: Remove \`BaseClient\``). The Python 2.0 changelog section carries the same "Removed" and "Deprecated" lists as its `MIGRATION_GUIDE.md`, so the guide isn't a second source (it would repeat the same events under another id). +- **Alternatives considered:** the migration guides (`MIGRATION_GUIDE.md`, `MIGRATION.md`: prose sections per major, mostly behavior and options; the JavaScript one's headings aren't plain enough to read without false positives); GitHub release notes (the same text). +- **Quote:** "Removed `sentry_sdk.tracing.Span.new_span`. Use `sentry_sdk.tracing.Span.start_child` instead." (sentry-python 2.0.0). + +## How the provider announces changes + +A major a year or so per SDK, announced with a migration guide and a changelog section; deprecations land in minors before. sentry-python has a 3.0.0rc1 tagged: its 3.0.0 section will be read when 3.0.0 is on PyPI. + +## What the plugin reads and ignores + +- Reads the release's section only; a bullet counts under a breaking, removal or deprecation heading, or marked `!` (conventional commits), when its first sentence names what it removes plainly. +- Drops (and logs): removed options and integrations' settings, dropped runtime and framework versions, behavior changes, and bullets that list names in prose. + +## Known gaps + +- Options passed to `init()` (`with_locals`, `enableLogs`) aren't symbols: their removal isn't an event. +- A release whose section is missing at its tag is skipped as nothing to read. 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 4/9] 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 1b60a101e8b2035634744951bd9dc9a8bc9100e1 Mon Sep 17 00:00:00 2001 From: adssib <75389300+adssib@users.noreply.github.com> Date: Fri, 20 Nov 2026 21:05:34 -0500 Subject: [PATCH 5/9] add the octokit, ioredis and posthog-go changelog sources Co-Authored-By: Claude Opus 5.5 Signed-off-by: adssib <75389300+adssib@users.noreply.github.com> --- plugins/changelog/ioredis.go | 16 + plugins/changelog/ioredis_test.go | 9 + plugins/changelog/octokit.go | 24 + plugins/changelog/octokit_test.go | 10 + plugins/changelog/posthog.go | 16 + plugins/changelog/posthog_test.go | 9 + plugins/changelog/testdata/README.md | 13 + .../github-octokit-net-0.18.0-release.json | 7 + .../github-octokit-net-0.19.0-release.json | 7 + .../github-octokit-rest-17.11.2-release.json | 7 + .../github-octokit-rest-18.0.0-release.json | 7 + .../testdata/golden/github-octokit-net.json | 26 + .../testdata/golden/github-octokit-rest.json | 3873 +++++++++++++++++ .../changelog/testdata/golden/posthog-go.json | 27 + .../testdata/golden/redis-ioredis.json | 26 + .../testdata/posthog-go-2.0.0-CHANGELOG.md | 76 + .../testdata/redis-ioredis-5.0.0-CHANGELOG.md | 73 + providers/github-octokit.md | 28 + providers/posthog-go.md | 27 + providers/redis-ioredis.md | 27 + 20 files changed, 4308 insertions(+) create mode 100644 plugins/changelog/ioredis.go create mode 100644 plugins/changelog/ioredis_test.go create mode 100644 plugins/changelog/octokit.go create mode 100644 plugins/changelog/octokit_test.go create mode 100644 plugins/changelog/posthog.go create mode 100644 plugins/changelog/posthog_test.go create mode 100644 plugins/changelog/testdata/github-octokit-net-0.18.0-release.json create mode 100644 plugins/changelog/testdata/github-octokit-net-0.19.0-release.json create mode 100644 plugins/changelog/testdata/github-octokit-rest-17.11.2-release.json create mode 100644 plugins/changelog/testdata/github-octokit-rest-18.0.0-release.json create mode 100644 plugins/changelog/testdata/golden/github-octokit-net.json create mode 100644 plugins/changelog/testdata/golden/github-octokit-rest.json create mode 100644 plugins/changelog/testdata/golden/posthog-go.json create mode 100644 plugins/changelog/testdata/golden/redis-ioredis.json create mode 100644 plugins/changelog/testdata/posthog-go-2.0.0-CHANGELOG.md create mode 100644 plugins/changelog/testdata/redis-ioredis-5.0.0-CHANGELOG.md create mode 100644 providers/github-octokit.md create mode 100644 providers/posthog-go.md create mode 100644 providers/redis-ioredis.md diff --git a/plugins/changelog/ioredis.go b/plugins/changelog/ioredis.go new file mode 100644 index 0000000..31a7cdb --- /dev/null +++ b/plugins/changelog/ioredis.go @@ -0,0 +1,16 @@ +package changelog + +import "github.com/patch-it-dev/patch-it-plugins/core/plugin" + +func init() { + const page = "providers/redis-ioredis.md" + plugin.RegisterProvider(plugin.Provider{ + ID: "redis", Name: "Redis", Category: plugin.CategoryDatabases, Homepage: "https://redis.io", + Sources: []plugin.Source{sdk(page, "ioredis", RedisIoredis, "npm:ioredis")}, + }) +} + +// RedisIoredis is ioredis' semantic-release CHANGELOG.md: "## [X.Y.Z](...)" +// with "### BREAKING CHANGES"; tagged vX.Y.Z. +var RedisIoredis = File{API: "redis/ioredis", Package: "ioredis", Ecosystem: "npm", + Repo: "redis/ioredis", TagPrefix: "v", Path: "CHANGELOG.md"} diff --git a/plugins/changelog/ioredis_test.go b/plugins/changelog/ioredis_test.go new file mode 100644 index 0000000..ace38d9 --- /dev/null +++ b/plugins/changelog/ioredis_test.go @@ -0,0 +1,9 @@ +package changelog + +import "testing" + +func TestIoredisSDKs(t *testing.T) { + checkSDKs(t, []sdkCase{ + {RedisIoredis, "5.0.0", "4.31.0", "redis-ioredis-5.0.0-CHANGELOG.md", "", "5.0.0-beta.4"}, + }) +} diff --git a/plugins/changelog/octokit.go b/plugins/changelog/octokit.go new file mode 100644 index 0000000..aefa520 --- /dev/null +++ b/plugins/changelog/octokit.go @@ -0,0 +1,24 @@ +package changelog + +import "github.com/patch-it-dev/patch-it-plugins/core/plugin" + +func init() { + const page = "providers/github-octokit.md" + plugin.RegisterProvider(plugin.Provider{ + ID: "github", Name: "GitHub", Category: plugin.CategoryDevTools, Homepage: "https://github.com", + Sources: []plugin.Source{ + sdk(page, "octokit-rest", OctokitRest, "npm:@octokit/rest"), + sdk(page, "octokit-net", OctokitNet, "nuget:Octokit"), + }, + }) +} + +// Octokit's SDKs keep no changelog file: each GitHub release's notes are it +// (semantic-release's "### BREAKING CHANGES" for rest.js, "Breaking +// changes" lists for octokit.net); tagged vX.Y.Z. +var ( + OctokitRest = File{API: "github/octokit-rest", Package: "@octokit/rest", Ecosystem: "npm", + Repo: "octokit/rest.js", TagPrefix: "v", Notes: true} + OctokitNet = File{API: "github/octokit-net", Package: "Octokit", Ecosystem: "nuget", + Repo: "octokit/octokit.net", TagPrefix: "v", Notes: true} +) diff --git a/plugins/changelog/octokit_test.go b/plugins/changelog/octokit_test.go new file mode 100644 index 0000000..5d686e7 --- /dev/null +++ b/plugins/changelog/octokit_test.go @@ -0,0 +1,10 @@ +package changelog + +import "testing" + +func TestOctokitSDKs(t *testing.T) { + checkSDKs(t, []sdkCase{ + {OctokitRest, "18.0.0", "17.11.2", "github-octokit-rest-18.0.0-release.json", "github-octokit-rest-17.11.2-release.json", "17.11.2"}, + {OctokitNet, "0.19.0", "0.18.0", "github-octokit-net-0.19.0-release.json", "github-octokit-net-0.18.0-release.json", "0.18.0"}, + }) +} diff --git a/plugins/changelog/posthog.go b/plugins/changelog/posthog.go new file mode 100644 index 0000000..c2977fc --- /dev/null +++ b/plugins/changelog/posthog.go @@ -0,0 +1,16 @@ +package changelog + +import "github.com/patch-it-dev/patch-it-plugins/core/plugin" + +func init() { + const page = "providers/posthog-go.md" + plugin.RegisterProvider(plugin.Provider{ + ID: "posthog", Name: "PostHog", Category: plugin.CategoryAnalytics, Homepage: "https://posthog.com", + Sources: []plugin.Source{sdk(page, "go", PostHogGo, "go:github.com/posthog/posthog-go")}, + }) +} + +// PostHogGo is posthog-go's changesets CHANGELOG.md: "## X.Y.Z" with "### +// Major Changes", each bullet starting with its commit; tagged vX.Y.Z. +var PostHogGo = File{API: "posthog/go", Package: "github.com/posthog/posthog-go", Ecosystem: "go", Module: "posthog", + Repo: "PostHog/posthog-go", TagPrefix: "v", Path: "CHANGELOG.md"} diff --git a/plugins/changelog/posthog_test.go b/plugins/changelog/posthog_test.go new file mode 100644 index 0000000..54fdebd --- /dev/null +++ b/plugins/changelog/posthog_test.go @@ -0,0 +1,9 @@ +package changelog + +import "testing" + +func TestPostHogGoSDKs(t *testing.T) { + checkSDKs(t, []sdkCase{ + {PostHogGo, "2.0.0", "1.44.1", "posthog-go-2.0.0-CHANGELOG.md", "", "1.44.1"}, + }) +} diff --git a/plugins/changelog/testdata/README.md b/plugins/changelog/testdata/README.md index d674daf..d10b6cb 100644 --- a/plugins/changelog/testdata/README.md +++ b/plugins/changelog/testdata/README.md @@ -30,6 +30,19 @@ Read with `Plugin{File: ...}` (`sdks.go`); `golden/-.json` is | `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…" | +| `redis-ioredis-5.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/redis/ioredis/v5.0.0/CHANGELOG.md | `b8e99b4` | 2026-11-20 | MIT (ioredis); trimmed to the sections of 5.0.0 (the golden) and 5.0.0-beta.4 (the drop test), each unchanged | "you very likely have never used it." | +| `posthog-go-2.0.0-CHANGELOG.md` | https://raw.githubusercontent.com/PostHog/posthog-go/v2.0.0/CHANGELOG.md | `ee5c496` | 2026-11-20 | MIT (posthog-go); trimmed to the sections of 2.0.0 (the golden) and 1.44.1 (the drop test), each unchanged | "fc05013: Remove `Capture.Library` and `Exception.Library`. Set `$lib` in the event's `Properties` instead, and set `$…" | + +## SDK release notes + +Read with `Plugin{File: ...}` and `Notes: true` (`sdks.go`): an SDK whose changelog is its GitHub releases' notes. Each file is one release as GitHub's API returns it, trimmed to the fields the reader uses. + +| File | URL | Tag commit | Saved | License; trimming | Use | +|---|---|---|---|---|---| +| `github-octokit-rest-18.0.0-release.json` | https://api.github.com/repos/octokit/rest.js/releases/tags/v18.0.0 | `b4ab0db` | 2026-11-20 | MIT (rest.js); trimmed to `html_url`, `tag_name`, `name`, `published_at` and `body`, re-indented, values unchanged | golden | +| `github-octokit-rest-17.11.2-release.json` | https://api.github.com/repos/octokit/rest.js/releases/tags/v17.11.2 | `5306f37` | 2026-11-20 | MIT (rest.js); trimmed to `html_url`, `tag_name`, `name`, `published_at` and `body`, re-indented, values unchanged | drop test | +| `github-octokit-net-0.19.0-release.json` | https://api.github.com/repos/octokit/octokit.net/releases/tags/v0.19.0 | `60603b7` | 2026-11-20 | MIT (octokit.net); trimmed to `html_url`, `tag_name`, `name`, `published_at` and `body`, re-indented, values unchanged | golden | +| `github-octokit-net-0.18.0-release.json` | https://api.github.com/repos/octokit/octokit.net/releases/tags/v0.18.0 | `de17cbc` | 2026-11-20 | MIT (octokit.net); trimmed to `html_url`, `tag_name`, `name`, `published_at` and `body`, re-indented, values unchanged | drop test | ## Version lists diff --git a/plugins/changelog/testdata/github-octokit-net-0.18.0-release.json b/plugins/changelog/testdata/github-octokit-net-0.18.0-release.json new file mode 100644 index 0000000..b55a946 --- /dev/null +++ b/plugins/changelog/testdata/github-octokit-net-0.18.0-release.json @@ -0,0 +1,7 @@ +{ + "html_url": "https://github.com/octokit/octokit.net/releases/tag/v0.18.0", + "tag_name": "v0.18.0", + "name": "v0.18 - Bringing The Thunder", + "published_at": "2016-02-02T23:04:51Z", + "body": "- New: support for User Administration API (GitHub Enterprise) - #1068 via @paladique\n- New: support for Admin Stats API (GitHub Enterprise) - - #1049 via @ryangribble\n- New: support for Repository Pages API - #1061 via @M-Zuber\n- New: get stargazer creation timestamps - #1060 via @daveaglick\n- New: support for Protected Branches API - #996 via @ryangribble\n- New: support for creating Personal Access Tokens - #990 via @alfhenrik\n- Fixed: `Milestone` property added to `PullRequest` response - #1075 via @Eilon\n- Fixed: Add member role filter to `OrganizationMembersClient.GetAll()` - #1072 via @ryangribble\n- Fixed: `Repository.Content.GetAllContents` now support the root of the repository - #1064 via @naveensrinivasan, @shiftkey\n- Fixed: added `Id` and `Locked` to `Issue`, added `CommitUrl` to `IssueEvent` - #1039 via @gabrielweyer\n- Fixed: additional fields on `Release` and `ReleaseAsset` - #1009 via @gabrielweyer\n- Fixed: `ApiException` now includes JSON payload when `.ToString()`\\- #974 via @asizikov\n\n**Breaking Changes:**\n\nAs part of reaching 1.0 we went through to audit the current implementation\nand identify areas that didn't align with our conventions. For this release,\nwe're marking the endpoints as `[Obsolete]` and indicating the new location.\nThese will be cleaned up in the next release:\n- `IGitHubClient.Notifications` -> `IGitHubClient.Activity.Notifications` - #1019 via @M-Zuber\n- `IGitHubClient.Repository.CommitStatus` -> `IGitHubClient.Repository.Status` - #1043 via @RobPethick\n- `IGitHubClient.Repository.Commits` -> `IGitHubClient.Repository.Commit` - #1057 via @M-Zuber\n- `IGitHubClient.Repository.RepoCollaborators` -> `IGitHubClient.Repository.Collaborator` - #1040 via @M-Zuber\n- `IGitHubClient.Repository.RepositoryComments` -> `IGitHubClient.Repository.Comment` - #1044 via @M-Zuber\n- `IGitHubClient.Release` -> `IGitHubClient.Repository.Release` - #1058 via @RobPethick\n- `IGitHubClient.GitDatabase` -> `IGitHubClient.Git` - #1048 via @RobPethick\n\nOther breaking changes:\n- a public `ApiExtensions.Get` extension method was causing a bunch of\n tests to be written in a confusing way. This has been ported to an interface\n method on `IApiConnection` but hopefully you're not referencing this method\n externally - see #1063 for more information.\n- `IRepositoryContentsClient.GetArchiveLink` is no longer correct, as the HTTP\n behaviour in Octokit was updated to follow redirects received from the server.\n See #986 for the last bits of cleanup.\n- `IRepositoryContentsClient.GetAllContents(string owner, string name, string path, string reference)`\n has been renamed to `GetAllContentsByRef(string owner, string name, string path, string reference)`\n to prevent overlap with methods on `IRepositoryContentsClient` which do not\n specify a path - and thus look at the root of the repository.\n- `IssueEventPayload` has two fields which are never populated from the API -\n `Assignee` and `Label` - these are now removed. You should use\n `Issue.Assignee` and `Issue.Labels` instead. See #1039 for more details.\n- `PullRequest.MergeCommitSha` is marked as obsolete by the GitHub API - we\n are cleaning up the behaviour for determining whether a PR has been\n merged in #997 - see the PR for more information.\n- `IAuthorizationsClient.RevokeAllApplicationAuthentications` is no longer\n available through the GitHub API - this will be removed in the next\n release.\n\n**Shout outs**\n\nA lot of extra work went into this release, and I wanted to thank those people\nwho helped out - without their efforts we wouldn't be at this point:\n- @naveensrinivasan - for helping set up our Travis CI builds to test this on\n Mono - see #995 for the details\n- @hahmed - for contributing a bunch of documentation around the Octokit search\n APIs - see #955, #954 and #951\n- @JakesCode - for clarifying some documentation after he reported an issue - #1054\n- @ryangribble - for helping get our GitHub Enterprise testing off the ground - #987\n- @naveensrinivasan - for catching and addressing an issue with our LINQPad snippets - #987\n" +} diff --git a/plugins/changelog/testdata/github-octokit-net-0.19.0-release.json b/plugins/changelog/testdata/github-octokit-net-0.19.0-release.json new file mode 100644 index 0000000..8735714 --- /dev/null +++ b/plugins/changelog/testdata/github-octokit-net-0.19.0-release.json @@ -0,0 +1,7 @@ +{ + "html_url": "https://github.com/octokit/octokit.net/releases/tag/v0.19.0", + "tag_name": "v0.19.0", + "name": "v0.19 - Identifying Types", + "published_at": "2016-03-13T10:48:01Z", + "body": "**Features**\n- Add `GetLatest` endpoint for Releases API - #975 via @chenjiaming93\n- Add Enterprise License and Organization APIs - #1073 via @ryangribble\n- Add Locked property to `PullRequest` - #1089 via @M-Zuber\n- Add Enterprise Search Indexing API - #1095 via @ryangribble\n- Add support for `Visibility` and `Affiliation` to repository search - #1096, #1132 via @Sarmad93, @AlexP11223\n- Add Enterprise LDAP API - #1099 via @ryangribble\n- Add `CreateBranch` extension methods to IReferencesClient - #1103 via @M-Zuber\n- Additional Enterprise methods on User Administration Client - #1108 via @ryangribble\n- Complete `UserKeysClient` API - #1112 via @ryangribble\n- `RepositoryContentsClient` create, update and delete actions now specify branch - #1093 via @M-Zuber\n\n**Fixes**\n- `StatisticsClient` should not clobber /api/v3/ in path - #1085 via @shiftkey\n- Fix JSON deserialization of string containing hyphens to List property - #1094 via @ryangribble\n- Incorrect reference passed to `RepositoryContentsClient.GetArchive` - #1113 via @michael-kokorin\n\n**Other**\n- Add failing integration test for Issue Search API - #1083 via @hahmed\n- Add integration tests for `IReleasesClient.GetLatest` - #1090 via @M-Zuber\n- Remove extraneous Bcl .targets reference - #1100 via @shana\n- Add proper syntax highlighting to exploring-pull-requests.md - #1117 via @tiesmaster\n- Fix issue with optional parameters in .\\script\\configure-integration-tests - #1118 via @Anubhav10\n- Update Issue creation sample code - #1131 via @AlexP11223\n- `IJsonSerializer` not used inside `Connection` - #1133 via @devkhan\n\n**Breaking Changes**\n\n`ISshKeysClient` has a number of methods which at the time should have been\nimplemented in `IUserKeysClient` - these methods are marked as obsolete and will\nbe removed in a future release:\n- `ISshKeysClient.Get(int id)`\n- `ISshKeysClient.GetAll(string user)`\n- `ISshKeysClient.GetAllForCurrent()`\n- `ISshKeysClient.Create(SshKeyUpdate key)`\n- `ISshKeysClient.Update(int id, SshKeyUpdate key)`\n- `ISshKeysClient.Delete(int id)`\n" +} diff --git a/plugins/changelog/testdata/github-octokit-rest-17.11.2-release.json b/plugins/changelog/testdata/github-octokit-rest-17.11.2-release.json new file mode 100644 index 0000000..0bb7f01 --- /dev/null +++ b/plugins/changelog/testdata/github-octokit-rest-17.11.2-release.json @@ -0,0 +1,7 @@ +{ + "html_url": "https://github.com/octokit/rest.js/releases/tag/v17.11.2", + "tag_name": "v17.11.2", + "name": "v17.11.2", + "published_at": "2021-04-18T18:03:04Z", + "body": "### Bug Fixes\r\n\r\n* reverts changes in faulty 17.11.1 release" +} diff --git a/plugins/changelog/testdata/github-octokit-rest-18.0.0-release.json b/plugins/changelog/testdata/github-octokit-rest-18.0.0-release.json new file mode 100644 index 0000000..e94b831 --- /dev/null +++ b/plugins/changelog/testdata/github-octokit-rest-18.0.0-release.json @@ -0,0 +1,7 @@ +{ + "html_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "tag_name": "v18.0.0", + "name": "v18.0.0", + "published_at": "2021-04-18T18:03:01Z", + "body": "### Upgrade guide\r\n\r\nInstall the latest v17 version (`17.11.2` as of this writing). Run your tests and address all deprecation messages. Once all deprecations have been addressed, the upgrade to v18 should be easy. The only changes are removals of previously deprecated APIs.\r\n\r\n### BREAKING CHANGES\r\n\r\n* `Octokit.plugin()` no longer accepts an array as first argument. Pass multiple arguments instead, e.g. `Octokit.plugin(plugin1, plugin2)`\r\n* deprecated `octokit.reactions.deleteLegacy()` has been removed\r\n* deprecated `octokit.repos.getDownloads()` has been removed\r\n* deprecated `octokit.repos.listDownloads()` has been removed\r\n* deprecated `octokit.repos.deleteDownloads()` has been removed\r\n* `octokit.actions.createOrUpdateRepoSecret()`: parameter `name` has been renamed to `secret_name`\r\n* `octokit.actions.createOrUpdateSecretForRepo()` has been renamed to `octokit.actions.createOrUpdateRepoSecret()`\r\n* `octokit.actions.createOrUpdateRepoSecret()`: parameter `name` has been renamed to `secret_name`\r\n* `octokit.actions.createRegistrationToken()` has been renamed to `octokit.actions.createRegistrationTokenForRepo()`\r\n* `octokit.actions.createRemoveToken()` has been renamed to `octokit.actions.createRemoveTokenForRepo()`\r\n* `octokit.actions.deleteRepoSecret()`: parameter `name` has been renamed to `secret_name`\r\n* `octokit.actions.deleteSecretFromRepo()` has been renamed to `octokit.actions.deleteRepoSecret()`\r\n* `octokit.actions.deleteRepoSecret()`: parameter `name` has been renamed to `secret_name`\r\n* `octokit.actions.downloadWorkflowJobLogs()` has been renamed to `octokit.actions.downloadJobLogsForWorkflowRun()`\r\n* `octokit.actions.getPublicKey()` has been renamed to `octokit.actions.getRepoPublicKey()`\r\n* `octokit.actions.getRepoSecret()`: parameter `name` has been renamed to `secret_name`\r\n* `octokit.actions.getSecret()` has been renamed to `octokit.actions.getRepoSecret()`\r\n* `octokit.actions.getRepoSecret()`: parameter `name` has been renamed to `secret_name`\r\n* `octokit.actions.getSelfHostedRunner()` has been renamed to `octokit.actions.getSelfHostedRunnerForRepo()`\r\n* `octokit.actions.getWorkflowJob()` has been renamed to `octokit.actions.getJobForWorkflowRun()`\r\n* `octokit.actions.listDownloadsForSelfHostedRunnerApplication()` has been renamed to `octokit.actions.listRunnerApplicationsForRepo()`\r\n* `octokit.actions.listRepoWorkflowRuns()` has been renamed to `octokit.actions.listWorkflowRunsForRepo()`\r\n* `octokit.actions.listSecretsForRepo()` has been renamed to `octokit.actions.listRepoSecrets()`\r\n* `octokit.actions.listWorkflowJobLogs()` has been renamed to `octokit.actions.downloadWorkflowJobLogs()`\r\n* `octokit.actions.listWorkflowRunLogs()` has been renamed to `octokit.actions.downloadWorkflowRunLogs()`\r\n* `octokit.actions.removeSelfHostedRunner()` has been renamed to `octokit.actions.deleteSelfHostedRunnerFromRepo()`\r\n* `octokit.activity.checkStarringRepo()` has been renamed to `octokit.activity.checkRepoIsStarredByAuthenticatedUser()`\r\n* `octokit.activity.getThreadSubscription()` has been renamed to `octokit.activity.getThreadSubscriptionForAuthenticatedUser()`\r\n* `octokit.activity.listEventsForOrg()` has been renamed to `octokit.activity.listOrgEventsForAuthenticatedUser()`\r\n* `octokit.activity.listEventsForUser()` has been renamed to `octokit.activity.listEventsForAuthenticatedUser()`\r\n* `octokit.activity.listFeeds()` has been renamed to `octokit.activity.getFeeds()`\r\n* `octokit.activity.listNotifications()` has been renamed to `octokit.activity.listNotificationsForAuthenticatedUser()`\r\n* `octokit.activity.listNotificationsForRepo()` has been renamed to `octokit.activity.listRepoNotificationsForAuthenticatedUser()`\r\n* `octokit.activity.listPublicEventsForOrg()` has been renamed to `octokit.activity.listPublicOrgEvents()`\r\n* `octokit.activity.markAsRead()` has been renamed to `octokit.activity.markNotificationsAsRead()`\r\n* `octokit.activity.markNotificationsAsReadForRepo()` has been renamed to `octokit.activity.markRepoNotificationsAsRead()`\r\n* `octokit.activity.starRepo()` has been renamed to `octokit.activity.starRepoForAuthenticatedUser()`\r\n* `octokit.activity.unstarRepo()` has been renamed to `octokit.activity.unstarRepoForAuthenticatedUser()`\r\n* `octokit.apps.checkAccountIsAssociatedWithAny()` has been renamed to `octokit.apps.getSubscriptionPlanForAccount()`\r\n* `octokit.apps.checkAccountIsAssociatedWithAnyStubbed()` has been renamed to `octokit.apps.getSubscriptionPlanForAccountStubbed()`\r\n* `octokit.apps.createInstallationToken()` has been renamed to `octokit.apps.createInstallationAccessToken()`\r\n* `octokit.apps.listAccountsUserOrOrgOnPlan()` has been renamed to `octokit.apps.listAccountsForPlan()`\r\n* `octokit.apps.listAccountsUserOrOrgOnPlanStubbed()` has been renamed to `octokit.apps.listAccountsForPlanStubbed()`\r\n* `octokit.apps.listMarketplacePurchasesForAuthenticatedUser()` has been renamed to `octokit.apps.listSubscriptionsForAuthenticatedUser()`\r\n* `octokit.apps.listMarketplacePurchasesForAuthenticatedUserStubbed()` has been renamed to `octokit.apps.listSubscriptionsForAuthenticatedUserStubbed()`\r\n* `octokit.apps.listRepos()` has been renamed to `octokit.apps.listReposAccessibleToInstallation()`\r\n* `octokit.apps.revokeInstallationToken()` has been renamed to `octokit.apps.revokeInstallationAccessToken()`\r\n* `octokit.codesOfConduct.listConductCodes()` has been renamed to `octokit.codesOfConduct.getAllCodesOfConduct()`\r\n* `octokit.gists.listPublicForUser()` has been renamed to `octokit.gists.listForUser()`\r\n* `octokit.gitignore.listTemplates()` has been renamed to `octokit.gitignore.getAllTemplates()`\r\n* `octokit.interactions.addOrUpdateRestrictionsForOrg()` has been renamed to `octokit.interactions.setRestrictionsForOrg()`\r\n* `octokit.interactions.addOrUpdateRestrictionsForRepo()` has been renamed to `octokit.interactions.setRestrictionsForRepo()`\r\n* `octokit.issues.checkAssignee()` has been renamed to `octokit.issues.checkUserCanBeAssigned()`\r\n* `octokit.issues.listMilestonesForRepo()` has been renamed to `octokit.issues.listMilestones()`\r\n* `octokit.issues.removeLabels()` has been renamed to `octokit.issues.removeAllLabels()`\r\n* `octokit.issues.replaceAllLabels()` has been renamed to `octokit.issues.setLabels()`\r\n* `octokit.issues.replaceLabels()` has been renamed to `octokit.issues.replaceAllLabels()`\r\n* `octokit.licenses.listCommonlyUsed()` has been renamed to `octokit.licenses.getAllCommonlyUsed()`\r\n* `octokit.migrations.getImportProgress()` has been renamed to `octokit.migrations.getImportStatus()`\r\n* `octokit.orgs.addOrUpdateMembership()` has been renamed to `octokit.orgs.setMembershipForUser()`\r\n* `octokit.orgs.checkMembership()` has been renamed to `octokit.orgs.checkMembershipForUser()`\r\n* `octokit.orgs.checkPublicMembership()` has been renamed to `octokit.orgs.checkPublicMembershipForUser()`\r\n* `octokit.orgs.concealMembership()` has been renamed to `octokit.orgs.removePublicMembershipForAuthenticatedUser()`\r\n* `octokit.orgs.createHook()` has been renamed to `octokit.orgs.createWebhook()`\r\n* `octokit.orgs.deleteHook()` has been renamed to `octokit.orgs.deleteWebhook()`\r\n* `octokit.orgs.getHook()` has been renamed to `octokit.orgs.getWebhook()`\r\n* `octokit.orgs.getMembership()` has been renamed to `octokit.orgs.getMembershipForUser()`\r\n* `octokit.orgs.listHooks()` has been renamed to `octokit.orgs.listWebhooks()`\r\n* `octokit.orgs.listInstallations()` has been renamed to `octokit.orgs.listAppInstallations()`\r\n* `octokit.orgs.listMemberships()` has been renamed to `octokit.orgs.listMembershipsForAuthenticatedUser()`\r\n* `octokit.orgs.pingHook()` has been renamed to `octokit.orgs.pingWebhook()`\r\n* `octokit.orgs.publicizeMembership()` has been renamed to `octokit.orgs.setPublicMembershipForAuthenticatedUser()`\r\n* `octokit.orgs.removeMembership()` has been renamed to `octokit.orgs.removeMembershipForUser()`\r\n* `octokit.orgs.updateHook()` has been renamed to `octokit.orgs.updateWebhook()`\r\n* `octokit.orgs.updateMembership()` has been renamed to `octokit.orgs.updateMembershipForAuthenticatedUser()`\r\n* `octokit.projects.reviewUserPermissionLevel()` has been renamed to `octokit.projects.getPermissionForUser()`\r\n* `octokit.pulls.createComment()` has been renamed to `octokit.pulls.createReviewComment()`\r\n* `octokit.pulls.createReviewCommentReply()` has been renamed to `octokit.pulls.createReplyForReviewComment()`\r\n* `octokit.pulls.createReviewRequest()` has been renamed to `octokit.pulls.requestReviewers()`\r\n* `octokit.pulls.deleteComment()` has been renamed to `octokit.pulls.deleteReviewComment()`\r\n* `octokit.pulls.deleteReviewRequest()` has been renamed to `octokit.pulls.removeRequestedReviewers()`\r\n* `octokit.pulls.getComment()` has been renamed to `octokit.pulls.getReviewComment()`\r\n* `octokit.pulls.getCommentsForReview()` has been renamed to `octokit.pulls.listCommentsForReview()`\r\n* `octokit.pulls.listComments()` has been renamed to `octokit.pulls.listReviewComments()`\r\n* `octokit.pulls.listCommentsForRepo()` has been renamed to `octokit.pulls.listReviewCommentsForRepo()`\r\n* `octokit.pulls.listReviewRequests()` has been renamed to `octokit.pulls.listRequestedReviewers()`\r\n* `octokit.pulls.updateComment()` has been renamed to `octokit.pulls.updateReviewComment()`\r\n* `octokit.reactions.delete()` has been renamed to `octokit.reactions.deleteLegacy()`\r\n* `octokit.repos.addDeployKey()` has been renamed to `octokit.repos.createDeployKey()`\r\n* `octokit.repos.addProtectedBranchAdminEnforcement()` has been renamed to `octokit.repos.setAdminBranchProtection()`\r\n* `octokit.repos.addProtectedBranchAppRestrictions()` has been renamed to `octokit.repos.addAppAccessRestrictions()`\r\n* `octokit.repos.addProtectedBranchRequiredSignatures()` has been renamed to `octokit.repos.createCommitSignatureProtection()`\r\n* `octokit.repos.addProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.addStatusCheckContexts()`\r\n* `octokit.repos.addProtectedBranchTeamRestrictions()` has been renamed to `octokit.repos.addTeamAccessRestrictions()`\r\n* `octokit.repos.addProtectedBranchUserRestrictions()` has been renamed to `octokit.repos.addUserAccessRestrictions()`\r\n* `octokit.repos.createHook()` has been renamed to `octokit.repos.createWebhook()`\r\n* `octokit.repos.createOrUpdateFile()` has been renamed to `octokit.repos.createOrUpdateFileContents()`\r\n* `octokit.repos.createStatus()` has been renamed to `octokit.repos.createCommitStatus()`\r\n* `octokit.repos.deleteHook()` has been renamed to `octokit.repos.deleteWebhook()`\r\n* `octokit.repos.disablePagesSite()` has been renamed to `octokit.repos.deletePagesSite()`\r\n* `octokit.repos.enablePagesSite()` has been renamed to `octokit.repos.createPagesSite()`\r\n* `octokit.repos.getArchiveLink()` has been renamed to `octokit.repos.downloadArchive()`\r\n* `octokit.repos.getContents()` has been renamed to `octokit.repos.getContent()`\r\n* `octokit.repos.getHook()` has been renamed to `octokit.repos.getWebhook()`\r\n* `octokit.repos.getProtectedBranchAdminEnforcement()` has been renamed to `octokit.repos.getAdminBranchProtection()`\r\n* `octokit.repos.getProtectedBranchPullRequestReviewEnforcement()` has been renamed to `octokit.repos.getPullRequestReviewProtection()`\r\n* `octokit.repos.getProtectedBranchRequiredSignatures()` has been renamed to `octokit.repos.getCommitSignatureProtection()`\r\n* `octokit.repos.getProtectedBranchRequiredStatusChecks()` has been renamed to `octokit.repos.getStatusChecksProtection()`\r\n* `octokit.repos.getProtectedBranchRestrictions()` has been renamed to `octokit.repos.getAccessRestrictions()`\r\n* `octokit.repos.list()` has been renamed to `octokit.repos.listForAuthenticatedUser()`\r\n* `octokit.repos.listAssetsForRelease()` has been renamed to `octokit.repos.listReleaseAssets()`\r\n* `octokit.repos.listCommitComments()` has been renamed to `octokit.repos.listCommitCommentsForRepo()`\r\n* `octokit.repos.listHooks()` has been renamed to `octokit.repos.listWebhooks()`\r\n* `octokit.repos.listProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.getAllStatusCheckContexts()`\r\n* `octokit.repos.listStatusesForRef()` has been renamed to `octokit.repos.listCommitStatusesForRef()`\r\n* `octokit.repos.listTopics()` has been renamed to `octokit.repos.getAllTopics()`\r\n* `octokit.repos.pingHook()` has been renamed to `octokit.repos.pingWebhook()`\r\n* `octokit.repos.removeBranchProtection()` has been renamed to `octokit.repos.deleteBranchProtection()`\r\n* `octokit.repos.removeDeployKey()` has been renamed to `octokit.repos.deleteDeployKey()`\r\n* `octokit.repos.removeProtectedBranchAdminEnforcement()` has been renamed to `octokit.repos.deleteAdminBranchProtection()`\r\n* `octokit.repos.removeProtectedBranchAppRestrictions()` has been renamed to `octokit.repos.removeAppAccessRestrictions()`\r\n* `octokit.repos.removeProtectedBranchPullRequestReviewEnforcement()` has been renamed to `octokit.repos.deletePullRequestReviewProtection()`\r\n* `octokit.repos.removeProtectedBranchRequiredSignatures()` has been renamed to `octokit.repos.deleteCommitSignatureProtection()`\r\n* `octokit.repos.removeProtectedBranchRequiredStatusChecks()` has been renamed to `octokit.repos.removeStatusChecksProtection()`\r\n* `octokit.repos.removeProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.removeStatusCheckContexts()`\r\n* `octokit.repos.removeProtectedBranchRestrictions()` has been renamed to `octokit.repos.deleteAccessRestrictions()`\r\n* `octokit.repos.removeProtectedBranchTeamRestrictions()` has been renamed to `octokit.repos.removeTeamAccessRestrictions()`\r\n* `octokit.repos.removeProtectedBranchUserRestrictions()` has been renamed to `octokit.repos.removeUserAccessRestrictions()`\r\n* `octokit.repos.replaceProtectedBranchAppRestrictions()` has been renamed to `octokit.repos.setAppAccessRestrictions()`\r\n* `octokit.repos.replaceProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.setStatusCheckContexts()`\r\n* `octokit.repos.replaceProtectedBranchTeamRestrictions()` has been renamed to `octokit.repos.setTeamAccessRestrictions()`\r\n* `octokit.repos.replaceProtectedBranchUserRestrictions()` has been renamed to `octokit.repos.setUserAccessRestrictions()`\r\n* `octokit.repos.replaceTopics()` has been renamed to `octokit.repos.replaceAllTopics()`\r\n* `octokit.repos.requestPageBuild()` has been renamed to `octokit.repos.requestPagesBuild()`\r\n* `octokit.repos.retrieveCommunityProfileMetrics()` has been renamed to `octokit.repos.getCommunityProfileMetrics()`\r\n* `octokit.repos.testPushHook()` has been renamed to `octokit.repos.testPushWebhook()`\r\n* `octokit.repos.updateHook()` has been renamed to `octokit.repos.updateWebhook()`\r\n* `octokit.repos.updateProtectedBranchPullRequestReviewEnforcement()` has been renamed to `octokit.repos.updatePullRequestReviewProtection()`\r\n* `octokit.repos.updateProtectedBranchRequiredStatusChecks()` has been renamed to `octokit.repos.updateStatusChecksProtection()`\r\n* `octokit.teams.addOrUpdateMembershipInOrg()` has been renamed to `octokit.teams.addOrUpdateMembershipForUserInOrg()`\r\n* `octokit.teams.addOrUpdateProjectInOrg()` has been renamed to `octokit.teams.addOrUpdateProjectPermissionsInOrg()`\r\n* `octokit.teams.addOrUpdateRepoInOrg()` has been renamed to `octokit.teams.addOrUpdateRepoPermissionsInOrg()`\r\n* `octokit.teams.checkManagesRepoInOrg()` has been renamed to `octokit.teams.checkPermissionsForRepoInOrg()`\r\n* `octokit.teams.getMembershipInOrg()` has been renamed to `octokit.teams.getMembershipForUserInOrg()`\r\n* `octokit.teams.removeMembershipInOrg()` has been renamed to `octokit.teams.removeMembershipForUserInOrg()`\r\n* `octokit.teams.reviewProjectInOrg()` has been renamed to `octokit.teams.checkPermissionsForProjectInOrg()`\r\n* `octokit.users.addEmails()` has been renamed to `octokit.users.addEmailsForAuthenticated()`\r\n* `octokit.users.checkFollowing()` has been renamed to `octokit.users.checkPersonIsFollowedByAuthenticated()`\r\n* `octokit.users.createGpgKey()` has been renamed to `octokit.users.createGpgKeyForAuthenticated()`\r\n* `octokit.users.createPublicKey()` has been renamed to `octokit.users.createPublicSshKeyForAuthenticated()`\r\n* `octokit.users.deleteEmails()` has been renamed to `octokit.users.deleteEmailsForAuthenticated()`\r\n* `octokit.users.deleteGpgKey()` has been renamed to `octokit.users.deleteGpgKeyForAuthenticated()`\r\n* `octokit.users.deletePublicKey()` has been renamed to `octokit.users.deletePublicSshKeyForAuthenticated()`\r\n* `octokit.users.getGpgKey()` has been renamed to `octokit.users.getGpgKeyForAuthenticated()`\r\n* `octokit.users.getPublicKey()` has been renamed to `octokit.users.getPublicSshKeyForAuthenticated()`\r\n* `octokit.users.listBlocked()` has been renamed to `octokit.users.listBlockedByAuthenticated()`\r\n* `octokit.users.listEmails()` has been renamed to `octokit.users.listEmailsForAuthenticated()`\r\n* `octokit.users.listFollowingForAuthenticatedUser()` has been renamed to `octokit.users.listFollowedByAuthenticated()`\r\n* `octokit.users.listGpgKeys()` has been renamed to `octokit.users.listGpgKeysForAuthenticated()`\r\n* `octokit.users.listPublicEmails()` has been renamed to `octokit.users.listPublicEmailsForAuthenticatedUser()`\r\n* `octokit.users.listPublicKeys()` has been renamed to `octokit.users.listPublicSshKeysForAuthenticated()`\r\n* `octokit.users.togglePrimaryEmailVisibility()` has been renamed to `octokit.users.setPrimaryEmailVisibilityForAuthenticated()`\r\n\r\n\r\n\r\n" +} diff --git a/plugins/changelog/testdata/golden/github-octokit-net.json b/plugins/changelog/testdata/golden/github-octokit-net.json new file mode 100644 index 0000000..afce4e3 --- /dev/null +++ b/plugins/changelog/testdata/golden/github-octokit-net.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:4ee478cf71b9b18424154f67e8cb68ef73a2526abc3543b19fded169a8add122", + "api": "github/octokit-net", + "version": "0.19.0", + "previous_version": "0.18.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "nuget", + "package": "Octokit", + "change": "removed_symbol", + "symbols": [ + "ISshKeysClient.GetAllForCurrent" + ] + }, + "description": "`ISshKeysClient.GetAllForCurrent` was removed in Octokit 0.19.0: code using it fails.", + "migration_hint": "`ISshKeysClient.GetAllForCurrent()` (Octokit's release notes for 0.19.0)", + "source_url": "https://github.com/octokit/octokit.net/releases/tag/v0.19.0", + "source_excerpt": "v0.19 - Identifying Types\nBreaking Changes\n- `ISshKeysClient.GetAllForCurrent()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/github-octokit-rest.json b/plugins/changelog/testdata/golden/github-octokit-rest.json new file mode 100644 index 0000000..8aeaa45 --- /dev/null +++ b/plugins/changelog/testdata/golden/github-octokit-rest.json @@ -0,0 +1,3873 @@ +[ + { + "id": 1, + "fingerprint": "sha256:7346605295a60d8a503f9e83d3619ada16fb7cd8d4f3113bd02b098d59780dbb", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "removed_symbol", + "symbols": [ + "octokit.reactions.deleteLegacy" + ] + }, + "description": "`octokit.reactions.deleteLegacy` was removed in @octokit/rest 18.0.0: code using it fails.", + "migration_hint": "deprecated `octokit.reactions.deleteLegacy()` has been removed (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* deprecated `octokit.reactions.deleteLegacy()` has been removed", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:9823a872f7fdb4461a202ae0551180d30a4c985ddca4f5d48927dbf2a627433e", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "removed_symbol", + "symbols": [ + "octokit.repos.getDownloads" + ] + }, + "description": "`octokit.repos.getDownloads` was removed in @octokit/rest 18.0.0: code using it fails.", + "migration_hint": "deprecated `octokit.repos.getDownloads()` has been removed (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* deprecated `octokit.repos.getDownloads()` has been removed", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:ac50fc715c309bebd661f264a1af1b856e5df06a402a25a6258e238a36c2916c", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "removed_symbol", + "symbols": [ + "octokit.repos.listDownloads" + ] + }, + "description": "`octokit.repos.listDownloads` was removed in @octokit/rest 18.0.0: code using it fails.", + "migration_hint": "deprecated `octokit.repos.listDownloads()` has been removed (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* deprecated `octokit.repos.listDownloads()` has been removed", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:28a663913391615c706e8b329b625262157456628b614edf1142ad5559a5f20a", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "removed_symbol", + "symbols": [ + "octokit.repos.deleteDownloads" + ] + }, + "description": "`octokit.repos.deleteDownloads` was removed in @octokit/rest 18.0.0: code using it fails.", + "migration_hint": "deprecated `octokit.repos.deleteDownloads()` has been removed (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* deprecated `octokit.repos.deleteDownloads()` has been removed", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:f793b3902e37fad3b84f33f7bf2abca06ff2542453818399f1a42f54b7291bfb", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.createOrUpdateSecretForRepo" + ], + "replacement": "octokit.actions.createOrUpdateRepoSecret" + }, + "description": "`octokit.actions.createOrUpdateSecretForRepo` was renamed to `octokit.actions.createOrUpdateRepoSecret` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.createOrUpdateSecretForRepo()` has been renamed to `octokit.actions.createOrUpdateRepoSecret()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.createOrUpdateSecretForRepo()` has been renamed to `octokit.actions.createOrUpdateRepoSecret()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:27bb2b60a14ba4ad7b29a9a6ac03082538471cdece17c29e6f7fa826b057165b", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.createRegistrationToken" + ], + "replacement": "octokit.actions.createRegistrationTokenForRepo" + }, + "description": "`octokit.actions.createRegistrationToken` was renamed to `octokit.actions.createRegistrationTokenForRepo` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.createRegistrationToken()` has been renamed to `octokit.actions.createRegistrationTokenForRepo()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.createRegistrationToken()` has been renamed to `octokit.actions.createRegistrationTokenForRepo()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:afca515e8fc947d24ae9aed30944288210885ea419d6b0b534b71ba4298c64f7", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.createRemoveToken" + ], + "replacement": "octokit.actions.createRemoveTokenForRepo" + }, + "description": "`octokit.actions.createRemoveToken` was renamed to `octokit.actions.createRemoveTokenForRepo` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.createRemoveToken()` has been renamed to `octokit.actions.createRemoveTokenForRepo()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.createRemoveToken()` has been renamed to `octokit.actions.createRemoveTokenForRepo()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 8, + "fingerprint": "sha256:e6a04c3cb9fd5c7e17133ffb9835a2bbecb644fb5478f7a3ee439632fbe60761", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.deleteSecretFromRepo" + ], + "replacement": "octokit.actions.deleteRepoSecret" + }, + "description": "`octokit.actions.deleteSecretFromRepo` was renamed to `octokit.actions.deleteRepoSecret` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.deleteSecretFromRepo()` has been renamed to `octokit.actions.deleteRepoSecret()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.deleteSecretFromRepo()` has been renamed to `octokit.actions.deleteRepoSecret()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 9, + "fingerprint": "sha256:4d2da3a274da28e8e7ffcad880498be355d81862ec43be7e2bb61a07ccc1dd2f", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.downloadWorkflowJobLogs" + ], + "replacement": "octokit.actions.downloadJobLogsForWorkflowRun" + }, + "description": "`octokit.actions.downloadWorkflowJobLogs` was renamed to `octokit.actions.downloadJobLogsForWorkflowRun` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.downloadWorkflowJobLogs()` has been renamed to `octokit.actions.downloadJobLogsForWorkflowRun()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.downloadWorkflowJobLogs()` has been renamed to `octokit.actions.downloadJobLogsForWorkflowRun()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 10, + "fingerprint": "sha256:c950bcf5763ca154fe69d27385adce25b560412e07323189b9ef110639245de6", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.getPublicKey" + ], + "replacement": "octokit.actions.getRepoPublicKey" + }, + "description": "`octokit.actions.getPublicKey` was renamed to `octokit.actions.getRepoPublicKey` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.getPublicKey()` has been renamed to `octokit.actions.getRepoPublicKey()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.getPublicKey()` has been renamed to `octokit.actions.getRepoPublicKey()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 11, + "fingerprint": "sha256:e34def959c46203fb33e875a2694a1fdef7333ee5183b58bbde51145ec7078a0", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.getSecret" + ], + "replacement": "octokit.actions.getRepoSecret" + }, + "description": "`octokit.actions.getSecret` was renamed to `octokit.actions.getRepoSecret` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.getSecret()` has been renamed to `octokit.actions.getRepoSecret()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.getSecret()` has been renamed to `octokit.actions.getRepoSecret()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 12, + "fingerprint": "sha256:90476c4789cabe1d89ec09cd44746190d1aec3a28f86d732926dc514a059b213", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.getSelfHostedRunner" + ], + "replacement": "octokit.actions.getSelfHostedRunnerForRepo" + }, + "description": "`octokit.actions.getSelfHostedRunner` was renamed to `octokit.actions.getSelfHostedRunnerForRepo` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.getSelfHostedRunner()` has been renamed to `octokit.actions.getSelfHostedRunnerForRepo()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.getSelfHostedRunner()` has been renamed to `octokit.actions.getSelfHostedRunnerForRepo()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 13, + "fingerprint": "sha256:c0fdc459058c40182fc3407ae2e3c4cd50c42ceec139ea38fee5603ab2b9357c", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.getWorkflowJob" + ], + "replacement": "octokit.actions.getJobForWorkflowRun" + }, + "description": "`octokit.actions.getWorkflowJob` was renamed to `octokit.actions.getJobForWorkflowRun` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.getWorkflowJob()` has been renamed to `octokit.actions.getJobForWorkflowRun()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.getWorkflowJob()` has been renamed to `octokit.actions.getJobForWorkflowRun()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 14, + "fingerprint": "sha256:ff35254e0653b12e636d59d498ac6a70547b3b08cbc67a996d108273460e190e", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.listDownloadsForSelfHostedRunnerApplication" + ], + "replacement": "octokit.actions.listRunnerApplicationsForRepo" + }, + "description": "`octokit.actions.listDownloadsForSelfHostedRunnerApplication` was renamed to `octokit.actions.listRunnerApplicationsForRepo` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.listDownloadsForSelfHostedRunnerApplication()` has been renamed to `octokit.actions.listRunnerApplicationsForRepo()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.listDownloadsForSelfHostedRunnerApplication()` has been renamed to `octokit.actions.listRunnerApplicationsForRepo()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 15, + "fingerprint": "sha256:a6744cbcfcc6187fcbada68fbc61e0e5602890390476fea26de1a8d8feb13da4", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.listRepoWorkflowRuns" + ], + "replacement": "octokit.actions.listWorkflowRunsForRepo" + }, + "description": "`octokit.actions.listRepoWorkflowRuns` was renamed to `octokit.actions.listWorkflowRunsForRepo` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.listRepoWorkflowRuns()` has been renamed to `octokit.actions.listWorkflowRunsForRepo()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.listRepoWorkflowRuns()` has been renamed to `octokit.actions.listWorkflowRunsForRepo()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 16, + "fingerprint": "sha256:752e55220d58109ee4e271fbe3c210bfcfc74e9f80d7996570f826d6d022e55e", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.listSecretsForRepo" + ], + "replacement": "octokit.actions.listRepoSecrets" + }, + "description": "`octokit.actions.listSecretsForRepo` was renamed to `octokit.actions.listRepoSecrets` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.listSecretsForRepo()` has been renamed to `octokit.actions.listRepoSecrets()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.listSecretsForRepo()` has been renamed to `octokit.actions.listRepoSecrets()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 17, + "fingerprint": "sha256:8daa9394a0122191ecbdca59bf225b38d8ef9f2264e82d661329a340eaa6299e", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.listWorkflowJobLogs" + ], + "replacement": "octokit.actions.downloadWorkflowJobLogs" + }, + "description": "`octokit.actions.listWorkflowJobLogs` was renamed to `octokit.actions.downloadWorkflowJobLogs` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.listWorkflowJobLogs()` has been renamed to `octokit.actions.downloadWorkflowJobLogs()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.listWorkflowJobLogs()` has been renamed to `octokit.actions.downloadWorkflowJobLogs()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 18, + "fingerprint": "sha256:f962c621b96725de03e304500f367cfab682a08451769e0f7f0482deebccc4e1", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.listWorkflowRunLogs" + ], + "replacement": "octokit.actions.downloadWorkflowRunLogs" + }, + "description": "`octokit.actions.listWorkflowRunLogs` was renamed to `octokit.actions.downloadWorkflowRunLogs` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.listWorkflowRunLogs()` has been renamed to `octokit.actions.downloadWorkflowRunLogs()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.listWorkflowRunLogs()` has been renamed to `octokit.actions.downloadWorkflowRunLogs()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 19, + "fingerprint": "sha256:3303ff30c12b772b6445e646da0516a6e466eb0de0b77b5571e9ab7f88698f05", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.actions.removeSelfHostedRunner" + ], + "replacement": "octokit.actions.deleteSelfHostedRunnerFromRepo" + }, + "description": "`octokit.actions.removeSelfHostedRunner` was renamed to `octokit.actions.deleteSelfHostedRunnerFromRepo` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.actions.removeSelfHostedRunner()` has been renamed to `octokit.actions.deleteSelfHostedRunnerFromRepo()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.removeSelfHostedRunner()` has been renamed to `octokit.actions.deleteSelfHostedRunnerFromRepo()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 20, + "fingerprint": "sha256:c64628a600f49f6a00e3f84787eb730dad7bd553b2adffa78ff5bf486be6c06c", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.checkStarringRepo" + ], + "replacement": "octokit.activity.checkRepoIsStarredByAuthenticatedUser" + }, + "description": "`octokit.activity.checkStarringRepo` was renamed to `octokit.activity.checkRepoIsStarredByAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.checkStarringRepo()` has been renamed to `octokit.activity.checkRepoIsStarredByAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.checkStarringRepo()` has been renamed to `octokit.activity.checkRepoIsStarredByAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 21, + "fingerprint": "sha256:f94a28ad62a3fabb11b5960cc106437c1abcc04ddef00edd8c3f41d3a3422aa2", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.getThreadSubscription" + ], + "replacement": "octokit.activity.getThreadSubscriptionForAuthenticatedUser" + }, + "description": "`octokit.activity.getThreadSubscription` was renamed to `octokit.activity.getThreadSubscriptionForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.getThreadSubscription()` has been renamed to `octokit.activity.getThreadSubscriptionForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.getThreadSubscription()` has been renamed to `octokit.activity.getThreadSubscriptionForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 22, + "fingerprint": "sha256:ab317cbc00b0e86a8e1aee1c2db5286a41425d333cd62c516221892bf8dc0733", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.listEventsForOrg" + ], + "replacement": "octokit.activity.listOrgEventsForAuthenticatedUser" + }, + "description": "`octokit.activity.listEventsForOrg` was renamed to `octokit.activity.listOrgEventsForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.listEventsForOrg()` has been renamed to `octokit.activity.listOrgEventsForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.listEventsForOrg()` has been renamed to `octokit.activity.listOrgEventsForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 23, + "fingerprint": "sha256:48be6dafbdfa9927c0ca6ef9ec4a64f0eb9939420622c911a5f3cc7c97abb2f5", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.listEventsForUser" + ], + "replacement": "octokit.activity.listEventsForAuthenticatedUser" + }, + "description": "`octokit.activity.listEventsForUser` was renamed to `octokit.activity.listEventsForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.listEventsForUser()` has been renamed to `octokit.activity.listEventsForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.listEventsForUser()` has been renamed to `octokit.activity.listEventsForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 24, + "fingerprint": "sha256:e9380031c342e83651c069375e7b76872d751389b33fd5b376de8e81cac9569b", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.listFeeds" + ], + "replacement": "octokit.activity.getFeeds" + }, + "description": "`octokit.activity.listFeeds` was renamed to `octokit.activity.getFeeds` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.listFeeds()` has been renamed to `octokit.activity.getFeeds()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.listFeeds()` has been renamed to `octokit.activity.getFeeds()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 25, + "fingerprint": "sha256:bac5dea9a6ba8ef26ac12c34fc300b41eabf3b82e431cbcf48811f67e25e76a5", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.listNotifications" + ], + "replacement": "octokit.activity.listNotificationsForAuthenticatedUser" + }, + "description": "`octokit.activity.listNotifications` was renamed to `octokit.activity.listNotificationsForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.listNotifications()` has been renamed to `octokit.activity.listNotificationsForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.listNotifications()` has been renamed to `octokit.activity.listNotificationsForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 26, + "fingerprint": "sha256:8c2386395360aafc7b5af73c27d5384c986ac216d450b5f5c5ab2a111b820ea7", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.listNotificationsForRepo" + ], + "replacement": "octokit.activity.listRepoNotificationsForAuthenticatedUser" + }, + "description": "`octokit.activity.listNotificationsForRepo` was renamed to `octokit.activity.listRepoNotificationsForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.listNotificationsForRepo()` has been renamed to `octokit.activity.listRepoNotificationsForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.listNotificationsForRepo()` has been renamed to `octokit.activity.listRepoNotificationsForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 27, + "fingerprint": "sha256:a7201f28e3c1ebd272438b11959103d60c10c80e62efa65f912d9818d53a68ce", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.listPublicEventsForOrg" + ], + "replacement": "octokit.activity.listPublicOrgEvents" + }, + "description": "`octokit.activity.listPublicEventsForOrg` was renamed to `octokit.activity.listPublicOrgEvents` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.listPublicEventsForOrg()` has been renamed to `octokit.activity.listPublicOrgEvents()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.listPublicEventsForOrg()` has been renamed to `octokit.activity.listPublicOrgEvents()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 28, + "fingerprint": "sha256:bd0b7c06774a62b8a29f73e775da53e857837d87fe83e17652c6c2f51f79e2d5", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.markAsRead" + ], + "replacement": "octokit.activity.markNotificationsAsRead" + }, + "description": "`octokit.activity.markAsRead` was renamed to `octokit.activity.markNotificationsAsRead` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.markAsRead()` has been renamed to `octokit.activity.markNotificationsAsRead()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.markAsRead()` has been renamed to `octokit.activity.markNotificationsAsRead()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 29, + "fingerprint": "sha256:f4d61dad655a7d40febafec0502ccb41c170eb498646f7cd85da64a732e39409", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.markNotificationsAsReadForRepo" + ], + "replacement": "octokit.activity.markRepoNotificationsAsRead" + }, + "description": "`octokit.activity.markNotificationsAsReadForRepo` was renamed to `octokit.activity.markRepoNotificationsAsRead` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.markNotificationsAsReadForRepo()` has been renamed to `octokit.activity.markRepoNotificationsAsRead()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.markNotificationsAsReadForRepo()` has been renamed to `octokit.activity.markRepoNotificationsAsRead()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 30, + "fingerprint": "sha256:fcf8f77780d170a9892040b49e44a7ca015cd75da2ac8ca390ffe5258de22b64", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.starRepo" + ], + "replacement": "octokit.activity.starRepoForAuthenticatedUser" + }, + "description": "`octokit.activity.starRepo` was renamed to `octokit.activity.starRepoForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.starRepo()` has been renamed to `octokit.activity.starRepoForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.starRepo()` has been renamed to `octokit.activity.starRepoForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 31, + "fingerprint": "sha256:d60186f7c500297caf0f0c6665f00aab131ce67f98d04c64224d49c26fccd8d9", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.activity.unstarRepo" + ], + "replacement": "octokit.activity.unstarRepoForAuthenticatedUser" + }, + "description": "`octokit.activity.unstarRepo` was renamed to `octokit.activity.unstarRepoForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.activity.unstarRepo()` has been renamed to `octokit.activity.unstarRepoForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.activity.unstarRepo()` has been renamed to `octokit.activity.unstarRepoForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 32, + "fingerprint": "sha256:4c857d2ab2998289dff65c527f1491bb54637e3d59291c154b90a2008f062abe", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.apps.checkAccountIsAssociatedWithAny" + ], + "replacement": "octokit.apps.getSubscriptionPlanForAccount" + }, + "description": "`octokit.apps.checkAccountIsAssociatedWithAny` was renamed to `octokit.apps.getSubscriptionPlanForAccount` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.apps.checkAccountIsAssociatedWithAny()` has been renamed to `octokit.apps.getSubscriptionPlanForAccount()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.apps.checkAccountIsAssociatedWithAny()` has been renamed to `octokit.apps.getSubscriptionPlanForAccount()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 33, + "fingerprint": "sha256:2268133e9521d5d2edc5b76982bcf01d4816549cd8f665486ece6f429642c312", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.apps.checkAccountIsAssociatedWithAnyStubbed" + ], + "replacement": "octokit.apps.getSubscriptionPlanForAccountStubbed" + }, + "description": "`octokit.apps.checkAccountIsAssociatedWithAnyStubbed` was renamed to `octokit.apps.getSubscriptionPlanForAccountStubbed` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.apps.checkAccountIsAssociatedWithAnyStubbed()` has been renamed to `octokit.apps.getSubscriptionPlanForAccountStubbed()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.apps.checkAccountIsAssociatedWithAnyStubbed()` has been renamed to `octokit.apps.getSubscriptionPlanForAccountStubbed()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 34, + "fingerprint": "sha256:5d5121b5c65764301b7e539284f472e1a136870571c1400f43dc33813660f2ff", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.apps.createInstallationToken" + ], + "replacement": "octokit.apps.createInstallationAccessToken" + }, + "description": "`octokit.apps.createInstallationToken` was renamed to `octokit.apps.createInstallationAccessToken` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.apps.createInstallationToken()` has been renamed to `octokit.apps.createInstallationAccessToken()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.apps.createInstallationToken()` has been renamed to `octokit.apps.createInstallationAccessToken()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 35, + "fingerprint": "sha256:bf89c2650c24b5008685d440baccd12a134a8b30226a9544af3d9239f7cc0dd3", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.apps.listAccountsUserOrOrgOnPlan" + ], + "replacement": "octokit.apps.listAccountsForPlan" + }, + "description": "`octokit.apps.listAccountsUserOrOrgOnPlan` was renamed to `octokit.apps.listAccountsForPlan` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.apps.listAccountsUserOrOrgOnPlan()` has been renamed to `octokit.apps.listAccountsForPlan()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.apps.listAccountsUserOrOrgOnPlan()` has been renamed to `octokit.apps.listAccountsForPlan()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 36, + "fingerprint": "sha256:9f9d927ae4f2d393b96143ef99cb25fa206f6d239395fe2619e281a344f3f7a8", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.apps.listAccountsUserOrOrgOnPlanStubbed" + ], + "replacement": "octokit.apps.listAccountsForPlanStubbed" + }, + "description": "`octokit.apps.listAccountsUserOrOrgOnPlanStubbed` was renamed to `octokit.apps.listAccountsForPlanStubbed` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.apps.listAccountsUserOrOrgOnPlanStubbed()` has been renamed to `octokit.apps.listAccountsForPlanStubbed()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.apps.listAccountsUserOrOrgOnPlanStubbed()` has been renamed to `octokit.apps.listAccountsForPlanStubbed()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 37, + "fingerprint": "sha256:14f6f825b679f39df2880d23d978e714825f7002ef94dc56cd88e7a90dcc7914", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.apps.listMarketplacePurchasesForAuthenticatedUser" + ], + "replacement": "octokit.apps.listSubscriptionsForAuthenticatedUser" + }, + "description": "`octokit.apps.listMarketplacePurchasesForAuthenticatedUser` was renamed to `octokit.apps.listSubscriptionsForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.apps.listMarketplacePurchasesForAuthenticatedUser()` has been renamed to `octokit.apps.listSubscriptionsForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.apps.listMarketplacePurchasesForAuthenticatedUser()` has been renamed to `octokit.apps.listSubscriptionsForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 38, + "fingerprint": "sha256:34a966a425831a78412315602d241ff77d750d79f15f51d525f41cf0a4bba7ff", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.apps.listMarketplacePurchasesForAuthenticatedUserStubbed" + ], + "replacement": "octokit.apps.listSubscriptionsForAuthenticatedUserStubbed" + }, + "description": "`octokit.apps.listMarketplacePurchasesForAuthenticatedUserStubbed` was renamed to `octokit.apps.listSubscriptionsForAuthenticatedUserStubbed` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.apps.listMarketplacePurchasesForAuthenticatedUserStubbed()` has been renamed to `octokit.apps.listSubscriptionsForAuthenticatedUserStubbed()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.apps.listMarketplacePurchasesForAuthenticatedUserStubbed()` has been renamed to `octokit.apps.listSubscriptionsForAuthenticatedUserStubbed()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 39, + "fingerprint": "sha256:b72a3ea90d6ed9f6fef22eab54b21265f1234ea016e1f21ff98ea5fda48a7948", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.apps.listRepos" + ], + "replacement": "octokit.apps.listReposAccessibleToInstallation" + }, + "description": "`octokit.apps.listRepos` was renamed to `octokit.apps.listReposAccessibleToInstallation` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.apps.listRepos()` has been renamed to `octokit.apps.listReposAccessibleToInstallation()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.apps.listRepos()` has been renamed to `octokit.apps.listReposAccessibleToInstallation()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 40, + "fingerprint": "sha256:62bb329bb30de21e9f46e834a095e9080829d4e6d10fa43ee9c2f9ff58e82883", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.apps.revokeInstallationToken" + ], + "replacement": "octokit.apps.revokeInstallationAccessToken" + }, + "description": "`octokit.apps.revokeInstallationToken` was renamed to `octokit.apps.revokeInstallationAccessToken` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.apps.revokeInstallationToken()` has been renamed to `octokit.apps.revokeInstallationAccessToken()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.apps.revokeInstallationToken()` has been renamed to `octokit.apps.revokeInstallationAccessToken()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 41, + "fingerprint": "sha256:d1881d623c1648ae16d5eb9649753be2029e23833bf877f64d49b06028eb49d5", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.codesOfConduct.listConductCodes" + ], + "replacement": "octokit.codesOfConduct.getAllCodesOfConduct" + }, + "description": "`octokit.codesOfConduct.listConductCodes` was renamed to `octokit.codesOfConduct.getAllCodesOfConduct` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.codesOfConduct.listConductCodes()` has been renamed to `octokit.codesOfConduct.getAllCodesOfConduct()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.codesOfConduct.listConductCodes()` has been renamed to `octokit.codesOfConduct.getAllCodesOfConduct()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 42, + "fingerprint": "sha256:3ddaba3bb5093be91b02192b50aaf136558008d5706c757ee03b28b08d2690ae", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.gists.listPublicForUser" + ], + "replacement": "octokit.gists.listForUser" + }, + "description": "`octokit.gists.listPublicForUser` was renamed to `octokit.gists.listForUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.gists.listPublicForUser()` has been renamed to `octokit.gists.listForUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.gists.listPublicForUser()` has been renamed to `octokit.gists.listForUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 43, + "fingerprint": "sha256:4ac822049c406c18b70939e0a05725f595ea9a328f3024128ab697812b66613a", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.gitignore.listTemplates" + ], + "replacement": "octokit.gitignore.getAllTemplates" + }, + "description": "`octokit.gitignore.listTemplates` was renamed to `octokit.gitignore.getAllTemplates` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.gitignore.listTemplates()` has been renamed to `octokit.gitignore.getAllTemplates()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.gitignore.listTemplates()` has been renamed to `octokit.gitignore.getAllTemplates()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 44, + "fingerprint": "sha256:55acdf9569039189a017cd6ce40de0a5b1d6b071d074615f8dd7f263155382de", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.interactions.addOrUpdateRestrictionsForOrg" + ], + "replacement": "octokit.interactions.setRestrictionsForOrg" + }, + "description": "`octokit.interactions.addOrUpdateRestrictionsForOrg` was renamed to `octokit.interactions.setRestrictionsForOrg` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.interactions.addOrUpdateRestrictionsForOrg()` has been renamed to `octokit.interactions.setRestrictionsForOrg()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.interactions.addOrUpdateRestrictionsForOrg()` has been renamed to `octokit.interactions.setRestrictionsForOrg()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 45, + "fingerprint": "sha256:be92bda8c88a656fca393fc6ac4c868201d5d276c3a45260febb6650b6ae6711", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.interactions.addOrUpdateRestrictionsForRepo" + ], + "replacement": "octokit.interactions.setRestrictionsForRepo" + }, + "description": "`octokit.interactions.addOrUpdateRestrictionsForRepo` was renamed to `octokit.interactions.setRestrictionsForRepo` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.interactions.addOrUpdateRestrictionsForRepo()` has been renamed to `octokit.interactions.setRestrictionsForRepo()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.interactions.addOrUpdateRestrictionsForRepo()` has been renamed to `octokit.interactions.setRestrictionsForRepo()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 46, + "fingerprint": "sha256:ccc31db150c56bcbab5d7c6eea1debe778f1c2b07e1dd7355fe2c4ec5a5b1112", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.issues.checkAssignee" + ], + "replacement": "octokit.issues.checkUserCanBeAssigned" + }, + "description": "`octokit.issues.checkAssignee` was renamed to `octokit.issues.checkUserCanBeAssigned` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.issues.checkAssignee()` has been renamed to `octokit.issues.checkUserCanBeAssigned()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.issues.checkAssignee()` has been renamed to `octokit.issues.checkUserCanBeAssigned()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 47, + "fingerprint": "sha256:a4bb961a4d907f06fecd1fb6bc1bc841c88b85d52eee8d759dcf8ed719516a3a", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.issues.listMilestonesForRepo" + ], + "replacement": "octokit.issues.listMilestones" + }, + "description": "`octokit.issues.listMilestonesForRepo` was renamed to `octokit.issues.listMilestones` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.issues.listMilestonesForRepo()` has been renamed to `octokit.issues.listMilestones()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.issues.listMilestonesForRepo()` has been renamed to `octokit.issues.listMilestones()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 48, + "fingerprint": "sha256:0818a57cf793e8f92ae08352c403949ad7ff62e7568e59eb85b95f64a294e673", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.issues.removeLabels" + ], + "replacement": "octokit.issues.removeAllLabels" + }, + "description": "`octokit.issues.removeLabels` was renamed to `octokit.issues.removeAllLabels` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.issues.removeLabels()` has been renamed to `octokit.issues.removeAllLabels()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.issues.removeLabels()` has been renamed to `octokit.issues.removeAllLabels()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 49, + "fingerprint": "sha256:b265f67369b15a1363763d0fde40341b091f1b6a9bba5390a78ef7c16913694f", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.issues.replaceAllLabels" + ], + "replacement": "octokit.issues.setLabels" + }, + "description": "`octokit.issues.replaceAllLabels` was renamed to `octokit.issues.setLabels` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.issues.replaceAllLabels()` has been renamed to `octokit.issues.setLabels()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.issues.replaceAllLabels()` has been renamed to `octokit.issues.setLabels()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 50, + "fingerprint": "sha256:7d13a3635452dacedd37349d27a604dfe920f62c362f7aceadfc287352481d2a", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.issues.replaceLabels" + ], + "replacement": "octokit.issues.replaceAllLabels" + }, + "description": "`octokit.issues.replaceLabels` was renamed to `octokit.issues.replaceAllLabels` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.issues.replaceLabels()` has been renamed to `octokit.issues.replaceAllLabels()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.issues.replaceLabels()` has been renamed to `octokit.issues.replaceAllLabels()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 51, + "fingerprint": "sha256:df37dbc777c749ce1777a44242650ec5f091ffa7a96c2c3e8791cafaa3e995f7", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.licenses.listCommonlyUsed" + ], + "replacement": "octokit.licenses.getAllCommonlyUsed" + }, + "description": "`octokit.licenses.listCommonlyUsed` was renamed to `octokit.licenses.getAllCommonlyUsed` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.licenses.listCommonlyUsed()` has been renamed to `octokit.licenses.getAllCommonlyUsed()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.licenses.listCommonlyUsed()` has been renamed to `octokit.licenses.getAllCommonlyUsed()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 52, + "fingerprint": "sha256:1e7cd120eb2740f0d1d00913e56f4eac2334117c005052ae0b0c4a3e950f2f5c", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.migrations.getImportProgress" + ], + "replacement": "octokit.migrations.getImportStatus" + }, + "description": "`octokit.migrations.getImportProgress` was renamed to `octokit.migrations.getImportStatus` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.migrations.getImportProgress()` has been renamed to `octokit.migrations.getImportStatus()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.migrations.getImportProgress()` has been renamed to `octokit.migrations.getImportStatus()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 53, + "fingerprint": "sha256:ee1640648d8f811e542e9ebee364747c475dd9af0fcd0b842571c83524b378cc", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.addOrUpdateMembership" + ], + "replacement": "octokit.orgs.setMembershipForUser" + }, + "description": "`octokit.orgs.addOrUpdateMembership` was renamed to `octokit.orgs.setMembershipForUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.addOrUpdateMembership()` has been renamed to `octokit.orgs.setMembershipForUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.addOrUpdateMembership()` has been renamed to `octokit.orgs.setMembershipForUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 54, + "fingerprint": "sha256:824a3822a92b7ce429b69545f99bf71849a6c52ef41329248bd711a2f731080d", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.checkMembership" + ], + "replacement": "octokit.orgs.checkMembershipForUser" + }, + "description": "`octokit.orgs.checkMembership` was renamed to `octokit.orgs.checkMembershipForUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.checkMembership()` has been renamed to `octokit.orgs.checkMembershipForUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.checkMembership()` has been renamed to `octokit.orgs.checkMembershipForUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 55, + "fingerprint": "sha256:55edb28155127226864a427a22c3ab29709b1e37b741f84836054f03f994bda7", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.checkPublicMembership" + ], + "replacement": "octokit.orgs.checkPublicMembershipForUser" + }, + "description": "`octokit.orgs.checkPublicMembership` was renamed to `octokit.orgs.checkPublicMembershipForUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.checkPublicMembership()` has been renamed to `octokit.orgs.checkPublicMembershipForUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.checkPublicMembership()` has been renamed to `octokit.orgs.checkPublicMembershipForUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 56, + "fingerprint": "sha256:a254e61bdcbf9e374f27b3928c14b637548e98e04189164a3ace305abdd81ae4", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.concealMembership" + ], + "replacement": "octokit.orgs.removePublicMembershipForAuthenticatedUser" + }, + "description": "`octokit.orgs.concealMembership` was renamed to `octokit.orgs.removePublicMembershipForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.concealMembership()` has been renamed to `octokit.orgs.removePublicMembershipForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.concealMembership()` has been renamed to `octokit.orgs.removePublicMembershipForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 57, + "fingerprint": "sha256:f1b618c2c84df71ecc0f3a34cdf022098b2e6639f1822fc071a47e53f96eedf4", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.createHook" + ], + "replacement": "octokit.orgs.createWebhook" + }, + "description": "`octokit.orgs.createHook` was renamed to `octokit.orgs.createWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.createHook()` has been renamed to `octokit.orgs.createWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.createHook()` has been renamed to `octokit.orgs.createWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 58, + "fingerprint": "sha256:541e578b34e1218ce58b984b9135cbe280fc384f95168398341ccb865344bbff", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.deleteHook" + ], + "replacement": "octokit.orgs.deleteWebhook" + }, + "description": "`octokit.orgs.deleteHook` was renamed to `octokit.orgs.deleteWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.deleteHook()` has been renamed to `octokit.orgs.deleteWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.deleteHook()` has been renamed to `octokit.orgs.deleteWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 59, + "fingerprint": "sha256:c6a9e94135fdf155f19c4f8e4f5bee1d4b564ad8072165fab420595517640b06", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.getHook" + ], + "replacement": "octokit.orgs.getWebhook" + }, + "description": "`octokit.orgs.getHook` was renamed to `octokit.orgs.getWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.getHook()` has been renamed to `octokit.orgs.getWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.getHook()` has been renamed to `octokit.orgs.getWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 60, + "fingerprint": "sha256:083b481de6cfe3e81be54481b3634a2764765171eedaed7d47c80fa1d59197a7", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.getMembership" + ], + "replacement": "octokit.orgs.getMembershipForUser" + }, + "description": "`octokit.orgs.getMembership` was renamed to `octokit.orgs.getMembershipForUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.getMembership()` has been renamed to `octokit.orgs.getMembershipForUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.getMembership()` has been renamed to `octokit.orgs.getMembershipForUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 61, + "fingerprint": "sha256:c1ce6079ab5ea6a0e527f57d32715e65bc1020287c6fb77862e7c884619efef4", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.listHooks" + ], + "replacement": "octokit.orgs.listWebhooks" + }, + "description": "`octokit.orgs.listHooks` was renamed to `octokit.orgs.listWebhooks` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.listHooks()` has been renamed to `octokit.orgs.listWebhooks()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.listHooks()` has been renamed to `octokit.orgs.listWebhooks()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 62, + "fingerprint": "sha256:0da1f3ae0e244bc6018e36170dd9fba54b1b5e836fe47107d6d81047cb46e36c", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.listInstallations" + ], + "replacement": "octokit.orgs.listAppInstallations" + }, + "description": "`octokit.orgs.listInstallations` was renamed to `octokit.orgs.listAppInstallations` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.listInstallations()` has been renamed to `octokit.orgs.listAppInstallations()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.listInstallations()` has been renamed to `octokit.orgs.listAppInstallations()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 63, + "fingerprint": "sha256:7c2ef16a06a589a5b74503e6d48f059915e0d851d5d6ae66f618ce8e3dc1d2c8", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.listMemberships" + ], + "replacement": "octokit.orgs.listMembershipsForAuthenticatedUser" + }, + "description": "`octokit.orgs.listMemberships` was renamed to `octokit.orgs.listMembershipsForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.listMemberships()` has been renamed to `octokit.orgs.listMembershipsForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.listMemberships()` has been renamed to `octokit.orgs.listMembershipsForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 64, + "fingerprint": "sha256:4f3eef12b54f24faa041850b3bf113afe260658522a1dcc64bec5926b3e12c15", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.pingHook" + ], + "replacement": "octokit.orgs.pingWebhook" + }, + "description": "`octokit.orgs.pingHook` was renamed to `octokit.orgs.pingWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.pingHook()` has been renamed to `octokit.orgs.pingWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.pingHook()` has been renamed to `octokit.orgs.pingWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 65, + "fingerprint": "sha256:6a951682206a393915e87a27099ba77ce6c7f6514951982a4adcd29351153bcc", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.publicizeMembership" + ], + "replacement": "octokit.orgs.setPublicMembershipForAuthenticatedUser" + }, + "description": "`octokit.orgs.publicizeMembership` was renamed to `octokit.orgs.setPublicMembershipForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.publicizeMembership()` has been renamed to `octokit.orgs.setPublicMembershipForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.publicizeMembership()` has been renamed to `octokit.orgs.setPublicMembershipForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 66, + "fingerprint": "sha256:a8881525b444a63568d4dad07c12f37f05a8a63a700125ff8d6bbc17365d6941", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.removeMembership" + ], + "replacement": "octokit.orgs.removeMembershipForUser" + }, + "description": "`octokit.orgs.removeMembership` was renamed to `octokit.orgs.removeMembershipForUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.removeMembership()` has been renamed to `octokit.orgs.removeMembershipForUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.removeMembership()` has been renamed to `octokit.orgs.removeMembershipForUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 67, + "fingerprint": "sha256:d41d182a815ee932e3c2ca104be8981501b588af6006e4ee12746ad958f636b1", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.updateHook" + ], + "replacement": "octokit.orgs.updateWebhook" + }, + "description": "`octokit.orgs.updateHook` was renamed to `octokit.orgs.updateWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.updateHook()` has been renamed to `octokit.orgs.updateWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.updateHook()` has been renamed to `octokit.orgs.updateWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 68, + "fingerprint": "sha256:737ccb9444ed2d2aeff7654f3053efbf7a836c61fbe3b31f6dd2a4adae662e1d", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.orgs.updateMembership" + ], + "replacement": "octokit.orgs.updateMembershipForAuthenticatedUser" + }, + "description": "`octokit.orgs.updateMembership` was renamed to `octokit.orgs.updateMembershipForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.orgs.updateMembership()` has been renamed to `octokit.orgs.updateMembershipForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.orgs.updateMembership()` has been renamed to `octokit.orgs.updateMembershipForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 69, + "fingerprint": "sha256:05b37bf19851abe7f49fbef39890e47489893866861ecbccbea2072e0d8f0d7a", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.projects.reviewUserPermissionLevel" + ], + "replacement": "octokit.projects.getPermissionForUser" + }, + "description": "`octokit.projects.reviewUserPermissionLevel` was renamed to `octokit.projects.getPermissionForUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.projects.reviewUserPermissionLevel()` has been renamed to `octokit.projects.getPermissionForUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.projects.reviewUserPermissionLevel()` has been renamed to `octokit.projects.getPermissionForUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 70, + "fingerprint": "sha256:a85c6e2b9d52f9da4d7baedde3bf372e23222cc6ffe215bb6f5ed2a4d8d4ce05", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.createComment" + ], + "replacement": "octokit.pulls.createReviewComment" + }, + "description": "`octokit.pulls.createComment` was renamed to `octokit.pulls.createReviewComment` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.createComment()` has been renamed to `octokit.pulls.createReviewComment()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.createComment()` has been renamed to `octokit.pulls.createReviewComment()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 71, + "fingerprint": "sha256:6b675fa77d791b868bfb58f2ed9f403a45cea493f5a6bbc2e416b2fffb60d2bf", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.createReviewCommentReply" + ], + "replacement": "octokit.pulls.createReplyForReviewComment" + }, + "description": "`octokit.pulls.createReviewCommentReply` was renamed to `octokit.pulls.createReplyForReviewComment` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.createReviewCommentReply()` has been renamed to `octokit.pulls.createReplyForReviewComment()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.createReviewCommentReply()` has been renamed to `octokit.pulls.createReplyForReviewComment()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 72, + "fingerprint": "sha256:d829865a8955fa9b70e19d81d915558d552cda05aeb6e97ff63e536c0ac231bc", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.createReviewRequest" + ], + "replacement": "octokit.pulls.requestReviewers" + }, + "description": "`octokit.pulls.createReviewRequest` was renamed to `octokit.pulls.requestReviewers` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.createReviewRequest()` has been renamed to `octokit.pulls.requestReviewers()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.createReviewRequest()` has been renamed to `octokit.pulls.requestReviewers()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 73, + "fingerprint": "sha256:3bdc4cab562bd13ae8eaeb4d43b10961af690030bffeb6d7d6076a646ae97c94", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.deleteComment" + ], + "replacement": "octokit.pulls.deleteReviewComment" + }, + "description": "`octokit.pulls.deleteComment` was renamed to `octokit.pulls.deleteReviewComment` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.deleteComment()` has been renamed to `octokit.pulls.deleteReviewComment()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.deleteComment()` has been renamed to `octokit.pulls.deleteReviewComment()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 74, + "fingerprint": "sha256:871a7fde342bc342ebe3656b121b80d5f92c8cde6a95df9b7c56aa40de10a950", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.deleteReviewRequest" + ], + "replacement": "octokit.pulls.removeRequestedReviewers" + }, + "description": "`octokit.pulls.deleteReviewRequest` was renamed to `octokit.pulls.removeRequestedReviewers` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.deleteReviewRequest()` has been renamed to `octokit.pulls.removeRequestedReviewers()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.deleteReviewRequest()` has been renamed to `octokit.pulls.removeRequestedReviewers()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 75, + "fingerprint": "sha256:09c35a9ad2751c68083abd9e1a1ecfb80ab81bd9bffd691c4df596569be18428", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.getComment" + ], + "replacement": "octokit.pulls.getReviewComment" + }, + "description": "`octokit.pulls.getComment` was renamed to `octokit.pulls.getReviewComment` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.getComment()` has been renamed to `octokit.pulls.getReviewComment()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.getComment()` has been renamed to `octokit.pulls.getReviewComment()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 76, + "fingerprint": "sha256:88c2c83d4cc51d2f12538803aca720891962cf8cc27e900a010fdd0748572957", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.getCommentsForReview" + ], + "replacement": "octokit.pulls.listCommentsForReview" + }, + "description": "`octokit.pulls.getCommentsForReview` was renamed to `octokit.pulls.listCommentsForReview` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.getCommentsForReview()` has been renamed to `octokit.pulls.listCommentsForReview()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.getCommentsForReview()` has been renamed to `octokit.pulls.listCommentsForReview()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 77, + "fingerprint": "sha256:9b79b4a9dc937323b01c63bd3f1eb41c407307d2e988c48830b1e1779c0bc4eb", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.listComments" + ], + "replacement": "octokit.pulls.listReviewComments" + }, + "description": "`octokit.pulls.listComments` was renamed to `octokit.pulls.listReviewComments` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.listComments()` has been renamed to `octokit.pulls.listReviewComments()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.listComments()` has been renamed to `octokit.pulls.listReviewComments()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 78, + "fingerprint": "sha256:3398529594699fc49bb19fee43fdc639e349744c32ce4803f199cac83392c310", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.listCommentsForRepo" + ], + "replacement": "octokit.pulls.listReviewCommentsForRepo" + }, + "description": "`octokit.pulls.listCommentsForRepo` was renamed to `octokit.pulls.listReviewCommentsForRepo` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.listCommentsForRepo()` has been renamed to `octokit.pulls.listReviewCommentsForRepo()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.listCommentsForRepo()` has been renamed to `octokit.pulls.listReviewCommentsForRepo()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 79, + "fingerprint": "sha256:adb8a82688316a8486b328cbf85bb0bfff02825bb3ec7da4ae06b1dbc3cf2b94", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.listReviewRequests" + ], + "replacement": "octokit.pulls.listRequestedReviewers" + }, + "description": "`octokit.pulls.listReviewRequests` was renamed to `octokit.pulls.listRequestedReviewers` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.listReviewRequests()` has been renamed to `octokit.pulls.listRequestedReviewers()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.listReviewRequests()` has been renamed to `octokit.pulls.listRequestedReviewers()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 80, + "fingerprint": "sha256:d42a364aba21463adb4aa4e5a95dd81ecaa7d2f37b63c4a3e5f60b4f7de9f23f", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.pulls.updateComment" + ], + "replacement": "octokit.pulls.updateReviewComment" + }, + "description": "`octokit.pulls.updateComment` was renamed to `octokit.pulls.updateReviewComment` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.pulls.updateComment()` has been renamed to `octokit.pulls.updateReviewComment()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.pulls.updateComment()` has been renamed to `octokit.pulls.updateReviewComment()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 81, + "fingerprint": "sha256:d62fe0641f356d2b93f014c7bc66248d4e4315a33d726b77cc65668df1f91cad", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.reactions.delete" + ], + "replacement": "octokit.reactions.deleteLegacy" + }, + "description": "`octokit.reactions.delete` was renamed to `octokit.reactions.deleteLegacy` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.reactions.delete()` has been renamed to `octokit.reactions.deleteLegacy()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.reactions.delete()` has been renamed to `octokit.reactions.deleteLegacy()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 82, + "fingerprint": "sha256:b16b1db8cd7cb008f34747b40aa9f6de3b485a8bc02a781f40425bfffcc958ba", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.addDeployKey" + ], + "replacement": "octokit.repos.createDeployKey" + }, + "description": "`octokit.repos.addDeployKey` was renamed to `octokit.repos.createDeployKey` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.addDeployKey()` has been renamed to `octokit.repos.createDeployKey()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.addDeployKey()` has been renamed to `octokit.repos.createDeployKey()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 83, + "fingerprint": "sha256:3f9bf4bb647ff88d11e39bd224eb5cc926a54ff850ec72a6a11cdcb89f9657cd", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.addProtectedBranchAdminEnforcement" + ], + "replacement": "octokit.repos.setAdminBranchProtection" + }, + "description": "`octokit.repos.addProtectedBranchAdminEnforcement` was renamed to `octokit.repos.setAdminBranchProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.addProtectedBranchAdminEnforcement()` has been renamed to `octokit.repos.setAdminBranchProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.addProtectedBranchAdminEnforcement()` has been renamed to `octokit.repos.setAdminBranchProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 84, + "fingerprint": "sha256:0b2f3fb1ed68715c452d065c3bcae93d420af60891799ceeb4d9c9fcc3db0770", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.addProtectedBranchAppRestrictions" + ], + "replacement": "octokit.repos.addAppAccessRestrictions" + }, + "description": "`octokit.repos.addProtectedBranchAppRestrictions` was renamed to `octokit.repos.addAppAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.addProtectedBranchAppRestrictions()` has been renamed to `octokit.repos.addAppAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.addProtectedBranchAppRestrictions()` has been renamed to `octokit.repos.addAppAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 85, + "fingerprint": "sha256:e175a33924607891a580e004d1a40f259c38eb43c5d31058b473715620fb126a", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.addProtectedBranchRequiredSignatures" + ], + "replacement": "octokit.repos.createCommitSignatureProtection" + }, + "description": "`octokit.repos.addProtectedBranchRequiredSignatures` was renamed to `octokit.repos.createCommitSignatureProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.addProtectedBranchRequiredSignatures()` has been renamed to `octokit.repos.createCommitSignatureProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.addProtectedBranchRequiredSignatures()` has been renamed to `octokit.repos.createCommitSignatureProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 86, + "fingerprint": "sha256:3133725705f1c5db2d7873ef2f624074e8053e56f7572496b97ddab6bb43f754", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.addProtectedBranchRequiredStatusChecksContexts" + ], + "replacement": "octokit.repos.addStatusCheckContexts" + }, + "description": "`octokit.repos.addProtectedBranchRequiredStatusChecksContexts` was renamed to `octokit.repos.addStatusCheckContexts` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.addProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.addStatusCheckContexts()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.addProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.addStatusCheckContexts()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 87, + "fingerprint": "sha256:f68412ad7dfbc1576f27b98b740a71fa09c69524a6e7561532f8024a7f2cead0", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.addProtectedBranchTeamRestrictions" + ], + "replacement": "octokit.repos.addTeamAccessRestrictions" + }, + "description": "`octokit.repos.addProtectedBranchTeamRestrictions` was renamed to `octokit.repos.addTeamAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.addProtectedBranchTeamRestrictions()` has been renamed to `octokit.repos.addTeamAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.addProtectedBranchTeamRestrictions()` has been renamed to `octokit.repos.addTeamAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 88, + "fingerprint": "sha256:3351e373cb387fd1d2f1c5f117b502fad7daa7e5e3c17a3a7bafd6a3227798eb", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.addProtectedBranchUserRestrictions" + ], + "replacement": "octokit.repos.addUserAccessRestrictions" + }, + "description": "`octokit.repos.addProtectedBranchUserRestrictions` was renamed to `octokit.repos.addUserAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.addProtectedBranchUserRestrictions()` has been renamed to `octokit.repos.addUserAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.addProtectedBranchUserRestrictions()` has been renamed to `octokit.repos.addUserAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 89, + "fingerprint": "sha256:6492c3c70963d20962178d05b8dad30445dedb5f8a76c2ec1654121f220f67f8", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.createHook" + ], + "replacement": "octokit.repos.createWebhook" + }, + "description": "`octokit.repos.createHook` was renamed to `octokit.repos.createWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.createHook()` has been renamed to `octokit.repos.createWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.createHook()` has been renamed to `octokit.repos.createWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 90, + "fingerprint": "sha256:58ea0a86659baaf8c7fa1f0178055c439d5464c351adda9c23f269e247160ed2", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.createOrUpdateFile" + ], + "replacement": "octokit.repos.createOrUpdateFileContents" + }, + "description": "`octokit.repos.createOrUpdateFile` was renamed to `octokit.repos.createOrUpdateFileContents` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.createOrUpdateFile()` has been renamed to `octokit.repos.createOrUpdateFileContents()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.createOrUpdateFile()` has been renamed to `octokit.repos.createOrUpdateFileContents()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 91, + "fingerprint": "sha256:aa81fddf88da73a0b4e52cad80ffd11193891f61027291c14187b4e16cd0b8e3", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.createStatus" + ], + "replacement": "octokit.repos.createCommitStatus" + }, + "description": "`octokit.repos.createStatus` was renamed to `octokit.repos.createCommitStatus` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.createStatus()` has been renamed to `octokit.repos.createCommitStatus()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.createStatus()` has been renamed to `octokit.repos.createCommitStatus()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 92, + "fingerprint": "sha256:ccf1b40eb36e5fa61a3a498bd312eab0709c82cb1c8d8fccd0717aaba3ac130e", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.deleteHook" + ], + "replacement": "octokit.repos.deleteWebhook" + }, + "description": "`octokit.repos.deleteHook` was renamed to `octokit.repos.deleteWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.deleteHook()` has been renamed to `octokit.repos.deleteWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.deleteHook()` has been renamed to `octokit.repos.deleteWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 93, + "fingerprint": "sha256:cf91d2ded6985a006fc4e0570548e5988f3ebd51fc5b7e8f7f6bdccaa391a99f", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.disablePagesSite" + ], + "replacement": "octokit.repos.deletePagesSite" + }, + "description": "`octokit.repos.disablePagesSite` was renamed to `octokit.repos.deletePagesSite` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.disablePagesSite()` has been renamed to `octokit.repos.deletePagesSite()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.disablePagesSite()` has been renamed to `octokit.repos.deletePagesSite()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 94, + "fingerprint": "sha256:afeda36fdf800fc9aebb6e85df88a213961141a5c8fe5579ebca5ecd5d8c83db", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.enablePagesSite" + ], + "replacement": "octokit.repos.createPagesSite" + }, + "description": "`octokit.repos.enablePagesSite` was renamed to `octokit.repos.createPagesSite` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.enablePagesSite()` has been renamed to `octokit.repos.createPagesSite()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.enablePagesSite()` has been renamed to `octokit.repos.createPagesSite()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 95, + "fingerprint": "sha256:65c2061fbe2ba6731d1599058352f7199389832969d072c1128f54b11d05e230", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.getArchiveLink" + ], + "replacement": "octokit.repos.downloadArchive" + }, + "description": "`octokit.repos.getArchiveLink` was renamed to `octokit.repos.downloadArchive` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.getArchiveLink()` has been renamed to `octokit.repos.downloadArchive()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.getArchiveLink()` has been renamed to `octokit.repos.downloadArchive()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 96, + "fingerprint": "sha256:5276c5382b8c0a8f15f5446f3b5cefbd00c5bdad99c4277868cd8e9ed6f7ed34", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.getContents" + ], + "replacement": "octokit.repos.getContent" + }, + "description": "`octokit.repos.getContents` was renamed to `octokit.repos.getContent` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.getContents()` has been renamed to `octokit.repos.getContent()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.getContents()` has been renamed to `octokit.repos.getContent()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 97, + "fingerprint": "sha256:201dda9bb3c79f6e94c0024456e3e616ff16bbf57e5f1ac5821cea2f1cf8150d", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.getHook" + ], + "replacement": "octokit.repos.getWebhook" + }, + "description": "`octokit.repos.getHook` was renamed to `octokit.repos.getWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.getHook()` has been renamed to `octokit.repos.getWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.getHook()` has been renamed to `octokit.repos.getWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 98, + "fingerprint": "sha256:969909273d4733d8c5189fde845c1f377c5cf05d4a6bf20647e79e67bfcc1e9f", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.getProtectedBranchAdminEnforcement" + ], + "replacement": "octokit.repos.getAdminBranchProtection" + }, + "description": "`octokit.repos.getProtectedBranchAdminEnforcement` was renamed to `octokit.repos.getAdminBranchProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.getProtectedBranchAdminEnforcement()` has been renamed to `octokit.repos.getAdminBranchProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.getProtectedBranchAdminEnforcement()` has been renamed to `octokit.repos.getAdminBranchProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 99, + "fingerprint": "sha256:cbca59943bcf10d8631a3fc6085610563e55512347ecce26daec671d0e9431dd", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.getProtectedBranchPullRequestReviewEnforcement" + ], + "replacement": "octokit.repos.getPullRequestReviewProtection" + }, + "description": "`octokit.repos.getProtectedBranchPullRequestReviewEnforcement` was renamed to `octokit.repos.getPullRequestReviewProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.getProtectedBranchPullRequestReviewEnforcement()` has been renamed to `octokit.repos.getPullRequestReviewProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.getProtectedBranchPullRequestReviewEnforcement()` has been renamed to `octokit.repos.getPullRequestReviewProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 100, + "fingerprint": "sha256:999f816a65a6a1b0fede85f0309df18ccbe7c16fcf15ce4720a323a8a5356a14", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.getProtectedBranchRequiredSignatures" + ], + "replacement": "octokit.repos.getCommitSignatureProtection" + }, + "description": "`octokit.repos.getProtectedBranchRequiredSignatures` was renamed to `octokit.repos.getCommitSignatureProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.getProtectedBranchRequiredSignatures()` has been renamed to `octokit.repos.getCommitSignatureProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.getProtectedBranchRequiredSignatures()` has been renamed to `octokit.repos.getCommitSignatureProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 101, + "fingerprint": "sha256:4b093fb05e8c9c6e2b5fe8eb7a85e669b70eef09c39a255e2e70629c9a1b3827", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.getProtectedBranchRequiredStatusChecks" + ], + "replacement": "octokit.repos.getStatusChecksProtection" + }, + "description": "`octokit.repos.getProtectedBranchRequiredStatusChecks` was renamed to `octokit.repos.getStatusChecksProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.getProtectedBranchRequiredStatusChecks()` has been renamed to `octokit.repos.getStatusChecksProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.getProtectedBranchRequiredStatusChecks()` has been renamed to `octokit.repos.getStatusChecksProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 102, + "fingerprint": "sha256:8df4d9e003cb1bb7160a7e8f5487d03a39fb75f9434f37897af71bd00d1f51ac", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.getProtectedBranchRestrictions" + ], + "replacement": "octokit.repos.getAccessRestrictions" + }, + "description": "`octokit.repos.getProtectedBranchRestrictions` was renamed to `octokit.repos.getAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.getProtectedBranchRestrictions()` has been renamed to `octokit.repos.getAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.getProtectedBranchRestrictions()` has been renamed to `octokit.repos.getAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 103, + "fingerprint": "sha256:6a72ac4c041ab94d77f36250156dd82087ebeeafb81e6add9fbb5d1131c0db93", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.list" + ], + "replacement": "octokit.repos.listForAuthenticatedUser" + }, + "description": "`octokit.repos.list` was renamed to `octokit.repos.listForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.list()` has been renamed to `octokit.repos.listForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.list()` has been renamed to `octokit.repos.listForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 104, + "fingerprint": "sha256:948b037066e31c183a713ca6158db88da690b5c2321a461632f8d87f4b8bb0ad", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.listAssetsForRelease" + ], + "replacement": "octokit.repos.listReleaseAssets" + }, + "description": "`octokit.repos.listAssetsForRelease` was renamed to `octokit.repos.listReleaseAssets` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.listAssetsForRelease()` has been renamed to `octokit.repos.listReleaseAssets()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.listAssetsForRelease()` has been renamed to `octokit.repos.listReleaseAssets()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 105, + "fingerprint": "sha256:511782657df66357abda2a455faca151d7c3a4144a8518933dc7c9e2dce1782a", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.listCommitComments" + ], + "replacement": "octokit.repos.listCommitCommentsForRepo" + }, + "description": "`octokit.repos.listCommitComments` was renamed to `octokit.repos.listCommitCommentsForRepo` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.listCommitComments()` has been renamed to `octokit.repos.listCommitCommentsForRepo()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.listCommitComments()` has been renamed to `octokit.repos.listCommitCommentsForRepo()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 106, + "fingerprint": "sha256:fd3d90b1195c74d58b2d2cf24af1ca0ffe759bd0cfcd6adaf395246f75ccbbf0", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.listHooks" + ], + "replacement": "octokit.repos.listWebhooks" + }, + "description": "`octokit.repos.listHooks` was renamed to `octokit.repos.listWebhooks` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.listHooks()` has been renamed to `octokit.repos.listWebhooks()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.listHooks()` has been renamed to `octokit.repos.listWebhooks()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 107, + "fingerprint": "sha256:7dae791a06ad21b7f73187d2051888eb8294d3bfe11f639cb3b4848772275aeb", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.listProtectedBranchRequiredStatusChecksContexts" + ], + "replacement": "octokit.repos.getAllStatusCheckContexts" + }, + "description": "`octokit.repos.listProtectedBranchRequiredStatusChecksContexts` was renamed to `octokit.repos.getAllStatusCheckContexts` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.listProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.getAllStatusCheckContexts()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.listProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.getAllStatusCheckContexts()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 108, + "fingerprint": "sha256:0d64d56f5f0d0558be44d114a08bc73e253ff51280b023454e97470f848b094e", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.listStatusesForRef" + ], + "replacement": "octokit.repos.listCommitStatusesForRef" + }, + "description": "`octokit.repos.listStatusesForRef` was renamed to `octokit.repos.listCommitStatusesForRef` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.listStatusesForRef()` has been renamed to `octokit.repos.listCommitStatusesForRef()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.listStatusesForRef()` has been renamed to `octokit.repos.listCommitStatusesForRef()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 109, + "fingerprint": "sha256:4d2c16e9c1a60ad8a2c9bf3e016b7cb01ec40a733855597ab519b59c4e34cb27", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.listTopics" + ], + "replacement": "octokit.repos.getAllTopics" + }, + "description": "`octokit.repos.listTopics` was renamed to `octokit.repos.getAllTopics` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.listTopics()` has been renamed to `octokit.repos.getAllTopics()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.listTopics()` has been renamed to `octokit.repos.getAllTopics()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 110, + "fingerprint": "sha256:5220a97d44e18009a08d1493c82c31ed89f7a380fe52e4e4b91888a2e9c14607", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.pingHook" + ], + "replacement": "octokit.repos.pingWebhook" + }, + "description": "`octokit.repos.pingHook` was renamed to `octokit.repos.pingWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.pingHook()` has been renamed to `octokit.repos.pingWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.pingHook()` has been renamed to `octokit.repos.pingWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 111, + "fingerprint": "sha256:3082547c00d1a2bc75fcd795ecdd9ec3bfd0c486613ba5d1cd6160551fccae19", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeBranchProtection" + ], + "replacement": "octokit.repos.deleteBranchProtection" + }, + "description": "`octokit.repos.removeBranchProtection` was renamed to `octokit.repos.deleteBranchProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeBranchProtection()` has been renamed to `octokit.repos.deleteBranchProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeBranchProtection()` has been renamed to `octokit.repos.deleteBranchProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 112, + "fingerprint": "sha256:89a804a8a0193deb79e22db6297806674022652ab3934d6fbbc517d5b26515b7", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeDeployKey" + ], + "replacement": "octokit.repos.deleteDeployKey" + }, + "description": "`octokit.repos.removeDeployKey` was renamed to `octokit.repos.deleteDeployKey` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeDeployKey()` has been renamed to `octokit.repos.deleteDeployKey()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeDeployKey()` has been renamed to `octokit.repos.deleteDeployKey()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 113, + "fingerprint": "sha256:5c67c09fe113d34269b0f1544e7f609d95ce172add27807878174fe4cc8b53b4", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeProtectedBranchAdminEnforcement" + ], + "replacement": "octokit.repos.deleteAdminBranchProtection" + }, + "description": "`octokit.repos.removeProtectedBranchAdminEnforcement` was renamed to `octokit.repos.deleteAdminBranchProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeProtectedBranchAdminEnforcement()` has been renamed to `octokit.repos.deleteAdminBranchProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeProtectedBranchAdminEnforcement()` has been renamed to `octokit.repos.deleteAdminBranchProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 114, + "fingerprint": "sha256:59549be63889f93a82841a40cb83d4b61624b9ede06d0deae72d33e8c3060482", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeProtectedBranchAppRestrictions" + ], + "replacement": "octokit.repos.removeAppAccessRestrictions" + }, + "description": "`octokit.repos.removeProtectedBranchAppRestrictions` was renamed to `octokit.repos.removeAppAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeProtectedBranchAppRestrictions()` has been renamed to `octokit.repos.removeAppAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeProtectedBranchAppRestrictions()` has been renamed to `octokit.repos.removeAppAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 115, + "fingerprint": "sha256:05a8e25e653e02d70494e8a5ed1f60b12e2cd5df03979aeedbaef58a87334547", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeProtectedBranchPullRequestReviewEnforcement" + ], + "replacement": "octokit.repos.deletePullRequestReviewProtection" + }, + "description": "`octokit.repos.removeProtectedBranchPullRequestReviewEnforcement` was renamed to `octokit.repos.deletePullRequestReviewProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeProtectedBranchPullRequestReviewEnforcement()` has been renamed to `octokit.repos.deletePullRequestReviewProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeProtectedBranchPullRequestReviewEnforcement()` has been renamed to `octokit.repos.deletePullRequestReviewProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 116, + "fingerprint": "sha256:768eb43858498da543c0e6a7da615e102363d5b87dac4d8addea5f6827f1e574", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeProtectedBranchRequiredSignatures" + ], + "replacement": "octokit.repos.deleteCommitSignatureProtection" + }, + "description": "`octokit.repos.removeProtectedBranchRequiredSignatures` was renamed to `octokit.repos.deleteCommitSignatureProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeProtectedBranchRequiredSignatures()` has been renamed to `octokit.repos.deleteCommitSignatureProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeProtectedBranchRequiredSignatures()` has been renamed to `octokit.repos.deleteCommitSignatureProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 117, + "fingerprint": "sha256:f9d9f4cf8b32027a2d5b76735538cc653992640c31464483622d9efee2947fce", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeProtectedBranchRequiredStatusChecks" + ], + "replacement": "octokit.repos.removeStatusChecksProtection" + }, + "description": "`octokit.repos.removeProtectedBranchRequiredStatusChecks` was renamed to `octokit.repos.removeStatusChecksProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeProtectedBranchRequiredStatusChecks()` has been renamed to `octokit.repos.removeStatusChecksProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeProtectedBranchRequiredStatusChecks()` has been renamed to `octokit.repos.removeStatusChecksProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 118, + "fingerprint": "sha256:411852b04fc8e25656f1107864de40aea34bf277685c8b5df30a19e1ac64048d", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeProtectedBranchRequiredStatusChecksContexts" + ], + "replacement": "octokit.repos.removeStatusCheckContexts" + }, + "description": "`octokit.repos.removeProtectedBranchRequiredStatusChecksContexts` was renamed to `octokit.repos.removeStatusCheckContexts` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.removeStatusCheckContexts()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.removeStatusCheckContexts()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 119, + "fingerprint": "sha256:286618b297f1284c1d693b534b7ddb2f207dfba807fceeabc39dbef6d9016511", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeProtectedBranchRestrictions" + ], + "replacement": "octokit.repos.deleteAccessRestrictions" + }, + "description": "`octokit.repos.removeProtectedBranchRestrictions` was renamed to `octokit.repos.deleteAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeProtectedBranchRestrictions()` has been renamed to `octokit.repos.deleteAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeProtectedBranchRestrictions()` has been renamed to `octokit.repos.deleteAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 120, + "fingerprint": "sha256:c9cc68f7242b647cee6d37e174952096689a9afde4f13cfada069a9b18f0290b", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeProtectedBranchTeamRestrictions" + ], + "replacement": "octokit.repos.removeTeamAccessRestrictions" + }, + "description": "`octokit.repos.removeProtectedBranchTeamRestrictions` was renamed to `octokit.repos.removeTeamAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeProtectedBranchTeamRestrictions()` has been renamed to `octokit.repos.removeTeamAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeProtectedBranchTeamRestrictions()` has been renamed to `octokit.repos.removeTeamAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 121, + "fingerprint": "sha256:6d6707240845aae6a6ef92667b2a0dce475bc6a6a97b70d6698b84d4a85f5ba6", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.removeProtectedBranchUserRestrictions" + ], + "replacement": "octokit.repos.removeUserAccessRestrictions" + }, + "description": "`octokit.repos.removeProtectedBranchUserRestrictions` was renamed to `octokit.repos.removeUserAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.removeProtectedBranchUserRestrictions()` has been renamed to `octokit.repos.removeUserAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.removeProtectedBranchUserRestrictions()` has been renamed to `octokit.repos.removeUserAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 122, + "fingerprint": "sha256:9297eba58857da3431bea1b525778687c8f4bf6013aa5abdd7c29fb91d9fcf5b", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.replaceProtectedBranchAppRestrictions" + ], + "replacement": "octokit.repos.setAppAccessRestrictions" + }, + "description": "`octokit.repos.replaceProtectedBranchAppRestrictions` was renamed to `octokit.repos.setAppAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.replaceProtectedBranchAppRestrictions()` has been renamed to `octokit.repos.setAppAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.replaceProtectedBranchAppRestrictions()` has been renamed to `octokit.repos.setAppAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 123, + "fingerprint": "sha256:ef7a6abdc7422fd58ba7498c3dae4cc42910ddcf0786534ca62a47b5dbfa78f2", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.replaceProtectedBranchRequiredStatusChecksContexts" + ], + "replacement": "octokit.repos.setStatusCheckContexts" + }, + "description": "`octokit.repos.replaceProtectedBranchRequiredStatusChecksContexts` was renamed to `octokit.repos.setStatusCheckContexts` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.replaceProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.setStatusCheckContexts()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.replaceProtectedBranchRequiredStatusChecksContexts()` has been renamed to `octokit.repos.setStatusCheckContexts()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 124, + "fingerprint": "sha256:e9cb9f177ccd5efd887ea1618bf09be234b35b21780632b39dc7f9840a992964", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.replaceProtectedBranchTeamRestrictions" + ], + "replacement": "octokit.repos.setTeamAccessRestrictions" + }, + "description": "`octokit.repos.replaceProtectedBranchTeamRestrictions` was renamed to `octokit.repos.setTeamAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.replaceProtectedBranchTeamRestrictions()` has been renamed to `octokit.repos.setTeamAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.replaceProtectedBranchTeamRestrictions()` has been renamed to `octokit.repos.setTeamAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 125, + "fingerprint": "sha256:2c875dde2a8da9f6d8cf46f150965c8d41d4a8e8849d5f7c66ad13e8924725ad", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.replaceProtectedBranchUserRestrictions" + ], + "replacement": "octokit.repos.setUserAccessRestrictions" + }, + "description": "`octokit.repos.replaceProtectedBranchUserRestrictions` was renamed to `octokit.repos.setUserAccessRestrictions` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.replaceProtectedBranchUserRestrictions()` has been renamed to `octokit.repos.setUserAccessRestrictions()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.replaceProtectedBranchUserRestrictions()` has been renamed to `octokit.repos.setUserAccessRestrictions()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 126, + "fingerprint": "sha256:d55d95a5399b045ec501ddca9148fb58ef4c0dfebc25127f86ede5e03dff931a", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.replaceTopics" + ], + "replacement": "octokit.repos.replaceAllTopics" + }, + "description": "`octokit.repos.replaceTopics` was renamed to `octokit.repos.replaceAllTopics` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.replaceTopics()` has been renamed to `octokit.repos.replaceAllTopics()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.replaceTopics()` has been renamed to `octokit.repos.replaceAllTopics()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 127, + "fingerprint": "sha256:8f135939ca7aa9f36fa16aa3f010bfd67a9101afa666979a9128790a0f411820", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.requestPageBuild" + ], + "replacement": "octokit.repos.requestPagesBuild" + }, + "description": "`octokit.repos.requestPageBuild` was renamed to `octokit.repos.requestPagesBuild` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.requestPageBuild()` has been renamed to `octokit.repos.requestPagesBuild()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.requestPageBuild()` has been renamed to `octokit.repos.requestPagesBuild()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 128, + "fingerprint": "sha256:380e12790535d24d156ff320b02ba8a48ae797df94a425c22b88e842b825ed22", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.retrieveCommunityProfileMetrics" + ], + "replacement": "octokit.repos.getCommunityProfileMetrics" + }, + "description": "`octokit.repos.retrieveCommunityProfileMetrics` was renamed to `octokit.repos.getCommunityProfileMetrics` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.retrieveCommunityProfileMetrics()` has been renamed to `octokit.repos.getCommunityProfileMetrics()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.retrieveCommunityProfileMetrics()` has been renamed to `octokit.repos.getCommunityProfileMetrics()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 129, + "fingerprint": "sha256:b6e3f46268b2fc04b657c9fb0688ab85f2a4cea2607536bb9b0f1ed509dbf921", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.testPushHook" + ], + "replacement": "octokit.repos.testPushWebhook" + }, + "description": "`octokit.repos.testPushHook` was renamed to `octokit.repos.testPushWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.testPushHook()` has been renamed to `octokit.repos.testPushWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.testPushHook()` has been renamed to `octokit.repos.testPushWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 130, + "fingerprint": "sha256:d54e6523d776109243c741a2c15e6784aab8f34ca7782dad5c1bd40b71b485d6", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.updateHook" + ], + "replacement": "octokit.repos.updateWebhook" + }, + "description": "`octokit.repos.updateHook` was renamed to `octokit.repos.updateWebhook` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.updateHook()` has been renamed to `octokit.repos.updateWebhook()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.updateHook()` has been renamed to `octokit.repos.updateWebhook()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 131, + "fingerprint": "sha256:846588a0a61f9480e24c3a7e4ea48420526f9e1cbdbe5e03258538324552221f", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.updateProtectedBranchPullRequestReviewEnforcement" + ], + "replacement": "octokit.repos.updatePullRequestReviewProtection" + }, + "description": "`octokit.repos.updateProtectedBranchPullRequestReviewEnforcement` was renamed to `octokit.repos.updatePullRequestReviewProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.updateProtectedBranchPullRequestReviewEnforcement()` has been renamed to `octokit.repos.updatePullRequestReviewProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.updateProtectedBranchPullRequestReviewEnforcement()` has been renamed to `octokit.repos.updatePullRequestReviewProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 132, + "fingerprint": "sha256:de7c071d5a76899d3bd868d0d5e88714c25706febd203ef24d3f3c0f53811538", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.repos.updateProtectedBranchRequiredStatusChecks" + ], + "replacement": "octokit.repos.updateStatusChecksProtection" + }, + "description": "`octokit.repos.updateProtectedBranchRequiredStatusChecks` was renamed to `octokit.repos.updateStatusChecksProtection` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.repos.updateProtectedBranchRequiredStatusChecks()` has been renamed to `octokit.repos.updateStatusChecksProtection()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.repos.updateProtectedBranchRequiredStatusChecks()` has been renamed to `octokit.repos.updateStatusChecksProtection()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 133, + "fingerprint": "sha256:a94ce88718cc5907aeceb622ea23629bba1380c254fe34ed48fa1f7870cbc181", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.teams.addOrUpdateMembershipInOrg" + ], + "replacement": "octokit.teams.addOrUpdateMembershipForUserInOrg" + }, + "description": "`octokit.teams.addOrUpdateMembershipInOrg` was renamed to `octokit.teams.addOrUpdateMembershipForUserInOrg` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.teams.addOrUpdateMembershipInOrg()` has been renamed to `octokit.teams.addOrUpdateMembershipForUserInOrg()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.teams.addOrUpdateMembershipInOrg()` has been renamed to `octokit.teams.addOrUpdateMembershipForUserInOrg()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 134, + "fingerprint": "sha256:4e9f40f958a430b6bfb53e4a144b45252b16b9c195c839d0be258d842790f141", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.teams.addOrUpdateProjectInOrg" + ], + "replacement": "octokit.teams.addOrUpdateProjectPermissionsInOrg" + }, + "description": "`octokit.teams.addOrUpdateProjectInOrg` was renamed to `octokit.teams.addOrUpdateProjectPermissionsInOrg` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.teams.addOrUpdateProjectInOrg()` has been renamed to `octokit.teams.addOrUpdateProjectPermissionsInOrg()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.teams.addOrUpdateProjectInOrg()` has been renamed to `octokit.teams.addOrUpdateProjectPermissionsInOrg()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 135, + "fingerprint": "sha256:05bba68c891af4e61923bcc405021e23fd37de19a74230372af02be6b2c16fc3", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.teams.addOrUpdateRepoInOrg" + ], + "replacement": "octokit.teams.addOrUpdateRepoPermissionsInOrg" + }, + "description": "`octokit.teams.addOrUpdateRepoInOrg` was renamed to `octokit.teams.addOrUpdateRepoPermissionsInOrg` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.teams.addOrUpdateRepoInOrg()` has been renamed to `octokit.teams.addOrUpdateRepoPermissionsInOrg()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.teams.addOrUpdateRepoInOrg()` has been renamed to `octokit.teams.addOrUpdateRepoPermissionsInOrg()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 136, + "fingerprint": "sha256:e87ec583c77b3191e1424b49e6ea8bb519f5e6c17702ef4f65bb55d910aedecd", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.teams.checkManagesRepoInOrg" + ], + "replacement": "octokit.teams.checkPermissionsForRepoInOrg" + }, + "description": "`octokit.teams.checkManagesRepoInOrg` was renamed to `octokit.teams.checkPermissionsForRepoInOrg` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.teams.checkManagesRepoInOrg()` has been renamed to `octokit.teams.checkPermissionsForRepoInOrg()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.teams.checkManagesRepoInOrg()` has been renamed to `octokit.teams.checkPermissionsForRepoInOrg()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 137, + "fingerprint": "sha256:ea9876f4a20b1e343982f78426b70fe83d42bcc941428a37004587e8c99b0eee", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.teams.getMembershipInOrg" + ], + "replacement": "octokit.teams.getMembershipForUserInOrg" + }, + "description": "`octokit.teams.getMembershipInOrg` was renamed to `octokit.teams.getMembershipForUserInOrg` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.teams.getMembershipInOrg()` has been renamed to `octokit.teams.getMembershipForUserInOrg()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.teams.getMembershipInOrg()` has been renamed to `octokit.teams.getMembershipForUserInOrg()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 138, + "fingerprint": "sha256:a4951373818460b316f4bd03de63874b449dca257155cafb353392652d5ee757", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.teams.removeMembershipInOrg" + ], + "replacement": "octokit.teams.removeMembershipForUserInOrg" + }, + "description": "`octokit.teams.removeMembershipInOrg` was renamed to `octokit.teams.removeMembershipForUserInOrg` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.teams.removeMembershipInOrg()` has been renamed to `octokit.teams.removeMembershipForUserInOrg()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.teams.removeMembershipInOrg()` has been renamed to `octokit.teams.removeMembershipForUserInOrg()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 139, + "fingerprint": "sha256:7dbef5f36043e3f2f1bb5db51aedbfc9db92e5f6a9e957fff370e6793d21ab58", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.teams.reviewProjectInOrg" + ], + "replacement": "octokit.teams.checkPermissionsForProjectInOrg" + }, + "description": "`octokit.teams.reviewProjectInOrg` was renamed to `octokit.teams.checkPermissionsForProjectInOrg` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.teams.reviewProjectInOrg()` has been renamed to `octokit.teams.checkPermissionsForProjectInOrg()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.teams.reviewProjectInOrg()` has been renamed to `octokit.teams.checkPermissionsForProjectInOrg()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 140, + "fingerprint": "sha256:f168ff7edb669d82aad6d50382807f10def9ff46a72bab3e2a5fc7a2d5e8a146", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.addEmails" + ], + "replacement": "octokit.users.addEmailsForAuthenticated" + }, + "description": "`octokit.users.addEmails` was renamed to `octokit.users.addEmailsForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.addEmails()` has been renamed to `octokit.users.addEmailsForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.addEmails()` has been renamed to `octokit.users.addEmailsForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 141, + "fingerprint": "sha256:cc6378fbc15a76abb7bee944dccfa6dd61f46add20e47c7d6d8cb083e721bc87", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.checkFollowing" + ], + "replacement": "octokit.users.checkPersonIsFollowedByAuthenticated" + }, + "description": "`octokit.users.checkFollowing` was renamed to `octokit.users.checkPersonIsFollowedByAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.checkFollowing()` has been renamed to `octokit.users.checkPersonIsFollowedByAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.checkFollowing()` has been renamed to `octokit.users.checkPersonIsFollowedByAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 142, + "fingerprint": "sha256:c0eb1ee003508c6188f2a7f72b3431f6f73a022a03949a283a9a9568c3b20b91", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.createGpgKey" + ], + "replacement": "octokit.users.createGpgKeyForAuthenticated" + }, + "description": "`octokit.users.createGpgKey` was renamed to `octokit.users.createGpgKeyForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.createGpgKey()` has been renamed to `octokit.users.createGpgKeyForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.createGpgKey()` has been renamed to `octokit.users.createGpgKeyForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 143, + "fingerprint": "sha256:f257ed61eb4d4cc46b4a7b53c47a20d200abe951c0b53d69b98f2ba073e8c235", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.createPublicKey" + ], + "replacement": "octokit.users.createPublicSshKeyForAuthenticated" + }, + "description": "`octokit.users.createPublicKey` was renamed to `octokit.users.createPublicSshKeyForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.createPublicKey()` has been renamed to `octokit.users.createPublicSshKeyForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.createPublicKey()` has been renamed to `octokit.users.createPublicSshKeyForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 144, + "fingerprint": "sha256:48736a61ccbb5360ee19f7a41e5933be095fa8b06a6aa3d944f2cc07bf19864e", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.deleteEmails" + ], + "replacement": "octokit.users.deleteEmailsForAuthenticated" + }, + "description": "`octokit.users.deleteEmails` was renamed to `octokit.users.deleteEmailsForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.deleteEmails()` has been renamed to `octokit.users.deleteEmailsForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.deleteEmails()` has been renamed to `octokit.users.deleteEmailsForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 145, + "fingerprint": "sha256:dce0ae3d8025f82af0e2a4c6e6a311521430d617670d23b6b0073f2b07cecb50", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.deleteGpgKey" + ], + "replacement": "octokit.users.deleteGpgKeyForAuthenticated" + }, + "description": "`octokit.users.deleteGpgKey` was renamed to `octokit.users.deleteGpgKeyForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.deleteGpgKey()` has been renamed to `octokit.users.deleteGpgKeyForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.deleteGpgKey()` has been renamed to `octokit.users.deleteGpgKeyForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 146, + "fingerprint": "sha256:4e3f02a6148b21b9771f571077f3a1642ef943361eed95cd2eed00c70b959a1d", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.deletePublicKey" + ], + "replacement": "octokit.users.deletePublicSshKeyForAuthenticated" + }, + "description": "`octokit.users.deletePublicKey` was renamed to `octokit.users.deletePublicSshKeyForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.deletePublicKey()` has been renamed to `octokit.users.deletePublicSshKeyForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.deletePublicKey()` has been renamed to `octokit.users.deletePublicSshKeyForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 147, + "fingerprint": "sha256:1808b2e7149f1515ae910bf40b3188819e2131a6c5a5ac4845a25002e1fd73e4", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.getGpgKey" + ], + "replacement": "octokit.users.getGpgKeyForAuthenticated" + }, + "description": "`octokit.users.getGpgKey` was renamed to `octokit.users.getGpgKeyForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.getGpgKey()` has been renamed to `octokit.users.getGpgKeyForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.getGpgKey()` has been renamed to `octokit.users.getGpgKeyForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 148, + "fingerprint": "sha256:c976bebdb6a16401066635da15a695ba5f931c9ae02f33f928dcba061ce8fe70", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.getPublicKey" + ], + "replacement": "octokit.users.getPublicSshKeyForAuthenticated" + }, + "description": "`octokit.users.getPublicKey` was renamed to `octokit.users.getPublicSshKeyForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.getPublicKey()` has been renamed to `octokit.users.getPublicSshKeyForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.getPublicKey()` has been renamed to `octokit.users.getPublicSshKeyForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 149, + "fingerprint": "sha256:7216061a17e74de3af6673c0ff4feb472dbc357b2df444df8b5401f15ff353b6", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.listBlocked" + ], + "replacement": "octokit.users.listBlockedByAuthenticated" + }, + "description": "`octokit.users.listBlocked` was renamed to `octokit.users.listBlockedByAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.listBlocked()` has been renamed to `octokit.users.listBlockedByAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.listBlocked()` has been renamed to `octokit.users.listBlockedByAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 150, + "fingerprint": "sha256:3e8949078c15c3f008b2e615869f2f63d0ee63974d8adfbafbd5a97ab94d5e95", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.listEmails" + ], + "replacement": "octokit.users.listEmailsForAuthenticated" + }, + "description": "`octokit.users.listEmails` was renamed to `octokit.users.listEmailsForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.listEmails()` has been renamed to `octokit.users.listEmailsForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.listEmails()` has been renamed to `octokit.users.listEmailsForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 151, + "fingerprint": "sha256:ad23c18e59a47990e2e2d6a00bb759d4682955405ec01b3a3a2326e56c973572", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.listFollowingForAuthenticatedUser" + ], + "replacement": "octokit.users.listFollowedByAuthenticated" + }, + "description": "`octokit.users.listFollowingForAuthenticatedUser` was renamed to `octokit.users.listFollowedByAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.listFollowingForAuthenticatedUser()` has been renamed to `octokit.users.listFollowedByAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.listFollowingForAuthenticatedUser()` has been renamed to `octokit.users.listFollowedByAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 152, + "fingerprint": "sha256:d3ceed01b0bf6db784a227d2a6fff3029369f09ea02e50a4bca20156d67331cf", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.listGpgKeys" + ], + "replacement": "octokit.users.listGpgKeysForAuthenticated" + }, + "description": "`octokit.users.listGpgKeys` was renamed to `octokit.users.listGpgKeysForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.listGpgKeys()` has been renamed to `octokit.users.listGpgKeysForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.listGpgKeys()` has been renamed to `octokit.users.listGpgKeysForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 153, + "fingerprint": "sha256:87d334d013d3f34b5f1225f3da96b1d08e352be3c07f93cb7408cfc8b7cbfe8a", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.listPublicEmails" + ], + "replacement": "octokit.users.listPublicEmailsForAuthenticatedUser" + }, + "description": "`octokit.users.listPublicEmails` was renamed to `octokit.users.listPublicEmailsForAuthenticatedUser` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.listPublicEmails()` has been renamed to `octokit.users.listPublicEmailsForAuthenticatedUser()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.listPublicEmails()` has been renamed to `octokit.users.listPublicEmailsForAuthenticatedUser()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 154, + "fingerprint": "sha256:d69ddf7dbac3efc3b3d5f74a22b6a060acee8b09541fd9be8393523d51936ecf", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.listPublicKeys" + ], + "replacement": "octokit.users.listPublicSshKeysForAuthenticated" + }, + "description": "`octokit.users.listPublicKeys` was renamed to `octokit.users.listPublicSshKeysForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.listPublicKeys()` has been renamed to `octokit.users.listPublicSshKeysForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.listPublicKeys()` has been renamed to `octokit.users.listPublicSshKeysForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 155, + "fingerprint": "sha256:5ea214e6596178c5b74e677fc613f0a1e1fbc98357f782c1e93376fdc1099532", + "api": "github/octokit-rest", + "version": "18.0.0", + "previous_version": "17.11.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@octokit/rest", + "change": "renamed_symbol", + "symbols": [ + "octokit.users.togglePrimaryEmailVisibility" + ], + "replacement": "octokit.users.setPrimaryEmailVisibilityForAuthenticated" + }, + "description": "`octokit.users.togglePrimaryEmailVisibility` was renamed to `octokit.users.setPrimaryEmailVisibilityForAuthenticated` in @octokit/rest 18.0.0: code using the old name fails.", + "migration_hint": "`octokit.users.togglePrimaryEmailVisibility()` has been renamed to `octokit.users.setPrimaryEmailVisibilityForAuthenticated()` (@octokit/rest's release notes for 18.0.0)", + "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", + "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.users.togglePrimaryEmailVisibility()` has been renamed to `octokit.users.setPrimaryEmailVisibilityForAuthenticated()`", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/posthog-go.json b/plugins/changelog/testdata/golden/posthog-go.json new file mode 100644 index 0000000..63bcd36 --- /dev/null +++ b/plugins/changelog/testdata/golden/posthog-go.json @@ -0,0 +1,27 @@ +[ + { + "id": 1, + "fingerprint": "sha256:72de49d11432e04c482b83a52e73b9d437daf91a20d460f906318f304973911d", + "api": "posthog/go", + "version": "2.0.0", + "previous_version": "1.44.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "go", + "package": "github.com/posthog/posthog-go/v2", + "change": "removed_symbol", + "symbols": [ + "Capture.Library", + "Exception.Library" + ] + }, + "description": "`Capture.Library`, `Exception.Library` were removed in github.com/posthog/posthog-go 2.0.0: code using it fails.", + "migration_hint": "fc05013: Remove `Capture.Library` and `Exception.Library`. Set `$lib` in the event's `Properties` instead, and set `$lib_version` with it: the SDK adds its own version only to its own `$lib`. `posthogmcp` events report `posthog-go-mcp` with the SDK version. See `docs/migration-v2.md`. (github.com/posthog/posthog-go's changelog for 2.0.0)", + "source_url": "https://raw.githubusercontent.com/PostHog/posthog-go/v2.0.0/CHANGELOG.md", + "source_excerpt": "## 2.0.0\nMajor Changes\n- fc05013: Remove `Capture.Library` and `Exception.Library`. Set `$lib` in the event's `Properties` instead, and set `$lib_version` with it: the SDK adds its own version only to its own `$lib`. `posthogmcp` events report `posthog-go-mcp` with the SDK version. See `docs/migration-v2.md`.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/golden/redis-ioredis.json b/plugins/changelog/testdata/golden/redis-ioredis.json new file mode 100644 index 0000000..28b4399 --- /dev/null +++ b/plugins/changelog/testdata/golden/redis-ioredis.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:8de16d9483ebddec7ba905f374643a198f9ebd65ffe881f6eaafd614dafa1a64", + "api": "redis/ioredis", + "version": "5.0.0", + "previous_version": "4.31.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "ioredis", + "change": "removed_symbol", + "symbols": [ + "Redis.serverInfo" + ] + }, + "description": "`Redis.serverInfo` was removed in ioredis 5.0.0: code using it fails.", + "migration_hint": "`Redis#serverInfo` is removed. This field is never documented so you very likely have never used it. (ioredis's changelog for 5.0.0)", + "source_url": "https://raw.githubusercontent.com/redis/ioredis/v5.0.0/CHANGELOG.md", + "source_excerpt": "# [5.0.0](https://github.com/luin/ioredis/compare/v4.28.5...v5.0.0) (2022-03-26)\nBREAKING CHANGES\n* `Redis#serverInfo` is removed. This field is never documented so\nyou very likely have never used it.", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/changelog/testdata/posthog-go-2.0.0-CHANGELOG.md b/plugins/changelog/testdata/posthog-go-2.0.0-CHANGELOG.md new file mode 100644 index 0000000..52c41c0 --- /dev/null +++ b/plugins/changelog/testdata/posthog-go-2.0.0-CHANGELOG.md @@ -0,0 +1,76 @@ +## 2.0.0 + +### Major Changes + +- fc05013: Add `Client.EnqueueAI`, which sends to PostHog's dedicated AI capture endpoint on an isolated lane with its own queue, batching, retry state, compression, upload timeout and size limits. `Flush` and `FlushWithContext` also wait for the AI lane once it has started. See `docs/migration-v2.md`. +- fc05013: Capture requests follow only `307` and `308` redirects to the same scheme, host and port as `Endpoint`, at most 5 times, with the same body and headers. Any other redirect fails the batch without a retry, with a `CaptureRequestError` that carries the redirect's status. In posthog-go 1.x.x the SDK followed up to 10 redirects of any kind to any host. See `docs/migration-v2.md`. +- fc05013: Capture v1 is now the only capture path. The legacy `/batch/` pipeline and the `Config.CaptureMode` switch that selected between them are removed. + + See [the migration guide](docs/migration-v2.md) for the full details. + + ### Breaking changes + + - `Config.CaptureMode`, the `CaptureMode` type, and `CaptureModeLegacy`/`CaptureModeAnalyticsV1` are removed. Delete the field. There is nothing to opt into. + - `CompressionZstd`, `CompressionDeflate` and `CompressionBrotli` are now valid unconditionally. Configurations that previously failed validation with "requires CaptureModeAnalyticsV1" now succeed. + + ### Behavior changes + + These apply to every caller on upgrade, and none of them produce a compile error. + + - **Events go to `POST /i/v1/analytics/events` instead of `POST /batch/`.** Reverse proxies and egress allowlists pinned to `/batch/` must be updated. + - **Authentication moves from the request body to `Authorization: Bearer`.** The project API key is no longer sent as an `api_key` body field. + - **Delivery results are per event, not per batch.** Only the events the backend asks to retry are re-sent, and `Callback.Failure` can now fire on an HTTP 200 for an individual event that was dropped. Failures carry typed `*CaptureEventError`, `*CaptureRequestError` and `*CaptureLocalError` values. + - **Retries changed.** Capture retries `404`, `408`, `429`, `500`, `502`, `503` and `504`, plus network errors. `404` is now retried, and other `5xx` statuses are now terminal. Billing limits arrive as a terminal `402`. `Retry-After` is honoured but clamped to `Config.MaxRetryBackoff` (default 30s). + - **`$lib` and `$lib_version` are sent as they are when the event is sent.** Every event carries them, `posthog-go` and the SDK version by default. A `$lib` or `$lib_version` you set in the event, the request context or `DefaultEventProperties` wins key by key, like any other property, so set both in the same place. When no non-empty string `$lib` is set, the SDK sets both. It adds only its version when `$lib` is `posthog-go`. `BeforeSend` sees both and can change or remove them. PostHog uses the `PostHog-Sdk-Info` header only for events without a `$lib`. In posthog-go 1.x.x the default `/batch/` path overwrote a `$lib` you set. + - **Values you set now win over the values the SDK adds.** `$is_server`, `$geoip_disable`, `$os`, `$os_version`, `$os_distro` and `$go_version` fill only keys the event, the request context and `DefaultEventProperties` left unset, before `BeforeSend`. The `$feature/` and `$active_feature_flags` properties from a `Flags` snapshot or `SendFeatureFlags` fill the same way, under the event, the request context and `DefaultEventProperties`. Previously the SDK overwrote the values you set for `$is_server`, `$geoip_disable` and the system properties. For flag properties, only `SendFeatureFlags` overwrote a value set on the event or in the request context, and `DefaultEventProperties` already beat the flag values. A `$geoip_disable: false` default now turns GeoIP lookup back on for events, even with `Config.DisableGeoIP` on. + - **Compression is stricter.** `gzip`, `deflate`, `br` and `zstd` are accepted via `Content-Encoding`. The legacy `lz64`/`base64` encodings and the `?compression=` query parameter are gone. + - **Some invalid events are now rejected individually** rather than failing the batch: event names and distinct IDs over 200 bytes, and `$performance_event`. +- fc05013: Make New return (Client, error), like NewWithConfig. Both constructors return a nil client and an error only for invalid configuration. An empty or personal (phx_) project API key gives a disabled client and a nil error, and logs an error. Add Config.Disabled to build a disabled client for tests and local development. posthogmcpsdk.NewMiddleware and Instrument no longer panic on nil analytics. They report one error and pass every request through unchanged. +- fc05013: Add an `Options` field to every message type for per-event capture options, such as `process_person_profile`. The SDK sends options unchanged and PostHog validates them, on both `Enqueue` and `EnqueueAI`. Legacy option properties still work, but an option overrides its legacy property. Use options. See `docs/migration-v2.md`. +- fc05013: `Groups` is now `map[string]string`, and `Groups.Set` takes a string value. Convert a numeric group ID with `strconv.FormatInt`, which keeps its feature flag bucketing. See [the migration guide](docs/migration-v2.md#convert-group-keys). +- fc05013: Minimal `$feature_flag_called` events are trimmed to their fixed set of properties before `BeforeSend`, so the hook sees the trimmed set and the properties it adds are sent. In posthog-go 1.x.x the trim ran after `BeforeSend` and removed them. See `docs/migration-v2.md`. +- fc05013: Add `Config.DefaultEventOptions` and `RequestContext.Options`, so capture options can be set for every event and for a request. Request-context values, `Config.DefaultEventProperties` and `Config.DefaultEventOptions` now fill only keys the event left unset, before `BeforeSend`. In posthog-go 1.x.x a default property overwrote the event's value. `BeforeSend` sees the filled values and can change or remove them. `$set`, `$set_once`, `$groups` and `$group_set` fill one level deep when both values are maps (a value with its own `MarshalJSON` or `MarshalText` is kept whole), and `Capture.Groups` merges into a `$groups` map key by key. A `nil` option counts as unset, so the default still fills it. `DefaultEventProperties` and `DefaultEventOptions` now also apply to `Exception`, `Identify`, `Alias` and `GroupIdentify` events, but they do not set `process_person_profile` on identify-style events (`$identify`, `$create_alias`, `$merge_dangerously`, `$groupidentify`, `$set` and `$set_once`) whose distinct ID the SDK did not generate. Those default to `true` unless the message sets it. `Identify`, `Alias` and `GroupIdentify` gain an `EventProperties` field for the event's own properties, which the defaults fill. The SDK's personless default and `posthogmcp`'s person opt-out are now sent as the `process_person_profile` option. A default, request-context or event option can override the personless default. `posthogmcp.ToolCall` and `posthogmcp.EventContext` gain an `EventOptions` field, and every `posthogmcp` event takes `RequestContext.Options`. `posthogmcp` events take the sanitized request-context properties and options under the call's own, with any client. Minimal `$feature_flag_called` events keep their options. See `docs/migration-v2.md`. +- fc05013: `posthogotel.EnqueueWithContext` adds the active span's `$trace_id` and `$span_id` only when neither the event nor the request context sets either key. In posthog-go 1.37.0 and later 1.x.x releases, each derived ID filled on its own, so an event that set only `$trace_id` got the active span's `$span_id`. +- fc05013: The `otel` bridge is now the `github.com/posthog/posthog-go/otel/v2` module and is released with the core SDK at the same version. Update its import path to `github.com/posthog/posthog-go/otel/v2`. +- fc05013: Capture size limits are now configurable, and generated UUIDs are version 7. + + - `Config.MaxBatchBytes` replaces the private 500KB request constant and defaults to `DefaultMaxBatchBytes` (500000, unchanged). `BatchSize` still bounds event count. An event larger than `MaxBatchBytes` is sent alone. + + - Analytics events have no per-event size cap by default. In posthog-go 1.x.x an event over 500KB was refused with `ErrMessageTooBig`, although PostHog accepts larger events. Within PostHog's request limits, PostHog now drops an oversized event on its own and reports it per event. The optional `Config.MaxEventBytes` refuses larger events locally, and `NewWithConfig` then rejects a `MaxBatchBytes` below it. + + - Event UUIDs and `PostHog-Request-Id` are now UUIDv7, which is time-ordered and matches what capture generates server-side. A caller-supplied `Uuid` is kept, normalized to the lowercase hyphenated form. + + - Fixed the SDK reporting version `1.0.0` from any Go test binary, including an application's own. It probed `flag.Lookup("test.v")`, so events captured during a customer's tests were recorded against the wrong `$lib_version`. +- fc05013: Remove `Capture.Library` and `Exception.Library`. Set `$lib` in the event's `Properties` instead, and set `$lib_version` with it: the SDK adds its own version only to its own `$lib`. `posthogmcp` events report `posthog-go-mcp` with the SDK version. See `docs/migration-v2.md`. +- fc05013: `RequestContext.Properties` and `RequestContext.Options` now also apply to `Identify`, `Alias` and `GroupIdentify`, but they do not set `process_person_profile` on identify-style events (`$identify`, `$create_alias`, `$merge_dangerously`, `$groupidentify`, `$set` and `$set_once`) whose distinct ID the SDK did not generate. Those default to `true` unless the message sets it. The context session ID fills `Identify` and `Alias` but never `GroupIdentify`. `GroupIdentify.DistinctId` is now sent, falling back to the request context's distinct ID, then `$_`. An empty or whitespace-only distinct ID is treated as missing. +- fc05013: Capture v1 requires `$session_id` and `$window_id` to be strings. The SDK sends a value whose JSON form is a string, such as a `string` (including `""`), a named string type or a `uuid.UUID`. It drops any other value and logs a warning that names the key and the value's type, never the value. A `nil` value drops without a warning. In posthog-go 1.x.x any value was sent as a property. See `docs/migration-v2.md`. + +### Minor Changes + +- fc05013: Add `Config.MaxRetryBackoff` to cap how long a single capture retry waits. It bounds the default exponential backoff and clamps a server `Retry-After` to the same value. A custom `Config.RetryAfter` is still used as given. Defaults to `DefaultMaxRetryBackoff` (30s), which was previously a hard-coded constant. +- fc05013: Add `posthogmcpsdk.WithEventOptions`, which sets capture options, such as `process_person_profile`, on `$mcp_tool_call` and its `$exception` through `posthogmcp.ToolCall.EventOptions`. The options override the request context's. A call without a distinct ID is still sent with `process_person_profile` set to `false`, and `BeforeSend` can still change it. A resolver error or panic goes to the error handler, and the call is captured without these options. See `docs/migration-v2.md`. +- fc05013: NewExporter and NewSpanProcessor no longer return an error for an empty or personal (phx_) API key. They log one error and return an exporter or processor that exports nothing, so a missing key never stops the application. An invalid WithHost still returns an error. +- fc05013: `posthogmcpgo` moves to `github.com/posthog/posthog-go/posthogmcpgo/v2` with posthog-go 2.0.0, and adds `posthogmcpgo.WithEventOptions`, which works like `posthogmcpsdk.WithEventOptions`. Its events report `$lib` `posthog-go-mcp` with the SDK version, like the other MCP adapters. See `docs/migration-v2.md`. + +### Patch Changes + +- fc05013: The error logged when an AI event is over the size limit now names the event, as other capture log lines do. It still never includes the event's content. +- fc05013: Keep empty typed slices (`[]string{}`, `[]bool{}`, `[]int{}`, `[]int64{}`, `[]float64{}`) as `[]` when a `BeforeSend` hook is set. The hook's copy of the message used to send them as `null`. +- fc05013: The error logged when a `BeforeSend` hook panics now names the event and the panic's type. It no longer includes the panic value, which can carry the event data the hook was removing. +- fc05013: Report per-event capture results for event uuids sent in a non-canonical form, such as uppercase or without hyphens. A caller-supplied `Uuid` is now normalized to the lowercase hyphenated form. Previously a `drop` or `retry` result for such an event was silently ignored, because the capture endpoint keys its results by the canonical form. +- fc05013: A 2xx capture response whose `results` is missing, `null` or not an object now fails the whole batch: it is not resent, and each event reaches `Callback.Failure` with a `*CaptureRequestError`, as an unparseable body already did. Before, those events were treated as delivered and no callback fired. `{"results": {}}` is still a valid response. +- fc05013: Capture retries HTTP `404` and `429` like `408` and `500`, `502`, `503`, `504`, with the same backoff and `Retry-After` handling. +- fc05013: Report each copy of a repeated event uuid that capture dropped to `Callback.Failure` as a `*CaptureEventError` with `Result` `drop` and `Details` `duplicate_event_uuid`, instead of giving it the first copy's result. +- fc05013: An invalid event `Uuid` is still replaced with a generated one, and the SDK now logs one warning when it does. The warning names the rule and not the value, because callers can put their own data in the field. An empty `Uuid` is generated without a warning. The same rule now applies to a `Uuid` set in `BeforeSend`. Before, an invalid or empty `Uuid` from the hook was sent as is, and capture rejected the whole batch. +- fc05013: Send a NaN or ±Inf property value, `float32` or `float64`, as `null` and keep the event, as posthog-go 1.36.1 and later do, instead of dropping the event. A struct value that holds one is sent as `null` as a whole. Each event is checked as JSON before it is queued, so a custom `MarshalJSON` that returns invalid JSON fails only its own event instead of the request it is in. +- fc05013: `Config.Validate` rejects a negative `CaptureAIBatchUploadTimeout` or `CaptureAIMaxQueueSize`. Before, a negative timeout meant AI uploads had no timeout, and a negative queue size quietly became the default. Only zero selects the default. +- fc05013: Send `PostHog-Request-Timestamp` and `created_at` with sub-second precision. Whole seconds made PostHog's clock-skew correction move events up to a second later. The batch debug log no longer prints each message. +- fc05013: Default capture retry waits now vary randomly by up to 25% either way, so clients that fail together do not all retry at the same moment. +- fc05013: Fix a data race between `Enqueue` and `Close`, and report capture failures that previously reached no `Callback` as one aggregate log line per batch. +- fc05013: Event `timestamp`, batch `created_at` and the `PostHog-Request-Timestamp` header always carry 3, 6 or 9 fractional-second digits in UTC, for example `2025-01-02T03:04:05.000Z`. Before, Go trimmed trailing zeros, so a whole second had no fraction. Finer precision from your timestamp or the clock is kept. + +## 1.44.1 + +### Patch Changes + +- 63617ab: Preserve response-wide computation errors alongside evaluation_failed in direct flag-read events when remote evaluation uses the local poller fallback. diff --git a/plugins/changelog/testdata/redis-ioredis-5.0.0-CHANGELOG.md b/plugins/changelog/testdata/redis-ioredis-5.0.0-CHANGELOG.md new file mode 100644 index 0000000..f29aa1d --- /dev/null +++ b/plugins/changelog/testdata/redis-ioredis-5.0.0-CHANGELOG.md @@ -0,0 +1,73 @@ +# [5.0.0](https://github.com/luin/ioredis/compare/v4.28.5...v5.0.0) (2022-03-26) + + +### Bug Fixes + +* add @ioredis/interface-generator to dev deps ([aa3b3e9](https://github.com/luin/ioredis/commit/aa3b3e91a369526ea2dff39b0619b0c2e0b4153b)) +* add missing declaration for callBuffer ([08c9072](https://github.com/luin/ioredis/commit/08c9072b24fa301401d424494c1ec8cde7ccf78b)) +* add the missing typing for Redis#call() ([747dd30](https://github.com/luin/ioredis/commit/747dd305696bf3fb661c1d0b4ac376de55e0ec25)) +* better support for CJS importing ([687d3eb](https://github.com/luin/ioredis/commit/687d3eb8dd0499fd900ede2f4dff835981999665)) +* disable slotsRefreshInterval by default ([370fa62](https://github.com/luin/ioredis/commit/370fa625cd20bfe62f41c38088e596c7a6f0619c)) +* Fix the NOSCRIPT behavior when using pipelines ([bc1b168](https://github.com/luin/ioredis/commit/bc1b1680663216ca2cfb1c77622bfa4fec9b2bd4)) +* improve typing for auto pipelining ([4e8c567](https://github.com/luin/ioredis/commit/4e8c567d1175de31e2371a9dad308a94fcb5627f)) +* improve typing for pipeline ([d18f3fe](https://github.com/luin/ioredis/commit/d18f3fe07ed04da5b7b26981d91bb4aa74b83ca3)) +* keyPrefix should work with Buffer ([6942cec](https://github.com/luin/ioredis/commit/6942cecd8a463756468988cf50a94c68298d3bfc)), closes [#1486](https://github.com/luin/ioredis/issues/1486) +* make fields private when possible ([d5c2f20](https://github.com/luin/ioredis/commit/d5c2f203b8f1f617f464402e400655c1f7c0fa08)) +* parameter declaration of Redis#duplicate ([a29d9c4](https://github.com/luin/ioredis/commit/a29d9c46f67dc8bcc345de6543a92dd808e8a6c0)) +* pipeline fails when cluster is not ready ([af60bb0](https://github.com/luin/ioredis/commit/af60bb082d20a32de1348f049507e6ea8862397f)), closes [#1460](https://github.com/luin/ioredis/issues/1460) +* remove dropBufferSupport option ([04e68ac](https://github.com/luin/ioredis/commit/04e68ac4ade14d68809ca58d7ad8536eceda2b1e)) +* remove unused Command#isCustomCommand ([46ade6b](https://github.com/luin/ioredis/commit/46ade6b8732b112cc5cffb641b1bab51eb96df38)) +* rename interfaces by dropping prefix I ([d1d9dba](https://github.com/luin/ioredis/commit/d1d9dba9eafc574a9d9041fd4bc7cd04f1584159)) +* Reset loaded script hashes to force a reload of scripts after reconnect of redis ([60c2af9](https://github.com/luin/ioredis/commit/60c2af985a994a247d1148bfab122e5c0ecd81d2)) +* support passing keyPrefix via redisOptions ([6b0dc1e](https://github.com/luin/ioredis/commit/6b0dc1e0edbaa5f46b7b03629dda20176c7a81b4)) + + +### Features + +* add [@since](https://github.com/since) to method comments ([13eff8e](https://github.com/luin/ioredis/commit/13eff8e86a0d08a3aa614f2d8fe7a166f6beb532)) +* add declarations for methods ([1e10c95](https://github.com/luin/ioredis/commit/1e10c95eadede949e536f02ca1412ef4383ba654)) +* add tests for cluster ([1eba58b](https://github.com/luin/ioredis/commit/1eba58ba3961e477c6502daf05cf4074f728d3cf)) +* always parse username passed via URI ([c6f41f6](https://github.com/luin/ioredis/commit/c6f41f692243129dbc952ef8fd2e5c160133d677)) +* drop support of Node.js 10 ([f9a5071](https://github.com/luin/ioredis/commit/f9a5071d95519c0f358c4ecf064838824ce8ad62)) +* drop support of third-party Promise libraries ([2001ec6](https://github.com/luin/ioredis/commit/2001ec6fafd057eda9111ab858c1c618d939371e)) +* expose official declarations ([7a436b1](https://github.com/luin/ioredis/commit/7a436b128c3e97586d2378149beaa2043eb00850)) +* improve typings for cluster ([06782e6](https://github.com/luin/ioredis/commit/06782e681500eae6f3ceafcc6385b9be4fdaf4e3)) +* improve typings for pipeline ([334242b](https://github.com/luin/ioredis/commit/334242b1adf5399a1ad9d7ba6202d062a0695882)) +* improve typings for smismember ([487c3a0](https://github.com/luin/ioredis/commit/487c3a07e6080070d365e09dae75bbbc4267b619)) +* improve typings for transformers ([94c1e24](https://github.com/luin/ioredis/commit/94c1e24f09b9e7eaff4181f984f6317acacade94)) +* improve typings for xread ([96cc335](https://github.com/luin/ioredis/commit/96cc33590a8c2494b730d33780668a86cdd405cf)) +* Pipeline-based script loading ([8df6ee2](https://github.com/luin/ioredis/commit/8df6ee265595f035cc85b52b4d11793bea0318f3)) +* prepare v5 stable release ([#1538](https://github.com/luin/ioredis/issues/1538)) ([fe32ce7](https://github.com/luin/ioredis/commit/fe32ce71cbfb49b133834f1c4858ec0ca20ad6e8)) +* Refactor code with modern settings ([a8ffa80](https://github.com/luin/ioredis/commit/a8ffa80dd2fb081012222a436d5be2b5325623b9)) +* skip ready check on NOPERM error ([b530a0b](https://github.com/luin/ioredis/commit/b530a0b9fe0f987d6786e5cfccbfae8b5b9c9294)), closes [#1293](https://github.com/luin/ioredis/issues/1293) +* support commands added in Redis v7 ([53ca412](https://github.com/luin/ioredis/commit/53ca41264f94f05a9a7a231915a0e852a46079d4)) +* support defining custom commands via constructor options ([f293b97](https://github.com/luin/ioredis/commit/f293b978c6023b8ce3477af0076203c7bc2482f8)) +* support Redis Functions introduced in Redis 7.0 ([32eb381](https://github.com/luin/ioredis/commit/32eb381c3035ebc70e8e316697c7e0b479ec66a2)) + + +### BREAKING CHANGES + +* `slotsRefreshInterval` is disabled by default, +previously, the default value was 5000. +* `allowUsernameInURI` is removed and ioredis will always +use the username passed via URI. +Previously, the `username` part in `new Redis("redis://username:authpassword@127.0.0.1:6380/4")` +was ignored unless `allowUsernameInURI` is specified: `new Redis("redis://username:authpassword@127.0.0.1:6380/4?allowUsernameInURI=true")`. +Now, if you don't want to send username to Redis, just leave the username part empty: +`new Redis("redis://:authpassword@127.0.0.1:6380/4")` +* `Redis#serverInfo` is removed. This field is never documented so +you very likely have never used it. +* Support for third-party Promise libraries is dropped. Related methods (`exports.Promise = require('bluebird')`) are kept but they don't take any effects. The native Promise will always be used. +* We now require Node.js v10.12.0 or newer. +* We now only work with Redis v3.0.0 or newer. +* `Redis` can't be called as a function anymore as it's now a class. +Please change `Redis()` to `new Redis()`. Note that `Redis()` was already deprecated +in the previous version. + +# [5.0.0-beta.4](https://github.com/luin/ioredis/compare/v5.0.0-beta.3...v5.0.0-beta.4) (2022-03-19) + + +### Bug Fixes + +* add missing declaration for callBuffer ([08c9072](https://github.com/luin/ioredis/commit/08c9072b24fa301401d424494c1ec8cde7ccf78b)) +* keyPrefix should work with Buffer ([6942cec](https://github.com/luin/ioredis/commit/6942cecd8a463756468988cf50a94c68298d3bfc)), closes [#1486](https://github.com/luin/ioredis/issues/1486) diff --git a/providers/github-octokit.md b/providers/github-octokit.md new file mode 100644 index 0000000..9c92a33 --- /dev/null +++ b/providers/github-octokit.md @@ -0,0 +1,28 @@ +# Octokit SDKs (`github/octokit-rest`, `github/octokit-net`) + +## What it watches + +Methods removed or renamed in each release of `@octokit/rest` (JavaScript) and Octokit (.NET), from each GitHub release's notes: neither keeps a changelog file. Packages `npm:@octokit/rest` and `nuget:Octokit`; releases listed from each repo's GitHub releases (`vX.Y.Z`, drafts and pre-releases left out). GitHub's REST API itself is a separate source (`github/rest-api`). + +Kind: `changelog` (`plugins/changelog`, `sdks.go`, with `Notes: true`). + +## Why this source + +- **Source:** https://github.com/octokit/rest.js/releases and https://github.com/octokit/octokit.net/releases, each release read through GitHub's API (`/repos/{repo}/releases/tags/{tag}`) and cited by its release page; checked on 2026-11-20. +- **Why this one:** it's the only per-release record either project publishes. rest.js's semantic-release notes list every removal and rename under "BREAKING CHANGES" (`` `octokit.users.listEmails()` has been renamed to `octokit.users.listEmailsForAuthenticated()` ``). +- **Alternatives considered:** the docs sites (current version only); diffing the published packages (`apisurface`, when it's built). +- **Quote:** "deprecated `octokit.reactions.deleteLegacy()` has been removed" (@octokit/rest 18.0.0). + +## How the provider announces changes + +rest.js ships a major when GitHub removes or renames REST endpoints; octokit.net's notes list "Breaking changes" in prose more often than by name. + +## What the plugin reads and ignores + +- Every heading in a release's notes starts a section; bullets under a breaking or deprecation heading count when they name what they remove or rename plainly. +- Drops (and logs): signature changes (`ISshKeysClient.Get(int id)`), dropped Node.js versions, "remove deprecated endpoints" without names. + +## Known gaps + +- Release notes can be edited after the release: what's read is the notes when the pair is extracted. +- octokit.net's recent releases describe breaking changes in prose: few of them are events. diff --git a/providers/posthog-go.md b/providers/posthog-go.md new file mode 100644 index 0000000..69a0fd8 --- /dev/null +++ b/providers/posthog-go.md @@ -0,0 +1,27 @@ +# PostHog Go SDK (`posthog/go`) + +## What it watches + +Names removed or renamed in each release of posthog-go, from that release's section of its `CHANGELOG.md` at its tag. Package `go:github.com/posthog/posthog-go` (events name the module at each release's major, `…/v2` from 2.0.0); releases listed from the repo's `vX.Y.Z` tags. The Python SDK's 8.0 migration guide is a separate source (`posthog/python-sdk`). + +Kind: `changelog` (`plugins/changelog`, `sdks.go`). + +## Why this source + +- **Source:** https://github.com/PostHog/posthog-go/blob/main/CHANGELOG.md, read raw at the release's tag; checked on 2026-11-20. +- **Why this one:** changesets writes each major's changes under "### Major Changes", one bullet per change starting with its commit (`fc05013: Remove …`). +- **Alternatives considered:** GitHub release notes (the same text); PostHog's SDK docs (one page, not versioned). +- **Quote:** "fc05013: Remove `Capture.Library` and `Exception.Library`." (2.0.0). + +## How the provider announces changes + +Majors are rare; v2 moved the module path to `github.com/posthog/posthog-go/v2`. + +## What the plugin reads and ignores + +- Reads "Major Changes" bullets (and any breaking heading); the commit prefix is read past. +- Drops (and logs) behavior changes and bullets that don't name what they remove plainly. + +## Known gaps + +- A release whose section is missing at its tag is skipped as nothing to read. diff --git a/providers/redis-ioredis.md b/providers/redis-ioredis.md new file mode 100644 index 0000000..235686a --- /dev/null +++ b/providers/redis-ioredis.md @@ -0,0 +1,27 @@ +# ioredis (`redis/ioredis`) + +## What it watches + +Names removed or renamed in each release of ioredis, the Node.js Redis client, from that release's section of its `CHANGELOG.md` at its tag. Package `npm:ioredis`; releases listed from npm, each read at `vX.Y.Z`. + +Kind: `changelog` (`plugins/changelog`, `sdks.go`). + +## Why this source + +- **Source:** https://github.com/redis/ioredis/blob/main/CHANGELOG.md, read raw at the release's tag; checked on 2026-11-20. +- **Why this one:** semantic-release writes every release's "BREAKING CHANGES" into this file; a major is headed `# [X.0.0](...)`, a minor or patch `## [X.Y.Z](...)`, and both are read. +- **Alternatives considered:** GitHub release notes (the same text); the README's upgrade notes (not versioned per release). +- **Quote:** "`Redis#serverInfo` is removed. This field is never documented so you very likely have never used it." (5.0.0). + +## How the provider announces changes + +A major every few years (v6.0.0 in 2026), with its breaking changes listed in the changelog. + +## What the plugin reads and ignores + +- `Class#member` is read as `Class.member`. Counts plain removals and renames. +- Drops (and logs): changed defaults, dropped Node.js versions, options removed (`allowUsernameInURI`), behavior changes. + +## Known gaps + +- Removed options aren't symbols: not events. From 894fdd2ae3c490b0d7e57eee2598c7bcd5e68e5a Mon Sep 17 00:00:00 2001 From: adssib <75389300+adssib@users.noreply.github.com> Date: Fri, 20 Nov 2026 21:15:25 -0500 Subject: [PATCH 6/9] changelog: follow renames to their end; names alone only under removed A rename whose new name the same release renames again or removes now points to where the chain ends (or to nothing). A bullet of names alone is a removal only under a Removed heading, and a change word ("Deprecated:") is never read past as an area. Co-Authored-By: Claude Opus 5.5 Signed-off-by: adssib <75389300+adssib@users.noreply.github.com> --- plugins/changelog/changelog.go | 39 ++++++++++++++++++++++++++++- plugins/changelog/changelog_test.go | 22 ++++++++++++++++ plugins/changelog/classify.go | 18 ++++++++++--- plugins/changelog/parse_test.go | 8 +++--- 4 files changed, 80 insertions(+), 7 deletions(-) diff --git a/plugins/changelog/changelog.go b/plugins/changelog/changelog.go index 0d4d44f..a0be1e1 100644 --- a/plugins/changelog/changelog.go +++ b/plugins/changelog/changelog.go @@ -190,7 +190,44 @@ func (f File) Read(page []byte) (heading string, out []Finding, err error) { out = append(out, Finding{Change: c, Section: s.Title, Bullet: b, Dropped: why}) } } - return heading, out, nil + return heading, chained(out), nil +} + +// chained follows each rename through the release's other renames and +// removals, so a replacement is the name the release ends with: "A renamed +// to B" and "B renamed to C" make A's replacement C; a chain that ends in a +// removal (or loops) leaves A removed, with no replacement to move to. +func chained(fs []Finding) []Finding { + renamed, removed := map[string]string{}, map[string]bool{} + for _, f := range fs { + if f.Dropped != "" || f.Change.ChangeType != event.ChangeTypeBreaking { + continue + } + for _, sym := range f.Change.Symbols { + if f.Change.Replacement != "" { + renamed[sym] = f.Change.Replacement + } else { + removed[sym] = true + } + } + } + for i, f := range fs { + r := f.Change.Replacement + if f.Dropped != "" || r == "" { + continue + } + seen := map[string]bool{} + for next, ok := renamed[r]; ok && !seen[r]; next, ok = renamed[r] { + seen[r] = true + r = next + } + if removed[r] || seen[r] { + fs[i].Change.Replacement, fs[i].Change.Change = "", event.PackageRemovedSymbol + continue + } + fs[i].Change.Replacement = r + } + return fs } // notes are the sections of a GitHub release's body (the API's JSON for one diff --git a/plugins/changelog/changelog_test.go b/plugins/changelog/changelog_test.go index 86114fa..8b08183 100644 --- a/plugins/changelog/changelog_test.go +++ b/plugins/changelog/changelog_test.go @@ -130,3 +130,25 @@ func TestReleaseNotesAreReadWhole(t *testing.T) { t.Errorf("no notes: %v, want plugin.ErrNothingToRead", err) } } + +// A rename whose new name the same release renames again or removes points +// to where the chain ends: never to a name the release took away. +func TestRenamesAreFollowedToTheirEnd(t *testing.T) { + f := File{Package: "acme", Repo: "acme/acme", TagPrefix: "v", Notes: true}.At("2.0.0") + body := "## BREAKING CHANGES\\n\\n" + + "* `acme.a()` has been renamed to `acme.b()`\\n* `acme.b()` has been renamed to `acme.c()`\\n" + + "* `acme.x()` has been renamed to `acme.y()`\\n* `acme.y()` has been removed\\n" + + "* `acme.p()` has been renamed to `acme.q()`\\n* `acme.q()` has been renamed to `acme.p()`\\n" + _, fs, err := f.Read([]byte(`{"tag_name": "v2.0.0", "body": "` + body + `"}`)) + if err != nil { + t.Fatal(err) + } + var got []string + for _, f := range fs { + got = append(got, strings.Join(f.Change.Symbols, ",")+">"+f.Change.Replacement) + } + want := "acme.a>acme.c acme.b>acme.c acme.x> acme.y> acme.p> acme.q>" + if strings.Join(got, " ") != want { + t.Errorf("got %s\nwant %s", strings.Join(got, " "), want) + } +} diff --git a/plugins/changelog/classify.go b/plugins/changelog/classify.go index a1e24e8..cd79901 100644 --- a/plugins/changelog/classify.go +++ b/plugins/changelog/classify.go @@ -14,7 +14,8 @@ type Kind int const ( KindNone Kind = iota - KindBreaking // Removed, Breaking changes, Backwards incompatible changes + KindBreaking // Breaking changes, Backwards incompatible changes, Major Changes + KindRemoved // Removed: breaking, and a bullet of names alone is a removal KindDeprecation // Deprecated, Deprecations KindMixed // "Deprecations and Removals": the bullet's verb decides ) @@ -31,6 +32,8 @@ func SectionKind(title string) Kind { switch { case breaking && deprecation: return KindMixed + case breaking && !strings.Contains(t, "breaking") && (strings.Contains(t, "removed") || strings.Contains(t, "removal")): + return KindRemoved case breaking: return KindBreaking case deprecation: @@ -63,6 +66,8 @@ var noisePrefix = regexp.MustCompile("^(?:" + strings.Join([]string{ `[A-Z][a-zA-Z]+: `, }, "|") + ")") +var changeWord = regexp.MustCompile(`(?i)^(added|changed|deprecated|fixed|security|updated|improved)\b`) + // Change is what one bullet says, when it says it plainly enough. type Change struct { ChangeType event.ChangeType @@ -109,7 +114,9 @@ func Classify(k Kind, text, module string) (c Change, ok bool, why string) { text, k = text[len(m):], KindBreaking continue } - if m := noisePrefix.FindString(text); m != "" { + // "Deprecated: `X`" or "Added: `X`" says what the change is: its + // word is not an area to read past. + if m := noisePrefix.FindString(text); m != "" && !changeWord.MatchString(m) { text = text[len(m):] continue } @@ -118,8 +125,13 @@ func Classify(k Kind, text, module string) (c Change, ok bool, why string) { if k == KindNone { return Change{}, false, "" } + removedHeading := false sentence, codes := template(text) try := func(re *regexp.Regexp) []string { return re.FindStringSubmatch(sentence) } + if k == KindRemoved { + k = KindBreaking + removedHeading = true + } if k != KindDeprecation { if m := try(renamed); m != nil { return names(event.ChangeTypeBreaking, codes, "§", "", "", "", module, codes[1]) @@ -135,7 +147,7 @@ func Classify(k Kind, text, module string) (c Change, ok bool, why string) { } // Only names, no verb ("`Placeholder.reset_color_cycle`"): counts // under a Removed heading, where the heading is the verb. - if m := try(bare); m != nil && k == KindBreaking { + if m := try(bare); m != nil && removedHeading { return names(event.ChangeTypeBreaking, codes, m[1], "", "", "", module, "") } } diff --git a/plugins/changelog/parse_test.go b/plugins/changelog/parse_test.go index b3b5106..e6a8bde 100644 --- a/plugins/changelog/parse_test.go +++ b/plugins/changelog/parse_test.go @@ -49,8 +49,10 @@ func TestOnlyAPlainSentenceNamesItsSymbols(t *testing.T) { want string // "ct change symbols>replacement", "" = not breaking/deprecation, "drop" }{ {KindBreaking, "Removed `App.dark` reactive attribute https://x.test/pull/1", "breaking removed_symbol App.dark"}, - {KindBreaking, "`Placeholder.reset_color_cycle`", "breaking removed_symbol Placeholder.reset_color_cycle"}, - {KindBreaking, "Property `Widget.focusable_children` https://x.test/1", "breaking removed_symbol Widget.focusable_children"}, + {KindRemoved, "`Placeholder.reset_color_cycle`", "breaking removed_symbol Placeholder.reset_color_cycle"}, + {KindBreaking, "`Placeholder.reset_color_cycle`", "drop"}, // names alone count only under Removed + {KindRemoved, "Deprecated: `X`", "drop"}, // a change word is not an area + {KindRemoved, "Property `Widget.focusable_children` https://x.test/1", "breaking removed_symbol Widget.focusable_children"}, {KindBreaking, "Removed `Widget.reset_focus` (now called `Widget.blur`) https://x.test/1", "breaking renamed_symbol Widget.reset_focus>Widget.blur"}, {KindBreaking, "Removed the ``_prepare_conn`` method from ``HTTPConnectionPool``. Previously…", "breaking removed_symbol HTTPConnectionPool._prepare_conn"}, {KindBreaking, "Removed ``pkg.a`` and ``pkg.b()`` (`#1 `__).", "breaking removed_symbol a,b"}, @@ -105,7 +107,7 @@ func TestOnlyAPlainSentenceNamesItsSymbols(t *testing.T) { } } if SectionKind("Deprecations and Removals") != KindMixed || SectionKind("Backwards incompatible changes") != KindBreaking || - SectionKind("Removed") != KindBreaking || SectionKind("Changed") != KindNone { + SectionKind("Removed") != KindRemoved || SectionKind("Changed") != KindNone { t.Error("section kinds") } } 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 7/9] 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" } From 417a12046b216a4274920fe965a24d82a168ba2a Mon Sep 17 00:00:00 2001 From: adssib <75389300+adssib@users.noreply.github.com> Date: Fri, 20 Nov 2026 21:17:55 -0500 Subject: [PATCH 8/9] octokit: renames followed to their end; octokit-net pins 0.5.2 Co-Authored-By: Claude Opus 5.5 Signed-off-by: adssib <75389300+adssib@users.noreply.github.com> --- plugins/changelog/octokit_test.go | 2 +- plugins/changelog/testdata/README.md | 4 ++-- .../github-octokit-net-0.18.0-release.json | 7 ------- .../github-octokit-net-0.19.0-release.json | 7 ------- .../github-octokit-net-0.5.1-release.json | 7 +++++++ .../github-octokit-net-0.5.2-release.json | 7 +++++++ .../testdata/golden/github-octokit-net.json | 16 ++++++++-------- .../testdata/golden/github-octokit-rest.json | 17 ++++++++--------- providers/github-octokit.md | 3 ++- 9 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 plugins/changelog/testdata/github-octokit-net-0.18.0-release.json delete mode 100644 plugins/changelog/testdata/github-octokit-net-0.19.0-release.json create mode 100644 plugins/changelog/testdata/github-octokit-net-0.5.1-release.json create mode 100644 plugins/changelog/testdata/github-octokit-net-0.5.2-release.json diff --git a/plugins/changelog/octokit_test.go b/plugins/changelog/octokit_test.go index 5d686e7..6e4c47b 100644 --- a/plugins/changelog/octokit_test.go +++ b/plugins/changelog/octokit_test.go @@ -5,6 +5,6 @@ import "testing" func TestOctokitSDKs(t *testing.T) { checkSDKs(t, []sdkCase{ {OctokitRest, "18.0.0", "17.11.2", "github-octokit-rest-18.0.0-release.json", "github-octokit-rest-17.11.2-release.json", "17.11.2"}, - {OctokitNet, "0.19.0", "0.18.0", "github-octokit-net-0.19.0-release.json", "github-octokit-net-0.18.0-release.json", "0.18.0"}, + {OctokitNet, "0.5.2", "0.5.1", "github-octokit-net-0.5.2-release.json", "github-octokit-net-0.5.1-release.json", "0.5.1"}, }) } diff --git a/plugins/changelog/testdata/README.md b/plugins/changelog/testdata/README.md index 8b3c7c8..48ad6f1 100644 --- a/plugins/changelog/testdata/README.md +++ b/plugins/changelog/testdata/README.md @@ -41,8 +41,8 @@ Read with `Plugin{File: ...}` and `Notes: true` (`sdks.go`): an SDK whose change |---|---|---|---|---|---| | `github-octokit-rest-18.0.0-release.json` | https://api.github.com/repos/octokit/rest.js/releases/tags/v18.0.0 | `b4ab0db` | 2026-11-20 | MIT (rest.js); trimmed to `html_url`, `tag_name`, `name`, `published_at` and `body`, re-indented, values unchanged | golden | | `github-octokit-rest-17.11.2-release.json` | https://api.github.com/repos/octokit/rest.js/releases/tags/v17.11.2 | `5306f37` | 2026-11-20 | MIT (rest.js); trimmed to `html_url`, `tag_name`, `name`, `published_at` and `body`, re-indented, values unchanged | drop test | -| `github-octokit-net-0.19.0-release.json` | https://api.github.com/repos/octokit/octokit.net/releases/tags/v0.19.0 | `60603b7` | 2026-11-20 | MIT (octokit.net); trimmed to `html_url`, `tag_name`, `name`, `published_at` and `body`, re-indented, values unchanged | golden | -| `github-octokit-net-0.18.0-release.json` | https://api.github.com/repos/octokit/octokit.net/releases/tags/v0.18.0 | `de17cbc` | 2026-11-20 | MIT (octokit.net); trimmed to `html_url`, `tag_name`, `name`, `published_at` and `body`, re-indented, values unchanged | drop test | +| `github-octokit-net-0.5.2-release.json` | https://api.github.com/repos/octokit/octokit.net/releases/tags/v0.5.2 | `4b61105` | 2026-11-20 | MIT (octokit.net); trimmed to `html_url`, `tag_name`, `name`, `published_at` and `body`, re-indented, values unchanged | golden | +| `github-octokit-net-0.5.1-release.json` | https://api.github.com/repos/octokit/octokit.net/releases/tags/v0.5.1 | `8a9e828` | 2026-11-20 | MIT (octokit.net); trimmed to `html_url`, `tag_name`, `name`, `published_at` and `body`, re-indented, values unchanged | drop test | ## Version lists diff --git a/plugins/changelog/testdata/github-octokit-net-0.18.0-release.json b/plugins/changelog/testdata/github-octokit-net-0.18.0-release.json deleted file mode 100644 index b55a946..0000000 --- a/plugins/changelog/testdata/github-octokit-net-0.18.0-release.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "html_url": "https://github.com/octokit/octokit.net/releases/tag/v0.18.0", - "tag_name": "v0.18.0", - "name": "v0.18 - Bringing The Thunder", - "published_at": "2016-02-02T23:04:51Z", - "body": "- New: support for User Administration API (GitHub Enterprise) - #1068 via @paladique\n- New: support for Admin Stats API (GitHub Enterprise) - - #1049 via @ryangribble\n- New: support for Repository Pages API - #1061 via @M-Zuber\n- New: get stargazer creation timestamps - #1060 via @daveaglick\n- New: support for Protected Branches API - #996 via @ryangribble\n- New: support for creating Personal Access Tokens - #990 via @alfhenrik\n- Fixed: `Milestone` property added to `PullRequest` response - #1075 via @Eilon\n- Fixed: Add member role filter to `OrganizationMembersClient.GetAll()` - #1072 via @ryangribble\n- Fixed: `Repository.Content.GetAllContents` now support the root of the repository - #1064 via @naveensrinivasan, @shiftkey\n- Fixed: added `Id` and `Locked` to `Issue`, added `CommitUrl` to `IssueEvent` - #1039 via @gabrielweyer\n- Fixed: additional fields on `Release` and `ReleaseAsset` - #1009 via @gabrielweyer\n- Fixed: `ApiException` now includes JSON payload when `.ToString()`\\- #974 via @asizikov\n\n**Breaking Changes:**\n\nAs part of reaching 1.0 we went through to audit the current implementation\nand identify areas that didn't align with our conventions. For this release,\nwe're marking the endpoints as `[Obsolete]` and indicating the new location.\nThese will be cleaned up in the next release:\n- `IGitHubClient.Notifications` -> `IGitHubClient.Activity.Notifications` - #1019 via @M-Zuber\n- `IGitHubClient.Repository.CommitStatus` -> `IGitHubClient.Repository.Status` - #1043 via @RobPethick\n- `IGitHubClient.Repository.Commits` -> `IGitHubClient.Repository.Commit` - #1057 via @M-Zuber\n- `IGitHubClient.Repository.RepoCollaborators` -> `IGitHubClient.Repository.Collaborator` - #1040 via @M-Zuber\n- `IGitHubClient.Repository.RepositoryComments` -> `IGitHubClient.Repository.Comment` - #1044 via @M-Zuber\n- `IGitHubClient.Release` -> `IGitHubClient.Repository.Release` - #1058 via @RobPethick\n- `IGitHubClient.GitDatabase` -> `IGitHubClient.Git` - #1048 via @RobPethick\n\nOther breaking changes:\n- a public `ApiExtensions.Get` extension method was causing a bunch of\n tests to be written in a confusing way. This has been ported to an interface\n method on `IApiConnection` but hopefully you're not referencing this method\n externally - see #1063 for more information.\n- `IRepositoryContentsClient.GetArchiveLink` is no longer correct, as the HTTP\n behaviour in Octokit was updated to follow redirects received from the server.\n See #986 for the last bits of cleanup.\n- `IRepositoryContentsClient.GetAllContents(string owner, string name, string path, string reference)`\n has been renamed to `GetAllContentsByRef(string owner, string name, string path, string reference)`\n to prevent overlap with methods on `IRepositoryContentsClient` which do not\n specify a path - and thus look at the root of the repository.\n- `IssueEventPayload` has two fields which are never populated from the API -\n `Assignee` and `Label` - these are now removed. You should use\n `Issue.Assignee` and `Issue.Labels` instead. See #1039 for more details.\n- `PullRequest.MergeCommitSha` is marked as obsolete by the GitHub API - we\n are cleaning up the behaviour for determining whether a PR has been\n merged in #997 - see the PR for more information.\n- `IAuthorizationsClient.RevokeAllApplicationAuthentications` is no longer\n available through the GitHub API - this will be removed in the next\n release.\n\n**Shout outs**\n\nA lot of extra work went into this release, and I wanted to thank those people\nwho helped out - without their efforts we wouldn't be at this point:\n- @naveensrinivasan - for helping set up our Travis CI builds to test this on\n Mono - see #995 for the details\n- @hahmed - for contributing a bunch of documentation around the Octokit search\n APIs - see #955, #954 and #951\n- @JakesCode - for clarifying some documentation after he reported an issue - #1054\n- @ryangribble - for helping get our GitHub Enterprise testing off the ground - #987\n- @naveensrinivasan - for catching and addressing an issue with our LINQPad snippets - #987\n" -} diff --git a/plugins/changelog/testdata/github-octokit-net-0.19.0-release.json b/plugins/changelog/testdata/github-octokit-net-0.19.0-release.json deleted file mode 100644 index 8735714..0000000 --- a/plugins/changelog/testdata/github-octokit-net-0.19.0-release.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "html_url": "https://github.com/octokit/octokit.net/releases/tag/v0.19.0", - "tag_name": "v0.19.0", - "name": "v0.19 - Identifying Types", - "published_at": "2016-03-13T10:48:01Z", - "body": "**Features**\n- Add `GetLatest` endpoint for Releases API - #975 via @chenjiaming93\n- Add Enterprise License and Organization APIs - #1073 via @ryangribble\n- Add Locked property to `PullRequest` - #1089 via @M-Zuber\n- Add Enterprise Search Indexing API - #1095 via @ryangribble\n- Add support for `Visibility` and `Affiliation` to repository search - #1096, #1132 via @Sarmad93, @AlexP11223\n- Add Enterprise LDAP API - #1099 via @ryangribble\n- Add `CreateBranch` extension methods to IReferencesClient - #1103 via @M-Zuber\n- Additional Enterprise methods on User Administration Client - #1108 via @ryangribble\n- Complete `UserKeysClient` API - #1112 via @ryangribble\n- `RepositoryContentsClient` create, update and delete actions now specify branch - #1093 via @M-Zuber\n\n**Fixes**\n- `StatisticsClient` should not clobber /api/v3/ in path - #1085 via @shiftkey\n- Fix JSON deserialization of string containing hyphens to List property - #1094 via @ryangribble\n- Incorrect reference passed to `RepositoryContentsClient.GetArchive` - #1113 via @michael-kokorin\n\n**Other**\n- Add failing integration test for Issue Search API - #1083 via @hahmed\n- Add integration tests for `IReleasesClient.GetLatest` - #1090 via @M-Zuber\n- Remove extraneous Bcl .targets reference - #1100 via @shana\n- Add proper syntax highlighting to exploring-pull-requests.md - #1117 via @tiesmaster\n- Fix issue with optional parameters in .\\script\\configure-integration-tests - #1118 via @Anubhav10\n- Update Issue creation sample code - #1131 via @AlexP11223\n- `IJsonSerializer` not used inside `Connection` - #1133 via @devkhan\n\n**Breaking Changes**\n\n`ISshKeysClient` has a number of methods which at the time should have been\nimplemented in `IUserKeysClient` - these methods are marked as obsolete and will\nbe removed in a future release:\n- `ISshKeysClient.Get(int id)`\n- `ISshKeysClient.GetAll(string user)`\n- `ISshKeysClient.GetAllForCurrent()`\n- `ISshKeysClient.Create(SshKeyUpdate key)`\n- `ISshKeysClient.Update(int id, SshKeyUpdate key)`\n- `ISshKeysClient.Delete(int id)`\n" -} diff --git a/plugins/changelog/testdata/github-octokit-net-0.5.1-release.json b/plugins/changelog/testdata/github-octokit-net-0.5.1-release.json new file mode 100644 index 0000000..a2dc486 --- /dev/null +++ b/plugins/changelog/testdata/github-octokit-net-0.5.1-release.json @@ -0,0 +1,7 @@ +{ + "html_url": "https://github.com/octokit/octokit.net/releases/tag/v0.5.1", + "tag_name": "v0.5.1", + "name": "v0.5.1", + "published_at": "2014-10-07T18:06:28Z", + "body": "- New: added XML docs to NuGet package for Maximum Intellisense - #586 via @shiftkey\n" +} diff --git a/plugins/changelog/testdata/github-octokit-net-0.5.2-release.json b/plugins/changelog/testdata/github-octokit-net-0.5.2-release.json new file mode 100644 index 0000000..42671b7 --- /dev/null +++ b/plugins/changelog/testdata/github-octokit-net-0.5.2-release.json @@ -0,0 +1,7 @@ +{ + "html_url": "https://github.com/octokit/octokit.net/releases/tag/v0.5.2", + "tag_name": "v0.5.2", + "name": "v0.5.2", + "published_at": "2014-10-14T12:28:46Z", + "body": "- New: Method to add repository to team - #546 via @kevfromireland\n- Fixed: PATCH parameters for releases, issues and pull requests are now nullable - #561 via @thedillonb\n\n**Breaking Changes:**\n- `PullRequestUpdate` removed unused fields: `Number`, `State`, `Base`, and `Head`\n- `ReleaseClient.Create` now accepts a `NewRelease` parameter (was `ReleaseUpdate`)\n- `ReleaseUpdate` no longer requires a `TagName` in the constructor (see `NewRelease`)\n- `ReleaseUpdate` now has nullable `Draft` and `Prerelease` properties - only\n set these if you want to apply changes to the API\n- `IssueUpdate.State` is now a nullable `ItemState`\n- `MilestoneUpdate.Number` is now removed\n- `MilestoneUpdate.State` is now a nullable `ItemState`\n" +} diff --git a/plugins/changelog/testdata/golden/github-octokit-net.json b/plugins/changelog/testdata/golden/github-octokit-net.json index afce4e3..647cffd 100644 --- a/plugins/changelog/testdata/golden/github-octokit-net.json +++ b/plugins/changelog/testdata/golden/github-octokit-net.json @@ -1,10 +1,10 @@ [ { "id": 1, - "fingerprint": "sha256:4ee478cf71b9b18424154f67e8cb68ef73a2526abc3543b19fded169a8add122", + "fingerprint": "sha256:0480089f0ce05c60634ebc123e89916b2835c44388dec0fec747d0c0c204fcfc", "api": "github/octokit-net", - "version": "0.19.0", - "previous_version": "0.18.0", + "version": "0.5.2", + "previous_version": "0.5.1", "change_type": "breaking", "breaking": true, "subject": { @@ -13,13 +13,13 @@ "package": "Octokit", "change": "removed_symbol", "symbols": [ - "ISshKeysClient.GetAllForCurrent" + "MilestoneUpdate.Number" ] }, - "description": "`ISshKeysClient.GetAllForCurrent` was removed in Octokit 0.19.0: code using it fails.", - "migration_hint": "`ISshKeysClient.GetAllForCurrent()` (Octokit's release notes for 0.19.0)", - "source_url": "https://github.com/octokit/octokit.net/releases/tag/v0.19.0", - "source_excerpt": "v0.19 - Identifying Types\nBreaking Changes\n- `ISshKeysClient.GetAllForCurrent()`", + "description": "`MilestoneUpdate.Number` was removed in Octokit 0.5.2: code using it fails.", + "migration_hint": "`MilestoneUpdate.Number` is now removed (Octokit's release notes for 0.5.2)", + "source_url": "https://github.com/octokit/octokit.net/releases/tag/v0.5.2", + "source_excerpt": "v0.5.2\nBreaking Changes:\n- `MilestoneUpdate.Number` is now removed", "confidence": 1, "detected_at": "2026-11-14T12:00:00Z" } diff --git a/plugins/changelog/testdata/golden/github-octokit-rest.json b/plugins/changelog/testdata/golden/github-octokit-rest.json index 8aeaa45..2d058ce 100644 --- a/plugins/changelog/testdata/golden/github-octokit-rest.json +++ b/plugins/changelog/testdata/golden/github-octokit-rest.json @@ -411,9 +411,9 @@ "symbols": [ "octokit.actions.listWorkflowJobLogs" ], - "replacement": "octokit.actions.downloadWorkflowJobLogs" + "replacement": "octokit.actions.downloadJobLogsForWorkflowRun" }, - "description": "`octokit.actions.listWorkflowJobLogs` was renamed to `octokit.actions.downloadWorkflowJobLogs` in @octokit/rest 18.0.0: code using the old name fails.", + "description": "`octokit.actions.listWorkflowJobLogs` was renamed to `octokit.actions.downloadJobLogsForWorkflowRun` in @octokit/rest 18.0.0: code using the old name fails.", "migration_hint": "`octokit.actions.listWorkflowJobLogs()` has been renamed to `octokit.actions.downloadWorkflowJobLogs()` (@octokit/rest's release notes for 18.0.0)", "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.actions.listWorkflowJobLogs()` has been renamed to `octokit.actions.downloadWorkflowJobLogs()`", @@ -1236,9 +1236,9 @@ "symbols": [ "octokit.issues.replaceLabels" ], - "replacement": "octokit.issues.replaceAllLabels" + "replacement": "octokit.issues.setLabels" }, - "description": "`octokit.issues.replaceLabels` was renamed to `octokit.issues.replaceAllLabels` in @octokit/rest 18.0.0: code using the old name fails.", + "description": "`octokit.issues.replaceLabels` was renamed to `octokit.issues.setLabels` in @octokit/rest 18.0.0: code using the old name fails.", "migration_hint": "`octokit.issues.replaceLabels()` has been renamed to `octokit.issues.replaceAllLabels()` (@octokit/rest's release notes for 18.0.0)", "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.issues.replaceLabels()` has been renamed to `octokit.issues.replaceAllLabels()`", @@ -1997,7 +1997,7 @@ }, { "id": 81, - "fingerprint": "sha256:d62fe0641f356d2b93f014c7bc66248d4e4315a33d726b77cc65668df1f91cad", + "fingerprint": "sha256:5f8fa38b7fcc1d11b8a81e95ed2d4a634ab0165c5ed914fdc85ca64914820f34", "api": "github/octokit-rest", "version": "18.0.0", "previous_version": "17.11.2", @@ -2007,13 +2007,12 @@ "type": "package_release", "ecosystem": "npm", "package": "@octokit/rest", - "change": "renamed_symbol", + "change": "removed_symbol", "symbols": [ "octokit.reactions.delete" - ], - "replacement": "octokit.reactions.deleteLegacy" + ] }, - "description": "`octokit.reactions.delete` was renamed to `octokit.reactions.deleteLegacy` in @octokit/rest 18.0.0: code using the old name fails.", + "description": "`octokit.reactions.delete` was removed in @octokit/rest 18.0.0: code using it fails.", "migration_hint": "`octokit.reactions.delete()` has been renamed to `octokit.reactions.deleteLegacy()` (@octokit/rest's release notes for 18.0.0)", "source_url": "https://github.com/octokit/rest.js/releases/tag/v18.0.0", "source_excerpt": "v18.0.0\nBREAKING CHANGES\n* `octokit.reactions.delete()` has been renamed to `octokit.reactions.deleteLegacy()`", diff --git a/providers/github-octokit.md b/providers/github-octokit.md index 9c92a33..d4e06e1 100644 --- a/providers/github-octokit.md +++ b/providers/github-octokit.md @@ -19,10 +19,11 @@ rest.js ships a major when GitHub removes or renames REST endpoints; octokit.net ## What the plugin reads and ignores +- A rename whose new name the same release renames again or removes points to where the chain ends (rest.js 18.0.0: `issues.replaceLabels` → `issues.setLabels`, not the intermediate `replaceAllLabels`), or to nothing when the chain ends in a removal. - Every heading in a release's notes starts a section; bullets under a breaking or deprecation heading count when they name what they remove or rename plainly. - Drops (and logs): signature changes (`ISshKeysClient.Get(int id)`), dropped Node.js versions, "remove deprecated endpoints" without names. ## Known gaps - Release notes can be edited after the release: what's read is the notes when the pair is extracted. -- octokit.net's recent releases describe breaking changes in prose: few of them are events. +- octokit.net's releases describe breaking changes in prose or as signatures: the last plainly named removal is 0.5.2's (`MilestoneUpdate.Number`), the release its golden pins. From 080138075f64d1b78048ec550f97adb89babd1fd Mon Sep 17 00:00:00 2001 From: adssib <75389300+adssib@users.noreply.github.com> Date: Fri, 20 Nov 2026 21:20:24 -0500 Subject: [PATCH 9/9] changelog: a deprecation's replacement isn't followed as a rename Co-Authored-By: Claude Opus 5.5 Signed-off-by: adssib <75389300+adssib@users.noreply.github.com> --- plugins/changelog/changelog.go | 4 +++- plugins/changelog/changelog_test.go | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/changelog/changelog.go b/plugins/changelog/changelog.go index a0be1e1..809f0b8 100644 --- a/plugins/changelog/changelog.go +++ b/plugins/changelog/changelog.go @@ -213,7 +213,9 @@ func chained(fs []Finding) []Finding { } for i, f := range fs { r := f.Change.Replacement - if f.Dropped != "" || r == "" { + // Only a breaking rename is followed: a deprecation in favor of a + // name stays a deprecation, whatever happens to that name. + if f.Dropped != "" || r == "" || f.Change.ChangeType != event.ChangeTypeBreaking { continue } seen := map[string]bool{} diff --git a/plugins/changelog/changelog_test.go b/plugins/changelog/changelog_test.go index 8b08183..a89238d 100644 --- a/plugins/changelog/changelog_test.go +++ b/plugins/changelog/changelog_test.go @@ -138,7 +138,8 @@ func TestRenamesAreFollowedToTheirEnd(t *testing.T) { body := "## BREAKING CHANGES\\n\\n" + "* `acme.a()` has been renamed to `acme.b()`\\n* `acme.b()` has been renamed to `acme.c()`\\n" + "* `acme.x()` has been renamed to `acme.y()`\\n* `acme.y()` has been removed\\n" + - "* `acme.p()` has been renamed to `acme.q()`\\n* `acme.q()` has been renamed to `acme.p()`\\n" + "* `acme.p()` has been renamed to `acme.q()`\\n* `acme.q()` has been renamed to `acme.p()`\\n" + + "## Deprecations\\n\\n* Deprecated `acme.d` in favor of `acme.y`\\n" _, fs, err := f.Read([]byte(`{"tag_name": "v2.0.0", "body": "` + body + `"}`)) if err != nil { t.Fatal(err) @@ -147,7 +148,7 @@ func TestRenamesAreFollowedToTheirEnd(t *testing.T) { for _, f := range fs { got = append(got, strings.Join(f.Change.Symbols, ",")+">"+f.Change.Replacement) } - want := "acme.a>acme.c acme.b>acme.c acme.x> acme.y> acme.p> acme.q>" + want := "acme.a>acme.c acme.b>acme.c acme.x> acme.y> acme.p> acme.q> acme.d>acme.y" if strings.Join(got, " ") != want { t.Errorf("got %s\nwant %s", strings.Join(got, " "), want) }