diff --git a/AGENTS.md b/AGENTS.md index fbf9895..57716c7 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/, dtsurface/); 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/cmd/new-plugin/formats.go b/cmd/new-plugin/formats.go index 7b08632..b85fd8a 100644 --- a/cmd/new-plugin/formats.go +++ b/cmd/new-plugin/formats.go @@ -27,6 +27,7 @@ var defaultReaders = map[string]string{ "notices": "deprecations", "migrationguide": "sdk", "changelog": "markdown", + "apisurface": "pypi", // npm when a --package is npm: } var formats = map[string]formatSpec{ @@ -159,16 +160,15 @@ func {{.Lower}}Ingest(t *testing.T, file string) []event.Event { defDir: "plugins/migrationguide/sdkguide", def: `package sdkguide -// {{.Ident}} is {{.Provider}}'s SDK guide to a major release (MIGRATION.md at -// the release tag). +// {{.Ident}} is {{.Provider}}'s SDK guide to each major release (MIGRATION.md +// at the major's first tag), its releases listed from PyPI. // -// ` + todo + `: the PyPI name, the repo, the major release and the calls the -// guide's table names. Say what you checked, with the date. +// ` + todo + `: the PyPI name, the repo and the calls the guide's table +// names. Say what you checked, with the date. var {{.Ident}} = Guide{ API: "{{.ID}}", Package: "{{.PyPI}}", Repo: "TODO-owner/TODO-repo", - Major: 1, Methods: "` + "`TODO.create()`" + `", Symbols: []string{"TODO.create"}, } @@ -216,9 +216,10 @@ const {{.Lower}}Previous = "0.0.0" // {{.Lower}}Ingest is the version pair {{.Lower}}Previous -> the guide's // major over a saved copy of the guide. +// ` + todo + `: the major the saved guide is for. func {{.Lower}}Ingest(t *testing.T, file string) []event.Event { t.Helper() - g := sdkguide.{{.Ident}} + g := sdkguide.{{.Ident}}.At(1) env := kittest.Env(t, kittest.Pages{g.URL(): file}) return kittest.Versions(t, env, Plugin{Guide: g}, plugin.Version{ID: {{.Lower}}Previous, Ref: "v" + {{.Lower}}Previous}, plugin.Version{ID: g.Version(), Ref: "v" + g.Version()}) @@ -233,19 +234,19 @@ func {{.Lower}}Ingest(t *testing.T, file string) []event.Event { defDir: "plugins/migrationguide/members", def: `package members -// {{.Ident}} is {{.Provider}}'s migration guide to a release, with its table -// of removed members. +// {{.Ident}} is {{.Provider}}'s migration guide to each major, with its table +// of removed members, read at the major's first tag. // -// ` + todo + `: the package, how the guide writes the module, the release, -// the repo, the guide's path at the release tag and the heading the table is -// under. Say what you checked, with the date. +// ` + todo + `: the package, how the guide writes the module, the repo, the +// guide's path at a major's tag ({major} for its number, {prev} for the one +// before) and the heading the table is under. Say what you checked, with the +// date. var {{.Ident}} = Guide{ API: "{{.ID}}", Package: "{{.PyPI}}", Module: "{{.Module}}", - Release: "1.0.0", Repo: "TODO-owner/TODO-repo", - Path: "TODO/migration_guide.rst", + Path: "TODO/migration_guide_{major}.rst", Section: "Removed members", } `, @@ -300,13 +301,17 @@ func Test{{.Ident}}DropsANonChange(t *testing.T) { // ` + todo + `: the real release before it. const {{.Lower}}Previous = "0.0.0" -// {{.Lower}}Ingest is the version pair {{.Lower}}Previous -> the guide's -// release over a saved copy of the guide. +// {{.Lower}}Release is the major's first release the saved guide is for. +// ` + todo + `: the real release. +const {{.Lower}}Release = "1.0.0" + +// {{.Lower}}Ingest is the version pair {{.Lower}}Previous -> +// {{.Lower}}Release over a saved copy of the guide. func {{.Lower}}Ingest(t *testing.T, file string) []event.Event { t.Helper() g := members.{{.Ident}} - env := kittest.Env(t, kittest.Pages{g.URL(): file}) - return kittest.Versions(t, env, Plugin{Guide: g}, plugin.Version{ID: {{.Lower}}Previous}, plugin.Version{ID: g.Release}) + env := kittest.Env(t, kittest.Pages{g.RawURL("v"+{{.Lower}}Release, 1): file}) + return kittest.Versions(t, env, Plugin{Guide: g}, plugin.Version{ID: {{.Lower}}Previous}, plugin.Version{ID: {{.Lower}}Release}) } `, imports: []string{"slices", "github.com/patch-it-dev/patch-it-plugins/core/event", "github.com/patch-it-dev/patch-it-plugins/core/plugin", "github.com/patch-it-dev/patch-it-plugins/plugins/migrationguide/members"}, @@ -328,9 +333,6 @@ var {{.Ident}} = File{ API: "{{.ID}}", Package: "{{.PyPI}}", Ecosystem: "pypi", Module: "{{.Module}}", Repo: "TODO-owner/TODO-repo", TagPrefix: "v", Path: "CHANGELOG.md", } - -// {{.Ident}}Golden is the release the golden test pins. -var {{.Ident}}Golden = {{.Ident}}.At("1.0.0") `, register: `plugin.Register(Plugin{File: {{.Ident}}})`, pluginOf: `Plugin{File: {{.Ident}}}`, @@ -345,7 +347,12 @@ var {{.Ident}}Golden = {{.Ident}}.At("1.0.0") - A placeholder entry. `}, source: "{{.File}}-CHANGELOG.md", - ingest: `// {{.Lower}}Previous is the release before {{.Ident}}Golden's on the + ingest: `// {{.Ident}}Golden is the release the golden test pins: only a test names +// one. +// ` + todo + `: the real release. +var {{.Ident}}Golden = {{.Ident}}.At("1.0.0") + +// {{.Lower}}Previous is the release before {{.Ident}}Golden's on the // registry: the pair's older side. // ` + todo + `: the real release before it. const {{.Lower}}Previous = "0.0.0" @@ -421,40 +428,46 @@ func {{.Lower}}Ingest(t *testing.T, file string) []event.Event { defDir: "plugins/catalog", def: `package catalog -// {{.Ident}} is {{.Provider}}'s catalog: one JSON object, one key per command -// or endpoint, at a git ref. +import "regexp" + +// {{.Ident}} is {{.Provider}}'s command catalog: one JSON file per command in a +// directory of its repo, read at each release tag, as Redis's is (redis.go). // // ` + todo + `: the ecosystem and package for the events' subject, the repo, -// the catalog's path and the commits API URL for the newest ref. Say what you -// checked, with the date, as catalog.go does for Redis. -var {{.Ident}} = Catalog{ +// the directory and the release tags' shape. Say what you checked, with the +// date, as redis.go does for Redis. +var {{.Ident}} = Commands{ API: "{{.ID}}", Ecosystem: "{{.ProviderID}}", Package: "{{.ProviderID}}", - Repo: "TODO-owner/TODO-repo", Path: "TODO/commands.json", - RefsURL: "https://api.github.com/repos/TODO-owner/TODO-repo/commits/main", + Repo: "TODO-owner/TODO-repo", Dir: "TODO/commands", + Release: regexp.MustCompile(` + "`" + `^v?(\d+\.\d+\.\d+)$` + "`" + `), } `, - register: `plugin.Register(Plugin{Catalog: {{.Ident}}})`, - pluginOf: `Plugin{Catalog: {{.Ident}}}`, + register: `plugin.Register({{.Ident}})`, + pluginOf: `{{.Ident}}`, fixtures: map[string]string{ - "{{.File}}-old.json": "{\"PLACEHOLDER\": {}}\n", - "{{.File}}-new.json": "{\"PLACEHOLDER\": {}}\n", + "{{.File}}-old.json": "[{\"name\": \"placeholder.json\", \"type\": \"file\"}, {\"name\": \"kept.json\", \"type\": \"file\"}]\n", + "{{.File}}-new.json": "[{\"name\": \"kept.json\", \"type\": \"file\"}]\n", + "{{.File}}-placeholder.json": "{\"PLACEHOLDER\": {\"summary\": \"a placeholder\"}}\n", }, - source: "{{.File}}-new.json", - ingest: `// The two refs the saved snapshots are at. -// ` + todo + `: the real commits, oldest first. + dropFile: "[{\"name\": \"placeholder.json\", \"type\": \"file\"}, {\"name\": \"kept.json\", \"type\": \"file\"}, {\"name\": \"added.json\", \"type\": \"file\"}]\n", + source: "{{.File}}-new.json", + ingest: `// The two releases the saved listings are at. +// ` + todo + `: the real tags, oldest first. const ( - {{.Lower}}OldRef = "0000000000000000000000000000000000000000" - {{.Lower}}NewRef = "1111111111111111111111111111111111111111" + {{.Lower}}OldRef = "v1.0.0" + {{.Lower}}NewRef = "v2.0.0" ) -// {{.Lower}}Ingest extracts the change from the saved old snapshot to file. +// {{.Lower}}Ingest is the version pair from the saved old listing to file, +// the newer release's listing; a file gone from it is read at the old tag. func {{.Lower}}Ingest(t *testing.T, file string) []event.Event { t.Helper() env := kittest.Env(t, kittest.Pages{ - {{.Ident}}.URL({{.Lower}}OldRef): "testdata/{{.File}}-old.json", - {{.Ident}}.URL({{.Lower}}NewRef): file, + {{.Ident}}.listingURL({{.Lower}}OldRef): "testdata/{{.File}}-old.json", + {{.Ident}}.listingURL({{.Lower}}NewRef): file, + {{.Ident}}.FileURL({{.Lower}}OldRef, "placeholder.json"): "testdata/{{.File}}-placeholder.json", }) - return kittest.Versions(t, env, Plugin{Catalog: {{.Ident}}}, + return kittest.Versions(t, env, {{.Ident}}, plugin.Version{ID: {{.Lower}}OldRef, Ref: {{.Lower}}OldRef}, plugin.Version{ID: {{.Lower}}NewRef, Ref: {{.Lower}}NewRef}) } `, @@ -541,7 +554,7 @@ func {{.Lower}}Ingest(t *testing.T, file string) []event.Event { imports: []string{"context", "fmt", "os", "github.com/patch-it-dev/patch-it-plugins/plugins/openapi/adapter", "github.com/patch-it-dev/patch-it-plugins/core/event", "github.com/patch-it-dev/patch-it-plugins/core/plugin"}, next: "Write LatestTag, Fetch and Versions in plugins/openapi/adapter/{{.File}}.go (fetch.Get only); add Diff/Keep to the Register line if the spec needs them (see vercel.go).", }, - "apisurface": { + "apisurface/pypi": { kind: "apisurface", layer: "sdk", defDir: "plugins/apisurface", @@ -611,6 +624,82 @@ func {{.Lower}}Ingest(t *testing.T, file string) []event.Event { imports: []string{"archive/zip", "bytes", "context", "fmt", "github.com/patch-it-dev/patch-it-plugins/core/event"}, next: "Save two real wheels of the package and serve them in {{.Lower}}Ingest; the kind reads their .py files, never runs them.", }, + "apisurface/npm": { + kind: "apisurface", + layer: "sdk", + defDir: "plugins/apisurface", + def: `package apisurface + +// {{.Ident}} is {{.Provider}}'s package on npm, its public API read from each +// release's TypeScript declarations. +// +// ` + todo + `: check the name on npm, and that its tarball has .d.ts +// files (package.json's "types" or "exports"). Say what you checked, with +// the date. +var {{.Ident}} = npmPackage("{{.ID}}", "{{.NPM}}") +`, + register: `plugin.Register(Plugin{Package: {{.Ident}}})`, + pluginOf: `Plugin{Package: {{.Ident}}}`, + fixtures: map[string]string{ + "{{.File}}-old.d.ts": "// ` + todo + `: a placeholder for the older release's declarations. Save the real release's tarball instead (see npm_test.go).\nexport declare function placeholder(a: string, b?: number): void;\n", + "{{.File}}-new.d.ts": "// ` + todo + `: a placeholder for the newer release's declarations: b is no longer optional, one event.\nexport declare function placeholder(a: string, b: number): void;\n", + }, + // The drop test's newer release: the older one again, a name added. + dropFile: "// ` + todo + `: a placeholder: a release that only adds.\nexport declare function placeholder(a: string, b?: number): void;\nexport declare function added(): void;\n", + source: "{{.File}}-new.d.ts", + ingest: `// {{.Lower}}Ingest compares two releases: 1.0.0, a tarball holding +// testdata/{{.File}}-old.d.ts as index.d.ts, and 1.1.0, one holding file. +// The tarballs are built here so the placeholders are text. +// ` + todo + `: save the two real tarballs (trimmed if they're large, as +// npm_test.go's are) and serve them instead. +func {{.Lower}}Ingest(t *testing.T, file string) []event.Event { + t.Helper() + tarball := func(src string) []byte { + var buf bytes.Buffer + gz := gzip.NewWriter(&buf) + tw := tar.NewWriter(gz) + for name, body := range map[string][]byte{ + "package/package.json": []byte(` + "`" + `{"name": "{{.NPM}}", "types": "index.d.ts"}` + "`" + `), + "package/index.d.ts": kittest.Read(t, src), + } { + if err := tw.WriteHeader(&tar.Header{Name: name, Mode: 0o644, Size: int64(len(body)), Typeflag: tar.TypeReg}); err != nil { + t.Fatal(err) + } + tw.Write(body) + } + if err := tw.Close(); err != nil { + t.Fatal(err) + } + gz.Close() + return buf.Bytes() + } + reg := "https://registry.npmjs.org/" + strings.ReplaceAll("{{.NPM}}", "/", "%2F") + files := map[string][]byte{ + reg: []byte(` + "`" + `{"versions": {"1.0.0": {}, "1.1.0": {}}, "time": {"1.0.0": "2026-01-01T00:00:00Z", "1.1.0": "2026-02-01T00:00:00Z"}}` + "`" + `), + reg + "/1.0.0": []byte(` + "`" + `{"dist": {"tarball": "https://example.com/{{.File}}-1.0.0.tgz"}}` + "`" + `), + reg + "/1.1.0": []byte(` + "`" + `{"dist": {"tarball": "https://example.com/{{.File}}-1.1.0.tgz"}}` + "`" + `), + "https://example.com/{{.File}}-1.0.0.tgz": tarball("testdata/{{.File}}-old.d.ts"), + "https://example.com/{{.File}}-1.1.0.tgz": tarball(file), + } + env := kittest.Env(t, nil) + env.Get = func(_ context.Context, url string) ([]byte, error) { + if b, ok := files[url]; ok { + return b, nil + } + t.Errorf("fetched %s, which the test didn't save", url) + return nil, fmt.Errorf("no saved copy of %s", url) + } + ctx, p := context.Background(), Plugin{Package: {{.Ident}}} + vs, err := p.ListVersions(ctx, env) + if err != nil || len(vs) != 2 { + t.Fatalf("versions %v: %v", vs, err) + } + return kittest.Versions(t, env, p, vs[0], vs[1]) +} +`, + imports: []string{"archive/tar", "bytes", "compress/gzip", "context", "fmt", "strings", "github.com/patch-it-dev/patch-it-plugins/core/event"}, + next: "Save two real tarballs of the package and serve them in {{.Lower}}Ingest; the kind reads their .d.ts files, never runs them.", + }, } // testFile is the generated test, the same for every format. diff --git a/cmd/new-plugin/main.go b/cmd/new-plugin/main.go index f508721..1f7fba2 100644 --- a/cmd/new-plugin/main.go +++ b/cmd/new-plugin/main.go @@ -176,6 +176,9 @@ func (o Options) template() (string, error) { return o.Kind, nil } r := cmp(o.Reader, defaultReaders[o.Kind]) + if o.Kind == "apisurface" && o.Reader == "" && slices.ContainsFunc(o.Packages, func(p string) bool { return strings.HasPrefix(p, "npm:") }) { + r = "npm" // the package's ecosystem picks the reader + } if _, ok := formats[o.Kind+"/"+r]; !ok { return "", fmt.Errorf("--reader %q: kind %s's readers are %s", o.Reader, o.Kind, readerHelp()) } @@ -192,10 +195,10 @@ var ( // data is what the templates fill in. type data struct { - ID, Name, Ident, Lower, ProviderID, Provider, Source, File, Format, Kind, Module, PyPI string - Slug string // the provider, lowercase: a model subject's provider - SourceFile, DropFile, PluginOf, Ingest, Drop string - Imports []string + ID, Name, Ident, Lower, ProviderID, Provider, Source, File, Format, Kind, Module, PyPI, NPM string + Slug string // the provider, lowercase: a model subject's provider + SourceFile, DropFile, PluginOf, Ingest, Drop string + Imports []string } // Run scaffolds the source, or changes nothing and says why. @@ -233,7 +236,7 @@ func Run(o Options, out io.Writer) error { } } if len(o.Packages) == 0 && f.kind == "apisurface" { - o.Packages = []string{"pypi:" + o.ProviderID} + o.Packages = []string{strings.TrimPrefix(o.tmpl, "apisurface/") + ":" + o.ProviderID} } for _, p := range o.Packages { eco, name, ok := strings.Cut(p, ":") @@ -268,6 +271,13 @@ func Run(o Options, out io.Writer) error { break } } + d.NPM = o.ProviderID + for _, p := range o.Packages { + if name, ok := strings.CutPrefix(p, "npm:"); ok { + d.NPM = name + break + } + } d.Module = strings.ReplaceAll(strings.ToLower(d.PyPI), "-", "_") d.Ident = ident(o.name) d.Lower = string(unicode.ToLower(rune(d.Ident[0]))) + d.Ident[1:] diff --git a/cmd/new-plugin/main_test.go b/cmd/new-plugin/main_test.go index 1ee9952..72f3ad7 100644 --- a/cmd/new-plugin/main_test.go +++ b/cmd/new-plugin/main_test.go @@ -206,7 +206,7 @@ func hash(b []byte) string { // name, category and homepage not asked again. func TestAsksWhatIsMissing(t *testing.T) { o := Options{ProviderID: "stripe"} - in := bufio.NewReader(strings.NewReader("python-sdk\napisurface\nsdk\nhttps://pypi.org/project/stripe/\npypi:stripe\nRemoved names\n")) + in := bufio.NewReader(strings.NewReader("python-sdk\napisurface\npypi\nsdk\nhttps://pypi.org/project/stripe/\npypi:stripe\nRemoved names\n")) var out bytes.Buffer if err := ask(&o, in, &out); err != nil { t.Fatal(err) diff --git a/core/github/github.go b/core/github/github.go index b056470..f0db860 100644 --- a/core/github/github.go +++ b/core/github/github.go @@ -16,6 +16,7 @@ import ( "time" "github.com/patch-it-dev/patch-it-plugins/core/fetch" + "github.com/patch-it-dev/patch-it-plugins/core/plugin" ) // API is GitHub's REST API. @@ -63,7 +64,8 @@ func LatestRelease(ctx context.Context, get Getter, url string) (string, error) } // LatestCommit reads a commit list (url: commits?path=&per_page=1, newest -// first) and returns the newest commit's SHA, or an error when it lists none. +// first) and returns the newest commit's SHA, or an error when it lists none +// (plugin.ErrNothingToRead: no commit ever changed the path). func LatestCommit(ctx context.Context, get Getter, url string) (string, error) { body, err := get(ctx, url) if err != nil { @@ -76,7 +78,7 @@ func LatestCommit(ctx context.Context, get Getter, url string) (string, error) { return "", fmt.Errorf("parsing github commits response: %w", err) } if len(commits) == 0 || commits[0].SHA == "" { - return "", fmt.Errorf("github lists no commit") + return "", fmt.Errorf("github lists no commit: %w", plugin.ErrNothingToRead) } return commits[0].SHA, nil } diff --git a/core/plugin/plugin_test.go b/core/plugin/plugin_test.go index bdd9063..d7681bd 100644 --- a/core/plugin/plugin_test.go +++ b/core/plugin/plugin_test.go @@ -82,3 +82,12 @@ func TestTwoSourcesCantShareAnID(t *testing.T) { }() register(t, "test-dup") } + +func TestAVersionPinsNothingUntilSet(t *testing.T) { + if !(Version{ID: "12.0.0"}).MapsTo.IsZero() { + t.Error("a version with no MapsTo pins something") + } + if (Pin{API: "example/api", Version: "2026-03-31"}).IsZero() { + t.Error("a set pin is zero") + } +} diff --git a/core/plugin/versions.go b/core/plugin/versions.go index ffc99ce..845dc50 100644 --- a/core/plugin/versions.go +++ b/core/plugin/versions.go @@ -43,8 +43,24 @@ type Version struct { // URL is where a person sees this version (a release page, a commit, a // Wayback Machine snapshot). URL string + // MapsTo is the version of another source this one pins, when it pins + // one: an SDK release and the API version it calls ("stripe/api", + // "2025-03-31"). Zero when it pins none or the source doesn't say. The + // plugin reads it from the release itself (its notes, the version + // constant in its code), never from a table kept by hand; it is how a + // feed query on the SDK's versions also gets the API's changes. + MapsTo Pin } +// Pin is one version of another source: what a release pins. +type Pin struct { + API string // the source's provider/source id: "stripe/api" + Version string // as that source names it: "2025-03-31" +} + +// IsZero is true when nothing is pinned. +func (p Pin) IsZero() bool { return p.API == "" && p.Version == "" } + // Snapshot is a source as it was at one version: what ReadAt or Read read. type Snapshot struct { Version Version diff --git a/core/versions/versions.go b/core/versions/versions.go index 6684245..5cf8d3d 100644 --- a/core/versions/versions.go +++ b/core/versions/versions.go @@ -149,6 +149,16 @@ func GitHubCommits(ctx context.Context, get Getter, repo, path string) ([]plugin // yanked releases, none without files), oldest first by version. The Ref is // the version; a plugin that reads a repo at a tag maps it. func PyPIReleases(ctx context.Context, get Getter, pkg string) ([]plugin.Version, error) { + return pypiReleases(ctx, get, pkg, false) +} + +// PyPIReleasesWithYanked are PyPIReleases and the yanked final releases too: +// for a source whose change can be documented at a release later yanked. +func PyPIReleasesWithYanked(ctx context.Context, get Getter, pkg string) ([]plugin.Version, error) { + return pypiReleases(ctx, get, pkg, true) +} + +func pypiReleases(ctx context.Context, get Getter, pkg string, withYanked bool) ([]plugin.Version, error) { body, err := get(ctx, PyPI+"/pypi/"+url.PathEscape(pkg)+"/json") if err != nil { return nil, fmt.Errorf("listing %s's releases on PyPI: %w", pkg, err) @@ -175,7 +185,7 @@ func PyPIReleases(ctx context.Context, get Getter, pkg string) ([]plugin.Version first = f.Uploaded } } - if yanked { + if yanked && !withYanked { continue } out = append(out, plugin.Version{ID: v, Released: first.UTC(), Ref: v, URL: "https://pypi.org/project/" + pkg + "/" + v + "/"}) @@ -249,6 +259,12 @@ func Major(v string) int { return n } +// FirstOfMajor is true for X.0.0, the first release of a major (X > 0). +func FirstOfMajor(v string) bool { + m := Major(v) + return m > 0 && v == fmt.Sprintf("%d.0.0", m) +} + // Pairs are the consecutive pairs of vs, oldest first: what a backfill // extracts, one pair at a time. func Pairs(vs []plugin.Version) [][2]plugin.Version { diff --git a/core/versions/versions_test.go b/core/versions/versions_test.go index e6d3e40..eef3ce1 100644 --- a/core/versions/versions_test.go +++ b/core/versions/versions_test.go @@ -116,6 +116,21 @@ func TestPyPIReleasesAreFinalAndNotYanked(t *testing.T) { if !vs[0].Released.Equal(time.Date(2024, 1, 1, 0, 0, 0, 0, time.UTC)) { t.Errorf("released %v", vs[0].Released) } + all, err := PyPIReleasesWithYanked(context.Background(), get, "acme") + if err != nil { + t.Fatal(err) + } + if got := ids(all); got != "1.0.0@1.0.0 1.9.0@1.9.0 1.9.1@1.9.1 1.10.0@1.10.0" { + t.Errorf("with yanked: got %s", got) + } +} + +func TestFirstOfMajor(t *testing.T) { + for v, want := range map[string]bool{"2.0.0": true, "11.0.0": true, "2.0.1": false, "2.1.0": false, "0.0.0": false, "2.0": false, "2.0.0rc1": false} { + if got := FirstOfMajor(v); got != want { + t.Errorf("FirstOfMajor(%q) = %v, want %v", v, got, want) + } + } } func TestNPMReleases(t *testing.T) { diff --git a/docs/which-kind.md b/docs/which-kind.md index f2f67c9..1421a49 100644 --- a/docs/which-kind.md +++ b/docs/which-kind.md @@ -10,10 +10,10 @@ 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" | +| Is there a **structured catalog** in the provider's repo: one JSON file per command, or one file of upcoming removals? | `catalog` | Each release (or commit) of the catalog, compared with the one before: names that disappeared entirely, or removals newly announced | The command definitions a server is built from, at each release tag | +| Is it a **published package** with no changelog worth reading? | `apisurface` | Each release's files from the registry (PyPI wheels, npm TypeScript declarations), 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" | Still no "yes"? Open a [discussion](https://github.com/patch-it-dev/patch-it-plugins/discussions) with the source's link: a new kind is a new package under `plugins/`, and the questions above get one more row. diff --git a/docs/writing-a-plugin.md b/docs/writing-a-plugin.md index 01b4ea7..4b47102 100644 --- a/docs/writing-a-plugin.md +++ b/docs/writing-a-plugin.md @@ -83,11 +83,11 @@ Write the numbers on the provider page, as `providers/vercel.md` does for its sp | Kind | Reads | Add a source by | |---|---|---| | `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/notices` | A live page of dated notices: a model provider's deprecations page (a table of date, model, replacement: Markdown, Markdoc or HTML), 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/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 | +| `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 provider's own structured list of what it offers: a command catalog kept as one JSON file per command in its repo, read at each release tag and compared for commands that disappeared entirely | A `catalog.Commands` (repo, directory, release tag pattern); a catalog of another shape is a new reader type in the package | +| `plugins/apisurface` | A published package's public API, compared between two releases: the classes, functions, methods and parameters in each release's files (the wheel or sdist from PyPI, the TypeScript declarations in an npm tarball) | An `apisurface.Package` (registry name, ecosystem, top-level module; `npmPackage` for npm) and its `plugin.RegisterProvider` block | ## 4. The interface @@ -116,7 +116,7 @@ type Env struct { } type Snapshot struct { - Version Version // ID, Released, Ref, URL + Version Version // ID, Released, Ref, URL, MapsTo (the other source's version it pins, if any) Content []byte SourceURL string // the exact document read: the events' citation CompareHash string // a living page only: how its next Read tells it unchanged @@ -136,7 +136,8 @@ When a release or a page has no part the reader can use (a changelog with no sec A source that has versions (a spec's releases, a package's releases, a guide per major, the commits that changed a file) is read version by version, so a customer several versions behind gets every step: the runner lists the versions, reads each consecutive pair with `ReadAt` and extracts it once (a released version never changes). -- **List** with [`core/versions`](../core/versions/versions.go): `GitHubReleases`, `GitHubTags`, `GitHubCommits` (the commits that changed a file), `PyPIReleases`, `NPMReleases`, `GitHubPages` (any other GitHub list, page by page). An OpenAPI adapter lists its own versions (`adapter.Lister`): every adapter does. Never pin a tag in code: a version you need for a golden test is a pinned *case* in the test (`changelog.Urllib3.At("2.0.0")`), not the registered source. +- **List** with [`core/versions`](../core/versions/versions.go): `GitHubReleases`, `GitHubTags`, `GitHubCommits` (the commits that changed a file), `PyPIReleases` (`PyPIReleasesWithYanked` when a change can be documented at a release later yanked), `NPMReleases`, `GitHubPages` (any other GitHub list, page by page). An OpenAPI adapter lists its own versions (`adapter.Lister`): every adapter does. Never pin a tag in code: a version you need for a golden test is a pinned *case* in the test (`changelog.Urllib3.At("2.0.0")`, in a `_test.go` file), not the registered source; `plugins/all`'s `TestNoPinnedReleaseInPluginCode` fails on a release number or commit SHA in any plugin's non-test code. +- **Pins** (`Version.MapsTo`): when a release pins a version of another source (an SDK release and the API version it calls), set it while listing, from the release itself (its notes, the version constant in its code). It is how a feed query on the SDK's versions also returns the API's changes. Leave it zero when the release doesn't say: never fill it from a table kept by hand. - **Read at** a version's `Ref` (a tag, a commit SHA) and return the exact URL read as the snapshot's `SourceURL`: it's the events' citation. - **Extract** sets `previous_version` to `from`'s version: every `api_operation` and `package_release` event must name it (the contract's rule 13). `from` is zero only for the first version read, which has nothing to compare: patch-it's hosted ingestion service reads that version as its first snapshot and extracts nothing from it, so a version pair always starts at a real `from` (an `api_operation` or `package_release` event extracted from zero would be rejected). @@ -149,7 +150,9 @@ A living page (a deprecations page, a feed: a `notices` source) only shows its l ### The `apisurface` kind: reading a package's API without running it -`plugins/apisurface` downloads a release's wheel (or sdist) through `env.Get`, opens it in memory (`archive/zip`, `archive/tar`: nothing is written to disk) and hands the `.py` and `.pyi` files to `plugins/apisurface/pysurface`, which reads them as text: logical lines, indentation, and the headers of `def`, `class`, `__all__` and `from … import`. Nothing in the package is imported, compiled or run. That's the safest way to read code someone else publishes, and it needs no dependency: a Python interpreter (the `ast` module) would mean running a second runtime next to the plugins, and the pure-Go Python parsers available follow old grammars and pull in a large module for what is a few hundred lines here. The cost is that only signatures are read, never what a body does, and anything the reader can't be sure of is left out (see `providers/openai-python-sdk.md`). Archive and file sizes are capped (`MaxFileBytes`, `MaxSourceBytes`), so a crafted release can't exhaust the runner. +`plugins/apisurface` downloads a release's wheel (or sdist) through `env.Get`, opens it in memory (`archive/zip`, `archive/tar`: nothing is written to disk) and hands the `.py` and `.pyi` files to `plugins/apisurface/pysurface`, which reads them as text: logical lines, indentation, and the headers of `def`, `class`, `__all__` and `from … import`. Nothing in the package is imported, compiled or run. That's the safest way to read code someone else publishes, and it needs no dependency: a Python interpreter (the `ast` module) would mean running a second runtime next to the plugins, and the pure-Go Python parsers available follow old grammars and pull in a large module for what is a few hundred lines here. The cost is that only signatures are read, never what a body does, and anything the reader can't be sure of is left out (see `providers/openai-python-surface.md`). Archive and file sizes are capped (`MaxFileBytes`, `MaxSourceBytes`), so a crafted release can't exhaust the runner. + +An npm release is read the same way: its tarball (the version document's `dist.tarball`) is opened in memory and only `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files are kept, for `plugins/apisurface/dtsurface`. Declaration files hold declarations only, never statements, so a tokenizer and a parser of declarations, which skips each type expression by its brackets, read every name, member and parameter a caller can see, in about a thousand lines of standard-library Go. The alternatives would each be worse here: the TypeScript compiler is JavaScript, so it would mean running Node and code from npm next to the plugins; the Go ports of TypeScript's parser are internal to their projects or need cgo (tree-sitter); and a full type checker is far more than a public-API diff needs. No package code runs, no install script runs, no dependency is added (the `make imports` allowlist is unchanged). What it doesn't do, on purpose: resolve types (a property's type isn't followed), or read interface members (see `providers/openai-node-surface.md`). An event cites the newer release's file, and its excerpt quotes the definition's path and line in both releases. npm packages (`.d.ts` files) are next. @@ -204,11 +207,13 @@ The test kit, `core/kit/kittest`, runs the plugin with no network, no database a ```go func TestGolden(t *testing.T) { env := kittest.Env(t, kittest.Pages{ - Redis.URL(oldRef): "testdata/redis-doc-cc0427b.json", - Redis.URL(newRef): "testdata/redis-doc-06f3598.json", + Redis.listingURL("8.8-m03"): "testdata/redis-contents-src-commands-8.8-m03.json", + Redis.listingURL("8.8-rc1"): "testdata/redis-contents-src-commands-8.8-rc1.json", + Redis.FileURL("8.8-m03", "gcra.json"): "testdata/redis-8.8-m03-gcra.json", + Redis.FileURL("8.8-m03", "gcrasetvalue.json"): "testdata/redis-8.8-m03-gcrasetvalue.json", }) - got := kittest.Versions(t, env, Plugin{Catalog: Redis}, - plugin.Version{ID: oldRef, Ref: oldRef}, plugin.Version{ID: newRef, Ref: newRef}) + got := kittest.Versions(t, env, Redis, + plugin.Version{ID: "8.8-m03", Ref: "8.8-m03"}, plugin.Version{ID: "8.8-rc1", Ref: "8.8-rc1"}) kittest.Golden(t, "testdata/golden/redis-commands.json", got) } ``` diff --git a/internal/pluginlist/pluginlist_test.go b/internal/pluginlist/pluginlist_test.go index 6138134..ff9c129 100644 --- a/internal/pluginlist/pluginlist_test.go +++ b/internal/pluginlist/pluginlist_test.go @@ -2,6 +2,7 @@ package pluginlist import ( "encoding/json" + "slices" "strings" "testing" @@ -42,8 +43,9 @@ func TestBuildListsEveryRegisteredSource(t *testing.T) { } } -// One provider, several sources: Algolia's three APIs. -func TestAlgoliaIsOneProviderWithThreeSources(t *testing.T) { +// One provider, several sources: Algolia's three APIs (and its other +// sources), merged across kinds into one provider. +func TestAlgoliaIsOneProviderWithItsSources(t *testing.T) { b, err := Marshal(Build("v1.2.3")) if err != nil { t.Fatal(err) @@ -63,8 +65,10 @@ func TestAlgoliaIsOneProviderWithThreeSources(t *testing.T) { t.Errorf("%s: page %s isn't at the release", s.ID, s.Page) } } - if got := strings.Join(ids, " "); got != "algolia/ingestion-api algolia/recommend-api algolia/search-api" { - t.Errorf("algolia's sources: %s", got) + for _, want := range []string{"algolia/ingestion-api", "algolia/recommend-api", "algolia/search-api"} { + if !slices.Contains(ids, want) { + t.Errorf("algolia's sources %v lack %s", ids, want) + } } return } diff --git a/plugins/all/pins_test.go b/plugins/all/pins_test.go new file mode 100644 index 0000000..62fd2a1 --- /dev/null +++ b/plugins/all/pins_test.go @@ -0,0 +1,56 @@ +package all + +import ( + "go/ast" + "go/parser" + "go/token" + "io/fs" + "path/filepath" + "regexp" + "strconv" + "strings" + "testing" +) + +// release is a specific release in a string: a version number with three +// parts ("2.0.0", "v0.86.0", "posthog-v8.0.0", "python-agent-110000" aside) +// or a full commit SHA. A source lists its versions (PyPI, npm, tags, +// commits); only a test pins one, through its saved fixtures. +var release = regexp.MustCompile(`(^|[^0-9A-Za-z.])v?\d+\.\d+\.\d+([^0-9]|$)|(^|[^0-9a-f])[0-9a-f]{40}([^0-9a-f]|$)`) + +// No plugin's code names a specific release or commit: every version comes +// from where the source publishes them. Comments may name the release a +// reader was checked at; a string the code uses may not. +func TestNoPinnedReleaseInPluginCode(t *testing.T) { + fset := token.NewFileSet() + err := filepath.WalkDir("..", func(path string, d fs.DirEntry, err error) error { + if err != nil { + return err + } + if d.IsDir() && d.Name() == "testdata" { + return filepath.SkipDir + } + if d.IsDir() || !strings.HasSuffix(path, ".go") || strings.HasSuffix(path, "_test.go") { + return nil + } + f, err := parser.ParseFile(fset, path, nil, 0) + if err != nil { + return err + } + ast.Inspect(f, func(n ast.Node) bool { + lit, ok := n.(*ast.BasicLit) + if !ok || lit.Kind != token.STRING { + return true + } + s, err := strconv.Unquote(lit.Value) + if err == nil && release.MatchString(s) { + t.Errorf("%s: %q names a specific release; list versions from the source and pin one only in a test", fset.Position(lit.Pos()), s) + } + return true + }) + return nil + }) + if err != nil { + t.Fatal(err) + } +} diff --git a/plugins/apisurface/apisurface.go b/plugins/apisurface/apisurface.go index 7f5a1bb..d916c15 100644 --- a/plugins/apisurface/apisurface.go +++ b/plugins/apisurface/apisurface.go @@ -4,18 +4,24 @@ // or renamed, a parameter that is gone, or one that lost its default (callers // must now pass it), is an event. // -// Python first: every release on PyPI (ListVersions), the release's wheel -// (or sdist) read without running any of it (ReadAt: pysurface/ reads the -// .py and .pyi files as text), and the two surfaces compared (Extract). Each -// event cites the release file and quotes the definition's file and line in -// both releases. npm (.d.ts) is a follow-up. +// Every release on PyPI or npm (ListVersions), the release's files read +// without running any of them (ReadAt: pysurface/ reads a wheel's or sdist's +// .py and .pyi files as text; dtsurface/ reads an npm tarball's TypeScript +// declarations, .d.ts, .d.mts and .d.cts, as text), and the two surfaces +// compared (Extract): Python's parameters by name, TypeScript's by +// position. Each event cites the release file and quotes the definition's +// file and line in both releases; one declaration reachable at several +// import paths is one event. // // What isn't read, on purpose (precision over recall): private names (a -// leading underscore, a private module, a name left out of __all__), -// classes nested in classes, overloaded functions' parameters, a removed +// leading underscore, a module under a private one or one named internal +// or vendor, a name left out of __all__), classes nested in classes, +// overloaded functions' and properties' parameters, self and cls, a removed // parameter when the function now takes **kwargs (passing it still works), -// and a parameter newly added without a default (patch-it's change-event -// contract has no subject for it yet: logged). +// a name its module still binds (an alias, an import, a star import or a +// module __getattr__ that can't be listed), and a parameter newly added +// without a default (patch-it's change-event contract has no subject for it +// yet: logged). package apisurface import ( @@ -33,30 +39,14 @@ import ( "github.com/patch-it-dev/patch-it-plugins/plugins/apisurface/pysurface" ) -func init() { - plugin.RegisterProvider(plugin.Provider{ - ID: "openai", Name: "OpenAI", Category: plugin.CategoryAI, Homepage: "https://openai.com", - Sources: []plugin.Source{{ - ID: "python-sdk", Layer: plugin.LayerSDK, Page: "providers/openai-python-sdk.md", - Watches: "Classes, functions, methods and parameters removed or renamed in the public API of the openai Python package, release by release, read from each release's wheel", - URLs: []string{"https://pypi.org/project/openai/", "https://github.com/openai/openai-python"}, - Packages: []string{"pypi:openai"}, - Plugin: Plugin{Package: OpenAIPython}, - }}, - }) -} - // Package is one published package. type Package struct { - ID string // the source id the events carry: "openai/python-sdk" + ID string // the source id the events carry: "openai/python-surface" Name string // on the registry: "openai" - Ecosystem string // "pypi" - Module string // the top-level import name: "openai" + Ecosystem string // "pypi" or "npm" + Module string // the top-level import name: "openai"; an npm package's own name } -// OpenAIPython is the openai package on PyPI. -var OpenAIPython = Package{ID: "openai/python-sdk", Name: "openai", Ecosystem: "pypi", Module: "openai"} - // Plugin reads one package's releases. type Plugin struct { Package Package @@ -69,6 +59,8 @@ func (p Plugin) ListVersions(ctx context.Context, env plugin.Env) ([]plugin.Vers switch p.Package.Ecosystem { case "pypi": return versions.PyPIReleases(ctx, env.Get, p.Package.Name) + case "npm": + return versions.NPMReleases(ctx, env.Get, p.Package.Name) default: return nil, fmt.Errorf("%s: reading a %q package's API isn't supported yet", p.Package.Name, p.Package.Ecosystem) } @@ -77,17 +69,25 @@ func (p Plugin) ListVersions(ctx context.Context, env plugin.Env) ([]plugin.Vers // Release is what ReadAt keeps of a release: its public surface, the // classes a method could move to, and what couldn't be read. type Release struct { - Artifact string `json:"artifact"` - Surface pysurface.Surface `json:"surface"` - Classes pysurface.Classes `json:"classes,omitempty"` - Skipped []string `json:"skipped,omitempty"` // files over the size limit + Artifact string `json:"artifact"` + Surface pysurface.Surface `json:"surface"` + Classes pysurface.Classes `json:"classes,omitempty"` + Bindings pysurface.Bindings `json:"bindings,omitempty"` // what each public module binds + Skipped []string `json:"skipped,omitempty"` // files over the size limit + // Positional is a release whose calls pass arguments by position + // (npm, read from TypeScript declarations): parameters compare by + // place, not by name. + Positional bool `json:"positional,omitempty"` } -// ReadAt downloads the release's wheel (or sdist) and reads its public -// surface. The snapshot's content is the surface as JSON, its SourceURL the +// ReadAt downloads the release's wheel (or sdist), or an npm release's +// tarball (readNPM), and reads its public surface. The snapshot's content is the surface as JSON, its SourceURL the // file read. func (p Plugin) ReadAt(ctx context.Context, env plugin.Env, v plugin.Version) (plugin.Snapshot, error) { pkg := p.Package + if pkg.Ecosystem == "npm" { + return p.readNPM(ctx, env, v) + } a, err := pickArtifact(ctx, env, pkg.Name, v.ID) if err != nil { return plugin.Snapshot{}, err @@ -106,7 +106,7 @@ func (p Plugin) ReadAt(ctx context.Context, env plugin.Env, v plugin.Version) (p for _, s := range skipped { log.Printf("%s %s: %s skipped: over %d bytes", pkg.Name, v.ID, s, MaxFileBytes) } - content, err := json.Marshal(Release{Artifact: a.Filename, Surface: pysurface.Read(files), Classes: pysurface.ReadClasses(files), Skipped: skipped}) + content, err := json.Marshal(Release{Artifact: a.Filename, Surface: pysurface.Read(files), Classes: pysurface.ReadClasses(files), Bindings: pysurface.ReadBindings(files), Skipped: skipped}) if err != nil { return plugin.Snapshot{}, err } @@ -154,6 +154,9 @@ func (p Plugin) event(c Change, from, to plugin.Snapshot, fromFile, toFile strin pkg := p.Package sym := p.local(c.Symbol) subject := event.Subject{Type: event.SubjectPackageRelease, Ecosystem: pkg.Ecosystem, Package: pkg.Name, Change: c.Change, Symbols: []string{sym}} + for _, a := range c.Also { + subject.Symbols = append(subject.Symbols, p.local(a)) + } var desc, hint string switch c.Change { case event.PackageRenamedSymbol: @@ -166,11 +169,18 @@ func (p Plugin) event(c Change, from, to plugin.Snapshot, fromFile, toFile strin case event.PackageRemovedParameter: subject.Parameter = c.Parameter desc = fmt.Sprintf("`%s` no longer takes the parameter `%s` in %s %s: passing it raises a TypeError.", sym, c.Parameter, pkg.Name, to.Version.ID) + if pkg.Ecosystem == "npm" { + desc = fmt.Sprintf("`%s` no longer takes the parameter `%s` in %s %s: TypeScript rejects a call that passes it.", sym, c.Parameter, pkg.Name, to.Version.ID) + } hint = fmt.Sprintf("Stop passing `%s` to `%s`; its signature in %s is quoted in the source excerpt.", c.Parameter, sym, to.Version.ID) case event.PackageChangedDefault: subject.Parameter = c.Parameter desc = fmt.Sprintf("`%s`'s parameter `%s` has no default in %s %s (it was `%s`): a call that leaves it out raises a TypeError.", sym, c.Parameter, pkg.Name, to.Version.ID, c.OldDefault) hint = fmt.Sprintf("Pass `%s=%s` to `%s` to keep the old behavior.", c.Parameter, c.OldDefault, sym) + if pkg.Ecosystem == "npm" { + desc = fmt.Sprintf("`%s`'s parameter `%s` is no longer optional in %s %s: TypeScript rejects a call that leaves it out.", sym, c.Parameter, pkg.Name, to.Version.ID) + hint = fmt.Sprintf("Pass `%s` to `%s`; its signature in %s is quoted in the source excerpt.", c.Parameter, sym, to.Version.ID) + } } return event.Event{ API: pkg.ID, @@ -220,6 +230,9 @@ type Change struct { Before *pysurface.Symbol // its definition in the older release After *pysurface.Symbol // in the newer one; nil when gone Note string + // Also are the other import paths of the same declaration with the + // same change: one declaration is one change. + Also []string } // Compare lists what changed from a to b, sorted by symbol: removed and @@ -230,7 +243,9 @@ type Change struct { // them besides self or cls; anything less sure is a removal. // // What looks removed but may not be is a note, not an event: a symbol -// defined in a file b couldn't read (over the size limit), and a method +// defined in a file b couldn't read (over the size limit), a name its +// module still binds in b (an alias, an import, a star import from where +// names can't be listed), and a method // whose class is still there but whose bases changed, which one of its // bases (or theirs) now defines, or which the class now defines as an // attribute (create = _create, a property made a plain attribute). @@ -287,10 +302,14 @@ func Compare(ra, rb Release) []Change { continue } before, after := old, now + if rb.Positional { + out = append(out, comparePositional(k, old, now, &before, &after)...) + continue + } kwargs := slices.ContainsFunc(now.Params, func(p pysurface.Param) bool { return p.Kind == "kwargs" }) - for _, op := range old.Params { - if op.Kind == "args" || op.Kind == "kwargs" { - continue + for i, op := range old.Params { + if op.Kind == "args" || op.Kind == "kwargs" || (i == 0 && (op.Name == "self" || op.Name == "cls")) { + continue // a caller never passes self or cls } i := slices.IndexFunc(now.Params, func(p pysurface.Param) bool { return p.Name == op.Name }) switch { @@ -311,12 +330,86 @@ func Compare(ra, rb Release) []Change { } } } + out = merge(out) slices.SortFunc(out, func(x, y Change) int { return strings.Compare(x.Symbol+" "+x.Parameter+" "+x.Note, y.Symbol+" "+y.Parameter+" "+y.Note) }) return out } +// merge makes the changes one declaration has at several import paths +// (a class defined in one module and re-exported by its package) one +// change: the shortest path is its Symbol, the others its Also. +func merge(cs []Change) []Change { + type key struct { + change event.PackageChange + file, name, sig, parameter string + line int + } + groups := map[key][]int{} + var out []Change + for i, c := range cs { + if c.Before == nil || (c.Change != event.PackageRemovedSymbol && c.Change != event.PackageRemovedParameter && c.Change != event.PackageChangedDefault) { + out = append(out, c) + continue + } + k := key{c.Change, c.Before.File, c.Symbol[strings.LastIndexByte(c.Symbol, '.')+1:], c.Before.Signature, c.Parameter, c.Before.Line} + groups[k] = append(groups[k], i) + } + for _, idx := range groups { + slices.SortFunc(idx, func(x, y int) int { + a, b := cs[x].Symbol, cs[y].Symbol + if len(a) != len(b) { + return len(a) - len(b) + } + return strings.Compare(a, b) + }) + c := cs[idx[0]] + for _, i := range idx[1:] { + c.Also = append(c.Also, cs[i].Symbol) + } + slices.Sort(c.Also) + out = append(out, c) + } + return out +} + +// comparePositional compares two signatures whose arguments are passed by +// position (TypeScript): a parameter gone off the end, when the newer one +// takes no rest parameter, is removed; one optional before and required now, +// under the same name, lost its default (under another name, a parameter +// may have been inserted before it: a note); a rename alone is no change. A required parameter added at the +// end is a note (no subject for it in the contract yet). +func comparePositional(k string, old, now pysurface.Symbol, before, after *pysurface.Symbol) []Change { + var out []Change + rest := slices.ContainsFunc(now.Params, func(p pysurface.Param) bool { return p.Kind == "args" }) + for i, op := range old.Params { + if op.Kind == "args" { + break + } + switch { + case i >= len(now.Params) && rest: + out = append(out, Change{Symbol: k, Note: fmt.Sprintf("%s: parameter %s gone, but a rest parameter still takes it", k, op.Name)}) + case i >= len(now.Params): + out = append(out, Change{Change: event.PackageRemovedParameter, Kind: old.Kind, Symbol: k, Parameter: op.Name, Before: before, After: after}) + case now.Params[i].Kind == "args": + return out + case op.HasDef && !now.Params[i].HasDef && now.Params[i].Name == op.Name: + out = append(out, Change{Change: event.PackageChangedDefault, Kind: old.Kind, Symbol: k, Parameter: op.Name, Before: before, After: after}) + case op.HasDef && !now.Params[i].HasDef: + // Another name at the place: a parameter inserted before it, + // or a rename. Which one can't be told for sure. + out = append(out, Change{Symbol: k, Note: fmt.Sprintf("%s: parameter %d is now %s, required (was %s, optional)", k, i+1, now.Params[i].Name, op.Name)}) + } + } + for i := len(old.Params); i < len(now.Params); i++ { + if np := now.Params[i]; !np.HasDef && np.Kind != "args" && !slices.ContainsFunc(old.Params, func(p pysurface.Param) bool { return p.Kind == "args" }) { + out = append(out, Change{Symbol: k, Note: fmt.Sprintf("%s: new required parameter %s (no subject for it in the contract yet)", k, np.Name)}) + } + } + return out +} + // callerParams are the parameters a caller passes: a leading self or cls // left out. func callerParams(ps []pysurface.Param) []pysurface.Param { @@ -332,7 +425,24 @@ func notGone(k string, before pysurface.Symbol, a, b Release) string { if slices.Contains(b.Skipped, before.File) { return fmt.Sprintf("%s, where it was defined, was too big to read", before.File) } - if before.Kind != "method" { + if mod, ok := b.Bindings[parentOf(k)]; ok { + name := k[strings.LastIndexByte(k, '.')+1:] + switch { + case slices.Contains(mod.Names, name): + return fmt.Sprintf("%s still binds the name (an alias, an import or a value now)", parentOf(k)) + case mod.Star: + return fmt.Sprintf("%s star-imports names that can't be listed", parentOf(k)) + } + } + if parent, ok := b.Surface[parentOf(k)]; ok { + switch parent.Kind { + case "export": + return fmt.Sprintf("%s is now re-exported from another package, whose members aren't read", parentOf(k)) + case "variable", "interface", "type": + return fmt.Sprintf("%s is now a %s, whose members aren't read", parentOf(k), parent.Kind) + } + } + if before.Kind != "method" && before.Kind != "property" { return "" } cls, ok := b.Surface[parentOf(k)] @@ -347,6 +457,15 @@ func notGone(k string, before pysurface.Symbol, a, b Release) string { if own, ok := b.Classes[className(cls.Signature)]; ok && slices.Contains(own.Members, name) { return "its class still defines the name (now an attribute)" } + if b.Positional { + // TypeScript: a base class from another package isn't read, and + // may define it. + for _, base := range b.Classes[className(cls.Signature)].Bases { + if _, ours := b.Classes[base]; !ours { + return fmt.Sprintf("its class extends %s, from another package, which may define it", base) + } + } + } seen := map[string]bool{} for len(bases) > 0 { base := bases[0] diff --git a/plugins/apisurface/apisurface_test.go b/plugins/apisurface/apisurface_test.go index 643a642..44f2627 100644 --- a/plugins/apisurface/apisurface_test.go +++ b/plugins/apisurface/apisurface_test.go @@ -56,7 +56,7 @@ func pair(t *testing.T) []event.Event { // same class.) func TestGolden(t *testing.T) { got := pair(t) - kittest.Golden(t, "testdata/golden/openai-1.1.2.json", got) + kittest.Golden(t, "testdata/golden/openai-python-surface.json", got) for _, e := range got { if e.PreviousVersion != "1.1.1" || e.Version != "1.1.2" || e.SourceURL != wheel112 || !strings.Contains(e.SourceExcerpt, "openai/types/beta/asssitant_deleted.py line ") { t.Errorf("%v: %s<-%s, excerpt %q", e.Subject.Symbols, e.Version, e.PreviousVersion, e.SourceExcerpt) @@ -255,3 +255,123 @@ func TestSourceFilesStayInThePackage(t *testing.T) { } var _ plugin.Versioned = Plugin{} + +// A class or function gone from a module's surface while the module still +// binds the name is still importable: the class made an alias of another +// (anthropic 2.5.0: DeadlineExceededError = GatewayTimeoutError), names +// re-exported from a private module (google-genai 3.4.0's interactions), +// or a module that star-imports from where names can't be listed. A note, +// not an event. A name the module no longer binds at all is gone. +func TestANameTheModuleStillBindsIsNotRemoved(t *testing.T) { + read := func(files map[string]string) Release { + var fs []pysurface.File + for p, text := range files { + fs = append(fs, pysurface.File{Path: p, Text: text}) + } + return Release{Surface: pysurface.Read(fs), Classes: pysurface.ReadClasses(fs), Bindings: pysurface.ReadBindings(fs)} + } + a := read(map[string]string{ + "acme/__init__.py": "from ._exceptions import DeadlineExceededError, Gone\n", + "acme/_exceptions.py": "class DeadlineExceededError(Exception): pass\nclass Gone(Exception): pass\n", + "acme/interactions.py": "class Webhook:\n def __init__(self, url): pass\n", + "acme/starred.py": "class Agent:\n def __init__(self, name): pass\n", + }) + b := read(map[string]string{ + "acme/__init__.py": "from ._exceptions import DeadlineExceededError\n", + "acme/_exceptions.py": "class GatewayTimeoutError(Exception): pass\nDeadlineExceededError = GatewayTimeoutError\n", + "acme/interactions.py": "from ._gen.webhooks import Webhook\n", + "acme/starred.py": "from ._gen.agents import *\n", + }) + want := "note acme.DeadlineExceededError\nremoved_symbol acme.Gone \nnote acme.interactions.Webhook\nnote acme.starred.Agent" + if got := strings.Join(changes(a, b), "\n"); got != want { + t.Errorf("got\n%s\nwant\n%s", got, want) + } +} + +// A method made a staticmethod loses self, which no caller passes: +// supabase 1.0.0's SupabaseRealtimeClient.get_payload_records. Not a removed +// parameter. (cls likewise, for a classmethod made static.) +func TestSelfGoneIsNoRemovedParameter(t *testing.T) { + self := prm("self", "either", "") + a := Release{Surface: pysurface.Surface{"acme.C": cls("class C:"), "acme.C.records": sym("method", self, prm("payload", "either", ""))}} + b := Release{Surface: pysurface.Surface{"acme.C": cls("class C:"), "acme.C.records": sym("method", prm("payload", "either", ""))}} + if got := changes(a, b); len(got) != 0 { + t.Errorf("got %v, want nothing", got) + } +} + +// TypeScript passes arguments by position: a parameter renamed in place is +// no change; one gone off the end (with no rest parameter now) is removed; +// one optional before and required now, under the same name, lost its +// "default"; a new required one at the end is a note. +func TestPositionalParameters(t *testing.T) { + pos := func(name string, optional bool) pysurface.Param { + return pysurface.Param{Name: name, Kind: "positional", HasDef: optional} + } + rest := pysurface.Param{Name: "args", Kind: "args", HasDef: true} + a := Release{Positional: true, Surface: pysurface.Surface{ + "acme.renamed": sym("function", pos("a", false), pos("b", true)), + "acme.shorter": sym("function", pos("a", false), pos("b", true), pos("c", true)), + "acme.rest": sym("function", pos("a", false), pos("b", true)), + "acme.req": sym("function", pos("a", false), pos("opts", true)), + "acme.grew": sym("function", pos("a", false)), + "acme.inserted": sym("function", pos("a", false), pos("b", true)), + }} + b := Release{Positional: true, Surface: pysurface.Surface{ + "acme.renamed": sym("function", pos("x", false), pos("y", true)), + "acme.shorter": sym("function", pos("a", false)), + "acme.rest": sym("function", pos("a", false), rest), + "acme.req": sym("function", pos("a", false), pos("opts", false)), + "acme.grew": sym("function", pos("a", false), pos("b", false)), + "acme.inserted": sym("function", pos("a", false), pos("x", false), pos("b", true)), + }} + // A required parameter inserted before an optional one (inserted) is a + // note: the optional one wasn't made required, it moved. + want := "note acme.grew\nnote acme.inserted\nchanged_default acme.req opts\nremoved_parameter acme.shorter b\nremoved_parameter acme.shorter c" + if got := strings.Join(changes(a, b), "\n"); got != want { + t.Errorf("got\n%s\nwant\n%s", got, want) + } +} + +// One declaration reachable at several import paths is one change, its +// paths in Also, the shortest first: openai's AgentSessionBudgetReachedEvent +// is exported by openai/resources/beta, .../beta/agents and +// .../beta/agents/agents. +func TestOneDeclarationIsOneChange(t *testing.T) { + d := sym("class") + d.File, d.Line = "acme/agents.d.ts", 7 + other := sym("class") + other.File, other.Line = "acme/other.d.ts", 3 + a := Release{Surface: pysurface.Surface{"acme.beta.Event": d, "acme.beta.agents.Event": d, "acme/x.Event": d, "acme.Other": other}} + got := Compare(a, Release{Surface: pysurface.Surface{}}) + if len(got) != 2 || got[0].Symbol != "acme.Other" || got[1].Symbol != "acme/x.Event" || strings.Join(got[1].Also, ",") != "acme.beta.Event,acme.beta.agents.Event" { + for _, c := range got { + t.Logf("%s %v", c.Symbol, c.Also) + } + t.Errorf("got %d changes", len(got)) + } +} + +// npm: a member of a name now re-exported from another package, or now a +// value or a type (whose members aren't read) may still be there +// (@sentry/node 11.13.0's logger, a namespace made a const object); a method gone from a class that extends a class of +// another package may be that class's (@neondatabase/serverless 1.0.0's +// Pool.connect, pg's). Notes. +func TestNPMNotesForWhatAnotherPackageMayHold(t *testing.T) { + a := Release{Positional: true, Surface: pysurface.Surface{ + "acme.logger": sym("namespace"), "acme.logger.info": sym("function"), + "acme.log2": sym("namespace"), "acme.log2.info": sym("function"), + "acme.Pool": cls("class Pool extends Pool_2"), "acme.Pool.connect": sym("method"), + "acme.Own": cls("class Own extends Base"), "acme.Own.gone": sym("method"), + }, Classes: pysurface.Classes{"Pool": {Bases: []string{"Pool_2"}}, "Own": {Bases: []string{"Base"}}, "Base": {}}} + b := Release{Positional: true, Surface: pysurface.Surface{ + "acme.logger": {Kind: "export", File: "x.d.ts", Line: 1, Signature: "export { logger } from \"@acme/core\""}, + "acme.log2": sym("variable"), + "acme.Pool": cls("class Pool extends Pool_2"), + "acme.Own": cls("class Own extends Base"), + }, Classes: pysurface.Classes{"Pool": {Bases: []string{"Pool_2"}}, "Own": {Bases: []string{"Base"}}, "Base": {}}} + want := "removed_symbol acme.Own.gone \nnote acme.Pool.connect\nnote acme.log2.info\nnote acme.logger.info" + if got := strings.Join(changes(a, b), "\n"); got != want { + t.Errorf("got\n%s\nwant\n%s", got, want) + } +} diff --git a/plugins/apisurface/dtsurface/dtsurface_test.go b/plugins/apisurface/dtsurface/dtsurface_test.go new file mode 100644 index 0000000..94aca92 --- /dev/null +++ b/plugins/apisurface/dtsurface/dtsurface_test.go @@ -0,0 +1,197 @@ +package dtsurface + +import ( + "slices" + "strings" + "testing" + + "github.com/patch-it-dev/patch-it-plugins/plugins/apisurface/pysurface" +) + +const pkgJSON = `{"name": "acme", "types": "./index.d.ts", + "exports": { + ".": {"import": {"types": "./index.d.mts", "default": "./index.mjs"}, "require": {"types": "./index.d.ts", "default": "./index.js"}}, + "./resources/*": {"import": "./resources/*.mjs", "require": "./resources/*.js"}, + "./resources/*.js": {"default": "./resources/*.js"}, + "./_shims/*": {"default": "./_shims/*.js"}, + "./index": {"default": "./index.js"}, + "./package.json": "./package.json" + }}` + +// index.d.mts is what the "." entry reads (the import condition first). +const indexDTS = `/** The client. */ +export { Acme as default } from "./client.mjs"; +export { Acme, type ClientOptions } from "./client.mjs"; +export * from "./errors.mjs"; +export * from "@acme/core"; +export { helper } from "@acme/helpers"; +` + +const clientDTS = `import * as API from "./resources/index.mjs"; +import { Chat } from "./resources/chat.mjs"; +export interface ClientOptions { apiKey?: string; timeout?: number } +export declare class Acme { + #private; + constructor({ apiKey, ...opts }?: ClientOptions); + chat: API.Chat; + private secret; + protected base(): void; + /** @internal */ + debug(x: string): void; + get baseURL(): string; + set baseURL(v: string); + static readonly VERSION: string; + withOptions(options: Partial): this; + request(this: Acme, path: string, init?: { method?: "GET" | "POST"; body?: Record>> }): Promise; + stream(path: string): AsyncIterable; + stream(path: string, signal: AbortSignal): AsyncIterable; +} +export declare namespace Acme { + export { Chat as Chat }; + export type RequestOptions = { retries?: number }; +} +` + +const chatDTS = `import { APIResource } from "../core/resource.mjs"; +export declare class Chat extends APIResource { + create(body: ChatCreateParams, options?: RequestOptions): Promise; + list(query?: ListParams | null, ...rest: unknown[]): Promise; +} +export declare namespace Chat { + export { type ChatCompletion as ChatCompletion }; +} +export interface ChatCompletion { id: string } +export type ChatCreateParams = { model: string; messages: Array<{ role: string }> } +export declare function toFile(value: Blob | string, name?: string | null): Promise +` + +const errorsDTS = `export declare class AcmeError extends Error {} +export declare class APIError extends AcmeError { + readonly status: TStatus; + constructor(status: TStatus, error: object | undefined, message: string | undefined); +} +export declare const NotFoundError: typeof APIError; +export declare enum Role { User = "user", Assistant = "assistant" } +declare function internalOnly(): void; +` + +func readAcme(t *testing.T) pysurface.Surface { + t.Helper() + s, _, _ := Read("acme", []File{ + {"package.json", pkgJSON}, + {"index.d.mts", indexDTS}, + {"index.d.ts", "export {};\n"}, + {"client.d.mts", clientDTS}, + {"resources/chat.d.mts", chatDTS}, + {"resources/index.d.mts", `export { Chat, type ChatCompletion } from "./chat.mjs";` + "\n"}, + {"errors.d.mts", errorsDTS}, + {"core/resource.d.mts", "export declare class APIResource { protected _client: unknown }\n"}, + {"_shims/node.d.mts", "export declare function shim(): void;\n"}, + }) + return s +} + +func keys(s pysurface.Surface) []string { + var out []string + for k := range s { + out = append(out, k) + } + slices.Sort(out) + return out +} + +// Every entry point's exports and what its classes and namespaces hold; +// private and protected members, @internal ones, the setter, private +// entry points (_shims), types inside a namespace, and what another +// package exports wholesale are left out. +func TestRead(t *testing.T) { + s := readAcme(t) + want := []string{ + "acme.APIError", "acme.APIError.status", "acme.Acme", "acme.Acme.Chat", "acme.Acme.Chat.create", "acme.Acme.Chat.list", + "acme.Acme.VERSION", "acme.Acme.baseURL", "acme.Acme.chat", "acme.Acme.request", "acme.Acme.stream", "acme.Acme.withOptions", + "acme.AcmeError", "acme.ClientOptions", "acme.NotFoundError", "acme.Role", "acme.default", "acme.helper", + "acme/resources/chat.Chat", "acme/resources/chat.Chat.create", "acme/resources/chat.Chat.list", + "acme/resources/chat.ChatCompletion", "acme/resources/chat.ChatCreateParams", "acme/resources/chat.toFile", + } + if got := keys(s); !slices.Equal(got, want) { + t.Errorf("got\n %s\nwant\n %s", strings.Join(got, "\n "), strings.Join(want, "\n ")) + } + c := s["acme.Acme"] + if c.Kind != "class" || c.File != "client.d.mts" || c.Line != 4 || len(c.Params) != 1 || !c.Params[0].HasDef { + t.Errorf("Acme: %+v", c) + } + if r := s["acme.Acme.request"]; len(r.Params) != 2 || r.Params[0].Name != "path" || r.Params[0].HasDef || !r.Params[1].HasDef { + t.Errorf("request (this left out, init optional): %+v", r) + } + if st := s["acme.Acme.stream"]; !st.Overloaded || st.Params != nil { + t.Errorf("stream: %+v", st) + } + if l := s["acme.Acme.Chat.list"]; len(l.Params) != 2 || l.Params[1].Kind != "args" { + t.Errorf("list: %+v", l) + } + if f := s["acme/resources/chat.toFile"]; f.Kind != "function" || len(f.Params) != 2 || !f.Params[1].HasDef || f.Line != 11 { + t.Errorf("toFile (no ; at the end): %+v", f) + } + if h := s["acme.helper"]; h.Kind != "export" || !strings.Contains(h.Signature, `from "@acme/helpers"`) { + t.Errorf("helper: %+v", h) + } + if e := s["acme.APIError"]; len(e.Params) != 3 || e.Signature != "class APIError extends AcmeError / constructor(status: TStatus, error: object | undefined, message: string | undefined)" { + t.Errorf("APIError: %+v", e) + } +} + +// What each entry point exports, Star when it re-exports another package +// wholesale; the classes with their bases. +func TestBindingsAndClasses(t *testing.T) { + _, c, b := Read("acme", []File{ + {"package.json", pkgJSON}, + {"index.d.mts", indexDTS}, + {"client.d.mts", clientDTS}, + {"errors.d.mts", errorsDTS}, + {"resources/chat.d.mts", chatDTS}, + {"core/resource.d.mts", "export declare class APIResource { protected _client: unknown }\n"}, + }) + if m := b["acme"]; !m.Star || !slices.Contains(m.Names, "AcmeError") || !slices.Contains(m.Names, "default") { + t.Errorf("acme binds %+v", m) + } + if ch := c["Chat"]; !slices.Equal(ch.Bases, []string{"APIResource"}) || !slices.Equal(ch.Members, []string{"create", "list"}) { + t.Errorf("Chat: %+v", ch) + } +} + +// A declaration file of an older style: `export =` a namespace merged with +// a function, no package.json exports, members of an ambient namespace +// exported without the keyword. +func TestExportAssignment(t *testing.T) { + s, _, _ := Read("old", []File{ + {"package.json", `{"name": "old", "typings": "types/index.d.ts"}`}, + {"types/index.d.ts", "declare function old(a: string): old.Result;\ndeclare namespace old {\n interface Result { ok: boolean }\n function parse(s: string, strict?: boolean): Result\n class Parser { parse(s: string): Result }\n}\nexport = old;\n"}, + }) + want := []string{"old.Parser", "old.Parser.parse", "old.Result", "old.parse"} + if got := keys(s); !slices.Equal(got, want) { + t.Errorf("got %v, want %v", got, want) + } +} + +// The tokenizer: comments, strings with escapes, template literal types, +// and ">>" closing two generics. +func TestLex(t *testing.T) { + var got []string + for _, tk := range lex("/** doc */ type A = `x${\"}\"}y` | 'q\\'' // c\nArray>;") { + got = append(got, tk.text) + } + want := []string{"type", "A", "<", "T", ">", "=", "`x${\"}\"}y`", "|", "q'", "Array", "<", "Array", "<", "T", ">", ">", ";", ""} + if !slices.Equal(got, want) { + t.Errorf("got %q\nwant %q", got, want) + } +} + +// A release is data: a cut-off or malformed file is read as far as it goes, +// never in a loop and never a panic. +func TestATruncatedFileEnds(t *testing.T) { + src := clientDTS + chatDTS + errorsDTS + for i := 0; i < len(src); i += 7 { + Read("acme", []File{{"package.json", `{"name": "acme", "types": "index.d.ts"}`}, {"index.d.ts", src[:i]}}) + } + Read("acme", []File{{"index.d.ts", "export { a as } from; class { constructor( ; namespace . { export * as from"}}) +} diff --git a/plugins/apisurface/dtsurface/lex.go b/plugins/apisurface/dtsurface/lex.go new file mode 100644 index 0000000..134076c --- /dev/null +++ b/plugins/apisurface/dtsurface/lex.go @@ -0,0 +1,132 @@ +// Package dtsurface reads an npm package's public API from its TypeScript +// declaration files (.d.ts, .d.mts, .d.cts) as text: the names each entry +// point of the package exports, and for classes, functions and namespaces +// what they hold, with every parameter and whether it's optional. Nothing in +// the package is run: declaration files hold declarations only, so a +// tokenizer and a parser of declarations, which skips over type expressions +// by their brackets, read all a caller can see. +package dtsurface + +import ( + "strings" +) + +// token is one lexical token of a declaration file. +type token struct { + kind string // "id", "str" (its value unquoted), "num", "punct", "eof" + text string + line int + // doc is the JSDoc comment (/** ... */) right before the token, if any: + // where @internal is said. + doc string +} + +// lex splits src into tokens. Comments are dropped (a JSDoc comment is kept +// on the token after it); strings and template literals are one token each; +// "=>", "...", "?." and "?:" are one token; every other punctuation mark is +// its own token, so "Array>" closes with two ">". +func lex(src string) []token { + var out []token + line, doc := 1, "" + i := 0 + for i < len(src) { + c := src[i] + switch { + case c == '\n': + line++ + i++ + case c == ' ' || c == '\t' || c == '\r' || c == '\f' || c == '\v' || c == 0xEF || c == 0xBB || c == 0xBF: + i++ // whitespace, and a UTF-8 byte order mark + case c == '/' && i+1 < len(src) && src[i+1] == '/': + for i < len(src) && src[i] != '\n' { + i++ + } + case c == '/' && i+1 < len(src) && src[i+1] == '*': + end := strings.Index(src[i+2:], "*/") + if end < 0 { + end = len(src) - i - 2 + } + body := src[i : i+2+end] + if strings.HasPrefix(body, "/**") { + doc = body + } + line += strings.Count(body, "\n") + i += 2 + end + 2 + case c == '"' || c == '\'': + j := i + 1 + var b strings.Builder + for j < len(src) && src[j] != c && src[j] != '\n' { + if src[j] == '\\' && j+1 < len(src) { + j++ + } + b.WriteByte(src[j]) + j++ + } + out = append(out, token{kind: "str", text: b.String(), line: line, doc: doc}) + doc = "" + i = j + 1 + case c == '`': + // A template literal type: skipped whole, ${...} nesting + // included. + j, depth := i+1, 0 + for j < len(src) { + if src[j] == '\\' { + j += 2 + continue + } + if src[j] == '\n' { + line++ + } + if depth == 0 && src[j] == '`' { + break + } + if src[j] == '$' && j+1 < len(src) && src[j+1] == '{' { + depth++ + j += 2 + continue + } + if depth > 0 && src[j] == '}' { + depth-- + } + j++ + } + out = append(out, token{kind: "str", text: src[i:min(j+1, len(src))], line: line, doc: doc}) + doc = "" + i = j + 1 + case isIdentStart(c): + j := i + 1 + for j < len(src) && isIdentPart(src[j]) { + j++ + } + out = append(out, token{kind: "id", text: src[i:j], line: line, doc: doc}) + doc = "" + i = j + case c >= '0' && c <= '9': + j := i + 1 + for j < len(src) && (isIdentPart(src[j]) || src[j] == '.') { + j++ + } + out = append(out, token{kind: "num", text: src[i:j], line: line, doc: doc}) + doc = "" + i = j + default: + p := string(c) + for _, two := range []string{"=>", "...", "?.", "?:"} { + if strings.HasPrefix(src[i:], two) { + p = two + break + } + } + out = append(out, token{kind: "punct", text: p, line: line, doc: doc}) + doc = "" + i += len(p) + } + } + return append(out, token{kind: "eof", line: line}) +} + +func isIdentStart(c byte) bool { + return c == '_' || c == '$' || c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z' || c >= 0x80 +} + +func isIdentPart(c byte) bool { return isIdentStart(c) || c >= '0' && c <= '9' } diff --git a/plugins/apisurface/dtsurface/parse.go b/plugins/apisurface/dtsurface/parse.go new file mode 100644 index 0000000..fb744c7 --- /dev/null +++ b/plugins/apisurface/dtsurface/parse.go @@ -0,0 +1,848 @@ +package dtsurface + +import ( + "strings" +) + +// Param is one parameter of a function, method or constructor, in order. A +// TypeScript call passes arguments by position, so a parameter's name is +// for reading only: Optional is what a caller relies on. +type Param struct { + Name string + Optional bool // marked ?, or the rest parameter + Rest bool // ...args +} + +// decl is one declaration of a name in a scope. Declarations of the same +// name merge (a class and a namespace, a function's overloads). +type decl struct { + kind string // "class", "function", "interface", "type", "enum", "variable", "namespace" + name string + file string + line int + sig string + exported bool + params []Param + hasParam bool // params were read (a function, a class's constructor) + ctors int // a class's constructor declarations + bases []string + members []*member + ns *scope // a namespace's (or a module declaration's) body +} + +// member is one public member of a class: a method or a property. +type member struct { + kind string // "method", "property" + name string + line int + sig string + params []Param + static bool +} + +// scope is a module (a declaration file), a namespace's body or an ambient +// module declaration's body. +type scope struct { + file string + parent *scope + decls map[string][]*decl + order []string + exports map[string]exportRef + stars []starRef + imports map[string]importRef + aliases map[string]string // import X = A.B.C + // assign is `export = X`: the module is X. + assign string + // explicit is true once the scope says export anywhere: in an ambient + // namespace, only then are its unexported declarations hidden. + explicit bool + ambient bool // a namespace or module declaration's body +} + +type exportRef struct { + local string // `export { local as name }`, or a declaration's own name + spec string // `export { name } from "spec"`: the module it's from + name string // its name there; "*" for `export * as name from` + line int + sig string +} + +type starRef struct { + spec string + line int +} + +type importRef struct { + spec string + name string // "*" for `import * as X`, "default", "=" for `import X = require()` +} + +func newScope(file string, parent *scope, ambient bool) *scope { + return &scope{file: file, parent: parent, decls: map[string][]*decl{}, exports: map[string]exportRef{}, imports: map[string]importRef{}, aliases: map[string]string{}, ambient: ambient} +} + +func (s *scope) add(d *decl) { + if _, ok := s.decls[d.name]; !ok { + s.order = append(s.order, d.name) + } + s.decls[d.name] = append(s.decls[d.name], d) +} + +// parser reads one file's tokens. +type parser struct { + toks []token + pos int + file string + modules map[string]*scope // `declare module "spec" { }` bodies, by spec +} + +func (p *parser) peek() token { return p.toks[p.pos] } +func (p *parser) at(n int) token { return p.toks[min(p.pos+n, len(p.toks)-1)] } +func (p *parser) next() token { t := p.toks[p.pos]; p.pos = min(p.pos+1, len(p.toks)-1); return t } +func (p *parser) is(s string) bool { + t := p.peek() + return (t.kind == "punct" || t.kind == "id") && t.text == s +} +func (p *parser) eat(s string) bool { + if p.is(s) { + p.next() + return true + } + return false +} + +// parseFile reads a declaration file into its module scope; ambient module +// declarations ("declare module 'x'") go to modules, merged by spec. +func parseFile(file, src string, modules map[string]*scope) *scope { + p := &parser{toks: lex(src), file: file, modules: modules} + sc := newScope(file, nil, false) + p.block(sc, false) + return sc +} + +// block reads statements until "}" (when inBraces) or the end. +func (p *parser) block(sc *scope, inBraces bool) { + for { + t := p.peek() + if t.kind == "eof" { + return + } + if inBraces && t.kind == "punct" && t.text == "}" { + p.next() + return + } + start := p.pos + p.statement(sc) + if p.pos == start { + p.next() // never stall + } + } +} + +var modifiers = map[string]bool{"declare": true, "abstract": true, "async": true} + +// statement reads one statement of a scope. +func (p *parser) statement(sc *scope) { + t := p.peek() + if t.kind == "punct" && t.text == ";" { + p.next() + return + } + internal := strings.Contains(t.doc, "@internal") + line := t.line + exported, isDefault := false, false + if p.is("export") { + sc.explicit = true + p.next() + exported = true + switch { + case p.is("{") || (p.is("type") && p.at(1).text == "{"): + p.eat("type") + p.exportList(sc, line) + return + case p.is("*"): + p.next() + if p.eat("as") { + name := p.next().text + p.eat("from") + spec := p.next().text + sc.exports[name] = exportRef{spec: spec, name: "*", line: line, sig: "export * as " + name + " from " + quote(spec)} + } else { + p.eat("from") + sc.stars = append(sc.stars, starRef{spec: p.next().text, line: line}) + } + p.eat(";") + return + case p.is("="): + p.next() + sc.assign = p.dotted() + p.eat(";") + return + case p.is("as") && p.at(1).text == "namespace": + p.skipStatement() + return + case p.is("import"): + p.next() + name := p.next().text + if p.eat("=") { + sc.aliases[name] = p.dotted() + sc.exports[name] = exportRef{local: name, line: line, sig: "export import " + name + " = " + sc.aliases[name]} + } + p.eat(";") + return + case p.is("default"): + p.next() + isDefault = true + if !p.isDeclStart() { + local := p.dotted() + if local != "" { + sc.exports["default"] = exportRef{local: local, line: line, sig: "export default " + local} + } + p.skipStatement() + return + } + } + } + if p.is("import") { + p.importStatement(sc) + return + } + for p.peek().kind == "id" && modifiers[p.peek().text] && p.at(1).kind == "id" { + p.next() + } + kw := p.peek() + if kw.kind != "id" { + p.skipStatement() + return + } + var ds []*decl + switch kw.text { + case "class": + ds = []*decl{p.class()} + case "function": + ds = []*decl{p.function()} + case "interface": + ds = []*decl{p.interfaceDecl()} + case "type": + ds = []*decl{p.typeAlias()} + case "enum": + ds = []*decl{p.enum()} + case "const": + if p.at(1).text == "enum" { + p.next() + ds = []*decl{p.enum()} + } else { + ds = p.variables() + } + case "let", "var": + ds = p.variables() + case "namespace", "module": + if p.at(1).kind == "str" { + p.next() + spec := p.next().text + if p.is("{") { + p.next() + m := p.modules[spec] + if m == nil { + m = newScope(p.file, nil, true) + p.modules[spec] = m + } + m.file = p.file + p.block(m, true) + } else { + p.eat(";") + } + return + } + ds = []*decl{p.namespace(sc)} + case "global": + p.next() + p.skipBalanced() + return + default: + p.skipStatement() + return + } + for _, d := range ds { + if d == nil || d.name == "" || internal { + continue + } + d.line = line + // `export default class X` exports X as default, not by its name. + d.exported = exported && !isDefault + if isDefault { + sc.exports["default"] = exportRef{local: d.name, line: line, sig: d.sig} + } + sc.add(d) + } +} + +// isDeclStart is a declaration after `export default`. +func (p *parser) isDeclStart() bool { + i := 0 + for p.at(i).kind == "id" && modifiers[p.at(i).text] { + i++ + } + switch p.at(i).text { + case "class", "function", "interface", "enum": + return p.at(i).kind == "id" + } + return false +} + +// exportList reads `{ a, b as c, type d } [from "spec"];`. +func (p *parser) exportList(sc *scope, line int) { + p.next() // { + type item struct{ name, as string } + var items []item + for !p.is("}") && p.peek().kind != "eof" { + p.eat("type") + n := p.next().text + as := n + if p.eat("as") { + as = p.next().text + } + items = append(items, item{n, as}) + p.eat(",") + } + p.eat("}") + spec := "" + if p.eat("from") { + spec = p.next().text + } + p.eat(";") + for _, it := range items { + if it.as == "" { + continue + } + sig := "export { " + it.name + if it.as != it.name { + sig += " as " + it.as + } + sig += " }" + if spec != "" { + sc.exports[it.as] = exportRef{spec: spec, name: it.name, line: line, sig: sig + " from " + quote(spec)} + } else { + sc.exports[it.as] = exportRef{local: it.name, line: line, sig: sig} + } + } +} + +// importStatement reads every form of import into sc's imports. +func (p *parser) importStatement(sc *scope) { + p.next() // import + if p.peek().kind == "str" { + p.skipStatement() + return + } + p.eat("type") + if p.peek().kind == "id" && p.at(1).text == "=" { + name := p.next().text + p.next() // = + if p.eat("require") { + p.eat("(") + spec := p.next().text + p.eat(")") + sc.imports[name] = importRef{spec: spec, name: "="} + } else { + sc.aliases[name] = p.dotted() + } + p.eat(";") + return + } + var pending []func(spec string) + for !p.is("from") && p.peek().kind != "eof" && !p.is(";") { + switch { + case p.is("*"): + p.next() + p.eat("as") + n := p.next().text + pending = append(pending, func(spec string) { sc.imports[n] = importRef{spec: spec, name: "*"} }) + case p.is("{"): + p.next() + for !p.is("}") && p.peek().kind != "eof" { + p.eat("type") + n := p.next().text + as := n + if p.eat("as") { + as = p.next().text + } + pending = append(pending, func(spec string) { sc.imports[as] = importRef{spec: spec, name: n} }) + p.eat(",") + } + p.eat("}") + case p.peek().kind == "id": + n := p.next().text + pending = append(pending, func(spec string) { sc.imports[n] = importRef{spec: spec, name: "default"} }) + default: + p.next() + } + p.eat(",") + } + if p.eat("from") { + spec := p.next().text + for _, f := range pending { + f(spec) + } + } + p.skipStatement() +} + +// dotted reads a name like A.B.C. +func (p *parser) dotted() string { + var parts []string + for p.peek().kind == "id" { + parts = append(parts, p.next().text) + if !p.eat(".") { + break + } + } + return strings.Join(parts, ".") +} + +// class reads a class declaration and its public members. +func (p *parser) class() *decl { + start := p.pos + p.next() // class + d := &decl{kind: "class", file: p.file} + if p.peek().kind == "id" && p.peek().text != "extends" && p.peek().text != "implements" { + d.name = p.next().text + } + if p.is("<") { + p.skipBalanced() + } + if p.eat("extends") { + base := "" + for p.peek().kind == "id" { + base = p.next().text + if !p.eat(".") { + break + } + } + if p.is("(") { + base = "" // a mixin call: its members aren't known + } + for !p.is("{") && !p.is("implements") && p.peek().kind != "eof" { + p.skipOne() + } + if base != "" { + d.bases = append(d.bases, base) + } + } + for !p.is("{") && p.peek().kind != "eof" { + p.skipOne() + } + d.sig = p.text(start, p.pos) + p.next() // { + p.classBody(d) + return d +} + +var memberModifiers = map[string]bool{"public": true, "static": true, "readonly": true, "abstract": true, "declare": true, "override": true, "accessor": true, "async": true} + +// classBody reads members until "}". +func (p *parser) classBody(d *decl) { + for !p.is("}") && p.peek().kind != "eof" { + t := p.peek() + if t.kind == "punct" && t.text == ";" { + p.next() + continue + } + start := p.pos + internal := strings.Contains(t.doc, "@internal") + hidden, static := false, false + for p.peek().kind == "id" && (memberModifiers[p.peek().text] || p.peek().text == "private" || p.peek().text == "protected") { + n := p.at(1) + if n.kind == "punct" && (n.text == "(" || n.text == ":" || n.text == "?" || n.text == ";" || n.text == "<" || n.text == "?:") { + break // a member named like a modifier + } + switch p.peek().text { + case "private", "protected": + hidden = true + case "static": + static = true + } + p.next() + } + accessor := "" + if (p.is("get") || p.is("set")) && (p.at(1).kind == "id" || p.at(1).kind == "str") { + accessor = p.next().text + } + name := p.peek() + switch { + case name.kind == "punct" && name.text == "[": + p.skipMember() + continue + case name.kind == "punct" && name.text == "#": + p.skipMember() + continue + case name.kind != "id" && name.kind != "str" && name.kind != "num": + p.skipMember() + continue + } + p.next() + p.eat("?") + p.eat("!") + m := &member{name: name.text, line: t.line, static: static} + switch { + case p.is("(") || p.is("<"): + if p.is("<") { + p.skipBalanced() + } + params := p.params() + p.skipMember() + m.sig = p.text(start, p.pos) + if name.text == "constructor" && !static { + if !hidden && !internal { + d.ctors++ + d.params, d.hasParam = params, true + d.sig = strings.TrimSuffix(d.sig, " {") + " / " + m.sig + } + continue + } + m.kind, m.params = "method", params + if accessor != "" { + m.kind, m.params = "property", nil + } + default: + p.skipMember() + m.kind = "property" + m.sig = p.text(start, p.pos) + } + if hidden || internal || accessor == "set" && hasMember(d, m.name) { + continue + } + d.members = append(d.members, m) + } + p.eat("}") +} + +func hasMember(d *decl, name string) bool { + for _, m := range d.members { + if m.name == name { + return true + } + } + return false +} + +// skipMember skips to the end of a class member: its ";" (or the "}" that +// closes the class, left unread), types in brackets skipped whole. +func (p *parser) skipMember() { + for { + t := p.peek() + switch { + case t.kind == "eof": + return + case t.kind == "punct" && t.text == ";": + p.next() + return + case t.kind == "punct" && t.text == "}": + return + case t.kind == "punct" && isOpen(t.text): + p.skipBalanced() + default: + line := t.line + p.next() + // A member ends at its line's end when the file leaves out ";". + if n := p.peek(); n.line > line && n.kind == "id" && !continues(t) && memberStart(p) { + return + } + } + } +} + +// memberStart is a token that starts a new member: a name followed by +// "(", ":", "?" or ";", or a modifier. +func memberStart(p *parser) bool { + t, n := p.peek(), p.at(1) + if memberModifiers[t.text] || t.text == "private" || t.text == "protected" || t.text == "constructor" { + return true + } + return n.kind == "punct" && (n.text == "(" || n.text == ":" || n.text == "?" || n.text == "?:" || n.text == ";" || n.text == "<") +} + +// continues is a token after which a type goes on: an operator, a comma, a +// colon. +func continues(t token) bool { + if t.kind == "punct" { + switch t.text { + case "|", "&", ":", ",", "=", "=>", ".", "?", "?:", "<", "(", "[", "{": + return true + } + } + switch t.text { + case "keyof", "typeof", "extends", "infer", "is", "new", "readonly", "unique", "asserts": + return true + } + return false +} + +// params reads "( ... )": each parameter's name, whether it's optional or +// the rest; a `this` parameter (not an argument) is left out. +func (p *parser) params() []Param { + out := []Param{} + if !p.eat("(") { + return out + } + for !p.is(")") && p.peek().kind != "eof" { + for p.peek().kind == "id" && (memberModifiers[p.peek().text] || p.peek().text == "private" || p.peek().text == "protected") && p.at(1).kind == "id" { + p.next() + } + var prm Param + if p.eat("...") { + prm.Rest, prm.Optional = true, true + } + switch t := p.peek(); { + case t.kind == "punct" && (t.text == "{" || t.text == "["): + p.skipBalanced() + prm.Name = "(destructured)" + default: + prm.Name = p.next().text + } + if p.eat("?") || p.is("?:") { + prm.Optional = true + if p.is("?:") { + p.next() + p.skipType(",", ")") + } + } + if p.eat(":") { + p.skipType(",", ")") + } + if p.eat("=") { + prm.Optional = true + p.skipType(",", ")") + } + if prm.Name != "this" { + out = append(out, prm) + } + p.eat(",") + } + p.eat(")") + return out +} + +// skipType skips a type up to one of stops at depth 0, left unread. +func (p *parser) skipType(stops ...string) { + for { + t := p.peek() + if t.kind == "eof" { + return + } + if t.kind == "punct" { + for _, s := range stops { + if t.text == s { + return + } + } + if isOpen(t.text) { + p.skipBalanced() + continue + } + if isClose(t.text) { + return + } + } + p.next() + } +} + +// function reads `function name<...>(params): T;`. +func (p *parser) function() *decl { + start := p.pos + p.next() // function + p.eat("*") + d := &decl{kind: "function", file: p.file} + if p.peek().kind == "id" { + d.name = p.next().text + } + if p.is("<") { + p.skipBalanced() + } + d.params, d.hasParam = p.params(), true + p.skipStatement() + d.sig = p.text(start, p.pos) + return d +} + +func (p *parser) interfaceDecl() *decl { + start := p.pos + p.next() + d := &decl{kind: "interface", file: p.file, name: p.next().text} + for !p.is("{") && p.peek().kind != "eof" { + p.skipOne() + } + d.sig = p.text(start, p.pos) + p.skipBalanced() + return d +} + +func (p *parser) typeAlias() *decl { + start := p.pos + p.next() + d := &decl{kind: "type", file: p.file, name: p.next().text} + if p.is("<") { + p.skipBalanced() + } + d.sig = p.text(start, p.pos) + p.skipStatement() + return d +} + +func (p *parser) enum() *decl { + start := p.pos + p.next() + d := &decl{kind: "enum", file: p.file, name: p.next().text} + d.sig = p.text(start, p.pos) + if p.is("{") { + p.skipBalanced() + } + return d +} + +// variables reads `const a: A, b: B;`. +func (p *parser) variables() []*decl { + start := p.pos + p.next() + var out []*decl + for p.peek().kind == "id" { + d := &decl{kind: "variable", file: p.file, name: p.next().text} + out = append(out, d) + p.skipType(",", ";", "}") + if !p.eat(",") { + break + } + } + p.eat(";") + sig := p.text(start, p.pos) + for _, d := range out { + d.sig = sig + } + return out +} + +// namespace reads `namespace A.B { ... }` as A, with B a namespace inside. +func (p *parser) namespace(parent *scope) *decl { + start := p.pos + p.next() + names := strings.Split(p.dotted(), ".") + d := &decl{kind: "namespace", file: p.file, name: names[0]} + d.sig = p.text(start, p.pos) + if !p.is("{") { + p.skipStatement() + return d + } + p.next() + outer := newScope(p.file, parent, true) + d.ns = outer + in := outer + for _, n := range names[1:] { + inner := &decl{kind: "namespace", file: p.file, name: n, sig: d.sig, exported: true} + inner.ns = newScope(p.file, in, true) + in.add(inner) + in = inner.ns + } + p.block(in, true) + return d +} + +func isOpen(s string) bool { return s == "(" || s == "[" || s == "{" || s == "<" } +func isClose(s string) bool { return s == ")" || s == "]" || s == "}" || s == ">" } + +// skipBalanced skips from an opening bracket to its match. +func (p *parser) skipBalanced() { + depth := 0 + for { + t := p.next() + if t.kind == "eof" { + return + } + if t.kind != "punct" { + continue + } + if isOpen(t.text) { + depth++ + } else if isClose(t.text) { + depth-- + if depth <= 0 { + return + } + } + } +} + +// skipOne skips a token, or a bracketed group whole. +func (p *parser) skipOne() { + if t := p.peek(); t.kind == "punct" && isOpen(t.text) { + p.skipBalanced() + return + } + p.next() +} + +// skipStatement skips to the end of a statement: its ";", or the line's +// end where the file leaves ";" out, or a "}" closing the scope (unread). +func (p *parser) skipStatement() { + for { + t := p.peek() + switch { + case t.kind == "eof": + return + case t.kind == "punct" && t.text == ";": + p.next() + return + case t.kind == "punct" && t.text == "}": + return + case t.kind == "punct" && isOpen(t.text): + p.skipBalanced() + if n := p.peek(); n.line > t.line && n.kind == "id" && statementStart[n.text] { + return + } + default: + p.next() + if n := p.peek(); n.line > t.line && n.kind == "id" && statementStart[n.text] && !continues(t) { + return + } + } + } +} + +var statementStart = map[string]bool{"export": true, "declare": true, "interface": true, "class": true, "function": true, "type": true, "const": true, "let": true, "var": true, "namespace": true, "module": true, "enum": true, "import": true, "abstract": true} + +// text is the tokens from a to b as written, spaced simply, cut at 400 +// characters: a signature to quote. +func (p *parser) text(a, b int) string { + var sb strings.Builder + prev := "" + for i := a; i < b && i < len(p.toks); i++ { + t := p.toks[i] + s := t.text + if t.kind == "str" && !strings.HasPrefix(s, "`") { + s = quote(s) + } + if sb.Len() > 0 && needsSpace(prev, s) { + sb.WriteByte(' ') + } + sb.WriteString(s) + prev = s + if sb.Len() > 400 { + return sb.String()[:400] + "…" + } + } + return strings.TrimSuffix(sb.String(), ";") +} + +func needsSpace(prev, s string) bool { + switch s { + case ",", ")", "]", ">", ".", ";", "?", ":", "?:", "(", "<", "!", "[": + return (s == "(" || s == "[") && (prev == "=>" || prev == ":" || prev == "|" || prev == "," || prev == "=") + } + switch prev { + case "(", "[", "<", ".", "...", "!": + return false + } + return true +} + +func quote(s string) string { return `"` + s + `"` } diff --git a/plugins/apisurface/dtsurface/surface.go b/plugins/apisurface/dtsurface/surface.go new file mode 100644 index 0000000..d8c962b --- /dev/null +++ b/plugins/apisurface/dtsurface/surface.go @@ -0,0 +1,641 @@ +package dtsurface + +import ( + "encoding/json" + "path" + "regexp" + "slices" + "sort" + "strings" + + "github.com/patch-it-dev/patch-it-plugins/plugins/apisurface/pysurface" +) + +// File is one file of the package, its path from the package's root +// ("index.d.ts", "package.json"), and its text. +type File struct { + Path string + Text string +} + +// MaxDepth is how deep namespaces and classes are followed from an entry +// point: "openai.OpenAI.Chat.Completions.create" is four below the entry. +const MaxDepth = 5 + +// Read is the public surface of the package whose files these are: for +// each entry point package.json declares (its "exports", or its "types"), +// every name it exports, and below a class or namespace what it holds (a +// class's public methods and properties, a namespace's exports), keyed by +// the import path code writes ("openai.OpenAI.chat", "openai/resources.Chat") +// and in the same shape as the Python reader's, so one comparison serves +// both. Parameters are positional (Kind "positional", or "args" for the +// rest); HasDef is "optional". +// +// What isn't read, on purpose: names marked @internal, private and +// protected members, interface and object-type members (an interface is +// one name), interfaces and type aliases inside a namespace (a generated +// SDK re-exports each of its thousands of types through namespaces at +// several paths; an entry point's own exports are read, and a type is only +// a type: the code that runs is the classes and functions), names an entry point re-exports from another package (one +// name each, nothing below), and entry points under a private path ("_" or +// "internal"). Bindings are what each entry point exports, Star when it +// re-exports everything of another package (whose names aren't read). +func Read(pkgName string, files []File) (pysurface.Surface, pysurface.Classes, pysurface.Bindings) { + r := newReader(pkgName, files) + out := pysurface.Surface{} + binds := pysurface.Bindings{} + for _, e := range r.entries() { + sc := e.scope + names, star := r.exportedNames(sc, 0, map[*scope]bool{}) + slices.Sort(names) + binds[e.spec] = pysurface.Binding{Names: names, Star: star} + for _, n := range names { + t := r.lookupExport(sc, n, 0) + if n == "default" { + // The default export is the same declaration as a + // named one, almost always: its name, not again all + // it holds. + if t.ok { + out[e.spec+".default"] = r.head(t) + } + continue + } + r.expand(out, e.spec+"."+n, t, 0, map[any]bool{}) + } + } + return out, r.classes(), binds +} + +type reader struct { + name string + files map[string]string // declaration files and package.json, by path + mods map[string]*scope // parsed declaration files, by path + ambient map[string]*scope // `declare module "x"` bodies, by spec +} + +func newReader(pkgName string, files []File) *reader { + r := &reader{name: pkgName, files: map[string]string{}, mods: map[string]*scope{}, ambient: map[string]*scope{}} + for _, f := range files { + r.files[f.Path] = f.Text + } + var paths []string + for p := range r.files { + if isDTS(p) { + paths = append(paths, p) + } + } + slices.Sort(paths) + for _, p := range paths { + r.mods[p] = parseFile(p, r.files[p], r.ambient) + } + return r +} + +func isDTS(p string) bool { + return strings.HasSuffix(p, ".d.ts") || strings.HasSuffix(p, ".d.mts") || strings.HasSuffix(p, ".d.cts") +} + +// entry is one entry point: the import path code writes, and its module. +type entry struct { + spec string + scope *scope +} + +// entries are the package's entry points: package.json's "exports" (each +// subpath, wildcards matched against the files), else its "types" or +// "typings", else index.d.ts. A subpath under a private path, or one that +// names a .js file (a duplicate of the extensionless one), isn't an entry. +func (r *reader) entries() []entry { + var pj struct { + Types string `json:"types"` + Typings string `json:"typings"` + Main string `json:"main"` + Exports json.RawMessage `json:"exports"` + } + _ = json.Unmarshal([]byte(r.files["package.json"]), &pj) // no package.json: index.d.ts + subpaths := map[string]string{} // subpath -> declaration file + var exp any + if len(pj.Exports) > 0 && json.Unmarshal(pj.Exports, &exp) == nil { + m, isMap := exp.(map[string]any) + if !isMap || !hasSubpaths(m) { + exp = map[string]any{".": exp} + m = exp.(map[string]any) + } + for sub, target := range m { + if !strings.HasPrefix(sub, ".") || privatePath(sub) || strings.HasSuffix(sub, ".json") || jsExt.MatchString(sub) || sub == "./index" || strings.HasSuffix(sub, "/index") { + continue + } + file := typesOf(target) + if file == "" { + continue + } + if strings.Contains(sub, "*") { + for k, v := range r.wildcard(sub, file) { + subpaths[k] = v + } + continue + } + if f := r.dtsFor(file); f != "" { + subpaths[sub] = f + } + } + } else { + for _, f := range []string{pj.Types, pj.Typings, pj.Main, "index.d.ts"} { + if f = r.dtsFor(f); f != "" { + subpaths["."] = f + break + } + } + } + var out []entry + for sub, file := range subpaths { + spec := r.name + strings.TrimPrefix(sub, ".") + sc := r.mods[file] + if a, ok := r.ambient[spec]; ok && len(sc.exports) == 0 && len(sc.stars) == 0 && !hasExported(sc) { + sc = a // the file only declares the module + } + out = append(out, entry{spec: spec, scope: sc}) + } + // The ambient module of the package itself, when no file is its entry. + if len(out) == 0 { + if a, ok := r.ambient[r.name]; ok { + out = append(out, entry{spec: r.name, scope: a}) + } + } + sort.Slice(out, func(i, j int) bool { return out[i].spec < out[j].spec }) + return out +} + +func hasExported(sc *scope) bool { + for _, ds := range sc.decls { + for _, d := range ds { + if d.exported { + return true + } + } + } + return false +} + +var jsExt = regexp.MustCompile(`\.(m|c)?js$`) + +func hasSubpaths(m map[string]any) bool { + for k := range m { + if strings.HasPrefix(k, ".") { + return true + } + } + return false +} + +// privatePath is a subpath or file path with a part starting with "_" or +// named internal or src. +func privatePath(p string) bool { + for _, part := range strings.Split(strings.TrimPrefix(p, "./"), "/") { + if strings.HasPrefix(part, "_") || part == "internal" || part == "src" { + return true + } + } + return false +} + +// typesOf is the file an "exports" target resolves to for TypeScript: its +// "types" condition, else (in order) import, require, node, default, else +// any condition, a .js target read as its declaration file. +func typesOf(v any) string { + switch t := v.(type) { + case string: + return t + case []any: + if len(t) > 0 { + return typesOf(t[0]) + } + case map[string]any: + for _, k := range []string{"types", "import", "require", "node", "default"} { + if x, ok := t[k]; ok { + if s := typesOf(x); s != "" { + return s + } + } + } + keys := make([]string, 0, len(t)) + for k := range t { + keys = append(keys, k) + } + slices.Sort(keys) + for _, k := range keys { + if s := typesOf(t[k]); s != "" { + return s + } + } + } + return "" +} + +// dtsFor is the declaration file for a path in the package: itself, or a +// .js file's .d.ts beside it (.mjs .d.mts, .cjs .d.cts), or a directory's +// index; "" when there's none. +func (r *reader) dtsFor(p string) string { + if p == "" { + return "" + } + p = path.Clean(strings.TrimPrefix(p, "./")) + base := jsExt.ReplaceAllString(strings.TrimSuffix(strings.TrimSuffix(strings.TrimSuffix(p, ".d.ts"), ".d.mts"), ".d.cts"), "") + var cands []string + if isDTS(p) { + cands = append(cands, p) + } + switch { + case strings.HasSuffix(p, ".mjs"): + cands = append(cands, base+".d.mts") + case strings.HasSuffix(p, ".cjs"): + cands = append(cands, base+".d.cts") + } + cands = append(cands, base+".d.ts", base+".d.mts", base+".d.cts", base+"/index.d.ts", base+"/index.d.mts", base+"/index.d.cts") + for _, c := range cands { + if _, ok := r.mods[c]; ok { + return c + } + } + return "" +} + +// wildcard matches a subpath pattern ("./resources/*") against the files +// its target pattern ("./resources/*.mjs") names. +func (r *reader) wildcard(sub, target string) map[string]string { + out := map[string]string{} + t := path.Clean(strings.TrimPrefix(target, "./")) + pre, post, _ := strings.Cut(t, "*") + post = jsExt.ReplaceAllString(strings.TrimSuffix(strings.TrimSuffix(strings.TrimSuffix(post, ".d.ts"), ".d.mts"), ".d.cts"), "") + for f := range r.mods { + if !strings.HasPrefix(f, pre) { + continue + } + rest := strings.TrimPrefix(f, pre) + for _, ext := range []string{".d.ts", ".d.mts", ".d.cts"} { + if stem, ok := strings.CutSuffix(rest, post+ext); ok && stem != "" { + s := strings.Replace(sub, "*", stem, 1) + if privatePath(s) || s == "./index" || strings.HasSuffix(s, "/index") { + continue + } + if have, ok := out[s]; !ok || f < have { + out[s] = r.dtsFor(f) + } + } + } + } + return out +} + +// target is what a name resolves to. +type target struct { + decls []*decl + module *scope // a namespace import, `export * as` + external exportRef // a name from another package + from string // the file that names it + ok bool +} + +// module resolves a module specifier from a file: a relative path to the +// package's declaration file, the package's own name to its entry, an +// ambient module; nil for another package. +func (r *reader) module(from, spec string) *scope { + if a, ok := r.ambient[spec]; ok { + return a + } + if strings.HasPrefix(spec, ".") { + if f := r.dtsFor(path.Join(path.Dir(from), spec)); f != "" { + return r.mods[f] + } + } + return nil +} + +// exportedNames are the names a scope exports, and whether it re-exports +// all of another package (names it can't list). +func (r *reader) exportedNames(sc *scope, hops int, seen map[*scope]bool) ([]string, bool) { + if sc == nil || seen[sc] || hops > 8 { + return nil, false + } + seen[sc] = true + set := map[string]bool{} + star := false + for n := range sc.exports { + set[n] = true + } + for _, n := range sc.order { + for _, d := range sc.decls[n] { + if d.exported || (sc.ambient && !sc.explicit) { + set[n] = true + } + } + } + if sc.assign != "" { + // `export = X`: the module is X's namespace members. + t := r.lookupLocal(sc, sc.assign, 0) + for _, d := range t.decls { + if d.ns != nil { + ns, s := r.exportedNames(d.ns, hops+1, seen) + for _, n := range ns { + set[n] = true + } + star = star || s + } + } + } + for _, st := range sc.stars { + m := r.module(sc.file, st.spec) + if m == nil { + star = true + continue + } + ns, s := r.exportedNames(m, hops+1, seen) + for _, n := range ns { + if n != "default" { + set[n] = true + } + } + star = star || s + } + out := make([]string, 0, len(set)) + for n := range set { + out = append(out, n) + } + return out, star +} + +// lookupExport resolves a name a scope exports. +func (r *reader) lookupExport(sc *scope, name string, hops int) target { + if sc == nil || hops > 12 { + return target{} + } + if e, ok := sc.exports[name]; ok { + if e.spec != "" { + m := r.module(sc.file, e.spec) + if m == nil { + return target{external: e, from: sc.file, ok: true} + } + if e.name == "*" { + return target{module: m, from: sc.file, ok: true} + } + return r.lookupExport(m, e.name, hops+1) + } + return r.lookupLocal(sc, e.local, hops+1) + } + var ds []*decl + for _, d := range sc.decls[name] { + if d.exported || (sc.ambient && !sc.explicit) { + ds = append(ds, d) + } + } + if len(ds) > 0 { + return target{decls: ds, from: sc.file, ok: true} + } + if sc.assign != "" { + for _, d := range r.lookupLocal(sc, sc.assign, hops+1).decls { + if d.ns != nil { + if t := r.lookupExport(d.ns, name, hops+1); t.ok { + return t + } + } + } + } + if name != "default" { + for _, st := range sc.stars { + if m := r.module(sc.file, st.spec); m != nil { + if t := r.lookupExport(m, name, hops+1); t.ok { + return t + } + } + } + } + return target{} +} + +// lookupLocal resolves a name as written in a scope: its declarations, an +// import, an alias (import X = A.B), else the enclosing scope's. +func (r *reader) lookupLocal(sc *scope, dotted string, hops int) target { + if sc == nil || hops > 12 { + return target{} + } + first, rest, more := strings.Cut(dotted, ".") + var t target + switch { + case len(sc.decls[first]) > 0: + t = target{decls: sc.decls[first], from: sc.file, ok: true} + case sc.imports[first].spec != "": + imp := sc.imports[first] + m := r.module(sc.file, imp.spec) + switch { + case m == nil: + t = target{external: exportRef{spec: imp.spec, name: imp.name, sig: "import " + first + " from " + quote(imp.spec)}, from: sc.file, ok: true} + case imp.name == "*": + t = target{module: m, from: sc.file, ok: true} + case imp.name == "=": + if m.assign != "" { + t = r.lookupLocal(m, m.assign, hops+1) + } else { + t = target{module: m, from: sc.file, ok: true} + } + default: + t = r.lookupExport(m, imp.name, hops+1) + } + case sc.aliases[first] != "": + t = r.lookupLocal(sc, sc.aliases[first], hops+1) + default: + return r.lookupLocal(sc.parent, dotted, hops+1) + } + if !more { + return t + } + for _, part := range strings.Split(rest, ".") { + switch { + case t.module != nil: + t = r.lookupExport(t.module, part, hops+1) + case len(t.decls) > 0: + var next target + for _, d := range t.decls { + if d.ns != nil { + if next = r.lookupExport(d.ns, part, hops+1); next.ok { + break + } + } + } + t = next + default: + return target{} + } + if !t.ok { + return t + } + } + return t +} + +// kindOrder is which declaration of a merged name is the symbol. +var kindOrder = []string{"class", "function", "enum", "variable", "interface", "type", "namespace"} + +// expand adds the symbol a target is at key, and what it holds. +func (r *reader) expand(out pysurface.Surface, key string, t target, depth int, seen map[any]bool) { + if !t.ok || depth > MaxDepth { + return + } + switch { + case t.external.spec != "": + out[key] = r.head(t) + case t.module != nil: + if seen[t.module] { + return + } + seen[t.module] = true + defer delete(seen, t.module) + out[key] = r.head(t) + names, _ := r.exportedNames(t.module, 0, map[*scope]bool{}) + for _, n := range names { + r.expand(out, key+"."+n, r.lookupExport(t.module, n, 0), depth+1, seen) + } + case len(t.decls) > 0: + if seen[t.decls[0]] { + return + } + if sym := symbol(t.decls); depth > 0 && (sym.Kind == "interface" || sym.Kind == "type") { + return // a type inside a namespace: see Read + } + seen[t.decls[0]] = true + defer delete(seen, t.decls[0]) + out[key] = symbol(t.decls) + for _, d := range t.decls { + if d.kind == "class" { + byName := map[string][]*member{} + for _, m := range d.members { + byName[m.name] = append(byName[m.name], m) + } + for n, ms := range byName { + out[key+"."+n] = memberSymbol(d.file, ms) + } + } + if d.ns != nil { + names, _ := r.exportedNames(d.ns, 0, map[*scope]bool{}) + for _, n := range names { + r.expand(out, key+"."+n, r.lookupExport(d.ns, n, 0), depth+1, seen) + } + } + } + } +} + +// head is a target's own symbol, without what it holds. +func (r *reader) head(t target) pysurface.Symbol { + switch { + case t.external.spec != "": + return pysurface.Symbol{Kind: "export", File: t.from, Line: t.external.line, Signature: t.external.sig} + case t.module != nil: + return pysurface.Symbol{Kind: "namespace", File: t.module.file, Line: 1, Signature: "module " + t.module.file} + } + return symbol(t.decls) +} + +// symbol is a merged name's symbol: its first declaration of the first +// kind in kindOrder; a function declared more than once is overloaded, a +// class's parameters are its constructor's. +func symbol(ds []*decl) pysurface.Symbol { + var primary *decl + for _, k := range kindOrder { + for _, d := range ds { + if d.kind == k { + primary = d + break + } + } + if primary != nil { + break + } + } + s := pysurface.Symbol{Kind: primary.kind, File: primary.file, Line: primary.line, Signature: primary.sig} + switch primary.kind { + case "function": + n := 0 + for _, d := range ds { + if d.kind == "function" { + n++ + } + } + if n > 1 { + s.Overloaded = true + } else { + s.Params = params(primary.params) + } + case "class": + switch { + case primary.ctors > 1: + s.Overloaded = true + case primary.hasParam: + s.Params = params(primary.params) + } + } + return s +} + +func memberSymbol(file string, ms []*member) pysurface.Symbol { + m := ms[0] + s := pysurface.Symbol{Kind: m.kind, File: file, Line: m.line, Signature: m.sig} + if m.kind == "method" { + if len(ms) > 1 { + s.Overloaded = true + } else { + s.Params = params(m.params) + } + } + return s +} + +func params(ps []Param) []pysurface.Param { + out := make([]pysurface.Param, 0, len(ps)) + for _, p := range ps { + k := "positional" + if p.Rest { + k = "args" + } + out = append(out, pysurface.Param{Name: p.Name, Kind: k, HasDef: p.Optional}) + } + return out +} + +// classes are every class the package declares, by name: its base and its +// public members, for following a method that moved to a base class. +func (r *reader) classes() pysurface.Classes { + out := pysurface.Classes{} + var walk func(sc *scope) + walk = func(sc *scope) { + for _, n := range sc.order { + for _, d := range sc.decls[n] { + if d.kind == "class" { + c := out[n] + for _, b := range d.bases { + if !slices.Contains(c.Bases, b) { + c.Bases = append(c.Bases, b) + } + } + for _, m := range d.members { + if !slices.Contains(c.Members, m.name) { + c.Members = append(c.Members, m.name) + } + } + slices.Sort(c.Bases) + slices.Sort(c.Members) + out[n] = c + } + if d.ns != nil { + walk(d.ns) + } + } + } + } + for _, sc := range r.mods { + walk(sc) + } + for _, sc := range r.ambient { + walk(sc) + } + return out +} diff --git a/plugins/apisurface/npm.go b/plugins/apisurface/npm.go new file mode 100644 index 0000000..b2ff86a --- /dev/null +++ b/plugins/apisurface/npm.go @@ -0,0 +1,115 @@ +package apisurface + +import ( + "archive/tar" + "bytes" + "compress/gzip" + "context" + "encoding/json" + "fmt" + "io" + "log" + "net/url" + "path" + "slices" + "strings" + + "github.com/patch-it-dev/patch-it-plugins/core/plugin" + "github.com/patch-it-dev/patch-it-plugins/core/versions" + "github.com/patch-it-dev/patch-it-plugins/plugins/apisurface/dtsurface" +) + +// readNPM downloads an npm release's tarball (from its version document on +// the registry) and reads its public API from its declaration files. Only +// package.json and the .d.ts, .d.mts and .d.cts files are read out of the +// tarball, in memory: no JavaScript in it is run, and no install script. +func (p Plugin) readNPM(ctx context.Context, env plugin.Env, v plugin.Version) (plugin.Snapshot, error) { + pkg := p.Package + u := versions.NPM + "/" + strings.Replace(url.PathEscape(pkg.Name), "%40", "@", 1) + "/" + url.PathEscape(v.ID) + body, err := env.Get(ctx, u) + if err != nil { + return plugin.Snapshot{}, fmt.Errorf("reading %s %s on npm: %w", pkg.Name, v.ID, err) + } + var doc struct { + Dist struct { + Tarball string `json:"tarball"` + } `json:"dist"` + } + if err := json.Unmarshal(body, &doc); err != nil { + return plugin.Snapshot{}, fmt.Errorf("parsing npm's %s %s: %w", pkg.Name, v.ID, err) + } + if doc.Dist.Tarball == "" { + return plugin.Snapshot{}, fmt.Errorf("npm's %s %s has no tarball", pkg.Name, v.ID) + } + tgz, err := env.Get(ctx, doc.Dist.Tarball) + if err != nil { + return plugin.Snapshot{}, fmt.Errorf("fetching %s: %w", doc.Dist.Tarball, err) + } + files, skipped, err := npmFiles(tgz) + if err != nil { + return plugin.Snapshot{}, fmt.Errorf("%s: %w", doc.Dist.Tarball, err) + } + if !slices.ContainsFunc(files, func(f dtsurface.File) bool { return f.Path != "package.json" }) { + return plugin.Snapshot{}, fmt.Errorf("%s %s has no declaration files: %w", pkg.Name, v.ID, plugin.ErrNothingToRead) + } + for _, s := range skipped { + log.Printf("%s %s: %s skipped: over %d bytes", pkg.Name, v.ID, s, MaxFileBytes) + } + surface, classes, bindings := dtsurface.Read(pkg.Name, files) + content, err := json.Marshal(Release{Artifact: path.Base(doc.Dist.Tarball), Surface: surface, Classes: classes, Bindings: bindings, Skipped: skipped, Positional: true}) + if err != nil { + return plugin.Snapshot{}, err + } + return plugin.Snapshot{Version: v, Content: content, SourceURL: doc.Dist.Tarball}, nil +} + +// npmFiles are a tarball's package.json and declaration files, each with +// its path from the package's root (the tarball's top directory, "package/" +// by convention, left out). Links and other non-regular entries are never +// followed; a file over MaxFileBytes is skipped, and more than +// MaxSourceBytes in all is refused. +func npmFiles(tgz []byte) ([]dtsurface.File, []string, error) { + gz, err := gzip.NewReader(bytes.NewReader(tgz)) + if err != nil { + return nil, nil, err + } + tr := tar.NewReader(gz) + var files []dtsurface.File + var skipped []string + var total int64 + for { + h, err := tr.Next() + if err == io.EOF { + break + } + if err != nil { + return nil, nil, err + } + if h.Typeflag != tar.TypeReg { + continue + } + name := path.Clean(strings.TrimPrefix(h.Name, "./")) + _, rel, ok := strings.Cut(name, "/") + if !ok || strings.HasPrefix(rel, "../") || strings.Contains(rel, "/node_modules/") || strings.HasPrefix(rel, "node_modules/") { + continue + } + if rel != "package.json" && !strings.HasSuffix(rel, ".d.ts") && !strings.HasSuffix(rel, ".d.mts") && !strings.HasSuffix(rel, ".d.cts") { + continue + } + if h.Size > MaxFileBytes { + skipped = append(skipped, rel) + continue + } + total += h.Size + if total > MaxSourceBytes { + return nil, nil, fmt.Errorf("over %d bytes of declarations", MaxSourceBytes) + } + b, err := io.ReadAll(io.LimitReader(tr, MaxFileBytes+1)) + if err != nil { + return nil, nil, err + } + files = append(files, dtsurface.File{Path: rel, Text: string(b)}) + } + slices.SortFunc(files, func(a, b dtsurface.File) int { return strings.Compare(a.Path, b.Path) }) + return files, skipped, nil +} diff --git a/plugins/apisurface/npm_packages.go b/plugins/apisurface/npm_packages.go new file mode 100644 index 0000000..3235471 --- /dev/null +++ b/plugins/apisurface/npm_packages.go @@ -0,0 +1,54 @@ +package apisurface + +import ( + "strings" + + "github.com/patch-it-dev/patch-it-plugins/core/plugin" +) + +// The npm packages whose public API this kind reads from their TypeScript +// declarations, one source each, registered with their provider. An npm +// package's Module is its own name: symbols are named from the import path +// code writes ("@anthropic-ai/sdk/resources/messages.Messages.create"). +var ( + OpenAINode = npmPackage("openai/node-surface", "openai") + AnthropicTS = npmPackage("anthropic/typescript-surface", "@anthropic-ai/sdk") + StripeNode = npmPackage("stripe/node-surface", "stripe") + GoogleGenAIJS = npmPackage("google/genai-js-surface", "@google/genai") + SentryNode = npmPackage("sentry/node-surface", "@sentry/node") + MongoDBNode = npmPackage("mongodb/node-surface", "mongodb") + RedisNode = npmPackage("redis/node-redis-surface", "@redis/client") + SupabaseJS = npmPackage("supabase/js-surface", "@supabase/supabase-js") + NeonServerless = npmPackage("neon/serverless-surface", "@neondatabase/serverless") + ConvexJS = npmPackage("convex/js-surface", "convex") +) + +func npmPackage(id, name string) Package { + return Package{ID: id, Name: name, Ecosystem: "npm", Module: name} +} + +func init() { + npm := func(p plugin.Provider, pkg Package, repo string, also ...string) { + _, src, _ := strings.Cut(pkg.ID, "/") + p.Sources = []plugin.Source{{ + ID: src, Layer: plugin.LayerSDK, Page: "providers/" + p.ID + "-" + src + ".md", + Watches: "Exported classes, functions, methods, properties, types and parameters removed, or parameters no longer optional, in the public API of the " + pkg.Name + " npm package, release by release, read from each release's TypeScript declarations", + URLs: []string{"https://www.npmjs.com/package/" + pkg.Name, repo}, + Packages: append([]string{"npm:" + pkg.Name}, also...), + Plugin: Plugin{Package: pkg}, + }} + plugin.RegisterProvider(p) + } + npm(plugin.Provider{ID: "openai", Name: "OpenAI", Category: plugin.CategoryAI, Homepage: "https://openai.com"}, OpenAINode, "https://github.com/openai/openai-node") + npm(plugin.Provider{ID: "anthropic", Name: "Anthropic", Category: plugin.CategoryAI, Homepage: "https://www.anthropic.com"}, AnthropicTS, "https://github.com/anthropics/anthropic-sdk-typescript") + npm(plugin.Provider{ID: "stripe", Name: "Stripe", Category: plugin.CategoryPayments, Homepage: "https://stripe.com"}, StripeNode, "https://github.com/stripe/stripe-node") + npm(plugin.Provider{ID: "google", Name: "Google", Category: plugin.CategoryAI, Homepage: "https://cloud.google.com"}, GoogleGenAIJS, "https://github.com/googleapis/js-genai") + npm(plugin.Provider{ID: "sentry", Name: "Sentry", Category: plugin.CategoryMonitoring, Homepage: "https://sentry.io"}, SentryNode, "https://github.com/getsentry/sentry-javascript") + npm(plugin.Provider{ID: "mongodb", Name: "MongoDB", Category: plugin.CategoryDatabases, Homepage: "https://www.mongodb.com"}, MongoDBNode, "https://github.com/mongodb/node-mongodb-native") + // redis on npm re-exports @redis/client and its siblings wholesale; the + // client's declarations are where its API is. + npm(plugin.Provider{ID: "redis", Name: "Redis", Category: plugin.CategoryDatabases, Homepage: "https://redis.io"}, RedisNode, "https://github.com/redis/node-redis", "npm:redis") + npm(plugin.Provider{ID: "supabase", Name: "Supabase", Category: plugin.CategoryDatabases, Homepage: "https://supabase.com"}, SupabaseJS, "https://github.com/supabase/supabase-js") + npm(plugin.Provider{ID: "neon", Name: "Neon", Category: plugin.CategoryDatabases, Homepage: "https://neon.com"}, NeonServerless, "https://github.com/neondatabase/serverless") + npm(plugin.Provider{ID: "convex", Name: "Convex", Category: plugin.CategoryDatabases, Homepage: "https://www.convex.dev"}, ConvexJS, "https://github.com/convex/convex-js") +} diff --git a/plugins/apisurface/npm_test.go b/plugins/apisurface/npm_test.go new file mode 100644 index 0000000..b6c667d --- /dev/null +++ b/plugins/apisurface/npm_test.go @@ -0,0 +1,182 @@ +package apisurface + +import ( + "context" + "encoding/json" + "path/filepath" + "slices" + "strings" + "testing" + + "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" + "github.com/patch-it-dev/patch-it-plugins/core/plugin" +) + +// npmCases are the npm sources' saved releases (testdata/npm//, +// testdata/README.md): a golden pair with the events it must store, and a +// drop pair that must store none. Both are consecutive releases on npm. +var npmCases = []pypiCase{ + // openai 7.60.0 dropped the agents' AgentSessionBudgetReachedEvent + // type (the session spending limits pulled from the API). + {OpenAINode, [2]string{"7.59.0", "7.60.0"}, []string{ + "removed_symbol openai/resources/beta.AgentSessionBudgetReachedEvent,openai/resources/beta/agents.AgentSessionBudgetReachedEvent,openai/resources/beta/agents/agents.AgentSessionBudgetReachedEvent ", + }, [2]string{"7.60.0", "7.61.0"}}, + // @anthropic-ai/sdk 1.7.0 dropped the beta billing-frozen error. + {AnthropicTS, [2]string{"1.6.0", "1.7.0"}, []string{ + "removed_symbol @anthropic-ai/sdk/resources/beta.BetaBillingFrozenErrorDetails,@anthropic-ai/sdk/resources/beta/organization.BetaBillingFrozenErrorDetails,@anthropic-ai/sdk/resources/beta/organization/organization.BetaBillingFrozenErrorDetails ", + "removed_symbol Anthropic.Beta.BetaBillingFrozenError,Anthropic.Beta.Organization.BetaBillingFrozenError,@anthropic-ai/sdk/client.Anthropic.Beta.BetaBillingFrozenError,@anthropic-ai/sdk/client.Anthropic.Beta.Organization.BetaBillingFrozenError,@anthropic-ai/sdk/resources.Beta.BetaBillingFrozenError,@anthropic-ai/sdk/resources.Beta.Organization.BetaBillingFrozenError,@anthropic-ai/sdk/resources/beta.Beta.BetaBillingFrozenError,@anthropic-ai/sdk/resources/beta.Beta.Organization.BetaBillingFrozenError,@anthropic-ai/sdk/resources/beta.BetaBillingFrozenError,@anthropic-ai/sdk/resources/beta.Organization.BetaBillingFrozenError,@anthropic-ai/sdk/resources/beta/beta.Beta.BetaBillingFrozenError,@anthropic-ai/sdk/resources/beta/beta.Beta.Organization.BetaBillingFrozenError,@anthropic-ai/sdk/resources/beta/organization.BetaBillingFrozenError,@anthropic-ai/sdk/resources/beta/organization.Organization.BetaBillingFrozenError,@anthropic-ai/sdk/resources/beta/organization/organization.BetaBillingFrozenError,@anthropic-ai/sdk/resources/beta/organization/organization.Organization.BetaBillingFrozenError ", + }, [2]string{"1.7.0", "1.8.0"}}, + // stripe 23.0.0 removed constructEventWithoutVerification and the + // ErrorType namespace. + {StripeNode, [2]string{"22.6.2", "23.0.0"}, []string{ + "removed_symbol Stripe.ErrorType ", + "removed_symbol Stripe.constructEventWithoutVerification ", + }, [2]string{"23.0.0", "23.0.1"}}, + // @sentry/node 10.0.0 stopped exporting systemErrorIntegration. 11.13.0 + // made the logger namespace a const object: its functions are still + // there, as members the reader doesn't follow. + {SentryNode, [2]string{"9.47.2", "10.0.0"}, []string{ + "removed_symbol systemErrorIntegration ", + }, [2]string{"11.12.0", "11.13.0"}}, + // @neondatabase/serverless 1.0.0 dropped ClientBase.neonConfig and the + // native export; Pool.connect, gone from Pool, is pg's base class's. + {NeonServerless, [2]string{"0.10.4", "1.0.0"}, []string{ + "removed_symbol native ", + }, [2]string{"1.0.0", "1.0.1"}}, + // @redis/client 5.0.0 removed commandOptions and RedisFlushModes. + {RedisNode, [2]string{"1.6.1", "5.0.0"}, []string{ + "removed_symbol RedisFlushModes ", + "removed_symbol commandOptions ", + }, [2]string{"6.3.0", "6.3.1"}}, + // @supabase/supabase-js 2.0.0 removed the v1 subscription methods. + {SupabaseJS, [2]string{"1.35.7", "2.0.0"}, []string{ + "removed_symbol SupabaseClient.getSubscriptions ", + "removed_symbol SupabaseClient.removeAllSubscriptions ", + "removed_symbol SupabaseClient.removeSubscription ", + }, [2]string{"2.118.0", "2.119.0"}}, + // @google/genai 1.0.0 removed LiveMusicSetClientContentParameters. + {GoogleGenAIJS, [2]string{"0.15.0", "1.0.0"}, []string{ + "removed_symbol @google/genai/node.LiveMusicSetClientContentParameters ", + "removed_symbol @google/genai/web.LiveMusicSetClientContentParameters ", + "removed_symbol LiveMusicSetClientContentParameters ", + }, [2]string{"1.0.0", "1.1.0"}}, + // mongodb 7.0.0 removed CancellationToken, Transaction and more. + {MongoDBNode, [2]string{"6.22.0", "7.0.0"}, []string{ + "removed_symbol AsyncDisposable ", + "removed_symbol CancellationToken ", + "removed_symbol ChangeStream.streamOptions ", + "removed_symbol ClientMetadata ", + "removed_symbol ClientMetadataOptions ", + "removed_symbol ClientSession.transaction ", + "removed_symbol CloseOptions ", + "removed_symbol CursorStreamOptions ", + "removed_symbol ReadPreference.minWireVersion ", + "removed_symbol ResumeOptions ", + "removed_symbol ServerCapabilities ", + "removed_symbol Transaction ", + }, [2]string{"7.0.0", "7.1.0"}}, + // convex 1.35.1 removed the react entry's QueryOptions and + // UseQueryResult types. + {ConvexJS, [2]string{"1.35.0", "1.35.1"}, []string{ + "removed_symbol convex/browser.QueryOptions ", + }, [2]string{"1.42.2", "1.42.3"}}, +} + +// npmDir is a package's directory under testdata/npm. +func npmDir(name string) string { + return filepath.Join("testdata", "npm", strings.ReplaceAll(strings.TrimPrefix(name, "@"), "/", "-")) +} + +// npmPages serves a case's saved files under the registry's URLs: the +// package document, each version's, and each trimmed tarball. +func npmPages(t *testing.T, name string) kittest.Pages { + t.Helper() + dir, safe := npmDir(name), strings.ReplaceAll(strings.TrimPrefix(name, "@"), "/", "-") + reg := "https://registry.npmjs.org/" + strings.ReplaceAll(name, "/", "%2F") + pages := kittest.Pages{reg: filepath.Join(dir, "npm-"+safe+"-excerpt.json")} + files, err := filepath.Glob(filepath.Join(dir, "npm-"+safe+"-*.json")) + if err != nil { + t.Fatal(err) + } + for _, f := range files { + v := strings.TrimSuffix(strings.TrimPrefix(filepath.Base(f), "npm-"+safe+"-"), ".json") + if v == "excerpt" { + continue + } + pages[reg+"/"+v] = f + var doc struct { + Dist struct { + Tarball string `json:"tarball"` + } `json:"dist"` + } + if err := json.Unmarshal(kittest.Read(t, f), &doc); err != nil { + t.Fatal(err) + } + pages[doc.Dist.Tarball] = filepath.Join(dir, strings.TrimSuffix(filepath.Base(doc.Dist.Tarball), ".tgz")+".trimmed.tgz") + } + return pages +} + +func npmPair(t *testing.T, c pypiCase, pair [2]string) []event.Event { + t.Helper() + ctx, env := context.Background(), kittest.Env(t, npmPages(t, c.pkg.Name)) + p := Plugin{Package: c.pkg} + vs, err := p.ListVersions(ctx, env) + if err != nil { + t.Fatal(err) + } + byID := map[string]plugin.Version{} + for _, v := range vs { + byID[v.ID] = v + } + from, ok1 := byID[pair[0]] + to, ok2 := byID[pair[1]] + if !ok1 || !ok2 { + t.Fatalf("%s: %v not both listed in %v", c.pkg.Name, pair, vs) + } + return kittest.Versions(t, env, p, from, to) +} + +// The golden test of every npm source. +func TestNPMGolden(t *testing.T) { + for _, c := range npmCases { + t.Run(c.pkg.ID, func(t *testing.T) { + got := npmPair(t, c, c.golden) + if len(got) == 0 { + t.Fatal("no events") + } + var lines []string + for _, e := range got { + lines = append(lines, string(e.Subject.Change)+" "+strings.Join(e.Subject.Symbols, ",")+" "+e.Subject.Parameter) + if e.Version != c.golden[1] || e.PreviousVersion != c.golden[0] || !strings.HasPrefix(e.SourceURL, "https://registry.npmjs.org/") || !strings.Contains(e.SourceExcerpt, c.pkg.Name+" "+c.golden[0]+" (") || e.Subject.Ecosystem != "npm" { + t.Errorf("%s: %s<-%s cites %s, excerpt %q", e.Subject.Symbols, e.Version, e.PreviousVersion, e.SourceURL, e.SourceExcerpt) + } + } + slices.Sort(lines) + if !slices.Equal(lines, c.want) { + t.Errorf("got\n%s\nwant\n%s", strings.Join(lines, "\n"), strings.Join(c.want, "\n")) + } + provider, source, _ := strings.Cut(c.pkg.ID, "/") + kittest.Golden(t, "testdata/golden/"+provider+"-"+source+".json", got) + }) + } +} + +// The pinned drop test of every npm source: a real release that changes +// nothing a caller relies on stores no event. +func TestNPMDrop(t *testing.T) { + for _, c := range npmCases { + t.Run(c.pkg.ID, func(t *testing.T) { + for _, e := range npmPair(t, c, c.drop) { + t.Errorf("%s %v %s", e.Subject.Change, e.Subject.Symbols, e.Subject.Parameter) + } + }) + } +} + +func TestNPMRegistersItself(t *testing.T) { + for _, c := range npmCases { + kittest.Registered(t, Plugin{Package: c.pkg}) + } +} diff --git a/plugins/apisurface/pypi.go b/plugins/apisurface/pypi.go new file mode 100644 index 0000000..e889a2a --- /dev/null +++ b/plugins/apisurface/pypi.go @@ -0,0 +1,58 @@ +package apisurface + +import ( + "strings" + + "github.com/patch-it-dev/patch-it-plugins/core/plugin" +) + +// The PyPI packages whose public API this kind reads, one source each, +// registered with their provider. A package's Module is the top-level +// directory its wheel installs (checked by hand on each package's newest +// wheel, 2026-11-21). +var ( + OpenAIPython = Package{ID: "openai/python-surface", Name: "openai", Ecosystem: "pypi", Module: "openai"} + AnthropicPython = Package{ID: "anthropic/python-surface", Name: "anthropic", Ecosystem: "pypi", Module: "anthropic"} + StripePython = Package{ID: "stripe/python-surface", Name: "stripe", Ecosystem: "pypi", Module: "stripe"} + GoogleGenAI = Package{ID: "google/genai-python-surface", Name: "google-genai", Ecosystem: "pypi", Module: "google"} + SentryPython = Package{ID: "sentry/python-surface", Name: "sentry-sdk", Ecosystem: "pypi", Module: "sentry_sdk"} + PyMongo = Package{ID: "mongodb/pymongo-surface", Name: "pymongo", Ecosystem: "pypi", Module: "pymongo"} + RedisPy = Package{ID: "redis/redis-py-surface", Name: "redis", Ecosystem: "pypi", Module: "redis"} + NumPy = Package{ID: "numpy/python-surface", Name: "numpy", Ecosystem: "pypi", Module: "numpy"} + SupabasePython = Package{ID: "supabase/python-surface", Name: "supabase", Ecosystem: "pypi", Module: "supabase"} + AlgoliaPython = Package{ID: "algolia/python-surface", Name: "algoliasearch", Ecosystem: "pypi", Module: "algoliasearch"} + ElasticPython = Package{ID: "elastic/python-surface", Name: "elasticsearch", Ecosystem: "pypi", Module: "elasticsearch"} + DDTrace = Package{ID: "datadog/ddtrace-python-surface", Name: "ddtrace", Ecosystem: "pypi", Module: "ddtrace"} + CloudflarePython = Package{ID: "cloudflare/python-surface", Name: "cloudflare", Ecosystem: "pypi", Module: "cloudflare"} + Textual = Package{ID: "textual/python-surface", Name: "textual", Ecosystem: "pypi", Module: "textual"} + URLLib3 = Package{ID: "urllib3/python-surface", Name: "urllib3", Ecosystem: "pypi", Module: "urllib3"} +) + +func init() { + pypi := func(p plugin.Provider, pkg Package, layer plugin.Layer, repo string) { + _, src, _ := strings.Cut(pkg.ID, "/") + p.Sources = []plugin.Source{{ + ID: src, Layer: layer, Page: "providers/" + p.ID + "-" + src + ".md", + Watches: "Classes, functions, methods and parameters removed or renamed in the public API of the " + pkg.Name + " Python package, release by release, read from each release's wheel", + URLs: []string{"https://pypi.org/project/" + pkg.Name + "/", repo}, + Packages: []string{"pypi:" + pkg.Name}, + Plugin: Plugin{Package: pkg}, + }} + plugin.RegisterProvider(p) + } + pypi(plugin.Provider{ID: "openai", Name: "OpenAI", Category: plugin.CategoryAI, Homepage: "https://openai.com"}, OpenAIPython, plugin.LayerSDK, "https://github.com/openai/openai-python") + pypi(plugin.Provider{ID: "anthropic", Name: "Anthropic", Category: plugin.CategoryAI, Homepage: "https://www.anthropic.com"}, AnthropicPython, plugin.LayerSDK, "https://github.com/anthropics/anthropic-sdk-python") + pypi(plugin.Provider{ID: "stripe", Name: "Stripe", Category: plugin.CategoryPayments, Homepage: "https://stripe.com"}, StripePython, plugin.LayerSDK, "https://github.com/stripe/stripe-python") + pypi(plugin.Provider{ID: "google", Name: "Google", Category: plugin.CategoryAI, Homepage: "https://cloud.google.com"}, GoogleGenAI, plugin.LayerSDK, "https://github.com/googleapis/python-genai") + pypi(plugin.Provider{ID: "sentry", Name: "Sentry", Category: plugin.CategoryMonitoring, Homepage: "https://sentry.io"}, SentryPython, plugin.LayerSDK, "https://github.com/getsentry/sentry-python") + pypi(plugin.Provider{ID: "mongodb", Name: "MongoDB", Category: plugin.CategoryDatabases, Homepage: "https://www.mongodb.com"}, PyMongo, plugin.LayerSDK, "https://github.com/mongodb/mongo-python-driver") + pypi(plugin.Provider{ID: "redis", Name: "Redis", Category: plugin.CategoryDatabases, Homepage: "https://redis.io"}, RedisPy, plugin.LayerSDK, "https://github.com/redis/redis-py") + pypi(plugin.Provider{ID: "numpy", Name: "NumPy", Category: plugin.CategoryPackages, Homepage: "https://numpy.org"}, NumPy, plugin.LayerPackage, "https://github.com/numpy/numpy") + pypi(plugin.Provider{ID: "supabase", Name: "Supabase", Category: plugin.CategoryDatabases, Homepage: "https://supabase.com"}, SupabasePython, plugin.LayerSDK, "https://github.com/supabase/supabase-py") + pypi(plugin.Provider{ID: "algolia", Name: "Algolia", Category: plugin.CategorySearch, Homepage: "https://www.algolia.com"}, AlgoliaPython, plugin.LayerSDK, "https://github.com/algolia/algoliasearch-client-python") + pypi(plugin.Provider{ID: "elastic", Name: "Elastic", Category: plugin.CategorySearch, Homepage: "https://www.elastic.co"}, ElasticPython, plugin.LayerSDK, "https://github.com/elastic/elasticsearch-py") + pypi(plugin.Provider{ID: "datadog", Name: "Datadog", Category: plugin.CategoryMonitoring, Homepage: "https://www.datadoghq.com"}, DDTrace, plugin.LayerSDK, "https://github.com/DataDog/dd-trace-py") + pypi(plugin.Provider{ID: "cloudflare", Name: "Cloudflare", Category: plugin.CategoryInfrastructure, Homepage: "https://www.cloudflare.com"}, CloudflarePython, plugin.LayerSDK, "https://github.com/cloudflare/cloudflare-python") + pypi(plugin.Provider{ID: "textual", Name: "Textual", Category: plugin.CategoryPackages, Homepage: "https://textual.textualize.io"}, Textual, plugin.LayerPackage, "https://github.com/Textualize/textual") + pypi(plugin.Provider{ID: "urllib3", Name: "urllib3", Category: plugin.CategoryPackages, Homepage: "https://urllib3.readthedocs.io"}, URLLib3, plugin.LayerPackage, "https://github.com/urllib3/urllib3") +} diff --git a/plugins/apisurface/pypi_test.go b/plugins/apisurface/pypi_test.go new file mode 100644 index 0000000..ec10dea --- /dev/null +++ b/plugins/apisurface/pypi_test.go @@ -0,0 +1,201 @@ +package apisurface + +import ( + "context" + "encoding/json" + "os" + "path/filepath" + "slices" + "strings" + "testing" + + "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" + "github.com/patch-it-dev/patch-it-plugins/core/plugin" +) + +// pypiCase is one PyPI source's saved releases (testdata/pypi//, +// testdata/README.md): a golden pair, the events it must store, and a drop +// pair, a real release that must store none. Both pairs are consecutive +// releases on PyPI. +type pypiCase struct { + pkg Package + golden [2]string + want []string // each event as " " + drop [2]string +} + +var pypiCases = []pypiCase{ + // anthropic 2.7.0 dropped the beta billing-frozen error types, module + // and all. 2.5.0 made DeadlineExceededError an alias of + // GatewayTimeoutError: still importable, no event. + {AnthropicPython, [2]string{"2.6.0", "2.7.0"}, []string{ + "removed_symbol types.beta.BetaBillingFrozenError,types.beta.beta_billing_frozen_error.BetaBillingFrozenError ", + "removed_symbol types.beta.BetaBillingFrozenErrorDetails,types.beta.beta_billing_frozen_error_details.BetaBillingFrozenErrorDetails ", + }, [2]string{"2.4.0", "2.5.0"}}, + // stripe 16.0.0 removed StripeObject.request. 15.5.0 only added. + {StripePython, [2]string{"15.6.2", "16.0.0"}, []string{"removed_symbol StripeObject.request "}, [2]string{"15.4.0", "15.5.0"}}, + // google-genai 1.0.0 removed TuningJobOrOperation. 3.4.0 re-exports + // interactions' names from a private module: still importable. + {GoogleGenAI, [2]string{"0.8.0", "1.0.0"}, []string{ + "removed_symbol genai.types.TuningJobOrOperation ", + "removed_symbol genai.types.TuningJobOrOperationDict ", + }, [2]string{"3.3.0", "3.4.0"}}, + // sentry-sdk 2.74.0 removed utils.to_timestamp. 2.68.0 renamed a + // property setter's parameter: callers never pass it. + {SentryPython, [2]string{"2.73.0", "2.74.0"}, []string{"removed_symbol utils.to_timestamp "}, [2]string{"2.67.1", "2.68.0"}}, + // pymongo 4.16.0's command cursors no longer take explicit_session. + {PyMongo, [2]string{"4.15.5", "4.16.0"}, []string{ + "removed_parameter asynchronous.command_cursor.AsyncCommandCursor explicit_session", + "removed_parameter asynchronous.command_cursor.AsyncRawBatchCommandCursor explicit_session", + "removed_parameter command_cursor.CommandCursor,synchronous.command_cursor.CommandCursor explicit_session", + "removed_parameter command_cursor.RawBatchCommandCursor,synchronous.command_cursor.RawBatchCommandCursor explicit_session", + }, [2]string{"4.15.4", "4.15.5"}}, + // redis 8.1.0 removed OSSMaintNotificationsHandler.get_handler_for_connection. + {RedisPy, [2]string{"8.0.1", "8.1.0"}, []string{"removed_symbol maint_notifications.OSSMaintNotificationsHandler.get_handler_for_connection "}, [2]string{"7.4.1", "8.0.0"}}, + // numpy 2.5.0 removed row_stack, deprecated since 2.0 (read from the + // .pyi stubs). + {NumPy, [2]string{"2.4.6", "2.5.0"}, []string{"removed_symbol row_stack "}, [2]string{"2.5.0", "2.5.1"}}, + // supabase 1.0.0's SupabaseAuthClient lost four parameters. 2.34.0 made + // supabase.client a star re-export of the package: still importable. + {SupabasePython, [2]string{"0.7.1", "1.0.0"}, []string{ + "removed_parameter SupabaseAuthClient,lib.auth_client.SupabaseAuthClient api", + "removed_parameter SupabaseAuthClient,lib.auth_client.SupabaseAuthClient cookie_options", + "removed_parameter SupabaseAuthClient,lib.auth_client.SupabaseAuthClient local_storage", + "removed_parameter SupabaseAuthClient,lib.auth_client.SupabaseAuthClient replace_default_headers", + "removed_parameter lib.client_options.ClientOptions.replace local_storage", + }, [2]string{"2.33.0", "2.34.0"}}, + // algoliasearch 4.44.3 dropped recommend's FacetFilters (4.44.4 brought + // it back: an addition, no event). + {AlgoliaPython, [2]string{"4.44.1", "4.44.3"}, []string{ + "removed_symbol recommend.models.FacetFilters,recommend.models.facet_filters.FacetFilters ", + }, [2]string{"4.44.3", "4.44.4"}}, + // elasticsearch 9.1.3 made the rethrottle methods' requests_per_second + // required. + {ElasticPython, [2]string{"9.1.2", "9.1.3"}, []string{ + "changed_default Elasticsearch.delete_by_query_rethrottle,client.Elasticsearch.delete_by_query_rethrottle requests_per_second", + "changed_default Elasticsearch.reindex_rethrottle,client.Elasticsearch.reindex_rethrottle requests_per_second", + "changed_default Elasticsearch.update_by_query_rethrottle,client.Elasticsearch.update_by_query_rethrottle requests_per_second", + }, [2]string{"9.1.1", "9.1.2"}}, + // ddtrace 4.13.0 moved AI Guard to ddtrace.aiguard: the old module + // forwards its names (__getattr__), so only the two integration helpers + // it dropped are gone. + {DDTrace, [2]string{"4.12.3", "4.13.0"}, []string{ + "removed_symbol appsec.ai_guard.integrations.resolve_strands_hook_provider ", + "removed_symbol appsec.ai_guard.integrations.resolve_strands_plugin ", + }, [2]string{"4.16.0", "4.16.1"}}, + // cloudflare 5.4.0 dropped the web crawler's crawl options from AI + // Search instances, and moved the IAM OAuth scopes resource out of its + // own package (the old package still binds the response wrappers: no + // event for those). + {CloudflarePython, [2]string{"5.3.0", "5.4.0"}, []string{ + "removed_symbol resources.iam.oauth_scopes.oauth_scopes.AsyncOAuthScopesResource ", + "removed_symbol resources.iam.oauth_scopes.oauth_scopes.OAuthScopesResource ", + "removed_symbol types.aisearch.instance_create_params.SourceParamsWebCrawlerCrawlOptions ", + }, [2]string{"4.3.0", "4.3.1"}}, + // textual 8.2.6's walk_selectable_widgets no longer takes bounded. + {Textual, [2]string{"8.2.5", "8.2.6"}, []string{"removed_parameter walk.walk_selectable_widgets bounded"}, [2]string{"8.2.6", "8.2.7"}}, + // urllib3 2.6.0 removed BaseHTTPResponse.getheader and getheaders, + // deprecated since 2.0. + {URLLib3, [2]string{"2.5.0", "2.6.0"}, []string{ + "removed_symbol BaseHTTPResponse.getheader,response.BaseHTTPResponse.getheader ", + "removed_symbol BaseHTTPResponse.getheaders,response.BaseHTTPResponse.getheaders ", + }, [2]string{"2.2.1", "2.2.2"}}, +} + +// pypiPages serves a case's saved files: PyPI's answers, and each picked +// wheel, trimmed, under its real URL. +func pypiPages(t *testing.T, name string) kittest.Pages { + t.Helper() + dir := filepath.Join("testdata", "pypi", name) + pages := kittest.Pages{"https://pypi.org/pypi/" + name + "/json": filepath.Join(dir, "pypi-"+name+"-excerpt.json")} + files, err := filepath.Glob(filepath.Join(dir, "pypi-"+name+"-*.json")) + if err != nil { + t.Fatal(err) + } + for _, f := range files { + v := strings.TrimSuffix(strings.TrimPrefix(filepath.Base(f), "pypi-"+name+"-"), ".json") + if v == "excerpt" { + continue + } + pages["https://pypi.org/pypi/"+name+"/"+v+"/json"] = f + var doc struct { + URLs []struct { + URL string `json:"url"` + Filename string `json:"filename"` + } `json:"urls"` + } + if err := json.Unmarshal(kittest.Read(t, f), &doc); err != nil { + t.Fatal(err) + } + for _, u := range doc.URLs { + trimmed := filepath.Join(dir, strings.TrimSuffix(u.Filename, ".whl")+".trimmed.whl") + if _, err := os.Stat(trimmed); err == nil { + pages[u.URL] = trimmed + } + } + } + return pages +} + +// pypiPair stores one pair of a case's releases, listed as PyPI lists them. +func pypiPair(t *testing.T, c pypiCase, pair [2]string) []event.Event { + t.Helper() + ctx, env := context.Background(), kittest.Env(t, pypiPages(t, c.pkg.Name)) + p := Plugin{Package: c.pkg} + vs, err := p.ListVersions(ctx, env) + if err != nil { + t.Fatal(err) + } + byID := map[string]plugin.Version{} + for _, v := range vs { + byID[v.ID] = v + } + from, ok1 := byID[pair[0]] + to, ok2 := byID[pair[1]] + if !ok1 || !ok2 { + t.Fatalf("%s: %v not both listed in %v", c.pkg.Name, pair, vs) + } + return kittest.Versions(t, env, p, from, to) +} + +// The golden test of every PyPI source: its golden pair stores exactly +// the events listed, each citing the newer wheel and quoting both releases. +func TestPyPIGolden(t *testing.T) { + for _, c := range pypiCases { + t.Run(c.pkg.ID, func(t *testing.T) { + got := pypiPair(t, c, c.golden) + var lines []string + for _, e := range got { + lines = append(lines, string(e.Subject.Change)+" "+strings.Join(e.Subject.Symbols, ",")+" "+e.Subject.Parameter) + if e.Version != c.golden[1] || e.PreviousVersion != c.golden[0] || !strings.Contains(e.SourceURL, "files.pythonhosted.org") || !strings.Contains(e.SourceExcerpt, c.pkg.Name+" "+c.golden[0]+" (") { + t.Errorf("%s: %s<-%s cites %s, excerpt %q", e.Subject.Symbols, e.Version, e.PreviousVersion, e.SourceURL, e.SourceExcerpt) + } + } + slices.Sort(lines) + if !slices.Equal(lines, c.want) { + t.Errorf("got\n%s\nwant\n%s", strings.Join(lines, "\n"), strings.Join(c.want, "\n")) + } + provider, source, _ := strings.Cut(c.pkg.ID, "/") + kittest.Golden(t, "testdata/golden/"+provider+"-"+source+".json", got) + }) + } +} + +// The pinned drop test of every PyPI source: a real release that changes +// the package's files but nothing a caller relies on stores no event. +func TestPyPIDrop(t *testing.T) { + for _, c := range pypiCases { + t.Run(c.pkg.ID, func(t *testing.T) { + for _, e := range pypiPair(t, c, c.drop) { + t.Errorf("%s %v %s", e.Subject.Change, e.Subject.Symbols, e.Subject.Parameter) + } + }) + } +} + +func TestPyPIRegistersItself(t *testing.T) { + for _, c := range pypiCases { + kittest.Registered(t, Plugin{Package: c.pkg}) + } +} diff --git a/plugins/apisurface/pysurface/pysurface.go b/plugins/apisurface/pysurface/pysurface.go index 61ee7ee..4351fc8 100644 --- a/plugins/apisurface/pysurface/pysurface.go +++ b/plugins/apisurface/pysurface/pysurface.go @@ -70,13 +70,32 @@ type module struct { imports map[string][2]string // local name -> {module, name} from "from M import name as local" stars []string // modules of "from M import *" classes map[string]*Class // module-level classes by name + bound map[string]bool // every name bound at the top level + extStar bool // a "from M import *" from outside the package } +// Binding is what one public module binds at its top level: every name +// (classes and functions, assignments and annotations, imports from +// anywhere), and Star when names can't all be listed: it star-imports a +// module outside the package (or not in the release's files), or defines a +// module-level __getattr__. +type Binding struct { + Names []string `json:"names,omitempty"` + Star bool `json:"star,omitempty"` +} + +// Bindings are the public modules' Bindings by module name ("acme.client"): +// what tells a class or function that is gone from a module's surface from +// a name the module still binds (an alias, a re-export, an import), which +// code can still import. +type Bindings map[string]Binding + var ( defLine = regexp.MustCompile(`^(?:async\s+)?def\s+([A-Za-z_]\w*)\s*\(`) classLine = regexp.MustCompile(`^class\s+([A-Za-z_]\w*)\s*[(:]`) allLine = regexp.MustCompile(`^__all__\s*(?::[^=]*)?=\s*[\[(](.*)[\])]\s*$`) fromLine = regexp.MustCompile(`^from\s+(\.*[\w.]*)\s+import\s+(.+)$`) + plainImp = regexp.MustCompile(`^import\s+(.+)$`) strLit = regexp.MustCompile(`^[rRuU]?(?:"([^"\\]*)"|'([^'\\]*)')$`) name = regexp.MustCompile(`^[A-Za-z_]\w*$`) spaces = regexp.MustCompile(`\s+`) @@ -130,6 +149,47 @@ func ReadClasses(files []File) Classes { return out } +// ReadBindings is the package's Bindings: every public module's top-level +// names. A star import from another module of the package adds that +// module's public names. +func ReadBindings(files []File) Bindings { + mods := parseAll(files) + out := Bindings{} + for _, m := range mods { + if private(m.name) { + continue + } + // A module-level __getattr__ (PEP 562) can hand out any name. + b := Binding{Star: m.extStar || m.bound["__getattr__"]} + names := map[string]bool{} + for n := range m.bound { + if !strings.HasPrefix(n, "_") { + names[n] = true + } + } + for _, st := range m.stars { + t, ok := mods[st] + if !ok { + b.Star = true + continue + } + if t != m { + for _, n := range t.public(mods) { + names[n] = true + } + } + } + for n := range names { + b.Names = append(b.Names, n) + } + slices.Sort(b.Names) + if len(b.Names) > 0 || b.Star { + out[m.name] = b + } + } + return out +} + // appendNew appends the names list doesn't have yet. func appendNew(list []string, names ...string) []string { for _, n := range names { @@ -203,10 +263,11 @@ func moduleName(p string) string { return strings.ReplaceAll(p, "/", ".") } -// private is a module with a part starting with "_", or a test module. +// private is a module with a part starting with "_" or named internal or +// vendor (vendored code), or a test module. func private(mod string) bool { for _, part := range strings.Split(mod, ".") { - if strings.HasPrefix(part, "_") || part == "tests" || part == "test" || strings.HasPrefix(part, "test_") { + if strings.HasPrefix(part, "_") || part == "internal" || part == "vendor" || part == "tests" || part == "test" || strings.HasPrefix(part, "test_") { return true } } @@ -232,18 +293,20 @@ func (m *module) public(mods map[string]*module) []string { } } // Imported names are the package's API only where a package says so: - // its __init__ (re-exports) or __all__. Elsewhere an import is the - // module's own business. - if !m.isInit() { - return out - } - locals := make([]string, 0, len(m.imports)) - for n := range m.imports { - locals = append(locals, n) - } - slices.Sort(locals) - for _, n := range locals { - add(n) + // its __init__ (re-exports from its own modules), __all__, or a star + // import, which exists to re-export ("from . import *"). Elsewhere an + // import is the module's own business. + if m.isInit() { + locals := make([]string, 0, len(m.imports)) + for n, imp := range m.imports { + if imp[0] == m.name || strings.HasPrefix(imp[0], m.name+".") { + locals = append(locals, n) // from its own modules: a re-export + } + } + slices.Sort(locals) + for _, n := range locals { + add(n) + } } for _, s := range m.stars { if t, ok := mods[s]; ok && t != m { @@ -314,7 +377,7 @@ type block struct { // parse reads one file's definitions, __all__ and imports. func parse(f File) *module { - m := &module{name: moduleName(f.Path), file: f.Path, defs: map[string]Symbol{}, imports: map[string][2]string{}, classes: map[string]*Class{}} + m := &module{name: moduleName(f.Path), file: f.Path, defs: map[string]Symbol{}, imports: map[string][2]string{}, classes: map[string]*Class{}, bound: map[string]bool{}} var stack []block var decorators []string for _, l := range logicalLines(f.Text) { @@ -351,6 +414,9 @@ func parse(f File) *module { c.Members = appendNew(c.Members, n) } } + if parent == "" && !inDef { + m.bind(t) + } switch { case strings.HasPrefix(t, "@"): decorators = append(decorators, strings.TrimSpace(t[1:])) @@ -399,8 +465,51 @@ func parse(f File) *module { return m } +// bind records the names a top-level line binds: a def or class, an +// assignment or annotation, an import of any module. +func (m *module) bind(t string) { + switch { + case defLine.MatchString(t): + m.bound[defLine.FindStringSubmatch(t)[1]] = true + case classLine.MatchString(t): + m.bound[classLine.FindStringSubmatch(t)[1]] = true + case fromLine.MatchString(t): + fm := fromLine.FindStringSubmatch(t) + names := strings.TrimSpace(strings.Trim(strings.TrimSpace(fm[2]), "()")) + if names == "*" { + if absolute(m, fm[1]) == "" { + m.extStar = true + } + return + } + for _, item := range splitTop(names, ',') { + f := strings.Fields(item) + switch { + case len(f) == 1 && name.MatchString(f[0]): + m.bound[f[0]] = true + case len(f) == 3 && f[1] == "as" && name.MatchString(f[2]): + m.bound[f[2]] = true + } + } + case plainImp.MatchString(t): + for _, item := range splitTop(plainImp.FindStringSubmatch(t)[1], ',') { + f := strings.Fields(item) + switch { + case len(f) == 1: + m.bound[strings.SplitN(f[0], ".", 2)[0]] = true + case len(f) == 3 && f[1] == "as" && name.MatchString(f[2]): + m.bound[f[2]] = true + } + } + case attrLine.MatchString(t) && !keywords[attrLine.FindStringSubmatch(t)[1]]: + m.bound[attrLine.FindStringSubmatch(t)[1]] = true + } +} + // addDef records a function, or a method of a module-level class; a -// class's __init__ becomes the class's own parameters. +// class's __init__ becomes the class's own parameters. A property's setter +// or deleter isn't recorded (the getter is the symbol), and a property's +// parameters aren't read: callers never pass them. func (m *module) addDef(path, parent string, l line, text string, decorators []string) { n := path[strings.LastIndex(path, ".")+1:] params, ok := params(text) @@ -422,6 +531,16 @@ func (m *module) addDef(path, parent string, l line, text string, decorators []s if strings.HasPrefix(n, "_") { return } + if slices.ContainsFunc(decorators, func(d string) bool { + return strings.HasSuffix(d, ".setter") || strings.HasSuffix(d, ".deleter") + }) { + return + } + if slices.ContainsFunc(decorators, func(d string) bool { + return d == "property" || d == "cached_property" || strings.HasSuffix(d, ".cached_property") + }) { + params = nil + } kind := "function" if parent != "" { kind = "method" diff --git a/plugins/apisurface/pysurface/pysurface_test.go b/plugins/apisurface/pysurface/pysurface_test.go index 880b5cd..881ec9b 100644 --- a/plugins/apisurface/pysurface/pysurface_test.go +++ b/plugins/apisurface/pysurface/pysurface_test.go @@ -133,3 +133,96 @@ func TestReadClasses(t *testing.T) { t.Errorf("bases %v", b) } } + +// A property's setter isn't a method of its own: it doesn't replace the +// getter, and a property's parameters (self, then the value a setter takes) +// aren't compared: callers never pass them. +func TestAPropertyHasNoParametersToCompare(t *testing.T) { + s := Read([]File{{"acme/span.py", "class Span:\n @property\n def name(self) -> str:\n return self._name\n\n @name.setter\n def name(self, value: str) -> None:\n self._name = value\n\n @functools.cached_property\n def size(self):\n return 1\n"}}) + n, ok := s["acme.span.Span.name"] + if !ok || n.Params != nil || n.Line != 3 { + t.Errorf("name: %+v", n) + } + if sz := s["acme.span.Span.size"]; sz.Params != nil { + t.Errorf("size: %+v", sz) + } +} + +// A module that star-imports another module of the package re-exports its +// public names, __init__ or not: `from . import *` makes them importable. +func TestAStarImportReExportsAnywhere(t *testing.T) { + s := Read([]File{ + {"acme/__init__.py", "from ._sync.client import Client\n"}, + {"acme/_sync/client.py", "class Client:\n def __init__(self, url):\n pass\n"}, + {"acme/client.py", "import acme as _package\n\nfrom . import *\n\n__all__ = _package.__all__ + (\"Extra\",)\n"}, + }) + if _, ok := s["acme.client.Client"]; !ok { + t.Errorf("acme.client.Client missing: %v", s) + } +} + +// The names each public module binds at its top level, whatever they are: +// what lets a name that is no longer a class or function the package +// defines (now an alias, or imported from elsewhere) read as still there. +func TestReadBindings(t *testing.T) { + b := ReadBindings([]File{ + {"acme/__init__.py", "from ._exceptions import GatewayTimeoutError, DeadlineExceededError\n"}, + {"acme/_exceptions.py", "class GatewayTimeoutError(Exception): pass\nDeadlineExceededError = GatewayTimeoutError\n"}, + {"acme/interactions.py", "import typing as t\nimport os\nfrom ._gen.types import *\nfrom ._gen.webhooks import Webhook, WebhookInput as WebhookCreateParams\nif t.TYPE_CHECKING:\n Alias: t.TypeAlias = int\ndef f(): pass\nclass C:\n inner = 1\n"}, + }) + got, _ := json.Marshal(b) + want := `{"acme":{"names":["DeadlineExceededError","GatewayTimeoutError"]},"acme.interactions":{"names":["Alias","C","Webhook","WebhookCreateParams","f","os","t"],"star":true}}` + if string(got) != want { + t.Errorf("got %s\nwant %s", got, want) + } +} + +// A module under a package named internal is the package's own business, as +// one starting with "_" is (ddtrace.internal, ddtrace.contrib.internal), and +// so is vendored code (ddtrace.vendor). +func TestAnInternalModuleIsPrivate(t *testing.T) { + s := Read([]File{ + {"acme/internal/util.py", "def helper(): pass\n"}, + {"acme/vendor/jsonpath/__init__.py", "class Child: pass\n"}, + {"acme/contrib/internal/grpc.py", "def patch(): pass\n"}, + {"acme/contrib/grpc.py", "def patch(): pass\n"}, + }) + if len(s) != 1 { + t.Errorf("got %v, want only acme.contrib.grpc.patch", s) + } + if _, ok := s["acme.contrib.grpc.patch"]; !ok { + t.Errorf("missing acme.contrib.grpc.patch: %v", s) + } +} + +// A module with a module-level __getattr__ (PEP 562) can hand out any name, +// lazily: ddtrace 4.13.0's appsec.ai_guard forwards its old names to their +// new home that way. Its names can't be listed: Star. +func TestAModuleGetattrBindsAnyName(t *testing.T) { + b := ReadBindings([]File{{"acme/old.py", "import typing\n\n_PUBLIC = frozenset({\"Client\"})\n\ndef __getattr__(name: str) -> typing.Any:\n return 1\n"}}) + if !b["acme.old"].Star { + t.Errorf("got %+v, want Star", b["acme.old"]) + } +} + +// A package's __init__ re-exports what it imports from its own modules; +// what it imports from elsewhere in the package (a logger from +// ddtrace.internal into ddtrace.appsec.ai_guard.integrations) is its own +// business, as in any other module, unless __all__ names it. +func TestAnInitReExportsOnlyFromItsOwnModules(t *testing.T) { + s := Read([]File{ + {"acme/__init__.py", ""}, + {"acme/_log.py", "def get_logger(): pass\n"}, + {"acme/sub/__init__.py", "from .._log import get_logger\nfrom ._impl import Client\nfrom acme.sub._impl import Other\n"}, + {"acme/sub/_impl.py", "class Client: pass\nclass Other: pass\n"}, + {"acme/listed/__init__.py", "from .._log import get_logger\n__all__ = [\"get_logger\"]\n"}, + }) + for _, k := range []string{"acme.sub.Client", "acme.sub.Other", "acme.listed.get_logger"} { + if _, ok := s[k]; !ok { + t.Errorf("missing %s", k) + } + } + if _, ok := s["acme.sub.get_logger"]; ok { + t.Errorf("acme.sub.get_logger is the module's own import, not a re-export") + } +} diff --git a/plugins/apisurface/testdata/README.md b/plugins/apisurface/testdata/README.md index 5392b88..ae6d3aa 100644 --- a/plugins/apisurface/testdata/README.md +++ b/plugins/apisurface/testdata/README.md @@ -1,6 +1,6 @@ # Saved releases -The golden file, `golden/openai-1.1.2.json`, is what the kind stores from the 1.1.1 → 1.1.2 pair (`go test ./plugins/apisurface -update`). +Each golden file, `golden/-.json`, is what the kind stores from a source's golden pair (`go test ./plugins/apisurface -update`): `openai-python-surface.json` from openai 1.1.1 → 1.1.2 (`apisurface_test.go`), the others from the pairs in `pypi_test.go` and `npm_test.go`, read from `pypi//` and `npm//`. | File | URL | Saved | License | Quote | |---|---|---|---|---| @@ -8,3 +8,51 @@ The golden file, `golden/openai-1.1.2.json`, is what the kind stores from the 1. | `openai-1.1.2-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/dd/82/b92f73453ea318c0d46f31aeb56e9d94a42606c010fb72a513f4a3cd4bac/openai-1.1.2-py3-none-any.whl | 2026-11-20 | The same, trimmed the same way. | `from .assistant_deleted import AssistantDeleted as AssistantDeleted` (`openai/types/beta/__init__.py`) | | `pypi-openai-excerpt.json` | https://pypi.org/pypi/openai/json | 2026-11-20 | PyPI metadata. Trimmed: `releases` to 1.0.0rc1 (a pre-release, left out) and 1.1.0 to 1.1.2, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked` | | | `pypi-openai-1.1.1.json`, `pypi-openai-1.1.2.json` | https://pypi.org/pypi/openai/1.1.1/json, …/1.1.2/json | 2026-11-20 | PyPI metadata. Trimmed: `info.name`, `info.version`, and `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/algoliasearch/`: `algoliasearch-4.44.1-py3-none-any.trimmed.whl`, `algoliasearch-4.44.3-py3-none-any.trimmed.whl`, `algoliasearch-4.44.4-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/a8/a7/74795993b739e721583653812155f0719159b79268b6eb4452594dc103fa/algoliasearch-4.44.1-py3-none-any.whl; https://files.pythonhosted.org/packages/32/05/84c46d0844055735c1192ba1a0364d871251dbf03e26a465eedf148e63f1/algoliasearch-4.44.3-py3-none-any.whl; https://files.pythonhosted.org/packages/39/53/d20cdf0238aa64a31aaea58e359aa761fe76515a7ff9872c345b5b06eaab/algoliasearch-4.44.4-py3-none-any.whl | 2026-11-21 | MIT (the wheel's own license files are kept in it). Trimmed: only `algoliasearch/__init__.py`, `algoliasearch/recommend/__init__.py`, `algoliasearch/recommend/models/__init__.py`, `algoliasearch/recommend/models/facet_filters.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/algoliasearch/`: `pypi-algoliasearch-excerpt.json` and `pypi-algoliasearch-4.44.1.json`, `pypi-algoliasearch-4.44.3.json`, `pypi-algoliasearch-4.44.4.json` | https://pypi.org/pypi/algoliasearch/json, https://pypi.org/pypi/algoliasearch/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/anthropic/`: `anthropic-2.4.0-py3-none-any.trimmed.whl`, `anthropic-2.5.0-py3-none-any.trimmed.whl`, `anthropic-2.6.0-py3-none-any.trimmed.whl`, `anthropic-2.7.0-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/8b/5d/e399d9028411ce404d7ddbe6b8060d878b2549ed8cd671a7bb496ae20ffc/anthropic-2.4.0-py3-none-any.whl; https://files.pythonhosted.org/packages/f4/10/c4e6f015111c702c2d5a386ad57745b83c79c08eae68e541dbb16b5e3965/anthropic-2.5.0-py3-none-any.whl; https://files.pythonhosted.org/packages/38/0b/705a05ab68558914e725cf1143d7e409fa3bb596c35bca1eceab42402abe/anthropic-2.6.0-py3-none-any.whl; https://files.pythonhosted.org/packages/8a/da/ed144ab553eb2bc7b5febbfb37858f28b33ec332c37f0fdf260012ae3fe2/anthropic-2.7.0-py3-none-any.whl | 2026-11-21 | MIT (the wheel's own license files are kept in it). Trimmed: only `anthropic/__init__.py`, `anthropic/_exceptions.py`, `anthropic/types/__init__.py`, `anthropic/types/beta/__init__.py`, `anthropic/types/beta/beta_billing_frozen_error.py`, `anthropic/types/beta/beta_billing_frozen_error_details.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/anthropic/`: `pypi-anthropic-excerpt.json` and `pypi-anthropic-2.4.0.json`, `pypi-anthropic-2.5.0.json`, `pypi-anthropic-2.6.0.json`, `pypi-anthropic-2.7.0.json` | https://pypi.org/pypi/anthropic/json, https://pypi.org/pypi/anthropic/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/cloudflare/`: `cloudflare-4.3.0-py3-none-any.trimmed.whl`, `cloudflare-4.3.1-py3-none-any.trimmed.whl`, `cloudflare-5.3.0-py3-none-any.trimmed.whl`, `cloudflare-5.4.0-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/83/7f/0f9370a1d2a2e425056134ccfc6b5b8f12ed43be600223bd1612f9f56c32/cloudflare-4.3.0-py3-none-any.whl; https://files.pythonhosted.org/packages/3a/8f/c6c543565efd3144da4304efa5917aac06b6416a8663a6defe0e9b2b7569/cloudflare-4.3.1-py3-none-any.whl; https://files.pythonhosted.org/packages/c5/6f/b7624d3a8f0637b04e883f289f530c88e1c4f683c70d8ebe291e4b430ec1/cloudflare-5.3.0-py3-none-any.whl; https://files.pythonhosted.org/packages/c2/bf/20002f7398cb5dc2f289cccd19777aa8869d40d5b01961ccbe8e25e094a6/cloudflare-5.4.0-py3-none-any.whl | 2026-11-21 | Apache-2.0 (the wheel's own license files are kept in it). Trimmed: only `cloudflare/resources/iam/__init__.py`, `cloudflare/resources/iam/oauth_scopes.py`, `cloudflare/resources/iam/oauth_scopes/__init__.py`, `cloudflare/resources/iam/oauth_scopes/oauth_scopes.py`, `cloudflare/types/aisearch/__init__.py`, `cloudflare/types/aisearch/instance_create_params.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/cloudflare/`: `pypi-cloudflare-excerpt.json` and `pypi-cloudflare-4.3.0.json`, `pypi-cloudflare-4.3.1.json`, `pypi-cloudflare-5.3.0.json`, `pypi-cloudflare-5.4.0.json` | https://pypi.org/pypi/cloudflare/json, https://pypi.org/pypi/cloudflare/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/ddtrace/`: `ddtrace-4.12.3-cp310-cp310-macosx_14_0_arm64.trimmed.whl`, `ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.trimmed.whl`, `ddtrace-4.16.0-cp310-cp310-macosx_14_0_arm64.trimmed.whl`, `ddtrace-4.16.1-cp310-cp310-macosx_14_0_arm64.trimmed.whl` | https://files.pythonhosted.org/packages/d7/18/90b574aa3c046bd9f4862b0353d8f8a42aeba504c601c3235bd8d91f057f/ddtrace-4.12.3-cp310-cp310-macosx_14_0_arm64.whl; https://files.pythonhosted.org/packages/52/97/9d4ec43fa15991f195e62795e1d46fb158cab3df29c370d272889b8f8640/ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.whl; https://files.pythonhosted.org/packages/6d/af/859a2d709008db2c95842aaab04f0d242a9b338cf8279f655b0f5946c9df/ddtrace-4.16.0-cp310-cp310-macosx_14_0_arm64.whl; https://files.pythonhosted.org/packages/ac/0a/ccaa73a0d201d570b3b4a3e9ef8ff1617056d552dbd3d4f81292ee7af717/ddtrace-4.16.1-cp310-cp310-macosx_14_0_arm64.whl | 2026-11-21 | Apache-2.0 or BSD-3-Clause (the wheel's own license files are kept in it). Trimmed: only `ddtrace/appsec/ai_guard/__init__.py`, `ddtrace/appsec/ai_guard/_api_client.py`, `ddtrace/appsec/ai_guard/integrations/__init__.py`, `ddtrace/appsec/ai_guard/integrations/litellm.py`, `ddtrace/appsec/ai_guard/integrations/strands.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/ddtrace/`: `pypi-ddtrace-excerpt.json` and `pypi-ddtrace-4.12.3.json`, `pypi-ddtrace-4.13.0.json`, `pypi-ddtrace-4.16.0.json`, `pypi-ddtrace-4.16.1.json` | https://pypi.org/pypi/ddtrace/json, https://pypi.org/pypi/ddtrace/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/elasticsearch/`: `elasticsearch-9.1.1-py3-none-any.trimmed.whl`, `elasticsearch-9.1.2-py3-none-any.trimmed.whl`, `elasticsearch-9.1.3-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/cf/4c/c0c95d3d881732a5d1b28e12c9be4dea5953ade71810f94565bd5bd2101a/elasticsearch-9.1.1-py3-none-any.whl; https://files.pythonhosted.org/packages/89/95/ee3bcf867cdbaba15a0118d6ca0b9b4477892ff3b92e7d6135cc42b262af/elasticsearch-9.1.2-py3-none-any.whl; https://files.pythonhosted.org/packages/bf/10/cab92a57625aeb2d787e3f5e3a698948bc5b34c151422afacff1f0f1c691/elasticsearch-9.1.3-py3-none-any.whl | 2026-11-21 | Apache-2.0 (the wheel's own license files are kept in it). Trimmed: only `elasticsearch/__init__.py`, `elasticsearch/_sync/client/__init__.py`, `elasticsearch/client.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/elasticsearch/`: `pypi-elasticsearch-excerpt.json` and `pypi-elasticsearch-9.1.1.json`, `pypi-elasticsearch-9.1.2.json`, `pypi-elasticsearch-9.1.3.json` | https://pypi.org/pypi/elasticsearch/json, https://pypi.org/pypi/elasticsearch/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/google-genai/`: `google_genai-0.8.0-py3-none-any.trimmed.whl`, `google_genai-1.0.0-py3-none-any.trimmed.whl`, `google_genai-3.3.0-py3-none-any.trimmed.whl`, `google_genai-3.4.0-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/74/6d/c5b1757ffe28fdfb38df3fda79c614ec840ebac0b72a3fcbe2ed969e254d/google_genai-0.8.0-py3-none-any.whl; https://files.pythonhosted.org/packages/24/9d/63dbd2b6c630f44cbbf09c4e04b4c9012da01f6e585d34ae53d07931bb67/google_genai-1.0.0-py3-none-any.whl; https://files.pythonhosted.org/packages/ae/e4/619de4d0f985cfafc7a420339796279716aba5c6cac362ab4f97b856279f/google_genai-3.3.0-py3-none-any.whl; https://files.pythonhosted.org/packages/2b/7a/daed011805af7b3ef07c18d4ea8e9534891c7dfeeac438b0d22361f65e0a/google_genai-3.4.0-py3-none-any.whl | 2026-11-21 | Apache-2.0 (the wheel's own license files are kept in it). Trimmed: only `google/genai/__init__.py`, `google/genai/interactions.py`, `google/genai/types.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/google-genai/`: `pypi-google-genai-excerpt.json` and `pypi-google-genai-0.8.0.json`, `pypi-google-genai-1.0.0.json`, `pypi-google-genai-3.3.0.json`, `pypi-google-genai-3.4.0.json` | https://pypi.org/pypi/google-genai/json, https://pypi.org/pypi/google-genai/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/numpy/`: `numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.trimmed.whl`, `numpy-2.5.0-cp312-cp312-macosx_10_13_x86_64.trimmed.whl`, `numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.trimmed.whl` | https://files.pythonhosted.org/packages/b3/49/ec46835a70be8fa6446c495126ac84fdb28cb2558e1620ffb87a10c8b64c/numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.whl; https://files.pythonhosted.org/packages/fa/0a/11486d02add7b1384dff7374d124b1cfbb0ee864dcc9f6a2c0380638cf84/numpy-2.5.0-cp312-cp312-macosx_10_13_x86_64.whl; https://files.pythonhosted.org/packages/62/7b/14687aa674250e5e546f616f486b0d56d3631cd5b2415739141ce40bdcea/numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.whl | 2026-11-21 | BSD-3-Clause (and the licenses its wheel lists) (the wheel's own license files are kept in it). Trimmed: only `numpy/__init__.py`, `numpy/__init__.pyi`, `numpy/lib/_shape_base_impl.py`, `numpy/lib/_shape_base_impl.pyi` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/numpy/`: `pypi-numpy-excerpt.json` and `pypi-numpy-2.4.6.json`, `pypi-numpy-2.5.0.json`, `pypi-numpy-2.5.1.json` | https://pypi.org/pypi/numpy/json, https://pypi.org/pypi/numpy/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/pymongo/`: `pymongo-4.15.4-cp310-cp310-macosx_10_9_x86_64.trimmed.whl`, `pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.trimmed.whl`, `pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.trimmed.whl` | https://files.pythonhosted.org/packages/5c/9e/5d6bd240a8d32e088078b37dcfa1579028c51d91168c0e992827ec1e87e6/pymongo-4.15.4-cp310-cp310-macosx_10_9_x86_64.whl; https://files.pythonhosted.org/packages/33/e4/d80061be4e53125597dd2916171c87986043b190e50c1834fff455e71d42/pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.whl; https://files.pythonhosted.org/packages/4d/93/c36c0998dd91ad8b5031d2e77a903d5cd705b5ba05ca92bcc8731a2c3a8d/pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl | 2026-11-21 | Apache-2.0 (the wheel's own license files are kept in it). Trimmed: only `pymongo/__init__.py`, `pymongo/asynchronous/__init__.py`, `pymongo/asynchronous/command_cursor.py`, `pymongo/command_cursor.py`, `pymongo/synchronous/__init__.py`, `pymongo/synchronous/command_cursor.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/pymongo/`: `pypi-pymongo-excerpt.json` and `pypi-pymongo-4.15.4.json`, `pypi-pymongo-4.15.5.json`, `pypi-pymongo-4.16.0.json` | https://pypi.org/pypi/pymongo/json, https://pypi.org/pypi/pymongo/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/redis/`: `redis-7.4.1-py3-none-any.trimmed.whl`, `redis-8.0.0-py3-none-any.trimmed.whl`, `redis-8.0.1-py3-none-any.trimmed.whl`, `redis-8.1.0-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/4a/2e/2677f3f93dae0497e7e33b6637302e7f3744efc553f34231183e32584885/redis-7.4.1-py3-none-any.whl; https://files.pythonhosted.org/packages/27/e3/b519734372d305bd547534a9f32e4ce9f98552af753dce72cf3483a0ff0b/redis-8.0.0-py3-none-any.whl; https://files.pythonhosted.org/packages/fd/0a/c2345ebf1ebe70840ce3f6c6ee612f8fa749cfbd1b03069c53bf0c62aaad/redis-8.0.1-py3-none-any.whl; https://files.pythonhosted.org/packages/66/9d/c5731f6e3608663d4d3656fd8d3aecee8b509c3082818f5a13eae925baea/redis-8.1.0-py3-none-any.whl | 2026-11-21 | MIT (the wheel's own license files are kept in it). Trimmed: only `redis/__init__.py`, `redis/maint_notifications.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/redis/`: `pypi-redis-excerpt.json` and `pypi-redis-7.4.1.json`, `pypi-redis-8.0.0.json`, `pypi-redis-8.0.1.json`, `pypi-redis-8.1.0.json` | https://pypi.org/pypi/redis/json, https://pypi.org/pypi/redis/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/sentry-sdk/`: `sentry_sdk-2.67.1-py3-none-any.trimmed.whl`, `sentry_sdk-2.68.0-py3-none-any.trimmed.whl`, `sentry_sdk-2.73.0-py3-none-any.trimmed.whl`, `sentry_sdk-2.74.0-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/34/e2/70692eba662037cddf93391cbbf98297159f3038612e9b9a8129e16feb7a/sentry_sdk-2.67.1-py3-none-any.whl; https://files.pythonhosted.org/packages/7d/9b/e2421d08956d0bc4691d995393d835e563886bff499d8fb10fdefae85a8d/sentry_sdk-2.68.0-py3-none-any.whl; https://files.pythonhosted.org/packages/b2/88/cabf98d017d7b940720e514e5f8ee02e3e6f7495caf93c30735a38387ec4/sentry_sdk-2.73.0-py3-none-any.whl; https://files.pythonhosted.org/packages/55/b1/736d4b4b308694b0071844a533522ac06669ad61751687b94edfbf863f17/sentry_sdk-2.74.0-py3-none-any.whl | 2026-11-21 | MIT (the wheel's own license files are kept in it). Trimmed: only `sentry_sdk/__init__.py`, `sentry_sdk/traces.py`, `sentry_sdk/utils.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/sentry-sdk/`: `pypi-sentry-sdk-excerpt.json` and `pypi-sentry-sdk-2.67.1.json`, `pypi-sentry-sdk-2.68.0.json`, `pypi-sentry-sdk-2.73.0.json`, `pypi-sentry-sdk-2.74.0.json` | https://pypi.org/pypi/sentry-sdk/json, https://pypi.org/pypi/sentry-sdk/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/stripe/`: `stripe-15.4.0-py3-none-any.trimmed.whl`, `stripe-15.5.0-py3-none-any.trimmed.whl`, `stripe-15.6.2-py3-none-any.trimmed.whl`, `stripe-16.0.0-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/00/e1/3047b4e244cc78bb598b0d5fcab6632b8bf8a4d526f2e840c4f4de02c989/stripe-15.4.0-py3-none-any.whl; https://files.pythonhosted.org/packages/d5/20/4c8377c570697ebe105ad5e073538e498d58e4985ca6e2944bdc917a5034/stripe-15.5.0-py3-none-any.whl; https://files.pythonhosted.org/packages/25/e9/251eb26d9ceae6c44adb3a54cb81ec717dc469452c09756b53a117726277/stripe-15.6.2-py3-none-any.whl; https://files.pythonhosted.org/packages/b5/de/5141ae3990862cc3d61a1cdd4acff72bcb587afb7b4d31c52eaddbb6bc8f/stripe-16.0.0-py3-none-any.whl | 2026-11-21 | MIT (the wheel's own license files are kept in it). Trimmed: only `stripe/__init__.py`, `stripe/_stripe_object.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/stripe/`: `pypi-stripe-excerpt.json` and `pypi-stripe-15.4.0.json`, `pypi-stripe-15.5.0.json`, `pypi-stripe-15.6.2.json`, `pypi-stripe-16.0.0.json` | https://pypi.org/pypi/stripe/json, https://pypi.org/pypi/stripe/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/supabase/`: `supabase-0.7.1-py3-none-any.trimmed.whl`, `supabase-1.0.0-py3-none-any.trimmed.whl`, `supabase-2.33.0-py3-none-any.trimmed.whl`, `supabase-2.34.0-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/ea/1f/3aa8dd96fc0aab80693ff6c341b9178bd3eaacb81006703f3adf07719544/supabase-0.7.1-py3-none-any.whl; https://files.pythonhosted.org/packages/8d/7b/42e5e27e4c9f4f5e24c0d3294b7448948b97963c69d634c664b7beaaae4b/supabase-1.0.0-py3-none-any.whl; https://files.pythonhosted.org/packages/8d/48/1a8f57fdaf882f1dcd7836352e33829c1d455c6cfc387d2b0fb1e99ffdb6/supabase-2.33.0-py3-none-any.whl; https://files.pythonhosted.org/packages/18/20/48dc58aa9d3a0245694ef52433305edd4536f80ad3d30572d4658d160839/supabase-2.34.0-py3-none-any.whl | 2026-11-21 | MIT (the wheel's own license files are kept in it). Trimmed: only `supabase/__init__.py`, `supabase/__version__.py`, `supabase/_async/__init__.py`, `supabase/_async/auth_client.py`, `supabase/_async/client.py`, `supabase/_sync/__init__.py`, `supabase/_sync/auth_client.py`, `supabase/_sync/client.py`, `supabase/client.py`, `supabase/lib/__init__.py`, `supabase/lib/auth_client.py`, `supabase/lib/client_options.py`, `supabase/lib/realtime_client.py`, `supabase/lib/storage_client.py`, `supabase/py.typed`, `supabase/types.py`, `supabase/version.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/supabase/`: `pypi-supabase-excerpt.json` and `pypi-supabase-0.7.1.json`, `pypi-supabase-1.0.0.json`, `pypi-supabase-2.33.0.json`, `pypi-supabase-2.34.0.json` | https://pypi.org/pypi/supabase/json, https://pypi.org/pypi/supabase/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/textual/`: `textual-8.2.5-py3-none-any.trimmed.whl`, `textual-8.2.6-py3-none-any.trimmed.whl`, `textual-8.2.7-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/cd/01/c4555f9c8a692ff83d84930150540f743ce94c89234f9e9a15ff4baba3a8/textual-8.2.5-py3-none-any.whl; https://files.pythonhosted.org/packages/b8/b4/c2b876f445e52522824cb900f2c7db3a7c24f89d20449ef278b4195d0ecb/textual-8.2.6-py3-none-any.whl; https://files.pythonhosted.org/packages/a8/f5/c1e18bc0707300a0e90204343abbf7d7acd6fb7ebe03a6d4893b99a234b8/textual-8.2.7-py3-none-any.whl | 2026-11-21 | MIT (the wheel's own license files are kept in it). Trimmed: only `textual/walk.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/textual/`: `pypi-textual-excerpt.json` and `pypi-textual-8.2.5.json`, `pypi-textual-8.2.6.json`, `pypi-textual-8.2.7.json` | https://pypi.org/pypi/textual/json, https://pypi.org/pypi/textual/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `pypi/urllib3/`: `urllib3-2.2.1-py3-none-any.trimmed.whl`, `urllib3-2.2.2-py3-none-any.trimmed.whl`, `urllib3-2.5.0-py3-none-any.trimmed.whl`, `urllib3-2.6.0-py3-none-any.trimmed.whl` | https://files.pythonhosted.org/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl; https://files.pythonhosted.org/packages/ca/1c/89ffc63a9605b583d5df2be791a27bc1a42b7c32bab68d3c8f2f73a98cd4/urllib3-2.2.2-py3-none-any.whl; https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl; https://files.pythonhosted.org/packages/56/1a/9ffe814d317c5224166b23e7c47f606d6e473712a2fad0f704ea9b99f246/urllib3-2.6.0-py3-none-any.whl | 2026-11-21 | MIT (the wheel's own license files are kept in it). Trimmed: only `urllib3/__init__.py`, `urllib3/response.py` and the dist-info `METADATA`, `WHEEL` and license files, each copied byte for byte | see the source's page under `providers/` | +| `pypi/urllib3/`: `pypi-urllib3-excerpt.json` and `pypi-urllib3-2.2.1.json`, `pypi-urllib3-2.2.2.json`, `pypi-urllib3-2.5.0.json`, `pypi-urllib3-2.6.0.json` | https://pypi.org/pypi/urllib3/json, https://pypi.org/pypi/urllib3/<version>/json | 2026-11-21 | PyPI metadata. Trimmed: `releases` to the saved versions, each file to `filename`, `packagetype`, `upload_time_iso_8601`, `yanked`; each version's `urls` to `filename`, `packagetype`, `url`, `yanked` | | +| `npm/anthropic-ai-sdk/`: `sdk-1.6.0.trimmed.tgz`, `sdk-1.7.0.trimmed.tgz`, `sdk-1.8.0.trimmed.tgz` | https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.6.0.tgz; https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.7.0.tgz; https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.8.0.tgz | 2026-11-21 | MIT (the package's own license file is kept in each tarball). Trimmed: only `package.json`, the license and `client.d.mts`, `index.d.mts`, `resources/beta.d.mts`, `resources/beta/beta.d.mts`, `resources/beta/index.d.mts`, `resources/beta/organization.d.mts`, `resources/beta/organization/index.d.mts`, `resources/beta/organization/organization.d.mts`, `resources/index.d.mts`, each copied byte for byte | see the source's page under `providers/` | +| `npm/anthropic-ai-sdk/`: `npm-anthropic-ai-sdk-excerpt.json` and `npm-anthropic-ai-sdk-1.6.0.json`, `npm-anthropic-ai-sdk-1.7.0.json`, `npm-anthropic-ai-sdk-1.8.0.json` | https://registry.npmjs.org/@anthropic-ai%2Fsdk, …/<version> | 2026-11-21 | npm registry metadata. Trimmed: `versions` to the saved versions (name and version only) and their `time`; each version's document to `name`, `version`, `dist.tarball` | | +| `npm/convex/`: `convex-1.35.0.trimmed.tgz`, `convex-1.35.1.trimmed.tgz`, `convex-1.42.2.trimmed.tgz`, `convex-1.42.3.trimmed.tgz` | https://registry.npmjs.org/convex/-/convex-1.35.0.tgz; https://registry.npmjs.org/convex/-/convex-1.35.1.tgz; https://registry.npmjs.org/convex/-/convex-1.42.2.tgz; https://registry.npmjs.org/convex/-/convex-1.42.3.tgz | 2026-11-21 | Apache-2.0 (the package's own license file is kept in each tarball). Trimmed: only `package.json`, the license and `dist/esm-types/browser/index.d.ts`, `dist/esm-types/browser/query_options.d.ts`, `dist/esm-types/react/client.d.ts`, `dist/esm-types/react/index.d.ts`, each copied byte for byte | see the source's page under `providers/` | +| `npm/convex/`: `npm-convex-excerpt.json` and `npm-convex-1.35.0.json`, `npm-convex-1.35.1.json`, `npm-convex-1.42.2.json`, `npm-convex-1.42.3.json` | https://registry.npmjs.org/convex, …/<version> | 2026-11-21 | npm registry metadata. Trimmed: `versions` to the saved versions (name and version only) and their `time`; each version's document to `name`, `version`, `dist.tarball` | | +| `npm/google-genai/`: `genai-0.15.0.trimmed.tgz`, `genai-1.0.0.trimmed.tgz`, `genai-1.1.0.trimmed.tgz` | https://registry.npmjs.org/@google/genai/-/genai-0.15.0.tgz; https://registry.npmjs.org/@google/genai/-/genai-1.0.0.tgz; https://registry.npmjs.org/@google/genai/-/genai-1.1.0.tgz | 2026-11-21 | Apache-2.0 (the package's own license file is kept in each tarball). Trimmed: only `package.json`, the license and `dist/genai.d.ts`, `dist/node/node.d.ts`, `dist/web/web.d.ts`, each copied byte for byte | see the source's page under `providers/` | +| `npm/google-genai/`: `npm-google-genai-excerpt.json` and `npm-google-genai-0.15.0.json`, `npm-google-genai-1.0.0.json`, `npm-google-genai-1.1.0.json` | https://registry.npmjs.org/@google%2Fgenai, …/<version> | 2026-11-21 | npm registry metadata. Trimmed: `versions` to the saved versions (name and version only) and their `time`; each version's document to `name`, `version`, `dist.tarball` | | +| `npm/mongodb/`: `mongodb-6.22.0.trimmed.tgz`, `mongodb-7.0.0.trimmed.tgz`, `mongodb-7.1.0.trimmed.tgz` | https://registry.npmjs.org/mongodb/-/mongodb-6.22.0.tgz; https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz; https://registry.npmjs.org/mongodb/-/mongodb-7.1.0.tgz | 2026-11-21 | Apache-2.0 (the package's own license file is kept in each tarball). Trimmed: only `package.json`, the license and `mongodb.d.ts`, each copied byte for byte | see the source's page under `providers/` | +| `npm/mongodb/`: `npm-mongodb-excerpt.json` and `npm-mongodb-6.22.0.json`, `npm-mongodb-7.0.0.json`, `npm-mongodb-7.1.0.json` | https://registry.npmjs.org/mongodb, …/<version> | 2026-11-21 | npm registry metadata. Trimmed: `versions` to the saved versions (name and version only) and their `time`; each version's document to `name`, `version`, `dist.tarball` | | +| `npm/neondatabase-serverless/`: `serverless-0.10.4.trimmed.tgz`, `serverless-1.0.0.trimmed.tgz`, `serverless-1.0.1.trimmed.tgz` | https://registry.npmjs.org/@neondatabase/serverless/-/serverless-0.10.4.tgz; https://registry.npmjs.org/@neondatabase/serverless/-/serverless-1.0.0.tgz; https://registry.npmjs.org/@neondatabase/serverless/-/serverless-1.0.1.tgz | 2026-11-21 | MIT (the package's own license file is kept in each tarball). Trimmed: only `package.json`, the license and `index.d.mts`, `index.d.ts`, each copied byte for byte | see the source's page under `providers/` | +| `npm/neondatabase-serverless/`: `npm-neondatabase-serverless-excerpt.json` and `npm-neondatabase-serverless-0.10.4.json`, `npm-neondatabase-serverless-1.0.0.json`, `npm-neondatabase-serverless-1.0.1.json` | https://registry.npmjs.org/@neondatabase%2Fserverless, …/<version> | 2026-11-21 | npm registry metadata. Trimmed: `versions` to the saved versions (name and version only) and their `time`; each version's document to `name`, `version`, `dist.tarball` | | +| `npm/openai/`: `openai-7.59.0.trimmed.tgz`, `openai-7.60.0.trimmed.tgz`, `openai-7.61.0.trimmed.tgz` | https://registry.npmjs.org/openai/-/openai-7.59.0.tgz; https://registry.npmjs.org/openai/-/openai-7.60.0.tgz; https://registry.npmjs.org/openai/-/openai-7.61.0.tgz | 2026-11-21 | Apache-2.0 (the package's own license file is kept in each tarball). Trimmed: only `package.json`, the license and `resources/beta.d.mts`, `resources/beta/agents.d.mts`, `resources/beta/agents/agents.d.mts`, `resources/beta/agents/index.d.mts`, `resources/beta/index.d.mts`, each copied byte for byte | see the source's page under `providers/` | +| `npm/openai/`: `npm-openai-excerpt.json` and `npm-openai-7.59.0.json`, `npm-openai-7.60.0.json`, `npm-openai-7.61.0.json` | https://registry.npmjs.org/openai, …/<version> | 2026-11-21 | npm registry metadata. Trimmed: `versions` to the saved versions (name and version only) and their `time`; each version's document to `name`, `version`, `dist.tarball` | | +| `npm/redis-client/`: `client-1.6.1.trimmed.tgz`, `client-5.0.0.trimmed.tgz`, `client-6.3.0.trimmed.tgz`, `client-6.3.1.trimmed.tgz` | https://registry.npmjs.org/@redis/client/-/client-1.6.1.tgz; https://registry.npmjs.org/@redis/client/-/client-5.0.0.tgz; https://registry.npmjs.org/@redis/client/-/client-6.3.0.tgz; https://registry.npmjs.org/@redis/client/-/client-6.3.1.tgz | 2026-11-21 | MIT (the package's own license file is kept in each tarball). Trimmed: only `package.json`, the license and `dist/index.d.ts`, `dist/lib/client/index.d.ts`, `dist/lib/command-options.d.ts`, `dist/lib/commands/FLUSHALL.d.ts`, `dist/lib/errors.d.ts`, each copied byte for byte | see the source's page under `providers/` | +| `npm/redis-client/`: `npm-redis-client-excerpt.json` and `npm-redis-client-1.6.1.json`, `npm-redis-client-5.0.0.json`, `npm-redis-client-6.3.0.json`, `npm-redis-client-6.3.1.json` | https://registry.npmjs.org/@redis%2Fclient, …/<version> | 2026-11-21 | npm registry metadata. Trimmed: `versions` to the saved versions (name and version only) and their `time`; each version's document to `name`, `version`, `dist.tarball` | | +| `npm/sentry-node/`: `node-10.0.0.trimmed.tgz`, `node-11.12.0.trimmed.tgz`, `node-11.13.0.trimmed.tgz`, `node-9.47.2.trimmed.tgz` | https://registry.npmjs.org/@sentry/node/-/node-10.0.0.tgz; https://registry.npmjs.org/@sentry/node/-/node-11.12.0.tgz; https://registry.npmjs.org/@sentry/node/-/node-11.13.0.tgz; https://registry.npmjs.org/@sentry/node/-/node-9.47.2.tgz | 2026-11-21 | MIT (the package's own license file is kept in each tarball). Trimmed: only `package.json`, the license and `build/types/index.d.ts`, `build/types/logs/exports.d.ts`, each copied byte for byte | see the source's page under `providers/` | +| `npm/sentry-node/`: `npm-sentry-node-excerpt.json` and `npm-sentry-node-10.0.0.json`, `npm-sentry-node-11.12.0.json`, `npm-sentry-node-11.13.0.json`, `npm-sentry-node-9.47.2.json` | https://registry.npmjs.org/@sentry%2Fnode, …/<version> | 2026-11-21 | npm registry metadata. Trimmed: `versions` to the saved versions (name and version only) and their `time`; each version's document to `name`, `version`, `dist.tarball` | | +| `npm/stripe/`: `stripe-22.6.2.trimmed.tgz`, `stripe-23.0.0.trimmed.tgz`, `stripe-23.0.1.trimmed.tgz` | https://registry.npmjs.org/stripe/-/stripe-22.6.2.tgz; https://registry.npmjs.org/stripe/-/stripe-23.0.0.tgz; https://registry.npmjs.org/stripe/-/stripe-23.0.1.tgz | 2026-11-21 | MIT (the package's own license file is kept in each tarball). Trimmed: only `package.json`, the license and `esm/stripe.esm.node.d.ts`, each copied byte for byte | see the source's page under `providers/` | +| `npm/stripe/`: `npm-stripe-excerpt.json` and `npm-stripe-22.6.2.json`, `npm-stripe-23.0.0.json`, `npm-stripe-23.0.1.json` | https://registry.npmjs.org/stripe, …/<version> | 2026-11-21 | npm registry metadata. Trimmed: `versions` to the saved versions (name and version only) and their `time`; each version's document to `name`, `version`, `dist.tarball` | | +| `npm/supabase-supabase-js/`: `supabase-js-1.35.7.trimmed.tgz`, `supabase-js-2.0.0.trimmed.tgz`, `supabase-js-2.118.0.trimmed.tgz`, `supabase-js-2.119.0.trimmed.tgz` | https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-1.35.7.tgz; https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.0.0.tgz; https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.118.0.tgz; https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.119.0.tgz | 2026-11-21 | MIT (the package's own license file is kept in each tarball). Trimmed: only `package.json`, the license and `dist/cors.d.cts`, `dist/cors.d.mts`, `dist/index.d.cts`, `dist/index.d.mts`, `dist/main/SupabaseClient.d.ts`, `dist/main/index.d.ts`, `dist/main/lib/SupabaseAuthClient.d.ts`, `dist/main/lib/SupabaseQueryBuilder.d.ts`, `dist/main/lib/SupabaseRealtimeClient.d.ts`, `dist/main/lib/constants.d.ts`, `dist/main/lib/fetch.d.ts`, `dist/main/lib/helpers.d.ts`, `dist/main/lib/types.d.ts`, `dist/main/lib/version.d.ts`, `dist/module/SupabaseClient.d.ts`, `dist/module/index.d.ts`, `dist/module/lib/SupabaseAuthClient.d.ts`, `dist/module/lib/SupabaseQueryBuilder.d.ts`, `dist/module/lib/SupabaseRealtimeClient.d.ts`, `dist/module/lib/constants.d.ts`, `dist/module/lib/fetch.d.ts`, `dist/module/lib/helpers.d.ts`, `dist/module/lib/types.d.ts`, `dist/module/lib/version.d.ts`, `dist/tracing.d.cts`, `dist/tracing.d.mts`, each copied byte for byte | see the source's page under `providers/` | +| `npm/supabase-supabase-js/`: `npm-supabase-supabase-js-excerpt.json` and `npm-supabase-supabase-js-1.35.7.json`, `npm-supabase-supabase-js-2.0.0.json`, `npm-supabase-supabase-js-2.118.0.json`, `npm-supabase-supabase-js-2.119.0.json` | https://registry.npmjs.org/@supabase%2Fsupabase-js, …/<version> | 2026-11-21 | npm registry metadata. Trimmed: `versions` to the saved versions (name and version only) and their `time`; each version's document to `name`, `version`, `dist.tarball` | | diff --git a/plugins/apisurface/testdata/golden/algolia-python-surface.json b/plugins/apisurface/testdata/golden/algolia-python-surface.json new file mode 100644 index 0000000..affce6d --- /dev/null +++ b/plugins/apisurface/testdata/golden/algolia-python-surface.json @@ -0,0 +1,27 @@ +[ + { + "id": 1, + "fingerprint": "sha256:620c4cf0edd892d0b56c9191e4c12a96605d17868423c411df42a892e9361a16", + "api": "algolia/python-surface", + "version": "4.44.3", + "previous_version": "4.44.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "algoliasearch", + "change": "removed_symbol", + "symbols": [ + "recommend.models.FacetFilters", + "recommend.models.facet_filters.FacetFilters" + ] + }, + "description": "The class `recommend.models.FacetFilters` was removed in algoliasearch 4.44.3: code using it fails.", + "migration_hint": "algoliasearch 4.44.3 has no `recommend.models.FacetFilters`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/32/05/84c46d0844055735c1192ba1a0364d871251dbf03e26a465eedf148e63f1/algoliasearch-4.44.3-py3-none-any.whl", + "source_excerpt": "algoliasearch 4.44.1 (algoliasearch-4.44.1-py3-none-any.whl), algoliasearch/recommend/models/facet_filters.py line 21: class FacetFilters(BaseModel) / def __init__(self, *args, **kwargs) -> None\nalgoliasearch 4.44.3 (algoliasearch-4.44.3-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/anthropic-python-surface.json b/plugins/apisurface/testdata/golden/anthropic-python-surface.json new file mode 100644 index 0000000..8f20685 --- /dev/null +++ b/plugins/apisurface/testdata/golden/anthropic-python-surface.json @@ -0,0 +1,52 @@ +[ + { + "id": 1, + "fingerprint": "sha256:1f4a2ac2fdc57fd5e725b4001ac2ed0a0dbfb30e368afee10ca5972306f05078", + "api": "anthropic/python-surface", + "version": "2.7.0", + "previous_version": "2.6.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "anthropic", + "change": "removed_symbol", + "symbols": [ + "types.beta.BetaBillingFrozenError", + "types.beta.beta_billing_frozen_error.BetaBillingFrozenError" + ] + }, + "description": "The class `types.beta.BetaBillingFrozenError` was removed in anthropic 2.7.0: code using it fails.", + "migration_hint": "anthropic 2.7.0 has no `types.beta.BetaBillingFrozenError`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/8a/da/ed144ab553eb2bc7b5febbfb37858f28b33ec332c37f0fdf260012ae3fe2/anthropic-2.7.0-py3-none-any.whl", + "source_excerpt": "anthropic 2.6.0 (anthropic-2.6.0-py3-none-any.whl), anthropic/types/beta/beta_billing_frozen_error.py line 9: class BetaBillingFrozenError(PermissionDeniedError)\nanthropic 2.7.0 (anthropic-2.7.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:156879f4c4b9366cece472b438dd3c0363a2596d1b9f980ff99a215ff3efd0dd", + "api": "anthropic/python-surface", + "version": "2.7.0", + "previous_version": "2.6.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "anthropic", + "change": "removed_symbol", + "symbols": [ + "types.beta.BetaBillingFrozenErrorDetails", + "types.beta.beta_billing_frozen_error_details.BetaBillingFrozenErrorDetails" + ] + }, + "description": "The class `types.beta.BetaBillingFrozenErrorDetails` was removed in anthropic 2.7.0: code using it fails.", + "migration_hint": "anthropic 2.7.0 has no `types.beta.BetaBillingFrozenErrorDetails`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/8a/da/ed144ab553eb2bc7b5febbfb37858f28b33ec332c37f0fdf260012ae3fe2/anthropic-2.7.0-py3-none-any.whl", + "source_excerpt": "anthropic 2.6.0 (anthropic-2.6.0-py3-none-any.whl), anthropic/types/beta/beta_billing_frozen_error_details.py line 8: class BetaBillingFrozenErrorDetails(BaseModel)\nanthropic 2.7.0 (anthropic-2.7.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/anthropic-typescript-surface.json b/plugins/apisurface/testdata/golden/anthropic-typescript-surface.json new file mode 100644 index 0000000..5eb62bd --- /dev/null +++ b/plugins/apisurface/testdata/golden/anthropic-typescript-surface.json @@ -0,0 +1,67 @@ +[ + { + "id": 1, + "fingerprint": "sha256:b23ccee531a5e6caa0ca401aac41f43c639b72b3e78766ac86c74b30bff1976d", + "api": "anthropic/typescript-surface", + "version": "1.7.0", + "previous_version": "1.6.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@anthropic-ai/sdk", + "change": "removed_symbol", + "symbols": [ + "Anthropic.Beta.BetaBillingFrozenError", + "Anthropic.Beta.Organization.BetaBillingFrozenError", + "@anthropic-ai/sdk/client.Anthropic.Beta.BetaBillingFrozenError", + "@anthropic-ai/sdk/client.Anthropic.Beta.Organization.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources.Beta.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources.Beta.Organization.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources/beta.Beta.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources/beta.Beta.Organization.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources/beta.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources/beta.Organization.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources/beta/beta.Beta.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources/beta/beta.Beta.Organization.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources/beta/organization.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources/beta/organization.Organization.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources/beta/organization/organization.BetaBillingFrozenError", + "@anthropic-ai/sdk/resources/beta/organization/organization.Organization.BetaBillingFrozenError" + ] + }, + "description": "The class `Anthropic.Beta.BetaBillingFrozenError` was removed in @anthropic-ai/sdk 1.7.0: code using it fails.", + "migration_hint": "@anthropic-ai/sdk 1.7.0 has no `Anthropic.Beta.BetaBillingFrozenError`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.7.0.tgz", + "source_excerpt": "@anthropic-ai/sdk 1.6.0 (sdk-1.6.0.tgz), resources/beta/organization/organization.d.mts line 45: class BetaBillingFrozenError extends PermissionDeniedError\n@anthropic-ai/sdk 1.7.0 (sdk-1.7.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:f08ae2d3202434c0f859c333ee95f3c4c652fe79c55014713a4096d555f554bc", + "api": "anthropic/typescript-surface", + "version": "1.7.0", + "previous_version": "1.6.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@anthropic-ai/sdk", + "change": "removed_symbol", + "symbols": [ + "@anthropic-ai/sdk/resources/beta.BetaBillingFrozenErrorDetails", + "@anthropic-ai/sdk/resources/beta/organization.BetaBillingFrozenErrorDetails", + "@anthropic-ai/sdk/resources/beta/organization/organization.BetaBillingFrozenErrorDetails" + ] + }, + "description": "The interface `@anthropic-ai/sdk/resources/beta.BetaBillingFrozenErrorDetails` was removed in @anthropic-ai/sdk 1.7.0: code using it fails.", + "migration_hint": "@anthropic-ai/sdk 1.7.0 has no `@anthropic-ai/sdk/resources/beta.BetaBillingFrozenErrorDetails`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.7.0.tgz", + "source_excerpt": "@anthropic-ai/sdk 1.6.0 (sdk-1.6.0.tgz), resources/beta/organization/organization.d.mts line 84: interface BetaBillingFrozenErrorDetails\n@anthropic-ai/sdk 1.7.0 (sdk-1.7.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/cloudflare-python-surface.json b/plugins/apisurface/testdata/golden/cloudflare-python-surface.json new file mode 100644 index 0000000..ee4d579 --- /dev/null +++ b/plugins/apisurface/testdata/golden/cloudflare-python-surface.json @@ -0,0 +1,74 @@ +[ + { + "id": 1, + "fingerprint": "sha256:d1c7eddabd9cb9b74e7bd17ae72c88a0abace63313633534cca074d4d0886d40", + "api": "cloudflare/python-surface", + "version": "5.4.0", + "previous_version": "5.3.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "resources.iam.oauth_scopes.oauth_scopes.AsyncOAuthScopesResource" + ] + }, + "description": "The class `resources.iam.oauth_scopes.oauth_scopes.AsyncOAuthScopesResource` was removed in cloudflare 5.4.0: code using it fails.", + "migration_hint": "cloudflare 5.4.0 has no `resources.iam.oauth_scopes.oauth_scopes.AsyncOAuthScopesResource`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/c2/bf/20002f7398cb5dc2f289cccd19777aa8869d40d5b01961ccbe8e25e094a6/cloudflare-5.4.0-py3-none-any.whl", + "source_excerpt": "cloudflare 5.3.0 (cloudflare-5.3.0-py3-none-any.whl), cloudflare/resources/iam/oauth_scopes/oauth_scopes.py line 68: class AsyncOAuthScopesResource(AsyncAPIResource)\ncloudflare 5.4.0 (cloudflare-5.4.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:ffcad893350bec2b3de31300151ade456487a0c615bf3790c1a7f798ff514ab6", + "api": "cloudflare/python-surface", + "version": "5.4.0", + "previous_version": "5.3.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "resources.iam.oauth_scopes.oauth_scopes.OAuthScopesResource" + ] + }, + "description": "The class `resources.iam.oauth_scopes.oauth_scopes.OAuthScopesResource` was removed in cloudflare 5.4.0: code using it fails.", + "migration_hint": "cloudflare 5.4.0 has no `resources.iam.oauth_scopes.oauth_scopes.OAuthScopesResource`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/c2/bf/20002f7398cb5dc2f289cccd19777aa8869d40d5b01961ccbe8e25e094a6/cloudflare-5.4.0-py3-none-any.whl", + "source_excerpt": "cloudflare 5.3.0 (cloudflare-5.3.0-py3-none-any.whl), cloudflare/resources/iam/oauth_scopes/oauth_scopes.py line 23: class OAuthScopesResource(SyncAPIResource)\ncloudflare 5.4.0 (cloudflare-5.4.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:9eb8385dbf1dc3e9251143e3c841884e9110146737388022fdc8138fae556b17", + "api": "cloudflare/python-surface", + "version": "5.4.0", + "previous_version": "5.3.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "cloudflare", + "change": "removed_symbol", + "symbols": [ + "types.aisearch.instance_create_params.SourceParamsWebCrawlerCrawlOptions" + ] + }, + "description": "The class `types.aisearch.instance_create_params.SourceParamsWebCrawlerCrawlOptions` was removed in cloudflare 5.4.0: code using it fails.", + "migration_hint": "cloudflare 5.4.0 has no `types.aisearch.instance_create_params.SourceParamsWebCrawlerCrawlOptions`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/c2/bf/20002f7398cb5dc2f289cccd19777aa8869d40d5b01961ccbe8e25e094a6/cloudflare-5.4.0-py3-none-any.whl", + "source_excerpt": "cloudflare 5.3.0 (cloudflare-5.3.0-py3-none-any.whl), cloudflare/types/aisearch/instance_create_params.py line 305: class SourceParamsWebCrawlerCrawlOptions(TypedDict, total=False)\ncloudflare 5.4.0 (cloudflare-5.4.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/convex-js-surface.json b/plugins/apisurface/testdata/golden/convex-js-surface.json new file mode 100644 index 0000000..eff1d76 --- /dev/null +++ b/plugins/apisurface/testdata/golden/convex-js-surface.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:4c56412c5a8ece213fbc09f06f566879eb2356ca7b8e0ae4dd0308394c08da81", + "api": "convex/js-surface", + "version": "1.35.1", + "previous_version": "1.35.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "convex", + "change": "removed_symbol", + "symbols": [ + "convex/browser.QueryOptions" + ] + }, + "description": "The type `convex/browser.QueryOptions` was removed in convex 1.35.1: code using it fails.", + "migration_hint": "convex 1.35.1 has no `convex/browser.QueryOptions`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/convex/-/convex-1.35.1.tgz", + "source_excerpt": "convex 1.35.0 (convex-1.35.0.tgz), dist/esm-types/browser/query_options.d.ts line 9: type QueryOptions>\nconvex 1.35.1 (convex-1.35.1.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/datadog-ddtrace-python-surface.json b/plugins/apisurface/testdata/golden/datadog-ddtrace-python-surface.json new file mode 100644 index 0000000..a47accf --- /dev/null +++ b/plugins/apisurface/testdata/golden/datadog-ddtrace-python-surface.json @@ -0,0 +1,50 @@ +[ + { + "id": 1, + "fingerprint": "sha256:cdb19d8281035dc270d7d8ad7862e7599f85478447495cdb19cec3f91ab01629", + "api": "datadog/ddtrace-python-surface", + "version": "4.13.0", + "previous_version": "4.12.3", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "ddtrace", + "change": "removed_symbol", + "symbols": [ + "appsec.ai_guard.integrations.resolve_strands_hook_provider" + ] + }, + "description": "The function `appsec.ai_guard.integrations.resolve_strands_hook_provider` was removed in ddtrace 4.13.0: code using it fails.", + "migration_hint": "ddtrace 4.13.0 has no `appsec.ai_guard.integrations.resolve_strands_hook_provider`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/52/97/9d4ec43fa15991f195e62795e1d46fb158cab3df29c370d272889b8f8640/ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.whl", + "source_excerpt": "ddtrace 4.12.3 (ddtrace-4.12.3-cp310-cp310-macosx_14_0_arm64.whl), ddtrace/appsec/ai_guard/integrations/__init__.py line 67: def resolve_strands_hook_provider() -> type\nddtrace 4.13.0 (ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:33db11018d71b128747314730a3f88e6969963c997e8431f85eec530722341ce", + "api": "datadog/ddtrace-python-surface", + "version": "4.13.0", + "previous_version": "4.12.3", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "ddtrace", + "change": "removed_symbol", + "symbols": [ + "appsec.ai_guard.integrations.resolve_strands_plugin" + ] + }, + "description": "The function `appsec.ai_guard.integrations.resolve_strands_plugin` was removed in ddtrace 4.13.0: code using it fails.", + "migration_hint": "ddtrace 4.13.0 has no `appsec.ai_guard.integrations.resolve_strands_plugin`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/52/97/9d4ec43fa15991f195e62795e1d46fb158cab3df29c370d272889b8f8640/ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.whl", + "source_excerpt": "ddtrace 4.12.3 (ddtrace-4.12.3-cp310-cp310-macosx_14_0_arm64.whl), ddtrace/appsec/ai_guard/integrations/__init__.py line 56: def resolve_strands_plugin() -> type\nddtrace 4.13.0 (ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/elastic-python-surface.json b/plugins/apisurface/testdata/golden/elastic-python-surface.json new file mode 100644 index 0000000..6c77f74 --- /dev/null +++ b/plugins/apisurface/testdata/golden/elastic-python-surface.json @@ -0,0 +1,80 @@ +[ + { + "id": 1, + "fingerprint": "sha256:edf38ebeb4762f278249e91a67f9812059fdc18cb30516ce22fd8ca3ac652213", + "api": "elastic/python-surface", + "version": "9.1.3", + "previous_version": "9.1.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "elasticsearch", + "change": "changed_default", + "symbols": [ + "Elasticsearch.delete_by_query_rethrottle", + "client.Elasticsearch.delete_by_query_rethrottle" + ], + "parameter": "requests_per_second" + }, + "description": "`Elasticsearch.delete_by_query_rethrottle`'s parameter `requests_per_second` has no default in elasticsearch 9.1.3 (it was `None`): a call that leaves it out raises a TypeError.", + "migration_hint": "Pass `requests_per_second=None` to `Elasticsearch.delete_by_query_rethrottle` to keep the old behavior.", + "source_url": "https://files.pythonhosted.org/packages/bf/10/cab92a57625aeb2d787e3f5e3a698948bc5b34c151422afacff1f0f1c691/elasticsearch-9.1.3-py3-none-any.whl", + "source_excerpt": "elasticsearch 9.1.2 (elasticsearch-9.1.2-py3-none-any.whl), elasticsearch/_sync/client/__init__.py line 1634: def delete_by_query_rethrottle( self, *, task_id: str, error_trace: t.Optional[bool] = None, filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None, human: t.Optional[bool] = None, pretty: t.Optional[bool] = None, requests_per_second: t.Optional[float] = None, ) -> ObjectApiResponse[t.Any]\nelasticsearch 9.1.3 (elasticsearch-9.1.3-py3-none-any.whl), elasticsearch/_sync/client/__init__.py line 1638: def delete_by_query_rethrottle( self, *, task_id: str, requests_per_second: float, error_trace: t.Optional[bool] = None, filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None, human: t.Optional[bool] = None, pretty: t.Optional[bool] = None, ) -> ObjectApiResponse[t.Any]", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:5a9c31721c563256b9824ee231f73e2e1c78e2dc2c100b2a19a98542efea7e50", + "api": "elastic/python-surface", + "version": "9.1.3", + "previous_version": "9.1.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "elasticsearch", + "change": "changed_default", + "symbols": [ + "Elasticsearch.reindex_rethrottle", + "client.Elasticsearch.reindex_rethrottle" + ], + "parameter": "requests_per_second" + }, + "description": "`Elasticsearch.reindex_rethrottle`'s parameter `requests_per_second` has no default in elasticsearch 9.1.3 (it was `None`): a call that leaves it out raises a TypeError.", + "migration_hint": "Pass `requests_per_second=None` to `Elasticsearch.reindex_rethrottle` to keep the old behavior.", + "source_url": "https://files.pythonhosted.org/packages/bf/10/cab92a57625aeb2d787e3f5e3a698948bc5b34c151422afacff1f0f1c691/elasticsearch-9.1.3-py3-none-any.whl", + "source_excerpt": "elasticsearch 9.1.2 (elasticsearch-9.1.2-py3-none-any.whl), elasticsearch/_sync/client/__init__.py line 3990: def reindex_rethrottle( self, *, task_id: str, error_trace: t.Optional[bool] = None, filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None, human: t.Optional[bool] = None, pretty: t.Optional[bool] = None, requests_per_second: t.Optional[float] = None, ) -> ObjectApiResponse[t.Any]\nelasticsearch 9.1.3 (elasticsearch-9.1.3-py3-none-any.whl), elasticsearch/_sync/client/__init__.py line 3994: def reindex_rethrottle( self, *, task_id: str, requests_per_second: float, error_trace: t.Optional[bool] = None, filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None, human: t.Optional[bool] = None, pretty: t.Optional[bool] = None, ) -> ObjectApiResponse[t.Any]", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:6618d1ebaf11b7b3c7a419c65810b42af1a75459ac927ad1138c3257a3307bad", + "api": "elastic/python-surface", + "version": "9.1.3", + "previous_version": "9.1.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "elasticsearch", + "change": "changed_default", + "symbols": [ + "Elasticsearch.update_by_query_rethrottle", + "client.Elasticsearch.update_by_query_rethrottle" + ], + "parameter": "requests_per_second" + }, + "description": "`Elasticsearch.update_by_query_rethrottle`'s parameter `requests_per_second` has no default in elasticsearch 9.1.3 (it was `None`): a call that leaves it out raises a TypeError.", + "migration_hint": "Pass `requests_per_second=None` to `Elasticsearch.update_by_query_rethrottle` to keep the old behavior.", + "source_url": "https://files.pythonhosted.org/packages/bf/10/cab92a57625aeb2d787e3f5e3a698948bc5b34c151422afacff1f0f1c691/elasticsearch-9.1.3-py3-none-any.whl", + "source_excerpt": "elasticsearch 9.1.2 (elasticsearch-9.1.2-py3-none-any.whl), elasticsearch/_sync/client/__init__.py line 6341: def update_by_query_rethrottle( self, *, task_id: str, error_trace: t.Optional[bool] = None, filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None, human: t.Optional[bool] = None, pretty: t.Optional[bool] = None, requests_per_second: t.Optional[float] = None, ) -> ObjectApiResponse[t.Any]\nelasticsearch 9.1.3 (elasticsearch-9.1.3-py3-none-any.whl), elasticsearch/_sync/client/__init__.py line 6343: def update_by_query_rethrottle( self, *, task_id: str, requests_per_second: float, error_trace: t.Optional[bool] = None, filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None, human: t.Optional[bool] = None, pretty: t.Optional[bool] = None, ) -> ObjectApiResponse[t.Any]", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/google-genai-js-surface.json b/plugins/apisurface/testdata/golden/google-genai-js-surface.json new file mode 100644 index 0000000..329d698 --- /dev/null +++ b/plugins/apisurface/testdata/golden/google-genai-js-surface.json @@ -0,0 +1,74 @@ +[ + { + "id": 1, + "fingerprint": "sha256:3c4bc51d5938fb29c383e15feec7d6b4e5aff01b9f17058a466d89fd6a2a3cac", + "api": "google/genai-js-surface", + "version": "1.0.0", + "previous_version": "0.15.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@google/genai", + "change": "removed_symbol", + "symbols": [ + "LiveMusicSetClientContentParameters" + ] + }, + "description": "The interface `LiveMusicSetClientContentParameters` was removed in @google/genai 1.0.0: code using it fails.", + "migration_hint": "@google/genai 1.0.0 has no `LiveMusicSetClientContentParameters`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@google/genai/-/genai-1.0.0.tgz", + "source_excerpt": "@google/genai 0.15.0 (genai-0.15.0.tgz), dist/genai.d.ts line 3757: interface LiveMusicSetClientContentParameters\n@google/genai 1.0.0 (genai-1.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:ec64180f7fd0eddfd7bd972c4862b42da57bb3b8b5fb16a761f927d675f5b6d6", + "api": "google/genai-js-surface", + "version": "1.0.0", + "previous_version": "0.15.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@google/genai", + "change": "removed_symbol", + "symbols": [ + "@google/genai/node.LiveMusicSetClientContentParameters" + ] + }, + "description": "The interface `@google/genai/node.LiveMusicSetClientContentParameters` was removed in @google/genai 1.0.0: code using it fails.", + "migration_hint": "@google/genai 1.0.0 has no `@google/genai/node.LiveMusicSetClientContentParameters`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@google/genai/-/genai-1.0.0.tgz", + "source_excerpt": "@google/genai 0.15.0 (genai-0.15.0.tgz), dist/node/node.d.ts line 3769: interface LiveMusicSetClientContentParameters\n@google/genai 1.0.0 (genai-1.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:dc3d0647e0d3b5bac9c81cf053789a818a5a6dcaf99d7bceb0433eb072962574", + "api": "google/genai-js-surface", + "version": "1.0.0", + "previous_version": "0.15.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@google/genai", + "change": "removed_symbol", + "symbols": [ + "@google/genai/web.LiveMusicSetClientContentParameters" + ] + }, + "description": "The interface `@google/genai/web.LiveMusicSetClientContentParameters` was removed in @google/genai 1.0.0: code using it fails.", + "migration_hint": "@google/genai 1.0.0 has no `@google/genai/web.LiveMusicSetClientContentParameters`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@google/genai/-/genai-1.0.0.tgz", + "source_excerpt": "@google/genai 0.15.0 (genai-0.15.0.tgz), dist/web/web.d.ts line 3762: interface LiveMusicSetClientContentParameters\n@google/genai 1.0.0 (genai-1.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/google-genai-python-surface.json b/plugins/apisurface/testdata/golden/google-genai-python-surface.json new file mode 100644 index 0000000..052ec75 --- /dev/null +++ b/plugins/apisurface/testdata/golden/google-genai-python-surface.json @@ -0,0 +1,50 @@ +[ + { + "id": 1, + "fingerprint": "sha256:41314f4825ff731df86c3c2f70397e098f761aa7321cfcdd0c828559032e36a4", + "api": "google/genai-python-surface", + "version": "1.0.0", + "previous_version": "0.8.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "google-genai", + "change": "removed_symbol", + "symbols": [ + "genai.types.TuningJobOrOperation" + ] + }, + "description": "The class `genai.types.TuningJobOrOperation` was removed in google-genai 1.0.0: code using it fails.", + "migration_hint": "google-genai 1.0.0 has no `genai.types.TuningJobOrOperation`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/24/9d/63dbd2b6c630f44cbbf09c4e04b4c9012da01f6e585d34ae53d07931bb67/google_genai-1.0.0-py3-none-any.whl", + "source_excerpt": "google-genai 0.8.0 (google_genai-0.8.0-py3-none-any.whl), google/genai/types.py line 5924: class TuningJobOrOperation(_common.BaseModel)\ngoogle-genai 1.0.0 (google_genai-1.0.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:c53654517cd182f33c723d855ceeafacae6a8495ed9f50a2c302c9c01d6b1223", + "api": "google/genai-python-surface", + "version": "1.0.0", + "previous_version": "0.8.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "google-genai", + "change": "removed_symbol", + "symbols": [ + "genai.types.TuningJobOrOperationDict" + ] + }, + "description": "The class `genai.types.TuningJobOrOperationDict` was removed in google-genai 1.0.0: code using it fails.", + "migration_hint": "google-genai 1.0.0 has no `genai.types.TuningJobOrOperationDict`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/24/9d/63dbd2b6c630f44cbbf09c4e04b4c9012da01f6e585d34ae53d07931bb67/google_genai-1.0.0-py3-none-any.whl", + "source_excerpt": "google-genai 0.8.0 (google_genai-0.8.0-py3-none-any.whl), google/genai/types.py line 5930: class TuningJobOrOperationDict(TypedDict, total=False)\ngoogle-genai 1.0.0 (google_genai-1.0.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/mongodb-node-surface.json b/plugins/apisurface/testdata/golden/mongodb-node-surface.json new file mode 100644 index 0000000..28f6e0e --- /dev/null +++ b/plugins/apisurface/testdata/golden/mongodb-node-surface.json @@ -0,0 +1,290 @@ +[ + { + "id": 1, + "fingerprint": "sha256:b61444f06bb5f6953cf166251931927a629b6f456f7fb595355b79ff97251137", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "AsyncDisposable" + ] + }, + "description": "The interface `AsyncDisposable` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `AsyncDisposable`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 613: interface AsyncDisposable_2\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:c929142262becd8c87f9713e4c7dbb3bcc752519988bb62b0391ebe3e20c4b1e", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "CancellationToken" + ] + }, + "description": "The class `CancellationToken` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `CancellationToken`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 1151: class CancellationToken extends TypedEventEmitter<{ cancel(): void; }> / constructor(...args: any[])\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:6d16386d8205c2a4ea10506bcb16c504b681d695c8abfa7ba1fb5c387c8dcfa8", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "ChangeStream.streamOptions" + ] + }, + "description": "The property `ChangeStream.streamOptions` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `ChangeStream.streamOptions`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 1179: streamOptions?: CursorStreamOptions\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:07c32100fd99cae3e6cb10b5f91d57ab1f69943b680562c6d960d9f5fc1444df", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "ClientMetadata" + ] + }, + "description": "The interface `ClientMetadata` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `ClientMetadata`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 2239: interface ClientMetadata\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:1872a54a678b3a712578b064d0206c38a67288cea71a2c89eca166d7505e8b07", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "ClientMetadataOptions" + ] + }, + "description": "The interface `ClientMetadataOptions` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `ClientMetadataOptions`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 2268: interface ClientMetadataOptions\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:742daf6681c54619d23e3134617444b2abf4f8fc2821da6fd93e288147981ef6", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "ClientSession.transaction" + ] + }, + "description": "The property `ClientSession.transaction` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `ClientSession.transaction`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 2317: transaction: Transaction\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:1e7a8a626163b2844747f61cf2c9ad140f2b34c65095e8e81d29725cce4db6df", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "CloseOptions" + ] + }, + "description": "The interface `CloseOptions` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `CloseOptions`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 2569: interface CloseOptions\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 8, + "fingerprint": "sha256:8a72f17b9ce89c546d8f2f3e005da2069151f31fd8e8185047e4a44546c00cc6", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "CursorStreamOptions" + ] + }, + "description": "The interface `CursorStreamOptions` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `CursorStreamOptions`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 3746: interface CursorStreamOptions\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 9, + "fingerprint": "sha256:1ee48776c8846070e182d0b1cb37a7b4600d98388978a08bfb974c6f9ad702ee", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "ReadPreference.minWireVersion" + ] + }, + "description": "The property `ReadPreference.minWireVersion` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `ReadPreference.minWireVersion`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 7490: minWireVersion?: number\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 10, + "fingerprint": "sha256:fbb143a9999b0a23716504d99431fd742efa743670e405a198273463672e98ec", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "ResumeOptions" + ] + }, + "description": "The interface `ResumeOptions` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `ResumeOptions`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 7636: interface ResumeOptions\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 11, + "fingerprint": "sha256:a331df084d2de7e766ee42127c85bc89956e253e74c0dc13237fb5dc6c15b9d7", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "ServerCapabilities" + ] + }, + "description": "The class `ServerCapabilities` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `ServerCapabilities`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 7826: class ServerCapabilities / constructor(hello: Document)\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 12, + "fingerprint": "sha256:8dd4c1d237aaada9349934a1f7dcc019852702a1c86e2e93382e4fa92feb2937", + "api": "mongodb/node-surface", + "version": "7.0.0", + "previous_version": "6.22.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "mongodb", + "change": "removed_symbol", + "symbols": [ + "Transaction" + ] + }, + "description": "The class `Transaction` was removed in mongodb 7.0.0: code using it fails.", + "migration_hint": "mongodb 7.0.0 has no `Transaction`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz", + "source_excerpt": "mongodb 6.22.0 (mongodb-6.22.0.tgz), mongodb.d.ts line 8448: class Transaction\nmongodb 7.0.0 (mongodb-7.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/mongodb-pymongo-surface.json b/plugins/apisurface/testdata/golden/mongodb-pymongo-surface.json new file mode 100644 index 0000000..f478afd --- /dev/null +++ b/plugins/apisurface/testdata/golden/mongodb-pymongo-surface.json @@ -0,0 +1,104 @@ +[ + { + "id": 1, + "fingerprint": "sha256:7740664e48992c85a1317271702aa5c8b9da76c18896e731bb061dfe11974e94", + "api": "mongodb/pymongo-surface", + "version": "4.16.0", + "previous_version": "4.15.5", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "pymongo", + "change": "removed_parameter", + "symbols": [ + "asynchronous.command_cursor.AsyncCommandCursor" + ], + "parameter": "explicit_session" + }, + "description": "`asynchronous.command_cursor.AsyncCommandCursor` no longer takes the parameter `explicit_session` in pymongo 4.16.0: passing it raises a TypeError.", + "migration_hint": "Stop passing `explicit_session` to `asynchronous.command_cursor.AsyncCommandCursor`; its signature in 4.16.0 is quoted in the source excerpt.", + "source_url": "https://files.pythonhosted.org/packages/4d/93/c36c0998dd91ad8b5031d2e77a903d5cd705b5ba05ca92bcc8731a2c3a8d/pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl", + "source_excerpt": "pymongo 4.15.5 (pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.whl), pymongo/asynchronous/command_cursor.py line 54: class AsyncCommandCursor(Generic[_DocumentType]) / def __init__( self, collection: AsyncCollection[_DocumentType], cursor_info: Mapping[str, Any], address: Optional[_Address], batch_size: int = 0, max_await_time_ms: Optional[int] = None, session: Optional[AsyncClientSession] = None, explicit_session: bool = False, comment: Any = None, ) -> None\npymongo 4.16.0 (pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl), pymongo/asynchronous/command_cursor.py line 54: class AsyncCommandCursor(Generic[_DocumentType]) / def __init__( self, collection: AsyncCollection[_DocumentType], cursor_info: Mapping[str, Any], address: Optional[_Address], batch_size: int = 0, max_await_time_ms: Optional[int] = None, session: Optional[AsyncClientSession] = None, comment: Any = None, ) -> None", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:ab9ae9fd0fed997ec948131fc7a7d49e09183c535244305fef8e5cfd7a27344d", + "api": "mongodb/pymongo-surface", + "version": "4.16.0", + "previous_version": "4.15.5", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "pymongo", + "change": "removed_parameter", + "symbols": [ + "asynchronous.command_cursor.AsyncRawBatchCommandCursor" + ], + "parameter": "explicit_session" + }, + "description": "`asynchronous.command_cursor.AsyncRawBatchCommandCursor` no longer takes the parameter `explicit_session` in pymongo 4.16.0: passing it raises a TypeError.", + "migration_hint": "Stop passing `explicit_session` to `asynchronous.command_cursor.AsyncRawBatchCommandCursor`; its signature in 4.16.0 is quoted in the source excerpt.", + "source_url": "https://files.pythonhosted.org/packages/4d/93/c36c0998dd91ad8b5031d2e77a903d5cd705b5ba05ca92bcc8731a2c3a8d/pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl", + "source_excerpt": "pymongo 4.15.5 (pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.whl), pymongo/asynchronous/command_cursor.py line 422: class AsyncRawBatchCommandCursor(AsyncCommandCursor[_DocumentType]) / def __init__( self, collection: AsyncCollection[_DocumentType], cursor_info: Mapping[str, Any], address: Optional[_Address], batch_size: int = 0, max_await_time_ms: Optional[int] = None, session: Optional[AsyncClientSession] = None, explicit_session: bool = False, comment: Any = None, ) -> None\npymongo 4.16.0 (pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl), pymongo/asynchronous/command_cursor.py line 424: class AsyncRawBatchCommandCursor(AsyncCommandCursor[_DocumentType]) / def __init__( self, collection: AsyncCollection[_DocumentType], cursor_info: Mapping[str, Any], address: Optional[_Address], batch_size: int = 0, max_await_time_ms: Optional[int] = None, session: Optional[AsyncClientSession] = None, comment: Any = None, ) -> None", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:7ff5d2a79bf8059a04881cec2d0ab3dec0a41ce6d1aa3e4973b45283f916533e", + "api": "mongodb/pymongo-surface", + "version": "4.16.0", + "previous_version": "4.15.5", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "pymongo", + "change": "removed_parameter", + "symbols": [ + "command_cursor.CommandCursor", + "synchronous.command_cursor.CommandCursor" + ], + "parameter": "explicit_session" + }, + "description": "`command_cursor.CommandCursor` no longer takes the parameter `explicit_session` in pymongo 4.16.0: passing it raises a TypeError.", + "migration_hint": "Stop passing `explicit_session` to `command_cursor.CommandCursor`; its signature in 4.16.0 is quoted in the source excerpt.", + "source_url": "https://files.pythonhosted.org/packages/4d/93/c36c0998dd91ad8b5031d2e77a903d5cd705b5ba05ca92bcc8731a2c3a8d/pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl", + "source_excerpt": "pymongo 4.15.5 (pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.whl), pymongo/synchronous/command_cursor.py line 54: class CommandCursor(Generic[_DocumentType]) / def __init__( self, collection: Collection[_DocumentType], cursor_info: Mapping[str, Any], address: Optional[_Address], batch_size: int = 0, max_await_time_ms: Optional[int] = None, session: Optional[ClientSession] = None, explicit_session: bool = False, comment: Any = None, ) -> None\npymongo 4.16.0 (pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl), pymongo/synchronous/command_cursor.py line 54: class CommandCursor(Generic[_DocumentType]) / def __init__( self, collection: Collection[_DocumentType], cursor_info: Mapping[str, Any], address: Optional[_Address], batch_size: int = 0, max_await_time_ms: Optional[int] = None, session: Optional[ClientSession] = None, comment: Any = None, ) -> None", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:5283de0adaf0d978f56f2609d2ddf85bbacba200bb0b02c3cf2d0ea8be96071e", + "api": "mongodb/pymongo-surface", + "version": "4.16.0", + "previous_version": "4.15.5", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "pymongo", + "change": "removed_parameter", + "symbols": [ + "command_cursor.RawBatchCommandCursor", + "synchronous.command_cursor.RawBatchCommandCursor" + ], + "parameter": "explicit_session" + }, + "description": "`command_cursor.RawBatchCommandCursor` no longer takes the parameter `explicit_session` in pymongo 4.16.0: passing it raises a TypeError.", + "migration_hint": "Stop passing `explicit_session` to `command_cursor.RawBatchCommandCursor`; its signature in 4.16.0 is quoted in the source excerpt.", + "source_url": "https://files.pythonhosted.org/packages/4d/93/c36c0998dd91ad8b5031d2e77a903d5cd705b5ba05ca92bcc8731a2c3a8d/pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl", + "source_excerpt": "pymongo 4.15.5 (pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.whl), pymongo/synchronous/command_cursor.py line 422: class RawBatchCommandCursor(CommandCursor[_DocumentType]) / def __init__( self, collection: Collection[_DocumentType], cursor_info: Mapping[str, Any], address: Optional[_Address], batch_size: int = 0, max_await_time_ms: Optional[int] = None, session: Optional[ClientSession] = None, explicit_session: bool = False, comment: Any = None, ) -> None\npymongo 4.16.0 (pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl), pymongo/synchronous/command_cursor.py line 424: class RawBatchCommandCursor(CommandCursor[_DocumentType]) / def __init__( self, collection: Collection[_DocumentType], cursor_info: Mapping[str, Any], address: Optional[_Address], batch_size: int = 0, max_await_time_ms: Optional[int] = None, session: Optional[ClientSession] = None, comment: Any = None, ) -> None", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/neon-serverless-surface.json b/plugins/apisurface/testdata/golden/neon-serverless-surface.json new file mode 100644 index 0000000..7561971 --- /dev/null +++ b/plugins/apisurface/testdata/golden/neon-serverless-surface.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:8ad70579778a2e9058ff551ad659ce8f7168e3457255b4f48d3bfa1e0309ecdd", + "api": "neon/serverless-surface", + "version": "1.0.0", + "previous_version": "0.10.4", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@neondatabase/serverless", + "change": "removed_symbol", + "symbols": [ + "native" + ] + }, + "description": "The export `native` was removed in @neondatabase/serverless 1.0.0: code using it fails.", + "migration_hint": "@neondatabase/serverless 1.0.0 has no `native`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@neondatabase/serverless/-/serverless-1.0.0.tgz", + "source_excerpt": "@neondatabase/serverless 0.10.4 (serverless-0.10.4.tgz), index.d.mts line 8: export { native } from \"pg\"\n@neondatabase/serverless 1.0.0 (serverless-1.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/numpy-python-surface.json b/plugins/apisurface/testdata/golden/numpy-python-surface.json new file mode 100644 index 0000000..3236faa --- /dev/null +++ b/plugins/apisurface/testdata/golden/numpy-python-surface.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:c417046b5181068bc41250e19c47325f8d16824803101ca7f62ae01768842d63", + "api": "numpy/python-surface", + "version": "2.5.0", + "previous_version": "2.4.6", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "numpy", + "change": "removed_symbol", + "symbols": [ + "row_stack" + ] + }, + "description": "The function `row_stack` was removed in numpy 2.5.0: code using it fails.", + "migration_hint": "numpy 2.5.0 has no `row_stack`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/fa/0a/11486d02add7b1384dff7374d124b1cfbb0ee864dcc9f6a2c0380638cf84/numpy-2.5.0-cp312-cp312-macosx_10_13_x86_64.whl", + "source_excerpt": "numpy 2.4.6 (numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.whl), numpy/lib/_shape_base_impl.pyi line 129: def row_stack( tup: Sequence[ArrayLike], *, dtype: DTypeLike | None = None, casting: _CastingKind = \"same_kind\", ) -> NDArray[Any]\nnumpy 2.5.0 (numpy-2.5.0-cp312-cp312-macosx_10_13_x86_64.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/openai-1.1.2.json b/plugins/apisurface/testdata/golden/openai-1.1.2.json deleted file mode 100644 index 45fd1fc..0000000 --- a/plugins/apisurface/testdata/golden/openai-1.1.2.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "id": 1, - "fingerprint": "sha256:7c2703dd5112b040c64fd384b102f560a1205f2f540f4ec31cd8310e6a604902", - "api": "openai/python-sdk", - "version": "1.1.2", - "previous_version": "1.1.1", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "pypi", - "package": "openai", - "change": "removed_symbol", - "symbols": [ - "types.beta.AsssitantDeleted" - ] - }, - "description": "The class `types.beta.AsssitantDeleted` was removed in openai 1.1.2: code using it fails.", - "migration_hint": "openai 1.1.2 has no `types.beta.AsssitantDeleted`: see the package's release notes for what replaces it.", - "source_url": "https://files.pythonhosted.org/packages/dd/82/b92f73453ea318c0d46f31aeb56e9d94a42606c010fb72a513f4a3cd4bac/openai-1.1.2-py3-none-any.whl", - "source_excerpt": "openai 1.1.1 (openai-1.1.1-py3-none-any.whl), openai/types/beta/asssitant_deleted.py line 10: class AsssitantDeleted(BaseModel)\nopenai 1.1.2 (openai-1.1.2-py3-none-any.whl): not defined", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - }, - { - "id": 2, - "fingerprint": "sha256:54fc59ce604c0f5bfa1b1f3886d8d79ea37963f05f2fa694ea4d7b68ad720dbd", - "api": "openai/python-sdk", - "version": "1.1.2", - "previous_version": "1.1.1", - "change_type": "breaking", - "breaking": true, - "subject": { - "type": "package_release", - "ecosystem": "pypi", - "package": "openai", - "change": "removed_symbol", - "symbols": [ - "types.beta.asssitant_deleted.AsssitantDeleted" - ] - }, - "description": "The class `types.beta.asssitant_deleted.AsssitantDeleted` was removed in openai 1.1.2: code using it fails.", - "migration_hint": "openai 1.1.2 has no `types.beta.asssitant_deleted.AsssitantDeleted`: see the package's release notes for what replaces it.", - "source_url": "https://files.pythonhosted.org/packages/dd/82/b92f73453ea318c0d46f31aeb56e9d94a42606c010fb72a513f4a3cd4bac/openai-1.1.2-py3-none-any.whl", - "source_excerpt": "openai 1.1.1 (openai-1.1.1-py3-none-any.whl), openai/types/beta/asssitant_deleted.py line 10: class AsssitantDeleted(BaseModel)\nopenai 1.1.2 (openai-1.1.2-py3-none-any.whl): not defined", - "confidence": 1, - "detected_at": "2026-11-14T12:00:00Z" - } -] diff --git a/plugins/apisurface/testdata/golden/openai-node-surface.json b/plugins/apisurface/testdata/golden/openai-node-surface.json new file mode 100644 index 0000000..d5e5d00 --- /dev/null +++ b/plugins/apisurface/testdata/golden/openai-node-surface.json @@ -0,0 +1,28 @@ +[ + { + "id": 1, + "fingerprint": "sha256:f8e5184f69dd30d9ba8a4114bad2a46b3f15d2bf599f036edd875dfd577179ba", + "api": "openai/node-surface", + "version": "7.60.0", + "previous_version": "7.59.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "openai", + "change": "removed_symbol", + "symbols": [ + "openai/resources/beta.AgentSessionBudgetReachedEvent", + "openai/resources/beta/agents.AgentSessionBudgetReachedEvent", + "openai/resources/beta/agents/agents.AgentSessionBudgetReachedEvent" + ] + }, + "description": "The interface `openai/resources/beta.AgentSessionBudgetReachedEvent` was removed in openai 7.60.0: code using it fails.", + "migration_hint": "openai 7.60.0 has no `openai/resources/beta.AgentSessionBudgetReachedEvent`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/openai/-/openai-7.60.0.tgz", + "source_excerpt": "openai 7.59.0 (openai-7.59.0.tgz), resources/beta/agents/agents.d.mts line 1188: interface AgentSessionBudgetReachedEvent\nopenai 7.60.0 (openai-7.60.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/openai-python-surface.json b/plugins/apisurface/testdata/golden/openai-python-surface.json new file mode 100644 index 0000000..84b0c41 --- /dev/null +++ b/plugins/apisurface/testdata/golden/openai-python-surface.json @@ -0,0 +1,27 @@ +[ + { + "id": 1, + "fingerprint": "sha256:33ec654be5153a8dffb6be8b4d82cf635aa1a7e01e70e5f212df9938ff3c2213", + "api": "openai/python-surface", + "version": "1.1.2", + "previous_version": "1.1.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "openai", + "change": "removed_symbol", + "symbols": [ + "types.beta.AsssitantDeleted", + "types.beta.asssitant_deleted.AsssitantDeleted" + ] + }, + "description": "The class `types.beta.AsssitantDeleted` was removed in openai 1.1.2: code using it fails.", + "migration_hint": "openai 1.1.2 has no `types.beta.AsssitantDeleted`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/dd/82/b92f73453ea318c0d46f31aeb56e9d94a42606c010fb72a513f4a3cd4bac/openai-1.1.2-py3-none-any.whl", + "source_excerpt": "openai 1.1.1 (openai-1.1.1-py3-none-any.whl), openai/types/beta/asssitant_deleted.py line 10: class AsssitantDeleted(BaseModel)\nopenai 1.1.2 (openai-1.1.2-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/redis-node-redis-surface.json b/plugins/apisurface/testdata/golden/redis-node-redis-surface.json new file mode 100644 index 0000000..0016db2 --- /dev/null +++ b/plugins/apisurface/testdata/golden/redis-node-redis-surface.json @@ -0,0 +1,50 @@ +[ + { + "id": 1, + "fingerprint": "sha256:d970a908bf0b4a315ebe3b2e58ea35fa200f14be60a1766ebb3d00b7bdd43c75", + "api": "redis/node-redis-surface", + "version": "5.0.0", + "previous_version": "1.6.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@redis/client", + "change": "removed_symbol", + "symbols": [ + "RedisFlushModes" + ] + }, + "description": "The enum `RedisFlushModes` was removed in @redis/client 5.0.0: code using it fails.", + "migration_hint": "@redis/client 5.0.0 has no `RedisFlushModes`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@redis/client/-/client-5.0.0.tgz", + "source_excerpt": "@redis/client 1.6.1 (client-1.6.1.tgz), dist/lib/commands/FLUSHALL.d.ts line 1: enum RedisFlushModes\n@redis/client 5.0.0 (client-5.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:d45c7699a9c5708e947fddde2a03a1556f1a02b3fc5268d6b759c43576f75204", + "api": "redis/node-redis-surface", + "version": "5.0.0", + "previous_version": "1.6.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@redis/client", + "change": "removed_symbol", + "symbols": [ + "commandOptions" + ] + }, + "description": "The variable `commandOptions` was removed in @redis/client 5.0.0: code using it fails.", + "migration_hint": "@redis/client 5.0.0 has no `commandOptions`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@redis/client/-/client-5.0.0.tgz", + "source_excerpt": "@redis/client 1.6.1 (client-1.6.1.tgz), dist/index.d.ts line 6: const commandOptions: typeof RedisClient.commandOptions\n@redis/client 5.0.0 (client-5.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/redis-redis-py-surface.json b/plugins/apisurface/testdata/golden/redis-redis-py-surface.json new file mode 100644 index 0000000..34275bd --- /dev/null +++ b/plugins/apisurface/testdata/golden/redis-redis-py-surface.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:1878031bbc3f39a2f6b2bdcceebf1dfa13d96a05e96566d43caaa197dd01646d", + "api": "redis/redis-py-surface", + "version": "8.1.0", + "previous_version": "8.0.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "redis", + "change": "removed_symbol", + "symbols": [ + "maint_notifications.OSSMaintNotificationsHandler.get_handler_for_connection" + ] + }, + "description": "The method `maint_notifications.OSSMaintNotificationsHandler.get_handler_for_connection` was removed in redis 8.1.0: code using it fails.", + "migration_hint": "redis 8.1.0 has no `maint_notifications.OSSMaintNotificationsHandler.get_handler_for_connection`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/66/9d/c5731f6e3608663d4d3656fd8d3aecee8b509c3082818f5a13eae925baea/redis-8.1.0-py3-none-any.whl", + "source_excerpt": "redis 8.0.1 (redis-8.0.1-py3-none-any.whl), redis/maint_notifications.py line 1073: def get_handler_for_connection(self)\nredis 8.1.0 (redis-8.1.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/sentry-node-surface.json b/plugins/apisurface/testdata/golden/sentry-node-surface.json new file mode 100644 index 0000000..9fe10af --- /dev/null +++ b/plugins/apisurface/testdata/golden/sentry-node-surface.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:90cf03be39ede17ce97c960570711221ff22297deb0125a2ac0f2c002ec9ba1e", + "api": "sentry/node-surface", + "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": [ + "systemErrorIntegration" + ] + }, + "description": "The export `systemErrorIntegration` was removed in @sentry/node 10.0.0: code using it fails.", + "migration_hint": "@sentry/node 10.0.0 has no `systemErrorIntegration`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@sentry/node/-/node-10.0.0.tgz", + "source_excerpt": "@sentry/node 9.47.2 (node-9.47.2.tgz), build/types/index.d.ts line 35: export { systemErrorIntegration } from \"@sentry/node-core\"\n@sentry/node 10.0.0 (node-10.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/sentry-python-surface.json b/plugins/apisurface/testdata/golden/sentry-python-surface.json new file mode 100644 index 0000000..53207fc --- /dev/null +++ b/plugins/apisurface/testdata/golden/sentry-python-surface.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:b5aae06f772fb7dcc360be1f7c1900c83cfa7532e60dc959053d5504a98f89ab", + "api": "sentry/python-surface", + "version": "2.74.0", + "previous_version": "2.73.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "sentry-sdk", + "change": "removed_symbol", + "symbols": [ + "utils.to_timestamp" + ] + }, + "description": "The function `utils.to_timestamp` was removed in sentry-sdk 2.74.0: code using it fails.", + "migration_hint": "sentry-sdk 2.74.0 has no `utils.to_timestamp`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/55/b1/736d4b4b308694b0071844a533522ac06669ad61751687b94edfbf863f17/sentry_sdk-2.74.0-py3-none-any.whl", + "source_excerpt": "sentry-sdk 2.73.0 (sentry_sdk-2.73.0-py3-none-any.whl), sentry_sdk/utils.py line 251: def to_timestamp(value: \"datetime\") -> float\nsentry-sdk 2.74.0 (sentry_sdk-2.74.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/stripe-node-surface.json b/plugins/apisurface/testdata/golden/stripe-node-surface.json new file mode 100644 index 0000000..0f3a3b4 --- /dev/null +++ b/plugins/apisurface/testdata/golden/stripe-node-surface.json @@ -0,0 +1,50 @@ +[ + { + "id": 1, + "fingerprint": "sha256:76de4b15e9c0f3a02f420e1848e6e2ce518f2575fdd92eda8027b31ce884e2de", + "api": "stripe/node-surface", + "version": "23.0.0", + "previous_version": "22.6.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "Stripe.ErrorType" + ] + }, + "description": "The namespace `Stripe.ErrorType` was removed in stripe 23.0.0: code using it fails.", + "migration_hint": "stripe 23.0.0 has no `Stripe.ErrorType`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/stripe/-/stripe-23.0.0.tgz", + "source_excerpt": "stripe 22.6.2 (stripe-22.6.2.tgz), esm/stripe.esm.node.d.ts line 482: namespace ErrorType\nstripe 23.0.0 (stripe-23.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:b3ac4dd442c1fa7f0a8fd743cf940c0dd57d440a50924a91d6a9fc6ce6ed6cfe", + "api": "stripe/node-surface", + "version": "23.0.0", + "previous_version": "22.6.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "Stripe.constructEventWithoutVerification" + ] + }, + "description": "The method `Stripe.constructEventWithoutVerification` was removed in stripe 23.0.0: code using it fails.", + "migration_hint": "stripe 23.0.0 has no `Stripe.constructEventWithoutVerification`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/stripe/-/stripe-23.0.0.tgz", + "source_excerpt": "stripe 22.6.2 (stripe-22.6.2.tgz), esm/stripe.esm.node.d.ts line 347: constructEventWithoutVerification(payload: string): Event\nstripe 23.0.0 (stripe-23.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/stripe-python-surface.json b/plugins/apisurface/testdata/golden/stripe-python-surface.json new file mode 100644 index 0000000..90d4a10 --- /dev/null +++ b/plugins/apisurface/testdata/golden/stripe-python-surface.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:a036b4b8c94ba10a83a8aa91d5b5659adce96e03f1a1b6701378fe552fbc70a3", + "api": "stripe/python-surface", + "version": "16.0.0", + "previous_version": "15.6.2", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "stripe", + "change": "removed_symbol", + "symbols": [ + "StripeObject.request" + ] + }, + "description": "The method `StripeObject.request` was removed in stripe 16.0.0: code using it fails.", + "migration_hint": "stripe 16.0.0 has no `StripeObject.request`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/b5/de/5141ae3990862cc3d61a1cdd4acff72bcb587afb7b4d31c52eaddbb6bc8f/stripe-16.0.0-py3-none-any.whl", + "source_excerpt": "stripe 15.6.2 (stripe-15.6.2-py3-none-any.whl), stripe/_stripe_object.py line 452: def request( self, method: Literal[\"get\", \"post\", \"delete\"], url: str, params: Optional[Dict[str, Any]] = None, *, base_address: BaseAddress = \"api\", ) -> \"StripeObject\"\nstripe 16.0.0 (stripe-16.0.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/supabase-js-surface.json b/plugins/apisurface/testdata/golden/supabase-js-surface.json new file mode 100644 index 0000000..99c1faf --- /dev/null +++ b/plugins/apisurface/testdata/golden/supabase-js-surface.json @@ -0,0 +1,74 @@ +[ + { + "id": 1, + "fingerprint": "sha256:87c811b15734f3d780657fa1ca375a4a7f586daa1d6290e3aa985eec0b28df46", + "api": "supabase/js-surface", + "version": "2.0.0", + "previous_version": "1.35.7", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@supabase/supabase-js", + "change": "removed_symbol", + "symbols": [ + "SupabaseClient.getSubscriptions" + ] + }, + "description": "The method `SupabaseClient.getSubscriptions` was removed in @supabase/supabase-js 2.0.0: code using it fails.", + "migration_hint": "@supabase/supabase-js 2.0.0 has no `SupabaseClient.getSubscriptions`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.0.0.tgz", + "source_excerpt": "@supabase/supabase-js 1.35.7 (supabase-js-1.35.7.tgz), dist/module/SupabaseClient.d.ts line 100: getSubscriptions(): RealtimeSubscription[]\n@supabase/supabase-js 2.0.0 (supabase-js-2.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:9e744cb3c8fd5836ac1a51a6d9993cc748ca2784f6a95283c1f75fcfe4e23f5d", + "api": "supabase/js-surface", + "version": "2.0.0", + "previous_version": "1.35.7", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@supabase/supabase-js", + "change": "removed_symbol", + "symbols": [ + "SupabaseClient.removeAllSubscriptions" + ] + }, + "description": "The method `SupabaseClient.removeAllSubscriptions` was removed in @supabase/supabase-js 2.0.0: code using it fails.", + "migration_hint": "@supabase/supabase-js 2.0.0 has no `SupabaseClient.removeAllSubscriptions`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.0.0.tgz", + "source_excerpt": "@supabase/supabase-js 1.35.7 (supabase-js-1.35.7.tgz), dist/module/SupabaseClient.d.ts line 78: removeAllSubscriptions(): Promise<{ data: { subscription: RealtimeSubscription; }; error: Error | null; }[]>\n@supabase/supabase-js 2.0.0 (supabase-js-2.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:2f76e317aca4dd879a2a042a376c329d31432c0f59a74996661f61acaaa724ab", + "api": "supabase/js-surface", + "version": "2.0.0", + "previous_version": "1.35.7", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "@supabase/supabase-js", + "change": "removed_symbol", + "symbols": [ + "SupabaseClient.removeSubscription" + ] + }, + "description": "The method `SupabaseClient.removeSubscription` was removed in @supabase/supabase-js 2.0.0: code using it fails.", + "migration_hint": "@supabase/supabase-js 2.0.0 has no `SupabaseClient.removeSubscription`: see the package's release notes for what replaces it.", + "source_url": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.0.0.tgz", + "source_excerpt": "@supabase/supabase-js 1.35.7 (supabase-js-1.35.7.tgz), dist/module/SupabaseClient.d.ts line 89: removeSubscription(subscription: RealtimeSubscription): Promise<{ data: { openSubscriptions: number; }; error: Error | null; }>\n@supabase/supabase-js 2.0.0 (supabase-js-2.0.0.tgz): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/supabase-python-surface.json b/plugins/apisurface/testdata/golden/supabase-python-surface.json new file mode 100644 index 0000000..5e06887 --- /dev/null +++ b/plugins/apisurface/testdata/golden/supabase-python-surface.json @@ -0,0 +1,131 @@ +[ + { + "id": 1, + "fingerprint": "sha256:06e68d8c2f3c2d9b76115188b561ca1c1be4956f52cfc05c95c571226caa7373", + "api": "supabase/python-surface", + "version": "1.0.0", + "previous_version": "0.7.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "supabase", + "change": "removed_parameter", + "symbols": [ + "SupabaseAuthClient", + "lib.auth_client.SupabaseAuthClient" + ], + "parameter": "api" + }, + "description": "`SupabaseAuthClient` no longer takes the parameter `api` in supabase 1.0.0: passing it raises a TypeError.", + "migration_hint": "Stop passing `api` to `SupabaseAuthClient`; its signature in 1.0.0 is quoted in the source excerpt.", + "source_url": "https://files.pythonhosted.org/packages/8d/7b/42e5e27e4c9f4f5e24c0d3294b7448948b97963c69d634c664b7beaaae4b/supabase-1.0.0-py3-none-any.whl", + "source_excerpt": "supabase 0.7.1 (supabase-0.7.1-py3-none-any.whl), supabase/lib/auth_client.py line 13: class SupabaseAuthClient(SyncGoTrueClient) / def __init__( self, *, url: str, headers: Dict[str, str] = {}, auto_refresh_token: bool = True, persist_session: bool = True, local_storage: SyncSupportedStorage = SyncMemoryStorage(), cookie_options: CookieOptions = CookieOptions.parse_obj(COOKIE_OPTIONS), api: Optional[SyncGoTrueAPI] = None, replace_default_headers: bool = False, )\nsupabase 1.0.0 (supabase-1.0.0-py3-none-any.whl), supabase/lib/auth_client.py line 14: class SupabaseAuthClient(SyncGoTrueClient) / def __init__( self, *, url: str, headers: Dict[str, str] = {}, storage_key: Union[str, None] = None, auto_refresh_token: bool = True, persist_session: bool = True, storage: SyncSupportedStorage = SyncMemoryStorage(), http_client: Union[SyncClient, None] = None, )", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:b5db5258c88b4532f67454ffc2966598ec1c6afbf738782c6472f4e22d804b83", + "api": "supabase/python-surface", + "version": "1.0.0", + "previous_version": "0.7.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "supabase", + "change": "removed_parameter", + "symbols": [ + "SupabaseAuthClient", + "lib.auth_client.SupabaseAuthClient" + ], + "parameter": "cookie_options" + }, + "description": "`SupabaseAuthClient` no longer takes the parameter `cookie_options` in supabase 1.0.0: passing it raises a TypeError.", + "migration_hint": "Stop passing `cookie_options` to `SupabaseAuthClient`; its signature in 1.0.0 is quoted in the source excerpt.", + "source_url": "https://files.pythonhosted.org/packages/8d/7b/42e5e27e4c9f4f5e24c0d3294b7448948b97963c69d634c664b7beaaae4b/supabase-1.0.0-py3-none-any.whl", + "source_excerpt": "supabase 0.7.1 (supabase-0.7.1-py3-none-any.whl), supabase/lib/auth_client.py line 13: class SupabaseAuthClient(SyncGoTrueClient) / def __init__( self, *, url: str, headers: Dict[str, str] = {}, auto_refresh_token: bool = True, persist_session: bool = True, local_storage: SyncSupportedStorage = SyncMemoryStorage(), cookie_options: CookieOptions = CookieOptions.parse_obj(COOKIE_OPTIONS), api: Optional[SyncGoTrueAPI] = None, replace_default_headers: bool = False, )\nsupabase 1.0.0 (supabase-1.0.0-py3-none-any.whl), supabase/lib/auth_client.py line 14: class SupabaseAuthClient(SyncGoTrueClient) / def __init__( self, *, url: str, headers: Dict[str, str] = {}, storage_key: Union[str, None] = None, auto_refresh_token: bool = True, persist_session: bool = True, storage: SyncSupportedStorage = SyncMemoryStorage(), http_client: Union[SyncClient, None] = None, )", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:90fdf200c73977ab7800fca5b0854ff86f1f49c62e61f814b7609423f5b05459", + "api": "supabase/python-surface", + "version": "1.0.0", + "previous_version": "0.7.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "supabase", + "change": "removed_parameter", + "symbols": [ + "SupabaseAuthClient", + "lib.auth_client.SupabaseAuthClient" + ], + "parameter": "local_storage" + }, + "description": "`SupabaseAuthClient` no longer takes the parameter `local_storage` in supabase 1.0.0: passing it raises a TypeError.", + "migration_hint": "Stop passing `local_storage` to `SupabaseAuthClient`; its signature in 1.0.0 is quoted in the source excerpt.", + "source_url": "https://files.pythonhosted.org/packages/8d/7b/42e5e27e4c9f4f5e24c0d3294b7448948b97963c69d634c664b7beaaae4b/supabase-1.0.0-py3-none-any.whl", + "source_excerpt": "supabase 0.7.1 (supabase-0.7.1-py3-none-any.whl), supabase/lib/auth_client.py line 13: class SupabaseAuthClient(SyncGoTrueClient) / def __init__( self, *, url: str, headers: Dict[str, str] = {}, auto_refresh_token: bool = True, persist_session: bool = True, local_storage: SyncSupportedStorage = SyncMemoryStorage(), cookie_options: CookieOptions = CookieOptions.parse_obj(COOKIE_OPTIONS), api: Optional[SyncGoTrueAPI] = None, replace_default_headers: bool = False, )\nsupabase 1.0.0 (supabase-1.0.0-py3-none-any.whl), supabase/lib/auth_client.py line 14: class SupabaseAuthClient(SyncGoTrueClient) / def __init__( self, *, url: str, headers: Dict[str, str] = {}, storage_key: Union[str, None] = None, auto_refresh_token: bool = True, persist_session: bool = True, storage: SyncSupportedStorage = SyncMemoryStorage(), http_client: Union[SyncClient, None] = None, )", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:b4bb8ebb041ac0485fd8e1732fc5ad14ae4fddec09ce71a32fd587b3d2754e7a", + "api": "supabase/python-surface", + "version": "1.0.0", + "previous_version": "0.7.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "supabase", + "change": "removed_parameter", + "symbols": [ + "SupabaseAuthClient", + "lib.auth_client.SupabaseAuthClient" + ], + "parameter": "replace_default_headers" + }, + "description": "`SupabaseAuthClient` no longer takes the parameter `replace_default_headers` in supabase 1.0.0: passing it raises a TypeError.", + "migration_hint": "Stop passing `replace_default_headers` to `SupabaseAuthClient`; its signature in 1.0.0 is quoted in the source excerpt.", + "source_url": "https://files.pythonhosted.org/packages/8d/7b/42e5e27e4c9f4f5e24c0d3294b7448948b97963c69d634c664b7beaaae4b/supabase-1.0.0-py3-none-any.whl", + "source_excerpt": "supabase 0.7.1 (supabase-0.7.1-py3-none-any.whl), supabase/lib/auth_client.py line 13: class SupabaseAuthClient(SyncGoTrueClient) / def __init__( self, *, url: str, headers: Dict[str, str] = {}, auto_refresh_token: bool = True, persist_session: bool = True, local_storage: SyncSupportedStorage = SyncMemoryStorage(), cookie_options: CookieOptions = CookieOptions.parse_obj(COOKIE_OPTIONS), api: Optional[SyncGoTrueAPI] = None, replace_default_headers: bool = False, )\nsupabase 1.0.0 (supabase-1.0.0-py3-none-any.whl), supabase/lib/auth_client.py line 14: class SupabaseAuthClient(SyncGoTrueClient) / def __init__( self, *, url: str, headers: Dict[str, str] = {}, storage_key: Union[str, None] = None, auto_refresh_token: bool = True, persist_session: bool = True, storage: SyncSupportedStorage = SyncMemoryStorage(), http_client: Union[SyncClient, None] = None, )", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:2e8f57d805d1e6759157434c063fb8254be8f38523cc17e908d2089e4558c165", + "api": "supabase/python-surface", + "version": "1.0.0", + "previous_version": "0.7.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "supabase", + "change": "removed_parameter", + "symbols": [ + "lib.client_options.ClientOptions.replace" + ], + "parameter": "local_storage" + }, + "description": "`lib.client_options.ClientOptions.replace` no longer takes the parameter `local_storage` in supabase 1.0.0: passing it raises a TypeError.", + "migration_hint": "Stop passing `local_storage` to `lib.client_options.ClientOptions.replace`; its signature in 1.0.0 is quoted in the source excerpt.", + "source_url": "https://files.pythonhosted.org/packages/8d/7b/42e5e27e4c9f4f5e24c0d3294b7448948b97963c69d634c664b7beaaae4b/supabase-1.0.0-py3-none-any.whl", + "source_excerpt": "supabase 0.7.1 (supabase-0.7.1-py3-none-any.whl), supabase/lib/client_options.py line 42: def replace( self, schema: Optional[str] = None, headers: Optional[Dict[str, str]] = None, auto_refresh_token: Optional[bool] = None, persist_session: Optional[bool] = None, local_storage: Optional[SyncSupportedStorage] = None, realtime: Optional[Dict[str, Any]] = None, fetch: Optional[Callable] = None, timeout: Union[int, float, Timeout] = DEFAULT_POSTGREST_CLIENT_TIMEOUT, ) -> \"ClientOptions\"\nsupabase 1.0.0 (supabase-1.0.0-py3-none-any.whl), supabase/lib/client_options.py line 42: def replace( self, schema: Optional[str] = None, headers: Optional[Dict[str, str]] = None, auto_refresh_token: Optional[bool] = None, persist_session: Optional[bool] = None, storage: Optional[SyncSupportedStorage] = None, realtime: Optional[Dict[str, Any]] = None, fetch: Optional[Callable] = None, timeout: Union[int, float, Timeout] = DEFAULT_POSTGREST_CLIENT_TIMEOUT, ) -> \"ClientOptions\"", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/textual-python-surface.json b/plugins/apisurface/testdata/golden/textual-python-surface.json new file mode 100644 index 0000000..e0299e4 --- /dev/null +++ b/plugins/apisurface/testdata/golden/textual-python-surface.json @@ -0,0 +1,27 @@ +[ + { + "id": 1, + "fingerprint": "sha256:3a43284a8323a843e371f3ea498b3bfbc57267a1ae88fc05d73ef4d02a805d6d", + "api": "textual/python-surface", + "version": "8.2.6", + "previous_version": "8.2.5", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "textual", + "change": "removed_parameter", + "symbols": [ + "walk.walk_selectable_widgets" + ], + "parameter": "bounded" + }, + "description": "`walk.walk_selectable_widgets` no longer takes the parameter `bounded` in textual 8.2.6: passing it raises a TypeError.", + "migration_hint": "Stop passing `bounded` to `walk.walk_selectable_widgets`; its signature in 8.2.6 is quoted in the source excerpt.", + "source_url": "https://files.pythonhosted.org/packages/b8/b4/c2b876f445e52522824cb900f2c7db3a7c24f89d20449ef278b4195d0ecb/textual-8.2.6-py3-none-any.whl", + "source_excerpt": "textual 8.2.5 (textual-8.2.5-py3-none-any.whl), textual/walk.py line 176: def walk_selectable_widgets( root: DOMNode, bounds: Shape, bounded: set[DOMNode] ) -> Iterable[Widget]\ntextual 8.2.6 (textual-8.2.6-py3-none-any.whl), textual/walk.py line 176: def walk_selectable_widgets( root: Widget, bounds: Shape, containers: set[DOMNode] ) -> Iterable[Widget]", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/golden/urllib3-python-surface.json b/plugins/apisurface/testdata/golden/urllib3-python-surface.json new file mode 100644 index 0000000..8c740c1 --- /dev/null +++ b/plugins/apisurface/testdata/golden/urllib3-python-surface.json @@ -0,0 +1,52 @@ +[ + { + "id": 1, + "fingerprint": "sha256:ea8eb6ac566d9a46a8d1aa80c02f818c997ee000bbde7acdc08d8ad214d50197", + "api": "urllib3/python-surface", + "version": "2.6.0", + "previous_version": "2.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "urllib3", + "change": "removed_symbol", + "symbols": [ + "BaseHTTPResponse.getheader", + "response.BaseHTTPResponse.getheader" + ] + }, + "description": "The method `BaseHTTPResponse.getheader` was removed in urllib3 2.6.0: code using it fails.", + "migration_hint": "urllib3 2.6.0 has no `BaseHTTPResponse.getheader`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/56/1a/9ffe814d317c5224166b23e7c47f606d6e473712a2fad0f704ea9b99f246/urllib3-2.6.0-py3-none-any.whl", + "source_excerpt": "urllib3 2.5.0 (urllib3-2.5.0-py3-none-any.whl), urllib3/response.py line 552: def getheader(self, name: str, default: str | None = None) -> str | None\nurllib3 2.6.0 (urllib3-2.6.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:fd6ae1aab499021131a0d09490c503f4b464e2913646bba28f78a1fef8073dc4", + "api": "urllib3/python-surface", + "version": "2.6.0", + "previous_version": "2.5.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "pypi", + "package": "urllib3", + "change": "removed_symbol", + "symbols": [ + "BaseHTTPResponse.getheaders", + "response.BaseHTTPResponse.getheaders" + ] + }, + "description": "The method `BaseHTTPResponse.getheaders` was removed in urllib3 2.6.0: code using it fails.", + "migration_hint": "urllib3 2.6.0 has no `BaseHTTPResponse.getheaders`: see the package's release notes for what replaces it.", + "source_url": "https://files.pythonhosted.org/packages/56/1a/9ffe814d317c5224166b23e7c47f606d6e473712a2fad0f704ea9b99f246/urllib3-2.6.0-py3-none-any.whl", + "source_excerpt": "urllib3 2.5.0 (urllib3-2.5.0-py3-none-any.whl), urllib3/response.py line 543: def getheaders(self) -> HTTPHeaderDict\nurllib3 2.6.0 (urllib3-2.6.0-py3-none-any.whl): not defined", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-1.6.0.json b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-1.6.0.json new file mode 100644 index 0000000..6415996 --- /dev/null +++ b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-1.6.0.json @@ -0,0 +1,7 @@ +{ + "name": "@anthropic-ai/sdk", + "version": "1.6.0", + "dist": { + "tarball": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.6.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-1.7.0.json b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-1.7.0.json new file mode 100644 index 0000000..bf4da0e --- /dev/null +++ b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-1.7.0.json @@ -0,0 +1,7 @@ +{ + "name": "@anthropic-ai/sdk", + "version": "1.7.0", + "dist": { + "tarball": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.7.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-1.8.0.json b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-1.8.0.json new file mode 100644 index 0000000..290841d --- /dev/null +++ b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-1.8.0.json @@ -0,0 +1,7 @@ +{ + "name": "@anthropic-ai/sdk", + "version": "1.8.0", + "dist": { + "tarball": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-1.8.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-excerpt.json b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-excerpt.json new file mode 100644 index 0000000..900916d --- /dev/null +++ b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/npm-anthropic-ai-sdk-excerpt.json @@ -0,0 +1,22 @@ +{ + "name": "@anthropic-ai/sdk", + "versions": { + "1.6.0": { + "name": "@anthropic-ai/sdk", + "version": "1.6.0" + }, + "1.7.0": { + "name": "@anthropic-ai/sdk", + "version": "1.7.0" + }, + "1.8.0": { + "name": "@anthropic-ai/sdk", + "version": "1.8.0" + } + }, + "time": { + "1.6.0": "2026-11-05T19:05:25.552Z", + "1.7.0": "2026-11-09T18:56:57.201Z", + "1.8.0": "2026-11-10T16:38:44.845Z" + } +} diff --git a/plugins/apisurface/testdata/npm/anthropic-ai-sdk/sdk-1.6.0.trimmed.tgz b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/sdk-1.6.0.trimmed.tgz new file mode 100644 index 0000000..73460be Binary files /dev/null and b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/sdk-1.6.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/anthropic-ai-sdk/sdk-1.7.0.trimmed.tgz b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/sdk-1.7.0.trimmed.tgz new file mode 100644 index 0000000..86d28fe Binary files /dev/null and b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/sdk-1.7.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/anthropic-ai-sdk/sdk-1.8.0.trimmed.tgz b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/sdk-1.8.0.trimmed.tgz new file mode 100644 index 0000000..34051be Binary files /dev/null and b/plugins/apisurface/testdata/npm/anthropic-ai-sdk/sdk-1.8.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/convex/convex-1.35.0.trimmed.tgz b/plugins/apisurface/testdata/npm/convex/convex-1.35.0.trimmed.tgz new file mode 100644 index 0000000..beaeb48 Binary files /dev/null and b/plugins/apisurface/testdata/npm/convex/convex-1.35.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/convex/convex-1.35.1.trimmed.tgz b/plugins/apisurface/testdata/npm/convex/convex-1.35.1.trimmed.tgz new file mode 100644 index 0000000..4ee782f Binary files /dev/null and b/plugins/apisurface/testdata/npm/convex/convex-1.35.1.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/convex/convex-1.42.2.trimmed.tgz b/plugins/apisurface/testdata/npm/convex/convex-1.42.2.trimmed.tgz new file mode 100644 index 0000000..64d10a4 Binary files /dev/null and b/plugins/apisurface/testdata/npm/convex/convex-1.42.2.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/convex/convex-1.42.3.trimmed.tgz b/plugins/apisurface/testdata/npm/convex/convex-1.42.3.trimmed.tgz new file mode 100644 index 0000000..d633321 Binary files /dev/null and b/plugins/apisurface/testdata/npm/convex/convex-1.42.3.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/convex/npm-convex-1.35.0.json b/plugins/apisurface/testdata/npm/convex/npm-convex-1.35.0.json new file mode 100644 index 0000000..8431c06 --- /dev/null +++ b/plugins/apisurface/testdata/npm/convex/npm-convex-1.35.0.json @@ -0,0 +1,7 @@ +{ + "name": "convex", + "version": "1.35.0", + "dist": { + "tarball": "https://registry.npmjs.org/convex/-/convex-1.35.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/convex/npm-convex-1.35.1.json b/plugins/apisurface/testdata/npm/convex/npm-convex-1.35.1.json new file mode 100644 index 0000000..7cc40e8 --- /dev/null +++ b/plugins/apisurface/testdata/npm/convex/npm-convex-1.35.1.json @@ -0,0 +1,7 @@ +{ + "name": "convex", + "version": "1.35.1", + "dist": { + "tarball": "https://registry.npmjs.org/convex/-/convex-1.35.1.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/convex/npm-convex-1.42.2.json b/plugins/apisurface/testdata/npm/convex/npm-convex-1.42.2.json new file mode 100644 index 0000000..9242bf3 --- /dev/null +++ b/plugins/apisurface/testdata/npm/convex/npm-convex-1.42.2.json @@ -0,0 +1,7 @@ +{ + "name": "convex", + "version": "1.42.2", + "dist": { + "tarball": "https://registry.npmjs.org/convex/-/convex-1.42.2.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/convex/npm-convex-1.42.3.json b/plugins/apisurface/testdata/npm/convex/npm-convex-1.42.3.json new file mode 100644 index 0000000..f3882f0 --- /dev/null +++ b/plugins/apisurface/testdata/npm/convex/npm-convex-1.42.3.json @@ -0,0 +1,7 @@ +{ + "name": "convex", + "version": "1.42.3", + "dist": { + "tarball": "https://registry.npmjs.org/convex/-/convex-1.42.3.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/convex/npm-convex-excerpt.json b/plugins/apisurface/testdata/npm/convex/npm-convex-excerpt.json new file mode 100644 index 0000000..c7d6c64 --- /dev/null +++ b/plugins/apisurface/testdata/npm/convex/npm-convex-excerpt.json @@ -0,0 +1,27 @@ +{ + "name": "convex", + "versions": { + "1.35.0": { + "name": "convex", + "version": "1.35.0" + }, + "1.35.1": { + "name": "convex", + "version": "1.35.1" + }, + "1.42.2": { + "name": "convex", + "version": "1.42.2" + }, + "1.42.3": { + "name": "convex", + "version": "1.42.3" + } + }, + "time": { + "1.35.0": "2026-04-10T01:57:42.163Z", + "1.35.1": "2026-04-10T02:32:03.998Z", + "1.42.2": "2026-07-14T21:00:33.146Z", + "1.42.3": "2026-07-16T22:27:31.972Z" + } +} diff --git a/plugins/apisurface/testdata/npm/google-genai/genai-0.15.0.trimmed.tgz b/plugins/apisurface/testdata/npm/google-genai/genai-0.15.0.trimmed.tgz new file mode 100644 index 0000000..6c0271a Binary files /dev/null and b/plugins/apisurface/testdata/npm/google-genai/genai-0.15.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/google-genai/genai-1.0.0.trimmed.tgz b/plugins/apisurface/testdata/npm/google-genai/genai-1.0.0.trimmed.tgz new file mode 100644 index 0000000..9dfde6f Binary files /dev/null and b/plugins/apisurface/testdata/npm/google-genai/genai-1.0.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/google-genai/genai-1.1.0.trimmed.tgz b/plugins/apisurface/testdata/npm/google-genai/genai-1.1.0.trimmed.tgz new file mode 100644 index 0000000..263e71f Binary files /dev/null and b/plugins/apisurface/testdata/npm/google-genai/genai-1.1.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-0.15.0.json b/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-0.15.0.json new file mode 100644 index 0000000..82b6cc3 --- /dev/null +++ b/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-0.15.0.json @@ -0,0 +1,7 @@ +{ + "name": "@google/genai", + "version": "0.15.0", + "dist": { + "tarball": "https://registry.npmjs.org/@google/genai/-/genai-0.15.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-1.0.0.json b/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-1.0.0.json new file mode 100644 index 0000000..b0dc773 --- /dev/null +++ b/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-1.0.0.json @@ -0,0 +1,7 @@ +{ + "name": "@google/genai", + "version": "1.0.0", + "dist": { + "tarball": "https://registry.npmjs.org/@google/genai/-/genai-1.0.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-1.1.0.json b/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-1.1.0.json new file mode 100644 index 0000000..f9e2ce7 --- /dev/null +++ b/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-1.1.0.json @@ -0,0 +1,7 @@ +{ + "name": "@google/genai", + "version": "1.1.0", + "dist": { + "tarball": "https://registry.npmjs.org/@google/genai/-/genai-1.1.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-excerpt.json b/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-excerpt.json new file mode 100644 index 0000000..95a767e --- /dev/null +++ b/plugins/apisurface/testdata/npm/google-genai/npm-google-genai-excerpt.json @@ -0,0 +1,22 @@ +{ + "name": "@google/genai", + "versions": { + "0.15.0": { + "name": "@google/genai", + "version": "0.15.0" + }, + "1.0.0": { + "name": "@google/genai", + "version": "1.0.0" + }, + "1.1.0": { + "name": "@google/genai", + "version": "1.1.0" + } + }, + "time": { + "0.15.0": "2025-05-19T05:27:40.241Z", + "1.0.0": "2025-05-19T22:26:30.471Z", + "1.1.0": "2025-05-26T21:36:07.350Z" + } +} diff --git a/plugins/apisurface/testdata/npm/mongodb/mongodb-6.22.0.trimmed.tgz b/plugins/apisurface/testdata/npm/mongodb/mongodb-6.22.0.trimmed.tgz new file mode 100644 index 0000000..83ead80 Binary files /dev/null and b/plugins/apisurface/testdata/npm/mongodb/mongodb-6.22.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/mongodb/mongodb-7.0.0.trimmed.tgz b/plugins/apisurface/testdata/npm/mongodb/mongodb-7.0.0.trimmed.tgz new file mode 100644 index 0000000..4d6c691 Binary files /dev/null and b/plugins/apisurface/testdata/npm/mongodb/mongodb-7.0.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/mongodb/mongodb-7.1.0.trimmed.tgz b/plugins/apisurface/testdata/npm/mongodb/mongodb-7.1.0.trimmed.tgz new file mode 100644 index 0000000..c200732 Binary files /dev/null and b/plugins/apisurface/testdata/npm/mongodb/mongodb-7.1.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-6.22.0.json b/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-6.22.0.json new file mode 100644 index 0000000..1f2e901 --- /dev/null +++ b/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-6.22.0.json @@ -0,0 +1,7 @@ +{ + "name": "mongodb", + "version": "6.22.0", + "dist": { + "tarball": "https://registry.npmjs.org/mongodb/-/mongodb-6.22.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-7.0.0.json b/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-7.0.0.json new file mode 100644 index 0000000..8a20ebe --- /dev/null +++ b/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-7.0.0.json @@ -0,0 +1,7 @@ +{ + "name": "mongodb", + "version": "7.0.0", + "dist": { + "tarball": "https://registry.npmjs.org/mongodb/-/mongodb-7.0.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-7.1.0.json b/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-7.1.0.json new file mode 100644 index 0000000..1c361da --- /dev/null +++ b/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-7.1.0.json @@ -0,0 +1,7 @@ +{ + "name": "mongodb", + "version": "7.1.0", + "dist": { + "tarball": "https://registry.npmjs.org/mongodb/-/mongodb-7.1.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-excerpt.json b/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-excerpt.json new file mode 100644 index 0000000..9181fcb --- /dev/null +++ b/plugins/apisurface/testdata/npm/mongodb/npm-mongodb-excerpt.json @@ -0,0 +1,22 @@ +{ + "name": "mongodb", + "versions": { + "6.22.0": { + "name": "mongodb", + "version": "6.22.0" + }, + "7.0.0": { + "name": "mongodb", + "version": "7.0.0" + }, + "7.1.0": { + "name": "mongodb", + "version": "7.1.0" + } + }, + "time": { + "6.22.0": "2026-11-03T00:13:02.364Z", + "7.0.0": "2025-11-06T13:49:59.961Z", + "7.1.0": "2026-02-04T01:35:24.464Z" + } +} diff --git a/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-0.10.4.json b/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-0.10.4.json new file mode 100644 index 0000000..7fb2f06 --- /dev/null +++ b/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-0.10.4.json @@ -0,0 +1,7 @@ +{ + "name": "@neondatabase/serverless", + "version": "0.10.4", + "dist": { + "tarball": "https://registry.npmjs.org/@neondatabase/serverless/-/serverless-0.10.4.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-1.0.0.json b/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-1.0.0.json new file mode 100644 index 0000000..96faf24 --- /dev/null +++ b/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-1.0.0.json @@ -0,0 +1,7 @@ +{ + "name": "@neondatabase/serverless", + "version": "1.0.0", + "dist": { + "tarball": "https://registry.npmjs.org/@neondatabase/serverless/-/serverless-1.0.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-1.0.1.json b/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-1.0.1.json new file mode 100644 index 0000000..a6831e9 --- /dev/null +++ b/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-1.0.1.json @@ -0,0 +1,7 @@ +{ + "name": "@neondatabase/serverless", + "version": "1.0.1", + "dist": { + "tarball": "https://registry.npmjs.org/@neondatabase/serverless/-/serverless-1.0.1.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-excerpt.json b/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-excerpt.json new file mode 100644 index 0000000..4e635a6 --- /dev/null +++ b/plugins/apisurface/testdata/npm/neondatabase-serverless/npm-neondatabase-serverless-excerpt.json @@ -0,0 +1,22 @@ +{ + "name": "@neondatabase/serverless", + "versions": { + "0.10.4": { + "name": "@neondatabase/serverless", + "version": "0.10.4" + }, + "1.0.0": { + "name": "@neondatabase/serverless", + "version": "1.0.0" + }, + "1.0.1": { + "name": "@neondatabase/serverless", + "version": "1.0.1" + } + }, + "time": { + "0.10.4": "2024-11-25T12:56:54.358Z", + "1.0.0": "2025-03-25T10:06:46.324Z", + "1.0.1": "2025-06-06T13:09:20.406Z" + } +} diff --git a/plugins/apisurface/testdata/npm/neondatabase-serverless/serverless-0.10.4.trimmed.tgz b/plugins/apisurface/testdata/npm/neondatabase-serverless/serverless-0.10.4.trimmed.tgz new file mode 100644 index 0000000..6aa1d7f Binary files /dev/null and b/plugins/apisurface/testdata/npm/neondatabase-serverless/serverless-0.10.4.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/neondatabase-serverless/serverless-1.0.0.trimmed.tgz b/plugins/apisurface/testdata/npm/neondatabase-serverless/serverless-1.0.0.trimmed.tgz new file mode 100644 index 0000000..93d3392 Binary files /dev/null and b/plugins/apisurface/testdata/npm/neondatabase-serverless/serverless-1.0.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/neondatabase-serverless/serverless-1.0.1.trimmed.tgz b/plugins/apisurface/testdata/npm/neondatabase-serverless/serverless-1.0.1.trimmed.tgz new file mode 100644 index 0000000..d341d7e Binary files /dev/null and b/plugins/apisurface/testdata/npm/neondatabase-serverless/serverless-1.0.1.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/openai/npm-openai-7.59.0.json b/plugins/apisurface/testdata/npm/openai/npm-openai-7.59.0.json new file mode 100644 index 0000000..4debbb4 --- /dev/null +++ b/plugins/apisurface/testdata/npm/openai/npm-openai-7.59.0.json @@ -0,0 +1,7 @@ +{ + "name": "openai", + "version": "7.59.0", + "dist": { + "tarball": "https://registry.npmjs.org/openai/-/openai-7.59.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/openai/npm-openai-7.60.0.json b/plugins/apisurface/testdata/npm/openai/npm-openai-7.60.0.json new file mode 100644 index 0000000..d66a4f8 --- /dev/null +++ b/plugins/apisurface/testdata/npm/openai/npm-openai-7.60.0.json @@ -0,0 +1,7 @@ +{ + "name": "openai", + "version": "7.60.0", + "dist": { + "tarball": "https://registry.npmjs.org/openai/-/openai-7.60.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/openai/npm-openai-7.61.0.json b/plugins/apisurface/testdata/npm/openai/npm-openai-7.61.0.json new file mode 100644 index 0000000..aabd9ba --- /dev/null +++ b/plugins/apisurface/testdata/npm/openai/npm-openai-7.61.0.json @@ -0,0 +1,7 @@ +{ + "name": "openai", + "version": "7.61.0", + "dist": { + "tarball": "https://registry.npmjs.org/openai/-/openai-7.61.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/openai/npm-openai-excerpt.json b/plugins/apisurface/testdata/npm/openai/npm-openai-excerpt.json new file mode 100644 index 0000000..22552ec --- /dev/null +++ b/plugins/apisurface/testdata/npm/openai/npm-openai-excerpt.json @@ -0,0 +1,22 @@ +{ + "name": "openai", + "versions": { + "7.59.0": { + "name": "openai", + "version": "7.59.0" + }, + "7.60.0": { + "name": "openai", + "version": "7.60.0" + }, + "7.61.0": { + "name": "openai", + "version": "7.61.0" + } + }, + "time": { + "7.59.0": "2026-11-17T22:54:03.929Z", + "7.60.0": "2026-11-18T16:16:53.912Z", + "7.61.0": "2026-11-19T21:07:25.454Z" + } +} diff --git a/plugins/apisurface/testdata/npm/openai/openai-7.59.0.trimmed.tgz b/plugins/apisurface/testdata/npm/openai/openai-7.59.0.trimmed.tgz new file mode 100644 index 0000000..1e51204 Binary files /dev/null and b/plugins/apisurface/testdata/npm/openai/openai-7.59.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/openai/openai-7.60.0.trimmed.tgz b/plugins/apisurface/testdata/npm/openai/openai-7.60.0.trimmed.tgz new file mode 100644 index 0000000..179a2cb Binary files /dev/null and b/plugins/apisurface/testdata/npm/openai/openai-7.60.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/openai/openai-7.61.0.trimmed.tgz b/plugins/apisurface/testdata/npm/openai/openai-7.61.0.trimmed.tgz new file mode 100644 index 0000000..6a9c86e Binary files /dev/null and b/plugins/apisurface/testdata/npm/openai/openai-7.61.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/redis-client/client-1.6.1.trimmed.tgz b/plugins/apisurface/testdata/npm/redis-client/client-1.6.1.trimmed.tgz new file mode 100644 index 0000000..737dcae Binary files /dev/null and b/plugins/apisurface/testdata/npm/redis-client/client-1.6.1.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/redis-client/client-5.0.0.trimmed.tgz b/plugins/apisurface/testdata/npm/redis-client/client-5.0.0.trimmed.tgz new file mode 100644 index 0000000..7da4c00 Binary files /dev/null and b/plugins/apisurface/testdata/npm/redis-client/client-5.0.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/redis-client/client-6.3.0.trimmed.tgz b/plugins/apisurface/testdata/npm/redis-client/client-6.3.0.trimmed.tgz new file mode 100644 index 0000000..1ba08b1 Binary files /dev/null and b/plugins/apisurface/testdata/npm/redis-client/client-6.3.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/redis-client/client-6.3.1.trimmed.tgz b/plugins/apisurface/testdata/npm/redis-client/client-6.3.1.trimmed.tgz new file mode 100644 index 0000000..a385038 Binary files /dev/null and b/plugins/apisurface/testdata/npm/redis-client/client-6.3.1.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-1.6.1.json b/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-1.6.1.json new file mode 100644 index 0000000..f26b666 --- /dev/null +++ b/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-1.6.1.json @@ -0,0 +1,7 @@ +{ + "name": "@redis/client", + "version": "1.6.1", + "dist": { + "tarball": "https://registry.npmjs.org/@redis/client/-/client-1.6.1.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-5.0.0.json b/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-5.0.0.json new file mode 100644 index 0000000..7f9a8bd --- /dev/null +++ b/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-5.0.0.json @@ -0,0 +1,7 @@ +{ + "name": "@redis/client", + "version": "5.0.0", + "dist": { + "tarball": "https://registry.npmjs.org/@redis/client/-/client-5.0.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-6.3.0.json b/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-6.3.0.json new file mode 100644 index 0000000..42637a2 --- /dev/null +++ b/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-6.3.0.json @@ -0,0 +1,7 @@ +{ + "name": "@redis/client", + "version": "6.3.0", + "dist": { + "tarball": "https://registry.npmjs.org/@redis/client/-/client-6.3.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-6.3.1.json b/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-6.3.1.json new file mode 100644 index 0000000..b389ffa --- /dev/null +++ b/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-6.3.1.json @@ -0,0 +1,7 @@ +{ + "name": "@redis/client", + "version": "6.3.1", + "dist": { + "tarball": "https://registry.npmjs.org/@redis/client/-/client-6.3.1.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-excerpt.json b/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-excerpt.json new file mode 100644 index 0000000..9e30a46 --- /dev/null +++ b/plugins/apisurface/testdata/npm/redis-client/npm-redis-client-excerpt.json @@ -0,0 +1,27 @@ +{ + "name": "@redis/client", + "versions": { + "1.6.1": { + "name": "@redis/client", + "version": "1.6.1" + }, + "5.0.0": { + "name": "@redis/client", + "version": "5.0.0" + }, + "6.3.0": { + "name": "@redis/client", + "version": "6.3.0" + }, + "6.3.1": { + "name": "@redis/client", + "version": "6.3.1" + } + }, + "time": { + "1.6.1": "2025-05-08T08:09:55.915Z", + "5.0.0": "2025-04-30T13:56:44.813Z", + "6.3.0": "2026-09-30T11:01:08.526Z", + "6.3.1": "2026-10-29T09:19:20.158Z" + } +} diff --git a/plugins/apisurface/testdata/npm/sentry-node/node-10.0.0.trimmed.tgz b/plugins/apisurface/testdata/npm/sentry-node/node-10.0.0.trimmed.tgz new file mode 100644 index 0000000..ac8f55e Binary files /dev/null and b/plugins/apisurface/testdata/npm/sentry-node/node-10.0.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/sentry-node/node-11.12.0.trimmed.tgz b/plugins/apisurface/testdata/npm/sentry-node/node-11.12.0.trimmed.tgz new file mode 100644 index 0000000..d6db16a Binary files /dev/null and b/plugins/apisurface/testdata/npm/sentry-node/node-11.12.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/sentry-node/node-11.13.0.trimmed.tgz b/plugins/apisurface/testdata/npm/sentry-node/node-11.13.0.trimmed.tgz new file mode 100644 index 0000000..a54f12a Binary files /dev/null and b/plugins/apisurface/testdata/npm/sentry-node/node-11.13.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/sentry-node/node-9.47.2.trimmed.tgz b/plugins/apisurface/testdata/npm/sentry-node/node-9.47.2.trimmed.tgz new file mode 100644 index 0000000..4920e10 Binary files /dev/null and b/plugins/apisurface/testdata/npm/sentry-node/node-9.47.2.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-10.0.0.json b/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-10.0.0.json new file mode 100644 index 0000000..96145ec --- /dev/null +++ b/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-10.0.0.json @@ -0,0 +1,7 @@ +{ + "name": "@sentry/node", + "version": "10.0.0", + "dist": { + "tarball": "https://registry.npmjs.org/@sentry/node/-/node-10.0.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-11.12.0.json b/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-11.12.0.json new file mode 100644 index 0000000..75fa03e --- /dev/null +++ b/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-11.12.0.json @@ -0,0 +1,7 @@ +{ + "name": "@sentry/node", + "version": "11.12.0", + "dist": { + "tarball": "https://registry.npmjs.org/@sentry/node/-/node-11.12.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-11.13.0.json b/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-11.13.0.json new file mode 100644 index 0000000..941d8a6 --- /dev/null +++ b/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-11.13.0.json @@ -0,0 +1,7 @@ +{ + "name": "@sentry/node", + "version": "11.13.0", + "dist": { + "tarball": "https://registry.npmjs.org/@sentry/node/-/node-11.13.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-9.47.2.json b/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-9.47.2.json new file mode 100644 index 0000000..4ec285b --- /dev/null +++ b/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-9.47.2.json @@ -0,0 +1,7 @@ +{ + "name": "@sentry/node", + "version": "9.47.2", + "dist": { + "tarball": "https://registry.npmjs.org/@sentry/node/-/node-9.47.2.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-excerpt.json b/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-excerpt.json new file mode 100644 index 0000000..8c6e547 --- /dev/null +++ b/plugins/apisurface/testdata/npm/sentry-node/npm-sentry-node-excerpt.json @@ -0,0 +1,27 @@ +{ + "name": "@sentry/node", + "versions": { + "9.47.2": { + "name": "@sentry/node", + "version": "9.47.2" + }, + "10.0.0": { + "name": "@sentry/node", + "version": "10.0.0" + }, + "11.12.0": { + "name": "@sentry/node", + "version": "11.12.0" + }, + "11.13.0": { + "name": "@sentry/node", + "version": "11.13.0" + } + }, + "time": { + "9.47.2": "2026-09-29T08:52:58.567Z", + "10.0.0": "2025-07-31T15:31:10.258Z", + "11.12.0": "2026-11-10T16:02:02.625Z", + "11.13.0": "2026-11-16T16:28:35.102Z" + } +} diff --git a/plugins/apisurface/testdata/npm/stripe/npm-stripe-22.6.2.json b/plugins/apisurface/testdata/npm/stripe/npm-stripe-22.6.2.json new file mode 100644 index 0000000..7215175 --- /dev/null +++ b/plugins/apisurface/testdata/npm/stripe/npm-stripe-22.6.2.json @@ -0,0 +1,7 @@ +{ + "name": "stripe", + "version": "22.6.2", + "dist": { + "tarball": "https://registry.npmjs.org/stripe/-/stripe-22.6.2.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/stripe/npm-stripe-23.0.0.json b/plugins/apisurface/testdata/npm/stripe/npm-stripe-23.0.0.json new file mode 100644 index 0000000..8783ce2 --- /dev/null +++ b/plugins/apisurface/testdata/npm/stripe/npm-stripe-23.0.0.json @@ -0,0 +1,7 @@ +{ + "name": "stripe", + "version": "23.0.0", + "dist": { + "tarball": "https://registry.npmjs.org/stripe/-/stripe-23.0.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/stripe/npm-stripe-23.0.1.json b/plugins/apisurface/testdata/npm/stripe/npm-stripe-23.0.1.json new file mode 100644 index 0000000..3e6b96d --- /dev/null +++ b/plugins/apisurface/testdata/npm/stripe/npm-stripe-23.0.1.json @@ -0,0 +1,7 @@ +{ + "name": "stripe", + "version": "23.0.1", + "dist": { + "tarball": "https://registry.npmjs.org/stripe/-/stripe-23.0.1.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/stripe/npm-stripe-excerpt.json b/plugins/apisurface/testdata/npm/stripe/npm-stripe-excerpt.json new file mode 100644 index 0000000..4599d63 --- /dev/null +++ b/plugins/apisurface/testdata/npm/stripe/npm-stripe-excerpt.json @@ -0,0 +1,22 @@ +{ + "name": "stripe", + "versions": { + "22.6.2": { + "name": "stripe", + "version": "22.6.2" + }, + "23.0.0": { + "name": "stripe", + "version": "23.0.0" + }, + "23.0.1": { + "name": "stripe", + "version": "23.0.1" + } + }, + "time": { + "22.6.2": "2026-09-09T21:17:22.085Z", + "23.0.0": "2026-10-01T00:52:07.438Z", + "23.0.1": "2026-10-22T17:47:58.267Z" + } +} diff --git a/plugins/apisurface/testdata/npm/stripe/stripe-22.6.2.trimmed.tgz b/plugins/apisurface/testdata/npm/stripe/stripe-22.6.2.trimmed.tgz new file mode 100644 index 0000000..4b94c29 Binary files /dev/null and b/plugins/apisurface/testdata/npm/stripe/stripe-22.6.2.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/stripe/stripe-23.0.0.trimmed.tgz b/plugins/apisurface/testdata/npm/stripe/stripe-23.0.0.trimmed.tgz new file mode 100644 index 0000000..6e765b7 Binary files /dev/null and b/plugins/apisurface/testdata/npm/stripe/stripe-23.0.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/stripe/stripe-23.0.1.trimmed.tgz b/plugins/apisurface/testdata/npm/stripe/stripe-23.0.1.trimmed.tgz new file mode 100644 index 0000000..42f987a Binary files /dev/null and b/plugins/apisurface/testdata/npm/stripe/stripe-23.0.1.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-1.35.7.json b/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-1.35.7.json new file mode 100644 index 0000000..a99f300 --- /dev/null +++ b/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-1.35.7.json @@ -0,0 +1,7 @@ +{ + "name": "@supabase/supabase-js", + "version": "1.35.7", + "dist": { + "tarball": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-1.35.7.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-2.0.0.json b/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-2.0.0.json new file mode 100644 index 0000000..293c0e3 --- /dev/null +++ b/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-2.0.0.json @@ -0,0 +1,7 @@ +{ + "name": "@supabase/supabase-js", + "version": "2.0.0", + "dist": { + "tarball": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.0.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-2.118.0.json b/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-2.118.0.json new file mode 100644 index 0000000..7fd965a --- /dev/null +++ b/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-2.118.0.json @@ -0,0 +1,7 @@ +{ + "name": "@supabase/supabase-js", + "version": "2.118.0", + "dist": { + "tarball": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.118.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-2.119.0.json b/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-2.119.0.json new file mode 100644 index 0000000..cf4333d --- /dev/null +++ b/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-2.119.0.json @@ -0,0 +1,7 @@ +{ + "name": "@supabase/supabase-js", + "version": "2.119.0", + "dist": { + "tarball": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.119.0.tgz" + } +} diff --git a/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-excerpt.json b/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-excerpt.json new file mode 100644 index 0000000..80951cf --- /dev/null +++ b/plugins/apisurface/testdata/npm/supabase-supabase-js/npm-supabase-supabase-js-excerpt.json @@ -0,0 +1,27 @@ +{ + "name": "@supabase/supabase-js", + "versions": { + "1.35.7": { + "name": "@supabase/supabase-js", + "version": "1.35.7" + }, + "2.0.0": { + "name": "@supabase/supabase-js", + "version": "2.0.0" + }, + "2.118.0": { + "name": "@supabase/supabase-js", + "version": "2.118.0" + }, + "2.119.0": { + "name": "@supabase/supabase-js", + "version": "2.119.0" + } + }, + "time": { + "1.35.7": "2022-09-21T21:20:23.331Z", + "2.0.0": "2022-10-11T11:43:47.776Z", + "2.118.0": "2026-10-15T12:57:17.683Z", + "2.119.0": "2026-11-04T13:11:11.636Z" + } +} diff --git a/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-1.35.7.trimmed.tgz b/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-1.35.7.trimmed.tgz new file mode 100644 index 0000000..1ffa87d Binary files /dev/null and b/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-1.35.7.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-2.0.0.trimmed.tgz b/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-2.0.0.trimmed.tgz new file mode 100644 index 0000000..dd22aac Binary files /dev/null and b/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-2.0.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-2.118.0.trimmed.tgz b/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-2.118.0.trimmed.tgz new file mode 100644 index 0000000..94a9db4 Binary files /dev/null and b/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-2.118.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-2.119.0.trimmed.tgz b/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-2.119.0.trimmed.tgz new file mode 100644 index 0000000..854821a Binary files /dev/null and b/plugins/apisurface/testdata/npm/supabase-supabase-js/supabase-js-2.119.0.trimmed.tgz differ diff --git a/plugins/apisurface/testdata/pypi/algoliasearch/algoliasearch-4.44.1-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/algoliasearch/algoliasearch-4.44.1-py3-none-any.trimmed.whl new file mode 100644 index 0000000..e92be59 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/algoliasearch/algoliasearch-4.44.1-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/algoliasearch/algoliasearch-4.44.3-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/algoliasearch/algoliasearch-4.44.3-py3-none-any.trimmed.whl new file mode 100644 index 0000000..4c60d81 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/algoliasearch/algoliasearch-4.44.3-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/algoliasearch/algoliasearch-4.44.4-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/algoliasearch/algoliasearch-4.44.4-py3-none-any.trimmed.whl new file mode 100644 index 0000000..2bf13ce Binary files /dev/null and b/plugins/apisurface/testdata/pypi/algoliasearch/algoliasearch-4.44.4-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-4.44.1.json b/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-4.44.1.json new file mode 100644 index 0000000..dea2b44 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-4.44.1.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "algoliasearch", + "version": "4.44.1" + }, + "urls": [ + { + "filename": "algoliasearch-4.44.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a8/a7/74795993b739e721583653812155f0719159b79268b6eb4452594dc103fa/algoliasearch-4.44.1-py3-none-any.whl", + "yanked": false + }, + { + "filename": "algoliasearch-4.44.1.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/8c/b1/4e6b91ca878e97fb2912e3208be50080e8a29070400417e63bd9e34392a4/algoliasearch-4.44.1.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-4.44.3.json b/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-4.44.3.json new file mode 100644 index 0000000..fc519a8 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-4.44.3.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "algoliasearch", + "version": "4.44.3" + }, + "urls": [ + { + "filename": "algoliasearch-4.44.3-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/32/05/84c46d0844055735c1192ba1a0364d871251dbf03e26a465eedf148e63f1/algoliasearch-4.44.3-py3-none-any.whl", + "yanked": false + }, + { + "filename": "algoliasearch-4.44.3.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/ae/e3/d92bebdd9794cc00ad72b333d39354ea1ab5b7d5cde2ea69f4a3265212fb/algoliasearch-4.44.3.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-4.44.4.json b/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-4.44.4.json new file mode 100644 index 0000000..2132262 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-4.44.4.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "algoliasearch", + "version": "4.44.4" + }, + "urls": [ + { + "filename": "algoliasearch-4.44.4-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/39/53/d20cdf0238aa64a31aaea58e359aa761fe76515a7ff9872c345b5b06eaab/algoliasearch-4.44.4-py3-none-any.whl", + "yanked": false + }, + { + "filename": "algoliasearch-4.44.4.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/3e/cd/54571e8d08ea411c1a576ac087f1ccf072447d84126ff90854f5d46779eb/algoliasearch-4.44.4.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-excerpt.json b/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-excerpt.json new file mode 100644 index 0000000..2a61598 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/algoliasearch/pypi-algoliasearch-excerpt.json @@ -0,0 +1,49 @@ +{ + "info": { + "name": "algoliasearch" + }, + "releases": { + "4.44.1": [ + { + "filename": "algoliasearch-4.44.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-23T12:45:29.085784Z", + "yanked": false + }, + { + "filename": "algoliasearch-4.44.1.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-06-23T12:45:31.213741Z", + "yanked": false + } + ], + "4.44.3": [ + { + "filename": "algoliasearch-4.44.3-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-08T08:23:19.671979Z", + "yanked": false + }, + { + "filename": "algoliasearch-4.44.3.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-07-08T08:23:21.596935Z", + "yanked": false + } + ], + "4.44.4": [ + { + "filename": "algoliasearch-4.44.4-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-15T15:16:28.967917Z", + "yanked": false + }, + { + "filename": "algoliasearch-4.44.4.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-07-15T15:16:30.545400Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.4.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.4.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..0c1d7b9 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.4.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.5.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.5.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..3b933f5 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.5.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.6.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.6.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..683b9c7 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.6.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.7.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.7.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..72de1f0 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/anthropic/anthropic-2.7.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.4.0.json b/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.4.0.json new file mode 100644 index 0000000..c570f6c --- /dev/null +++ b/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.4.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "anthropic", + "version": "2.4.0" + }, + "urls": [ + { + "filename": "anthropic-2.4.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8b/5d/e399d9028411ce404d7ddbe6b8060d878b2549ed8cd671a7bb496ae20ffc/anthropic-2.4.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "anthropic-2.4.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/c8/5b/6c13b126554cfec789ce14a74f2ccfd46382a0eb296ec78ea6b80eeac3b5/anthropic-2.4.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.5.0.json b/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.5.0.json new file mode 100644 index 0000000..fc68173 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.5.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "anthropic", + "version": "2.5.0" + }, + "urls": [ + { + "filename": "anthropic-2.5.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f4/10/c4e6f015111c702c2d5a386ad57745b83c79c08eae68e541dbb16b5e3965/anthropic-2.5.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "anthropic-2.5.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/25/b0/bb46b86bc12e0c176f22363f6fc1fa6484844ba624f868154c3894d1c294/anthropic-2.5.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.6.0.json b/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.6.0.json new file mode 100644 index 0000000..731edb7 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.6.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "anthropic", + "version": "2.6.0" + }, + "urls": [ + { + "filename": "anthropic-2.6.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/38/0b/705a05ab68558914e725cf1143d7e409fa3bb596c35bca1eceab42402abe/anthropic-2.6.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "anthropic-2.6.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/4a/a8/0e50326e4c408f4b4ee3aae4c3bbd60012570b88bc5887effc8542509068/anthropic-2.6.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.7.0.json b/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.7.0.json new file mode 100644 index 0000000..528e14a --- /dev/null +++ b/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-2.7.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "anthropic", + "version": "2.7.0" + }, + "urls": [ + { + "filename": "anthropic-2.7.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8a/da/ed144ab553eb2bc7b5febbfb37858f28b33ec332c37f0fdf260012ae3fe2/anthropic-2.7.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "anthropic-2.7.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/80/d3/cedfb7ed99b796c3b6b01bcb8e189f793d4eedb05979149c0b2113c5511c/anthropic-2.7.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-excerpt.json b/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-excerpt.json new file mode 100644 index 0000000..68c182e --- /dev/null +++ b/plugins/apisurface/testdata/pypi/anthropic/pypi-anthropic-excerpt.json @@ -0,0 +1,63 @@ +{ + "info": { + "name": "anthropic" + }, + "releases": { + "2.4.0": [ + { + "filename": "anthropic-2.4.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-11-02T19:08:03.822137Z", + "yanked": false + }, + { + "filename": "anthropic-2.4.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-11-02T19:08:06.047272Z", + "yanked": false + } + ], + "2.5.0": [ + { + "filename": "anthropic-2.5.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-11-04T20:27:48.007575Z", + "yanked": false + }, + { + "filename": "anthropic-2.5.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-11-04T20:27:46.038994Z", + "yanked": false + } + ], + "2.6.0": [ + { + "filename": "anthropic-2.6.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-11-05T18:59:11.474835Z", + "yanked": false + }, + { + "filename": "anthropic-2.6.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-11-05T18:59:09.557787Z", + "yanked": false + } + ], + "2.7.0": [ + { + "filename": "anthropic-2.7.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-11-09T18:52:39.769381Z", + "yanked": false + }, + { + "filename": "anthropic-2.7.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-11-09T18:52:41.504138Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-4.3.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-4.3.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..c659f85 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-4.3.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-4.3.1-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-4.3.1-py3-none-any.trimmed.whl new file mode 100644 index 0000000..5e9ad72 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-4.3.1-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-5.3.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-5.3.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..c0cdb34 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-5.3.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-5.4.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-5.4.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..c8658f0 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/cloudflare/cloudflare-5.4.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-4.3.0.json b/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-4.3.0.json new file mode 100644 index 0000000..2c356f0 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-4.3.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "cloudflare", + "version": "4.3.0" + }, + "urls": [ + { + "filename": "cloudflare-4.3.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/83/7f/0f9370a1d2a2e425056134ccfc6b5b8f12ed43be600223bd1612f9f56c32/cloudflare-4.3.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "cloudflare-4.3.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/1f/d8/7f890edeb87b3f7f26ce713b1716f7d898b3db8e0b7f6efbfe4607977620/cloudflare-4.3.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-4.3.1.json b/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-4.3.1.json new file mode 100644 index 0000000..af3677d --- /dev/null +++ b/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-4.3.1.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "cloudflare", + "version": "4.3.1" + }, + "urls": [ + { + "filename": "cloudflare-4.3.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3a/8f/c6c543565efd3144da4304efa5917aac06b6416a8663a6defe0e9b2b7569/cloudflare-4.3.1-py3-none-any.whl", + "yanked": false + }, + { + "filename": "cloudflare-4.3.1.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/5d/48/e481c0a9b9010a5c41b5ca78ff9fbe00dc8a9a4d39da5af610a4ec49c7f7/cloudflare-4.3.1.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-5.3.0.json b/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-5.3.0.json new file mode 100644 index 0000000..0503c15 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-5.3.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "cloudflare", + "version": "5.3.0" + }, + "urls": [ + { + "filename": "cloudflare-5.3.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c5/6f/b7624d3a8f0637b04e883f289f530c88e1c4f683c70d8ebe291e4b430ec1/cloudflare-5.3.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "cloudflare-5.3.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/61/64/ba01193be8e31bda89974f0f33d1084b44b34a2d2d96031e3fb704340182/cloudflare-5.3.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-5.4.0.json b/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-5.4.0.json new file mode 100644 index 0000000..4ec5b0a --- /dev/null +++ b/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-5.4.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "cloudflare", + "version": "5.4.0" + }, + "urls": [ + { + "filename": "cloudflare-5.4.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c2/bf/20002f7398cb5dc2f289cccd19777aa8869d40d5b01961ccbe8e25e094a6/cloudflare-5.4.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "cloudflare-5.4.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/c0/0a/33da74bd52a7a7733b8c29870ed336d023470543ca579af6608286b67a5e/cloudflare-5.4.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-excerpt.json b/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-excerpt.json new file mode 100644 index 0000000..7083447 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/cloudflare/pypi-cloudflare-excerpt.json @@ -0,0 +1,63 @@ +{ + "info": { + "name": "cloudflare" + }, + "releases": { + "4.3.0": [ + { + "filename": "cloudflare-4.3.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-06-16T18:17:02.618726Z", + "yanked": false + }, + { + "filename": "cloudflare-4.3.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2025-06-16T18:17:04.065486Z", + "yanked": false + } + ], + "4.3.1": [ + { + "filename": "cloudflare-4.3.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-06-16T21:43:17.300632Z", + "yanked": false + }, + { + "filename": "cloudflare-4.3.1.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2025-06-16T21:43:18.716535Z", + "yanked": false + } + ], + "5.3.0": [ + { + "filename": "cloudflare-5.3.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-11T22:06:49.856197Z", + "yanked": false + }, + { + "filename": "cloudflare-5.3.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-06-11T22:06:47.861418Z", + "yanked": false + } + ], + "5.4.0": [ + { + "filename": "cloudflare-5.4.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-16T20:57:17.582157Z", + "yanked": false + }, + { + "filename": "cloudflare-5.4.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-06-16T20:57:20.557325Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.12.3-cp310-cp310-macosx_14_0_arm64.trimmed.whl b/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.12.3-cp310-cp310-macosx_14_0_arm64.trimmed.whl new file mode 100644 index 0000000..95a8474 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.12.3-cp310-cp310-macosx_14_0_arm64.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.trimmed.whl b/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.trimmed.whl new file mode 100644 index 0000000..29f93fb Binary files /dev/null and b/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.16.0-cp310-cp310-macosx_14_0_arm64.trimmed.whl b/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.16.0-cp310-cp310-macosx_14_0_arm64.trimmed.whl new file mode 100644 index 0000000..e932855 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.16.0-cp310-cp310-macosx_14_0_arm64.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.16.1-cp310-cp310-macosx_14_0_arm64.trimmed.whl b/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.16.1-cp310-cp310-macosx_14_0_arm64.trimmed.whl new file mode 100644 index 0000000..5541574 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/ddtrace/ddtrace-4.16.1-cp310-cp310-macosx_14_0_arm64.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.12.3.json b/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.12.3.json new file mode 100644 index 0000000..e91ba0d --- /dev/null +++ b/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.12.3.json @@ -0,0 +1,350 @@ +{ + "info": { + "name": "ddtrace", + "version": "4.12.3" + }, + "urls": [ + { + "filename": "ddtrace-4.12.3-cp310-cp310-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d7/18/90b574aa3c046bd9f4862b0353d8f8a42aeba504c601c3235bd8d91f057f/ddtrace-4.12.3-cp310-cp310-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/37/09/85d11c03617f0be9e512634c471ae5e2d1033916df62786a78be462db266/ddtrace-4.12.3-cp310-cp310-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2f/71/ab8d453bc5ecd8ebce03b1a3f3de6349dc52ea61956fe84e71e60ce39d39/ddtrace-4.12.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1e/94/1c608b3915b66d8be5c2d4826d48eb2ddb69e9e3558fd72ba0b7223470b3/ddtrace-4.12.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c6/9f/f685f39e018c53bb0f2b3ac8d1c83de47137dd013908314d9f6269dd9075/ddtrace-4.12.3-cp310-cp310-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2e/0f/295fd81f9e52d5d315ffab6894a9e2a04533056eaa62bb637eed75e0557b/ddtrace-4.12.3-cp310-cp310-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b7/9c/ccb0df81738b72a988625bd9cf266ef2de5d5c3c55d7d2cfa8ba3f85fba3/ddtrace-4.12.3-cp310-cp310-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e6/58/8975f2abe767af68c464f5ff9d1272b7fc8b355b89f862e26a9cd568f807/ddtrace-4.12.3-cp310-cp310-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/24/92/ff6c81bc8260fe882a68d9727442362f0b83d6974b6bde10dbe51c9eaa1d/ddtrace-4.12.3-cp311-cp311-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e5/37/6cd17c83efec4a5ed5c8a5d881a87ea33c74e797572caf24ac11d8d97600/ddtrace-4.12.3-cp311-cp311-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/71/8f/7d1ee9b87bdeb90d56eb29d61b813da8f249973e64f72c2b8a61f5021636/ddtrace-4.12.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/63/84/46d82c4bea87cf3d6516ec5429dcfca0ace8fd5e908674f1177ebb31d647/ddtrace-4.12.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/22/00/843dc614b0f5aa2fa33ec1245f04cc2af3bc9654566d74795aaeaf5440e3/ddtrace-4.12.3-cp311-cp311-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/66/b7/0da6d05435e72e1a7790dfa9a76a5e1af2de18875cc3d8a01e0cae869f67/ddtrace-4.12.3-cp311-cp311-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3b/4f/63253f132d19f95160574f06a429b3d3c8b27b49b319bd45f9ce00edb041/ddtrace-4.12.3-cp311-cp311-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/81/5f/5b2f7b1a75714a348e4e55fa051fdb3399819a473ba27ff9305c67ecc550/ddtrace-4.12.3-cp311-cp311-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3c/2f/34cb50fb2411618707ae04dda79332d088487c48738749a00b89db4d50cd/ddtrace-4.12.3-cp311-cp311-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e6/bc/d3a474e6a5379da25ac0bb18e0ef6b51e203948a178d57abd19bb56a20a7/ddtrace-4.12.3-cp312-cp312-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0c/9b/aa40fa4dbcd2309f6cb838c959e06d220cc2345dc8ef6d4ae81b48529558/ddtrace-4.12.3-cp312-cp312-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6c/dd/c9a7d107b428b1f9beedc87f704913b9536dd9ce43185ec57d1e8ea7597d/ddtrace-4.12.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/71/68/0d303278ddbcd064f10ece4fa07fc202eedea4eeb483907067a976e2361e/ddtrace-4.12.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f9/29/dc87e8ea3670e6fa06b9236420ae94d3f673a378efe14253feec02e02664/ddtrace-4.12.3-cp312-cp312-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/65/e0/1cca2ff5cd01d252fd771b5b3812c151ec3e3cd0ef09e3a38bfc4e4eed9d/ddtrace-4.12.3-cp312-cp312-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8b/25/1aaaa0a2f20ebb7f1812755855395149778f03fd45f85a8cc0e44c849332/ddtrace-4.12.3-cp312-cp312-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/92/50/fb4499bd3054d2ef13ce5a6f00ff7cdf9571d4e2cba777a2899853bcebea/ddtrace-4.12.3-cp312-cp312-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/78/d7/826860fb79eb5abcc6a1d3e1bc4e9aa57f5c13148105271cdaf3b71e08e2/ddtrace-4.12.3-cp312-cp312-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/69/63/96d07df6efbb2a78bc9cc0ef7b4a8e5bd32f2999bd4c87869d9c7faa63b7/ddtrace-4.12.3-cp313-cp313-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/4b/ff/48db89bd7c619b6d915a15001665fb0a709f6471de8fad9139dc578d3c5c/ddtrace-4.12.3-cp313-cp313-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/63/09/a8a82113d29ae445d41ff97fe18eb4965e52bd4d35b75c85592965125c94/ddtrace-4.12.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0c/ad/7325507b79f2ba61453156fc429ded605350b66a17e5ee4b31970aa61c32/ddtrace-4.12.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f3/e6/840ec1338d32c3a80eaa727c31934e2ca6081c49a41d344505b4b166ddf2/ddtrace-4.12.3-cp313-cp313-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6c/1a/a712f0325fd7374581ff1bd29619bd04acf3f112a49d79d55694a847d198/ddtrace-4.12.3-cp313-cp313-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0c/34/f7c7e55eaa948e675dfa0d5642b66f8071ef9414a9ed6be07c9a46146181/ddtrace-4.12.3-cp313-cp313-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6e/ac/0911c26cec9e155ae98131877387f99433d3328ceb5aaa37bac40d970987/ddtrace-4.12.3-cp313-cp313-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b0/ab/16fe8ecbb013bef50fb65968f4e183ffc3bbfd60028fa7571394652d292a/ddtrace-4.12.3-cp313-cp313-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/88/29/364686ef010b97c691be015c624d9663a298756f04d54726691c98758b6a/ddtrace-4.12.3-cp314-cp314-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e0/c4/f71ca43c67fbe4e52bd41dc0a32cd36b7a4be163868796f81d20f2f24261/ddtrace-4.12.3-cp314-cp314-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/63/8a/8396fbe7ef9afa12f2175099a5f356eab64a0dcd56497c30f866c5a70e8f/ddtrace-4.12.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a2/33/f5a252fc5cef0f89a4546bb9bbaf92786ae63972e40cf834a5503dc9cac5/ddtrace-4.12.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6e/07/0eb2f6794595b74ab6e950c539344c40d1c6737b738846a7481122e8a33c/ddtrace-4.12.3-cp314-cp314-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0c/45/4c8d8bc507a05dc0d6abfa31037648ae0d68d390aad201f878e8d4ff7223/ddtrace-4.12.3-cp314-cp314-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fb/b8/8a8a630294cdb705ec848c41c220f9fcb9751e943f93e3305b6762e4dd74/ddtrace-4.12.3-cp314-cp314-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5c/69/50965ff0b24067b9f467094f5810f5a5200a817e015490cfd574ed7a79f9/ddtrace-4.12.3-cp314-cp314-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/82/fc/59d38433b8a0976ab5a92da72d4f9cd6c740830099b635128c61caed28c2/ddtrace-4.12.3-cp314-cp314-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6f/8c/1e696778faa49ccb9fc22ea7349323c8d037479bf061974f4cd3d6016bf7/ddtrace-4.12.3-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/aa/fe/af07c44113c81b3c790dbdd43a0661ab5742e7a722eeffde1c5233587aa6/ddtrace-4.12.3-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp315-cp315-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ad/34/9aeb685033d136ec70ac6e8dc1e8d6c3099feb5084bce97e6a5a48f0b8c6/ddtrace-4.12.3-cp315-cp315-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp315-cp315-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a7/32/b6e1160c6b9a82fcd40cad8648bae5a7366c20c89ab97db52d535057fdfc/ddtrace-4.12.3-cp315-cp315-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f3/34/e7c515f9c4859662a0ad04b047e3ed84a710c1affe8e38515ab28803bc8a/ddtrace-4.12.3-cp39-cp39-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/58/c3/a920f60214dc423eb9be5e4e488909790583ee56871416459c330cc0f07c/ddtrace-4.12.3-cp39-cp39-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6f/69/996e3b6635e62b4b19204a93cce1a7f0d6091162504331b11992b0a6ec27/ddtrace-4.12.3-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/07/77/d55510e1cca152f6ef87ec10840f303e0ef8863144841e5c45c289ff64eb/ddtrace-4.12.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8c/ac/0cd9925246d27f2748723cab1af4e4d2a7b36ce4a07540c9a265c5f9af9c/ddtrace-4.12.3-cp39-cp39-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/91/6a/18a1c3e88dbca26a53b2a4ecf4c2b70adf27fa48cdb71e9be399f3f2a844/ddtrace-4.12.3-cp39-cp39-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/04/ed/fe4fb0dac82dde0e93ac30e6c32bc788f35c7083c8bff89b2c0b4e92631a/ddtrace-4.12.3-cp39-cp39-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/76/27/0491e5e1b5ce665d0ac3293b2d4132049258ab0280f98ae8489475643b87/ddtrace-4.12.3-cp39-cp39-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/6e/1a/52429a8eb4ff7004a043c9bfe00aa72801b6ecf6d5a95977301bef67c5f7/ddtrace-4.12.3.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.13.0.json b/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.13.0.json new file mode 100644 index 0000000..a7fab3e --- /dev/null +++ b/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.13.0.json @@ -0,0 +1,350 @@ +{ + "info": { + "name": "ddtrace", + "version": "4.13.0" + }, + "urls": [ + { + "filename": "ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/52/97/9d4ec43fa15991f195e62795e1d46fb158cab3df29c370d272889b8f8640/ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/58/d8/1b2ea30f999f135eb866e2d8d31bb36619755f697d8255cdb33bf58f1b3b/ddtrace-4.13.0-cp310-cp310-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1e/0c/26035af3e98e9ad05341bb6da74130449c984b2edb692c15e94f83926d4a/ddtrace-4.13.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/86/af/c069fe2cbbf38d84005e167e07afd642bcda7284de4c53ba6fdf60a577fb/ddtrace-4.13.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6e/05/b26cb35e0cde37087a76b496c0d25d9a65ec08129b83da473f3b918ab628/ddtrace-4.13.0-cp310-cp310-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/00/8b/0956d2594526258c8a9f14cf767a25bc0e72812c95b3b460e230c2ecc245/ddtrace-4.13.0-cp310-cp310-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a7/d0/111043ac1d2d2bf8e18a71b3829f3b161b3de3d7fd147c68b28453e8e8af/ddtrace-4.13.0-cp310-cp310-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/83/c4/bf14c66cc60040879218d588c9e7ad1185ab3865dc0bd591cdf477cfb080/ddtrace-4.13.0-cp310-cp310-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ef/9e/e7e6ac83eddd3e203c107cd8d52cbf9778945c96bd5f2fb363ae50fc5d74/ddtrace-4.13.0-cp311-cp311-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/21/77/6d26d9a5001fb190d5144cf9a209da346c9420ba0ec1b0fcdf6a371739b3/ddtrace-4.13.0-cp311-cp311-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/61/e8/7f666a8c31481e164640f412ba3ce46ce973601e05f26ade3faa267797fc/ddtrace-4.13.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/16/c6/afde8c9fe2b1acdf3778877faac24c86cda9822deddb0b6a03fec740dbf1/ddtrace-4.13.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e7/91/861ac5da7b26d27f0004e53778f50ef966d99f709369692ca57918627b49/ddtrace-4.13.0-cp311-cp311-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/98/e3/31e16c13206a627fdfba32cff0500ed15ac2abbd5a4e40efd70bcf8608d1/ddtrace-4.13.0-cp311-cp311-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b8/fa/1e9b9aa1dde0c46542c993f966ab4d80d77b6a6d0aa62c78709102fd9344/ddtrace-4.13.0-cp311-cp311-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e0/55/5d14c917c4ac60245a297b4de7729ae7a3381d273b8c557b9e8fc786722a/ddtrace-4.13.0-cp311-cp311-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/45/67/a625e7087482e72222dbfc8bc658bd681dffec1a9e29569fb04cfe2e8d33/ddtrace-4.13.0-cp311-cp311-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5d/47/2507be71ebc5c6ab0a49b16b4ea3de3e95d193462e7299bb8cc14e3e533c/ddtrace-4.13.0-cp312-cp312-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d8/69/ce9b8194d5b58a95cbb40ce0756c10c9b675b7b78c8f03f15863798f34c6/ddtrace-4.13.0-cp312-cp312-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/36/83/ee4a2abda2a053562548ac43b200c307a1cd9d60ff7e972a48744222f4c3/ddtrace-4.13.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c1/1f/06c1d127c1d66e9cffbf9b4f36389204a63bf9b01a2acb7da0990621a150/ddtrace-4.13.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a9/8e/b1f4a790d850814102eb06a891ede9472e5e7394ebf4a923259e49a34aae/ddtrace-4.13.0-cp312-cp312-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/30/60/6e8faf33cf3577107dda42827eacb1ed96a1f8607f6123f0b84682998ff4/ddtrace-4.13.0-cp312-cp312-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f1/68/1a8bdd06570dc4c67481b3e885ccd82c3c20296a8a67a30340ee740c0f2a/ddtrace-4.13.0-cp312-cp312-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/85/7e/c69c36556329df7afb567492345e3dedea4174b5534f4c5de531263ab08d/ddtrace-4.13.0-cp312-cp312-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2f/8b/beac646b73b9380ff71a2a74e7417863537b69201714ddde7685bd2cae20/ddtrace-4.13.0-cp312-cp312-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/75/2a/5fef70d1860b390e0ca510c40c74e07d157e15f34bea04244f14921d7703/ddtrace-4.13.0-cp313-cp313-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3f/81/75653bb71c0a2ac85398424e55bd9f9aef7bb40593a65fdb05a71b533708/ddtrace-4.13.0-cp313-cp313-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e7/62/2188d9b77223ac373a4d35f31f9d56c215798d85acea0f060b76391cfd88/ddtrace-4.13.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/78/d5/520dc0648432c2294277cf4211cc474707f572075ae19ea56a486590b0e0/ddtrace-4.13.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/40/5e/3f92921decce0cec5e0c8967c867c6fa997752dbf9f1f59fe780dbb02ab0/ddtrace-4.13.0-cp313-cp313-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/68/09/6e6baa5c2e6d099c54fdc67bc43044fbabd8c1db71158d8b877ec8ab8a7e/ddtrace-4.13.0-cp313-cp313-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e0/c3/c3b23b855f9d780ca1691c93bdb245292e47451da237043f533010030a00/ddtrace-4.13.0-cp313-cp313-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6f/31/2df9c6646f5308245eda0c35df263493206c4ec46261cd92cf89d7724f6f/ddtrace-4.13.0-cp313-cp313-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d1/bc/01b038ca7a4244f001b09d399b1f57efab459d7fe4b98eea7505463b50eb/ddtrace-4.13.0-cp313-cp313-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/7f/cb/9711dc13ace08954fea8be5c92addcb98a7c9b3403cc030f087858b1b9f4/ddtrace-4.13.0-cp314-cp314-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ad/d8/7fa9bd1b1a12361c7f77e2d44ff0eeed6fffc4f5be906b478987631e67e6/ddtrace-4.13.0-cp314-cp314-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/79/47/7abe274b4c18531eab6d4c7bdd55aa2046cfdda02a2fbcd9372cb23cdf70/ddtrace-4.13.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ee/42/4a482f1a9841d31ee9681c166551c2c937f101337f81416a20272973f98c/ddtrace-4.13.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8d/cc/5de99d321e362c879db892e1cbd9d84f155b7407938c4868042fdc0d7765/ddtrace-4.13.0-cp314-cp314-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/51/70/e60ca97f00f1ee0dc50731e4ddaa27c7b2f75087fa8a7ad91733f75b986b/ddtrace-4.13.0-cp314-cp314-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/91/e9/03728555765792b9bfd9f69a141c9624e102860088fc00143127991d8d55/ddtrace-4.13.0-cp314-cp314-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/53/f5/c575871abc17aedcb5997a80c88a3455cad15680457443e7ce4baa054c90/ddtrace-4.13.0-cp314-cp314-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/de/12/e6fb967c764f08e529af34f665132fa5c6af190d75e361541f50883b5626/ddtrace-4.13.0-cp314-cp314-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2b/19/ccd975b06f20653bfe0aa233ffc99c554f298ad8ebce1da7e8b864f1ece7/ddtrace-4.13.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b9/b1/47769365e12fac5dc4bb236ef4a458d89d422c3ef97dc92bfdd25207b6ee/ddtrace-4.13.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp315-cp315-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5f/e9/cea46653fa6b72179a7152a7f6a5d8d5531c2d85f0143443ead960b88562/ddtrace-4.13.0-cp315-cp315-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp315-cp315-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5f/a2/535d0265df84a25b0340148a2731a0c6bdec92191e13a5da2b92ffc4961d/ddtrace-4.13.0-cp315-cp315-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6f/59/982891de03e0c4d84b467b714308cebce91a72fe96402545dcb59edcd1ab/ddtrace-4.13.0-cp39-cp39-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/56/8a/6ed6ead746c63b6c2bc5b655b7b6fdd4552282e8f7510cd6a263ccc20eb9/ddtrace-4.13.0-cp39-cp39-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/54/7d/2ae21337c2829bc3096f44a3f9ed37ea3cd20273da0b2f743b33e1c53e7a/ddtrace-4.13.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/87/bc/ad5c41171827f98cfd29a178e374254ce0b6380a054607820ca85a2d19f0/ddtrace-4.13.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6c/4e/25507c53fea4361f759b2dea42d91264d0c3edd3c8f9d1604e3d35d099bb/ddtrace-4.13.0-cp39-cp39-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/77/a2/0bbafce43cf7080d26eb67947119864bacaa1d003359565a5059ad835ce0/ddtrace-4.13.0-cp39-cp39-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d4/c4/1f4ed9962fc6810dffff6193b1ff238f275bec155c34d21ebb60597246b8/ddtrace-4.13.0-cp39-cp39-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f2/fe/5142aa7050111265cfefe3bf32c171467dec42c47696aea7d140f24bc324/ddtrace-4.13.0-cp39-cp39-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/1f/e2/ba86ee967e91da871065e89f97327c86fa341a3d41b3b95ef8d108437ae2/ddtrace-4.13.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.16.0.json b/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.16.0.json new file mode 100644 index 0000000..1921190 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.16.0.json @@ -0,0 +1,326 @@ +{ + "info": { + "name": "ddtrace", + "version": "4.16.0" + }, + "urls": [ + { + "filename": "ddtrace-4.16.0-cp310-cp310-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6d/af/859a2d709008db2c95842aaab04f0d242a9b338cf8279f655b0f5946c9df/ddtrace-4.16.0-cp310-cp310-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/47/34/dbf04396c438a3294650cf3e61704b829a73d923dc302f8208b72df28dfa/ddtrace-4.16.0-cp310-cp310-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b6/ab/d9fea5aad11e309354e8075825c34903502aa6954eae22accaafe56da5a0/ddtrace-4.16.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a3/87/99c53cfc15839366ef2b3031f8555959c6b916f122cd8da993c00af7fc3b/ddtrace-4.16.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2e/85/f96fb653944d59e80a36d0416d15e3c211026f2d551f26e2d98cb36b6b56/ddtrace-4.16.0-cp310-cp310-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/82/e3/8f224eef54c70b9a13a60bf65553bf519c868b74cb25ed79491eccfeee1c/ddtrace-4.16.0-cp310-cp310-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b4/96/20396a027875149e1c3a857d8c2ee8f98c7105a6be5afcfa1458bd6cfee7/ddtrace-4.16.0-cp310-cp310-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/21/11/73fecff7346f65eb2dec16ffe93fb86524763e76110b99331957cafaaa36/ddtrace-4.16.0-cp310-cp310-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/15/9c/6ad4fa58574a1f6d259825601411c69cd24b8da39c2b28d58b51e50aa506/ddtrace-4.16.0-cp311-cp311-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c3/fa/2154793c9ed5996fb265e4fa38320524b0f148c8c5fddd56fefcf663be88/ddtrace-4.16.0-cp311-cp311-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8f/d3/f840030535bb9447b8fb319ee4cd5634883736169c98c69e5a511ecfd6cf/ddtrace-4.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e6/46/3cab71fe8b4bf658c3d2a63cf8736898753cc20cce94f34bbf816e678fed/ddtrace-4.16.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/39/7f/38ed709d12b9f8bec7050514dff028988452670facc98b94ee334c3aeb17/ddtrace-4.16.0-cp311-cp311-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/32/a1/bb4d705bf356a286b404ae20f2753bc437f2d7650a625bd052ef81529423/ddtrace-4.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/16/64/0f9c096a5eaafc69d25742cec2d6bda159d5cb73ca9e5fc3efe5a2eb48d6/ddtrace-4.16.0-cp311-cp311-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/20/c8/42bb6935726b8309412cb72d07cc41e898b947b3d2090a7c300994f054e2/ddtrace-4.16.0-cp311-cp311-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2b/7a/a9c498c38efc79ce44630ab95a5399f189b8a3993a6353b91eed50f56504/ddtrace-4.16.0-cp311-cp311-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/38/4f/54c44e697391206815c26decaa592d5c8a38ee31849d4c259ba6af16d31d/ddtrace-4.16.0-cp312-cp312-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/4f/55/79ff2cf99e90a378885f74e945ea05005b39b038a4357cd58724b8689452/ddtrace-4.16.0-cp312-cp312-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/20/5b/c9a1d3cdd6ec3f570ebabee829dd574358206b35c6d5da0b8301ecdbe642/ddtrace-4.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/05/23/be8549e6725af08312be3576658df36196e88c533e88d6cab3ed1d98e2f4/ddtrace-4.16.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/32/ea/ee87fceeb80a20d0036e339250070b9d68b554d164e1db923f8e5f31f3fa/ddtrace-4.16.0-cp312-cp312-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c3/73/61f2740fd57be1ff3e0afc4cf552dc9f34db80ea128fbc57b0f28b6188fc/ddtrace-4.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b5/34/e2b25a17bb77a91ae61ee60f8bd0faf6f16649d472ada6563b2e9fcf2d55/ddtrace-4.16.0-cp312-cp312-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5b/f0/4f12d4df4737e9ae16fd8186d8da9779ab3d9f3934b4b2b44ecc6f39b57a/ddtrace-4.16.0-cp312-cp312-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/df/63/616b1adfd0c4cab3eeb1063dbe4fc3124a3e049b93e9b93685ff3171c291/ddtrace-4.16.0-cp312-cp312-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/26/fd/058e4e580e2f6e9de25eafc12404055c9f9c3ff9203964464171d930a2e1/ddtrace-4.16.0-cp313-cp313-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2b/26/f2c3e1e87e98db84853c3cf7280ed6d6d1b922a81a8c995a9d821ee21b1a/ddtrace-4.16.0-cp313-cp313-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d6/34/292bd4ccbb51288e089231506eb7ceee0ae327d106f1aa466f879b598ab2/ddtrace-4.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/9a/4b/5530df839cc700e7fccbfa7429a9fec76705dd735caab0b834ca1686ad7d/ddtrace-4.16.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6c/7a/e54b0c3da6244ce888d1d87bd1adbaab7f49c86e77ae2d2cb4727a14969d/ddtrace-4.16.0-cp313-cp313-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d1/26/d25c6a1eff27776848e5ee3ba7cca6c9b6965be83d9f75cf3d7e20f7245f/ddtrace-4.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/45/b3/61454bb645ad418d11f7187c7c2769c52010efa7383a37983385dc16d005/ddtrace-4.16.0-cp313-cp313-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ec/f5/5a2392ce8af95e6c89c3debda12b1a26ed81b72d1ffcedbb5d6ba4a7d402/ddtrace-4.16.0-cp313-cp313-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/51/23/5daabcd7d771ba1131a35f4c2fa04cf8d341f0be89d449c2f5b229683701/ddtrace-4.16.0-cp313-cp313-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/09/5c/4bd6b3282c52b5fc9f4ae33e998b8e9e653fe8311d4f8d51d8160000ca41/ddtrace-4.16.0-cp314-cp314-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/80/83/f4073cb674def93f23f3ab7f383abd36133b0d96616516d352a92b59d9ee/ddtrace-4.16.0-cp314-cp314-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/44/75/58f50f23e2fbc639a23d25bc6de84a1229b13a25db37561c0ab5237b61b5/ddtrace-4.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/37/b8/b743235cf00d666419e4bd3d65ff22fd7cb1bb8b808c79ac9f4464d560f6/ddtrace-4.16.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/15/a9/6c79d8e31bd7b7b40b8251722828cd832a63c71bf2290d8df4eddb5560f0/ddtrace-4.16.0-cp314-cp314-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a5/db/bc503bdfc22c889a4960f1ddd8f8343d518ac8a2f0af88106000d56b9bfb/ddtrace-4.16.0-cp314-cp314-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fb/c5/702cc9997d5432c728bb06138dceda7b26b6cf95bf234e0dc58dc68e3455/ddtrace-4.16.0-cp314-cp314-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/de/b9/e29320922c7c6b1b4b066d7a1ac113360a5465e7d7f08724c9f03a1ab1e8/ddtrace-4.16.0-cp314-cp314-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8e/c1/89a7cfb639d9020779eb375b029767e2fb4a4186f9ab70f98c883203d113/ddtrace-4.16.0-cp314-cp314-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b0/f1/196bdfb536ac45c39f6b9ce5ac65a62669842cd9dd5db9943f1ccc3bf31e/ddtrace-4.16.0-cp39-cp39-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5b/2e/0d08d53e8220d0dc55fa981cb8110e8b14f6e44ddbb55139d66f3e95d528/ddtrace-4.16.0-cp39-cp39-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/cf/c4/932e51929a2c0dd211e2c678afc5c660f0a934434741f28b670bdbe5fc28/ddtrace-4.16.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/88/e3/19b0b379ed83749b7809d1f62ca8f1fe2909897ee1d14710e23b8d9a1d96/ddtrace-4.16.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/43/81/f60df6f1d30ddc5f042e156e4ca6a68aea533c0ea01730e9238fac3784e4/ddtrace-4.16.0-cp39-cp39-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f6/46/413d2cb9cba2e55e9663534ca5914faf0a8add5f8c70b43c81b142255c34/ddtrace-4.16.0-cp39-cp39-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bb/c4/7a6de609554776e5517959cca79b190872200a66ae7e34d72dff544fe725/ddtrace-4.16.0-cp39-cp39-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/66/3e/656a1eb99b56bf88d9c86f93dc9f1663483d11eda24e4bd249c351e3b254/ddtrace-4.16.0-cp39-cp39-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/90/24/051f7ba7b9f7312d7aa2243e1d27924e1bdd5e9780f536c8604151c2144a/ddtrace-4.16.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.16.1.json b/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.16.1.json new file mode 100644 index 0000000..7787987 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-4.16.1.json @@ -0,0 +1,326 @@ +{ + "info": { + "name": "ddtrace", + "version": "4.16.1" + }, + "urls": [ + { + "filename": "ddtrace-4.16.1-cp310-cp310-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ac/0a/ccaa73a0d201d570b3b4a3e9ef8ff1617056d552dbd3d4f81292ee7af717/ddtrace-4.16.1-cp310-cp310-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3e/0d/5ec7beb53dc3c8a16b87d5fca7b957f06bb5182b56df527357a9a95d92f9/ddtrace-4.16.1-cp310-cp310-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/54/3a/5b51e6dd912d9462dba925bfd8a57e73c4549ca4d4737bc8b8d927c3913c/ddtrace-4.16.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/12/16/caa1a70844fe295bfbe37bddbf8cadb72271e01bd4743d035f00a7f0e8e0/ddtrace-4.16.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/31/f7/b55165b9f78baa8234dc5947db528e619a96caa07f9bd3fc1a0c147e61b6/ddtrace-4.16.1-cp310-cp310-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/55/9d/8674bc36abd5852d12c4d20ec315c6c3b32a304336d58ecb6cbb4bb75a65/ddtrace-4.16.1-cp310-cp310-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/73/f3/26b1d52b8c2d5b2d95e2b6be2d9d2ec867ec5d604be5f120704febe09190/ddtrace-4.16.1-cp310-cp310-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ea/18/c74be1204d9e1476cd30c5d76f8cd21051a482e425e749c8f43e228689a6/ddtrace-4.16.1-cp310-cp310-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/09/ef/a92f0444b7bafa437e5156c4b6539e2891b9ca78f7190ef4b6a162d1f129/ddtrace-4.16.1-cp311-cp311-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/de/54/81a38bbf9252ead0afcf7bd13c181543f9ad96717e065a704928390f5eeb/ddtrace-4.16.1-cp311-cp311-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/68/66/1565f0f684c2b29fc12d188b1a5c6aa269d495cfdd1dd75848f42a720005/ddtrace-4.16.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b2/cf/546b9b42e71f30b850341e192eddd28108e766b51f7412cf337ab98b46c9/ddtrace-4.16.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b3/15/06f9ffa06b5a82179a64904dea135f25b187fb9ff81a18e7377a5f5e415e/ddtrace-4.16.1-cp311-cp311-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/03/e8/bc0c12fd478877db6f5e2002f3dff5db2d4394ff886a18806a2a87b10570/ddtrace-4.16.1-cp311-cp311-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a3/67/fbff60d427bafc97b922e1f58385df0d34ad16ac30d49c02f072a1701f91/ddtrace-4.16.1-cp311-cp311-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bc/e3/86b1bb12ed9e61821f28418aa42708f701ccf7c9cd473aa2215cee5e9ae5/ddtrace-4.16.1-cp311-cp311-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bd/4f/41f74fcc6dc5b85bf73d261b573fb0a11eed926cca59020ca9b7eedcc71a/ddtrace-4.16.1-cp311-cp311-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/91/03/463bf5793a3c625c68ab366353f688c3a6547f30fd209886ce459b181214/ddtrace-4.16.1-cp312-cp312-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3b/ab/b5835bed09e67d64d9dd79f605a1c25839e0ba5d8d37db4b0c53e8fe2c55/ddtrace-4.16.1-cp312-cp312-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/67/ce/a70bb52554bdebb3cade06b056ff4d8b078ebf6c3fc164f44d0b8813ce1b/ddtrace-4.16.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/af/21/e3460f7caedbb294ead8ae106c1bcc359f295aa4706c182376141882aa76/ddtrace-4.16.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/27/26/a7c68531e7895f710345117acaaea311feabaaf229caadf38c5f387370b3/ddtrace-4.16.1-cp312-cp312-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/51/8b/2c326af09bf849f35acd14aa7f71a7e40324deba498465446c98bfa1594d/ddtrace-4.16.1-cp312-cp312-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/39/6d/fc4b805df9df810e55a8a31ee02d43e3a040557852c8dc7143d1ac85070e/ddtrace-4.16.1-cp312-cp312-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/59/a4/bea4c1c0aa6f8cb4e3169eb772ecd551811f47959b7e0c9d21be444b4780/ddtrace-4.16.1-cp312-cp312-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5b/61/fe2c743439e469b683c9d9b0df01821bd730de1343e905f6359fb4b15d17/ddtrace-4.16.1-cp312-cp312-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b5/73/b76ab9bf4db68413b0084afb3ea856bd7e18d5886afd2db6dbbba6715a05/ddtrace-4.16.1-cp313-cp313-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/26/63/3342c979dd7bf750ce3f068f9e47ff2a71c0faa06743a50adf595a022c9f/ddtrace-4.16.1-cp313-cp313-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/70/eb/fd8030298aa6594cf3b2df8a109c629288ccf37af043e67aa84cd9ae9c0f/ddtrace-4.16.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ce/82/0c4e402db544139e409835aa7da97033dec9c29f1d8caefa4cbb17beddc0/ddtrace-4.16.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/00/09/c93a784e8148774291dd96a816fcd7a96339ef2ae457770e22b0d6fc7736/ddtrace-4.16.1-cp313-cp313-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3a/bc/df43c0389bf6d00580f6b8833bef7ba8b9aa06ea680141b1b640df3803b5/ddtrace-4.16.1-cp313-cp313-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/7c/d1/7123b57f953cc2acac1171e4da7d63f25a3bf498fec65f2534ec7fc26a95/ddtrace-4.16.1-cp313-cp313-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/94/24/384e5a247e46909e0492b06f5bfee6e1467f3a05e1d44160fd83796cb129/ddtrace-4.16.1-cp313-cp313-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/81/55/12315c9ed80b7b271d329e9412905d15d310bb1bc832d0ec4287c4fe8561/ddtrace-4.16.1-cp313-cp313-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/42/a2/ab8ab815b420257b5d9666ba728024562101f544b6cbe26d3f5ea2ea50ba/ddtrace-4.16.1-cp314-cp314-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/72/cb/ecf147222d4c46b1d7e6b593fcb5a10caced96d36e515fb95a6a891db52e/ddtrace-4.16.1-cp314-cp314-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/24/1c/81d611eebea0123cb75e6a6efb7bbde4ee587eaa604a51b1cad9afc0e68f/ddtrace-4.16.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1a/f6/0d065ad83371721b2f800f3ac5bb7418261ff0f67e25d2f7bebcd6e7febd/ddtrace-4.16.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f7/9b/c89b88820e2fc5986aba930e863132245c16fb7e7f5174c07a8fd1279a39/ddtrace-4.16.1-cp314-cp314-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ee/db/370cf1d959e216c7228339aea7f49e1ef2840da43eb9605118d635a22cce/ddtrace-4.16.1-cp314-cp314-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/46/b8/b2b9fb29f23e1e3c1c6df59fac3970c196305ff84857a2029b7f0059d0d7/ddtrace-4.16.1-cp314-cp314-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bb/af/167fd4b8c1164f429e392d136a6acd29805a6176b61b5124c9c2ba0c4f79/ddtrace-4.16.1-cp314-cp314-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/53/46/e56db833bb5c005348bc052afac40c3d955529fac0f91e363a8105dcba58/ddtrace-4.16.1-cp314-cp314-win_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d7/6f/789fdd44201640680670ffbd8507ab6435a2a5634c9daa2cc506702715d7/ddtrace-4.16.1-cp39-cp39-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8e/66/7bd3abfc2501fc6f054263fc422e2f4f616a24c28f034f2113d7528d9ae5/ddtrace-4.16.1-cp39-cp39-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fc/1b/f4699a9a00a7a6dde3d2ca0a3168b9642f3dcbe36bc559f6e63a294d01b8/ddtrace-4.16.1-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d9/5b/7c3115625da1e74888077529b1755092d3520297f9586ebefb6c813b6e02/ddtrace-4.16.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/01/c8/616f061cb26d296e6fc8b747085d0a0c0b88aab162be222e4383fa16363e/ddtrace-4.16.1-cp39-cp39-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/be/88/6147b21e0891404bbd065a4fddff81ba94596a42f9656ceb93450d03827e/ddtrace-4.16.1-cp39-cp39-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/61/7f/6642c11151b7b7d931512187fbae1f0fce7cebb3555f4e784f97031ad0b9/ddtrace-4.16.1-cp39-cp39-win32.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fe/0f/d9e34b5106fe550b26b3ad48571112c2c34728f99c83a032f77d32714b06/ddtrace-4.16.1-cp39-cp39-win_amd64.whl", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/38/08/c5363b533fe2b21f59c31b155e79f9014ac10c24b085a7cdee8da05d79d6/ddtrace-4.16.1.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-excerpt.json b/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-excerpt.json new file mode 100644 index 0000000..b484da1 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/ddtrace/pypi-ddtrace-excerpt.json @@ -0,0 +1,1335 @@ +{ + "info": { + "name": "ddtrace" + }, + "releases": { + "4.12.3": [ + { + "filename": "ddtrace-4.12.3-cp310-cp310-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:01:42.674000Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:01:49.214976Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:01:51.121363Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:01:53.018402Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:01:55.081355Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:01:57.666409Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:01:59.888382Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:01.667725Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:03.573311Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:05.397088Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:07.392964Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:09.777271Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:12.482552Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:14.779823Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:17.010774Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:19.370825Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:21.374955Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:23.402361Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:25.580505Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:27.817982Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:30.381024Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:33.053574Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:35.875239Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:38.535209Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:40.802172Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:43.259917Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:45.733239Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:48.191282Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:51.245207Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:53.942418Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:56.981732Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:02:59.939038Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:02.749957Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:05.455640Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:08.796549Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:12.576484Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:15.246505Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:18.000234Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:20.981365Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:24.182683Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:27.164807Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:30.226148Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:33.013773Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:35.773227Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:38.710427Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:41.567317Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp315-cp315-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:44.523538Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp315-cp315-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:47.737201Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:50.953887Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:53.948322Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:03:57.617386Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:04:01.101209Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:04:04.485749Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:04:08.004668Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:04:11.516331Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T19:04:14.609420Z", + "yanked": false + }, + { + "filename": "ddtrace-4.12.3.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-08-13T19:04:17.850962Z", + "yanked": false + } + ], + "4.13.0": [ + { + "filename": "ddtrace-4.13.0-cp310-cp310-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:16.323901Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:21.531986Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:23.313235Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:25.645010Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:27.697418Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:29.948584Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:32.443882Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:34.283915Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:36.315858Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:38.037429Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:40.195137Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:42.598606Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:44.991421Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:47.677959Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:50.103694Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:52.091982Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:54.428216Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:57.031422Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:03:59.047899Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:01.501391Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:04.220046Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:06.935855Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:09.627260Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:12.281337Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:14.709291Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:17.477173Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:19.848061Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:22.232638Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:24.641292Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:27.468512Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:30.377840Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:33.552769Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:36.523585Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:39.055314Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:41.815055Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:44.289279Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:47.172852Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:49.857970Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:52.978409Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:56.162539Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:04:59.473176Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:03.205437Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:06.770116Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:09.597377Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:12.384940Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:15.688717Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp315-cp315-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:18.768305Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp315-cp315-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:21.998591Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:25.422088Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:28.579239Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:31.709735Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:35.276975Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:38.881404Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:42.344056Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:45.907830Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-11T16:05:49.430450Z", + "yanked": false + }, + { + "filename": "ddtrace-4.13.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-08-11T16:05:52.662029Z", + "yanked": false + } + ], + "4.16.0": [ + { + "filename": "ddtrace-4.16.0-cp310-cp310-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:21:46.513889Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:21:48.383933Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:21:50.451569Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:21:52.320234Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:21:54.435511Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:21:56.702176Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:21:58.767338Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:00.393139Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:03.965163Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:05.692027Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:07.737216Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:09.872834Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:12.127065Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:14.377599Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:16.746482Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:18.661024Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:20.753379Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:23.223580Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:25.707057Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:28.208905Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:30.726427Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:33.308235Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:35.736736Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:38.474254Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:40.864863Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:43.475495Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:45.811154Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:48.286335Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:51.344099Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:54.336669Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:22:57.107741Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:00.441940Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:03.459558Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:05.978223Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:08.651518Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:11.727984Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:14.469446Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:17.568484Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:21.369905Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:25.237314Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:28.635848Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:32.051278Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:35.045156Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:38.122608Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:41.783842Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:45.500134Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:49.386282Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:52.824031Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:56.395978Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:23:59.942690Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:24:03.591519Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-16T09:24:06.806439Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-10-16T09:24:10.133379Z", + "yanked": false + } + ], + "4.16.1": [ + { + "filename": "ddtrace-4.16.1-cp310-cp310-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:11:58.454691Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:02.723695Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:04.486488Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:06.472108Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:08.634730Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:10.988398Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:12.734978Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:14.191639Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:15.735685Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:17.199963Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:19.081073Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:20.919949Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:22.793396Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:24.496070Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:26.778387Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:28.924672Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:30.498651Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:32.036093Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:34.178712Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:36.741940Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:38.473643Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:40.387148Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:42.160022Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:44.078678Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:45.374352Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:46.979699Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:48.412967Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:49.747610Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:51.869323Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:53.796613Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:56.220877Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:58.156837Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:12:59.945971Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:01.309624Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:02.926515Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:04.316640Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:05.727077Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:07.342550Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:09.115180Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:11.243140Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:13.092117Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:15.121937Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:16.896115Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:18.325616Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:20.430467Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:22.433354Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:24.181740Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:25.901549Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:27.632433Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:29.573800Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:31.774078Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-28T05:13:33.262589Z", + "yanked": false + }, + { + "filename": "ddtrace-4.16.1.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-10-28T05:13:34.524133Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/elasticsearch/elasticsearch-9.1.1-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/elasticsearch/elasticsearch-9.1.1-py3-none-any.trimmed.whl new file mode 100644 index 0000000..054fdfc Binary files /dev/null and b/plugins/apisurface/testdata/pypi/elasticsearch/elasticsearch-9.1.1-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/elasticsearch/elasticsearch-9.1.2-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/elasticsearch/elasticsearch-9.1.2-py3-none-any.trimmed.whl new file mode 100644 index 0000000..2b68b57 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/elasticsearch/elasticsearch-9.1.2-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/elasticsearch/elasticsearch-9.1.3-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/elasticsearch/elasticsearch-9.1.3-py3-none-any.trimmed.whl new file mode 100644 index 0000000..4732748 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/elasticsearch/elasticsearch-9.1.3-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-9.1.1.json b/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-9.1.1.json new file mode 100644 index 0000000..72b3496 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-9.1.1.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "elasticsearch", + "version": "9.1.1" + }, + "urls": [ + { + "filename": "elasticsearch-9.1.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/cf/4c/c0c95d3d881732a5d1b28e12c9be4dea5953ade71810f94565bd5bd2101a/elasticsearch-9.1.1-py3-none-any.whl", + "yanked": false + }, + { + "filename": "elasticsearch-9.1.1.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/59/6a/5eecef6f1ac8005b04714405cb65971d46031bd897e47c29af86e0f87353/elasticsearch-9.1.1.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-9.1.2.json b/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-9.1.2.json new file mode 100644 index 0000000..a254fa3 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-9.1.2.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "elasticsearch", + "version": "9.1.2" + }, + "urls": [ + { + "filename": "elasticsearch-9.1.2-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/89/95/ee3bcf867cdbaba15a0118d6ca0b9b4477892ff3b92e7d6135cc42b262af/elasticsearch-9.1.2-py3-none-any.whl", + "yanked": false + }, + { + "filename": "elasticsearch-9.1.2.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/4e/21/950f5eb9e5bf7661121ae027525554d59d61f7d3f8d4b84eebe7aa9e9fba/elasticsearch-9.1.2.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-9.1.3.json b/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-9.1.3.json new file mode 100644 index 0000000..81e8fe0 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-9.1.3.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "elasticsearch", + "version": "9.1.3" + }, + "urls": [ + { + "filename": "elasticsearch-9.1.3-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bf/10/cab92a57625aeb2d787e3f5e3a698948bc5b34c151422afacff1f0f1c691/elasticsearch-9.1.3-py3-none-any.whl", + "yanked": false + }, + { + "filename": "elasticsearch-9.1.3.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/4c/b9/9ccc849d2732401e761ef70a63a1786e100cfb704b041174cfcaef11dbd8/elasticsearch-9.1.3.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-excerpt.json b/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-excerpt.json new file mode 100644 index 0000000..7cc11b1 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/elasticsearch/pypi-elasticsearch-excerpt.json @@ -0,0 +1,49 @@ +{ + "info": { + "name": "elasticsearch" + }, + "releases": { + "9.1.1": [ + { + "filename": "elasticsearch-9.1.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-09-12T13:27:34.948311Z", + "yanked": false + }, + { + "filename": "elasticsearch-9.1.1.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2025-09-12T13:27:38.620286Z", + "yanked": false + } + ], + "9.1.2": [ + { + "filename": "elasticsearch-9.1.2-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-10-28T16:49:41.468783Z", + "yanked": false + }, + { + "filename": "elasticsearch-9.1.2.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2025-10-28T16:49:45.739685Z", + "yanked": false + } + ], + "9.1.3": [ + { + "filename": "elasticsearch-9.1.3-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-05T12:50:05.326983Z", + "yanked": false + }, + { + "filename": "elasticsearch-9.1.3.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-01-05T12:50:08.241432Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/google-genai/google_genai-0.8.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/google-genai/google_genai-0.8.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..c8609fa Binary files /dev/null and b/plugins/apisurface/testdata/pypi/google-genai/google_genai-0.8.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/google-genai/google_genai-1.0.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/google-genai/google_genai-1.0.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..a81f59a Binary files /dev/null and b/plugins/apisurface/testdata/pypi/google-genai/google_genai-1.0.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/google-genai/google_genai-3.3.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/google-genai/google_genai-3.3.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..e623e7e Binary files /dev/null and b/plugins/apisurface/testdata/pypi/google-genai/google_genai-3.3.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/google-genai/google_genai-3.4.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/google-genai/google_genai-3.4.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..8038e6c Binary files /dev/null and b/plugins/apisurface/testdata/pypi/google-genai/google_genai-3.4.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-0.8.0.json b/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-0.8.0.json new file mode 100644 index 0000000..7bb101d --- /dev/null +++ b/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-0.8.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "google-genai", + "version": "0.8.0" + }, + "urls": [ + { + "filename": "google_genai-0.8.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/74/6d/c5b1757ffe28fdfb38df3fda79c614ec840ebac0b72a3fcbe2ed969e254d/google_genai-0.8.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "google_genai-0.8.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/d2/ef/d5a57aa9360f31b3a3b726fa4d0cc8b2ea14e3a6a0c482cca74a28ab5392/google_genai-0.8.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-1.0.0.json b/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-1.0.0.json new file mode 100644 index 0000000..5d8ccc9 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-1.0.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "google-genai", + "version": "1.0.0" + }, + "urls": [ + { + "filename": "google_genai-1.0.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/24/9d/63dbd2b6c630f44cbbf09c4e04b4c9012da01f6e585d34ae53d07931bb67/google_genai-1.0.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "google_genai-1.0.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/2f/c3/fba38ba11a9b97b0a6ca6d46ec0dcd3c7bdf3ecf83eec6e6117ac25106c7/google_genai-1.0.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-3.3.0.json b/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-3.3.0.json new file mode 100644 index 0000000..ff7d562 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-3.3.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "google-genai", + "version": "3.3.0" + }, + "urls": [ + { + "filename": "google_genai-3.3.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ae/e4/619de4d0f985cfafc7a420339796279716aba5c6cac362ab4f97b856279f/google_genai-3.3.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "google_genai-3.3.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/3c/8f/f1d323f57e2eedf3900beb46f428d0fe219e93d42344a8d94fcfe6ec809b/google_genai-3.3.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-3.4.0.json b/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-3.4.0.json new file mode 100644 index 0000000..effc58b --- /dev/null +++ b/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-3.4.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "google-genai", + "version": "3.4.0" + }, + "urls": [ + { + "filename": "google_genai-3.4.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2b/7a/daed011805af7b3ef07c18d4ea8e9534891c7dfeeac438b0d22361f65e0a/google_genai-3.4.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "google_genai-3.4.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/c5/db/1b80f0357e67a226e53560e42b5e5b5534f1b134adb96c5c8476764d8226/google_genai-3.4.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-excerpt.json b/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-excerpt.json new file mode 100644 index 0000000..3d9a478 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/google-genai/pypi-google-genai-excerpt.json @@ -0,0 +1,63 @@ +{ + "info": { + "name": "google-genai" + }, + "releases": { + "0.8.0": [ + { + "filename": "google_genai-0.8.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-01-30T23:25:26.272578Z", + "yanked": false + }, + { + "filename": "google_genai-0.8.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2025-01-30T23:25:28.291157Z", + "yanked": false + } + ], + "1.0.0": [ + { + "filename": "google_genai-1.0.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-02-05T15:09:19.498658Z", + "yanked": false + }, + { + "filename": "google_genai-1.0.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2025-02-05T15:09:20.899221Z", + "yanked": false + } + ], + "3.3.0": [ + { + "filename": "google_genai-3.3.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-11-12T19:56:59.174240Z", + "yanked": false + }, + { + "filename": "google_genai-3.3.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-11-12T19:57:01.020137Z", + "yanked": false + } + ], + "3.4.0": [ + { + "filename": "google_genai-3.4.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-11-16T21:45:11.203522Z", + "yanked": false + }, + { + "filename": "google_genai-3.4.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-11-16T21:45:13.063902Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/numpy/numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.trimmed.whl b/plugins/apisurface/testdata/pypi/numpy/numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.trimmed.whl new file mode 100644 index 0000000..efcb5b1 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/numpy/numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/numpy/numpy-2.5.0-cp312-cp312-macosx_10_13_x86_64.trimmed.whl b/plugins/apisurface/testdata/pypi/numpy/numpy-2.5.0-cp312-cp312-macosx_10_13_x86_64.trimmed.whl new file mode 100644 index 0000000..a60fb50 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/numpy/numpy-2.5.0-cp312-cp312-macosx_10_13_x86_64.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/numpy/numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.trimmed.whl b/plugins/apisurface/testdata/pypi/numpy/numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.trimmed.whl new file mode 100644 index 0000000..5143aec Binary files /dev/null and b/plugins/apisurface/testdata/pypi/numpy/numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-2.4.6.json b/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-2.4.6.json new file mode 100644 index 0000000..cd78b93 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-2.4.6.json @@ -0,0 +1,440 @@ +{ + "info": { + "name": "numpy", + "version": "2.4.6" + }, + "urls": [ + { + "filename": "numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b3/49/ec46835a70be8fa6446c495126ac84fdb28cb2558e1620ffb87a10c8b64c/numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0e/0d/f5957185c0ee2f3e12f78715aa9e3b353fd83633316c8532b38faa37e3f6/numpy-2.4.6-cp311-cp311-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ad/40/40a40ee0ddf7ceb782c49af278894b686e586d65d8c1889c8b5da01a3d7d/numpy-2.4.6-cp311-cp311-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/63/13/f9a8046535cb21deae82f8d03de9617e08882d274fad2539630761888228/numpy-2.4.6-cp311-cp311-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/33/a8/6fa8c1a345a8c85dbb21932c447bee07c30a2c2a3f31e369c0a84b300147/numpy-2.4.6-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/02/03/74fe2a4cb3817d94d86402f2506554130a2f01414e299b5a843e5a8a957f/numpy-2.4.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c5/80/3615be3313f7e7696609bc194b9f0101da809df79e859bdb84e0cd043f46/numpy-2.4.6-cp311-cp311-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ca/ac/a691e0fe2675e370d0e08ff905adc49a1c8830e8cae03efe4477e92cd55d/numpy-2.4.6-cp311-cp311-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/15/a7/9bc1cd626d7bf6869bfedf27b91b6ab5dd607758bf8e959d6fa80c6a59cb/numpy-2.4.6-cp311-cp311-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c5/31/7fc6239c12bce7e931463251cca4426c465e1876ba3cc785402ef4dd8f4e/numpy-2.4.6-cp311-cp311-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/27/83/140f85a466595a16382996a1bf06b2b54bcd597488921b0c9daaeeda72af/numpy-2.4.6-cp311-cp311-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/95/2a/3d7b5ac8aac24feaf9ad7ed58f45b0bbc06d37e4338ae84c9f2298b570f9/numpy-2.4.6-cp312-cp312-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ea/12/92c4c131527599e8288d6918e888d88726f84d805d784b771f32408aeaef/numpy-2.4.6-cp312-cp312-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ad/fe/c0a6b7b2ca128a8fb228575147073b660656734b8ebe4d76c8fd748dcc79/numpy-2.4.6-cp312-cp312-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f3/d4/9770d14ba719432bb90a421bfd443872ed0f70f7264b64bec12ea363d5fd/numpy-2.4.6-cp312-cp312-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c9/c6/50a46a6205feba2343f1d6d17438107c5dc491ed1c736e6ea68689fd906b/numpy-2.4.6-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/99/60/14115e6364fa676c5397c2ad3004e527e9aa487abf5d0706ec81bbd08529/numpy-2.4.6-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ae/c5/693cbe59e57db94d2231fa519ca3978dc9e19da5a8f088588f5c6e947ff2/numpy-2.4.6-cp312-cp312-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ef/fc/85b7c4eff9b4966ade25c2273cf7e7012e92366c032058653934b37de044/numpy-2.4.6-cp312-cp312-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f6/81/e1b27545deedce7f4a0b348618c6b62d74e36a4dc9ccd42f3eb2f85eee32/numpy-2.4.6-cp312-cp312-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ab/ca/feab00bd44aa5fe1ad2c18f08b4d3bb92e26484b0b1d1443897809ed528c/numpy-2.4.6-cp312-cp312-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/63/cf/5a6d34850a39d1093558564f77ee8e8e0bee5061151b8f05a55711001ec7/numpy-2.4.6-cp312-cp312-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fb/82/bdab26d7438c6791ca31b7c024ca37c1eab8b726ba236129005cd4a06e45/numpy-2.4.6-cp313-cp313-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1b/30/a80189bcc7f5e4258b3fbc3968d909d1756f54d023299ecc39ad6fdb9ef8/numpy-2.4.6-cp313-cp313-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/97/12/70b5d0d7c15e1ebb8a6a84a8caa1d19e181d84fb58bb6d70aca29099dec1/numpy-2.4.6-cp313-cp313-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ba/8c/ebd2a8f8a83541f8d38cc5667e8c2b69cecfd30da6e45693e8158857d44b/numpy-2.4.6-cp313-cp313-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bb/c5/7b863a97a91671a0338f4253bd3b5a3d3852f0692dae91711c9f4a10e787/numpy-2.4.6-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a5/9d/3584b9984ca4c047aea75214ce1a4c4c73d849bd71b604264b7f5653f8a8/numpy-2.4.6-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/05/ae/7c67fba23bd98caec7c99261f3a16072ade14813486b0282cb29846de832/numpy-2.4.6-cp313-cp313-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d9/5d/3b6725cb31d983c5e66916f5d36f6d7e5521129e4c4404d64f918292a5b6/numpy-2.4.6-cp313-cp313-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/63/6d/cc5619247c8f4204e507f5883528372e4ac4bb189e579fb859a12e480b1f/numpy-2.4.6-cp313-cp313t-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/00/58/f1c39161c87d9e9bed660f1ed4bafc0e403d5ec9650b6dd77aead07d489b/numpy-2.4.6-cp313-cp313t-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/af/57/3917ab0fd97f271a8694513581b8a36c655f111c446852c302f04ccdb6fc/numpy-2.4.6-cp313-cp313t-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/eb/0f/037e64c494b67581ae18193d770adef354c41f3f2c8ebf865602d949bf8f/numpy-2.4.6-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/21/a6/5d2bae9c9542eb4df16dc9c46dc79c186e9bad53805dfa5399a6023c6db0/numpy-2.4.6-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/92/14/23d1dfb410ae362cd59ce53e936b1513d545eb40db3949ced632e19a459e/numpy-2.4.6-cp313-cp313t-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/4b/6e/23595a2c642cdf3bc567877064bdd7f91c8b0038a4453cf2daf7248eafe9/numpy-2.4.6-cp313-cp313t-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8a/90/0ac3bc947217e66dec77e7cbc6a1979d1af70b6461b82f620d3bccd5e4c8/numpy-2.4.6-cp313-cp313t-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/77/71/5673e351671a1d2bd6063b91b44f70c0affea7d1516fa7a6572941ba4aa1/numpy-2.4.6-cp313-cp313t-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3f/88/19d3503c5046e688f049274b27a3ef3d771152fa80d3ba3d01a3dff61abe/numpy-2.4.6-cp313-cp313t-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f7/da/2ccc6c2fe8898dee01d90c75c5f5f914a23daf99e3e0f59516a08760c8b5/numpy-2.4.6-cp313-cp313-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b5/cd/9cc4dc876fb065d5c220aae4d5e14826b2715331bb7618ce1fb07a679d99/numpy-2.4.6-cp313-cp313-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/39/1e/c0bcba1f8694116485fe28fd1be698c278fcda4141c5b0e53a2aed8b12a8/numpy-2.4.6-cp313-cp313-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f8/91/3ab2044d05fd16d343c5ac2e69b127f1b2854040dd20b193257c78028bd3/numpy-2.4.6-cp314-cp314-macosx_10_15_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8e/62/764ce66fa4147ae6d73071a3abf804ffe606f174618697c571acdf26a7c9/numpy-2.4.6-cp314-cp314-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/60/61/23f27c172f022e04025b7dc2367f4d63c1a398120607ec896228649a6f48/numpy-2.4.6-cp314-cp314-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/03/71/21cf70dc6ea3e3acb95fc53a265b2fc248b981f0194ceb5b475271b8809d/numpy-2.4.6-cp314-cp314-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d5/91/64288395ee1799bd2e0b04a305dce9666da90c961e1f3fe982a05ee1c036/numpy-2.4.6-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f3/eb/ebffaa97dc55502df69584a8f0dcf07f69a3e0b3e2323670a2722db9aa39/numpy-2.4.6-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b8/0b/54f9da33128d7e350fab89c7455902eeae70349ee52bddb448dc4a576f45/numpy-2.4.6-cp314-cp314-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b6/f0/fdebc1052db1cc37c64beb22072d67cd6d1c71adca1299f53dec2b5e20d3/numpy-2.4.6-cp314-cp314-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/30/34/ec28d1aa8115971537c01469ab2011ee96827930f0a124de1000cc2a7ed7/numpy-2.4.6-cp314-cp314t-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/16/bd/f6d1fede4e54e8042a7ff97bb495510f3c220f94bcd9e8b228e87c92cc0d/numpy-2.4.6-cp314-cp314t-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f4/f0/e105b9e2fd728a9910103884decd6951d9dd73896b914a98d9a231de02ee/numpy-2.4.6-cp314-cp314t-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/82/dd/1206a7ca6ab15e3f02069707ca96222e202af681bb73756da7527f3cb837/numpy-2.4.6-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/51/e7/38d3ea825dcab85a591734decb2f6c67caa7c8367d374df1a1c3842f9b07/numpy-2.4.6-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/93/b7/caabfdf53edf663e0b4eb74d7d405d83baef09eb5e83bcd32d601d72b93e/numpy-2.4.6-cp314-cp314t-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f9/45/68d7c33a6bcf3e5aa3bdbd57a367e6f615286dfd6482f97e8ffeb734306e/numpy-2.4.6-cp314-cp314t-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/9c/50/0753655aa844c99cd9e018aacf76f130f1bd81d881bb74bc0aef5d73a8ba/numpy-2.4.6-cp314-cp314t-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b2/d4/7c67becf668f973cb490cec3e98dfd799d866f9c989a54d355672cfa0db6/numpy-2.4.6-cp314-cp314t-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/43/bb/e1c71a4295b1b1d1393d50dbb4f2a36283c6859d9d3892e84f00ec5a91d5/numpy-2.4.6-cp314-cp314t-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/aa/b4/298628d98c72b57e57f7165ae6a481a1deaf6f3c28262a6e4c739c275930/numpy-2.4.6-cp314-cp314-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/df/ac/46de6dda46478f7942f839e094970be2d4a861e005c4b3bf07c92e291a09/numpy-2.4.6-cp314-cp314-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/78/92/b8b798ac784102c0da830d2257d59358e3d3d90d1e2b3f2575dad976c5cf/numpy-2.4.6-cp314-cp314-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/de/12/b422cc84439adc0d00de605bf4a308890ae5c26f2c71fbd73e5d08fbb0dd/numpy-2.4.6-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/44/53/f481bef68011740f8849418d82db07230e825013f31f4eef5ba5b805316a/numpy-2.4.6-pp311-pypy311_pp73-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/7f/57/42ed575c10ced8af951d426bc4e1f8aff16fd851db33f067036215a7f860/numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6a/ef/f66cc724fcc36c1e364c67f51ae9146090b8b584f27d58b97fdae3edd737/numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1a/9c/c531f2293b91265d8b48e9b329f54fdd7ffae73cb4134ea10cca4237e9cc/numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1a/b0/413077f6b1153ed3cba361401c6783bbad6114804a000cc22eb71c13e190/numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/15/ce/e5ec180bc41812edcd8daeb8639d205622c0e8c02259d8ab25a0201b3c2a/numpy-2.4.6-pp311-pypy311_pp73-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.4.6.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/d0/ad/fed0499ce6a338d2a03ebae59cd15093910c8875328855781952abf6c2fe/numpy-2.4.6.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-2.5.0.json b/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-2.5.0.json new file mode 100644 index 0000000..dfd325b --- /dev/null +++ b/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-2.5.0.json @@ -0,0 +1,272 @@ +{ + "info": { + "name": "numpy", + "version": "2.5.0" + }, + "urls": [ + { + "filename": "numpy-2.5.0-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fa/0a/11486d02add7b1384dff7374d124b1cfbb0ee864dcc9f6a2c0380638cf84/numpy-2.5.0-cp312-cp312-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/55/b2/285f48640a181947b4587a3766d21ec1eaa7fea833d4b49957e09da467a2/numpy-2.5.0-cp312-cp312-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/dd/67/b032db1eb03ca30d16eda3b0c22aaa615338b9263c2fd559d0f29451aca4/numpy-2.5.0-cp312-cp312-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b9/83/03fc7300c7c6b6c84c487b1dc80d322817b95fbd1f4dd57a85e23b7198de/numpy-2.5.0-cp312-cp312-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/82/49/2ec21730bc63ccfda829323f7040a8ed4715b3852ce658689cf74ee96a8c/numpy-2.5.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bb/6b/f4a3d0637692c49da8ef99d72d52526f92e0a8d6ac4f0ca9f31441b9d9ea/numpy-2.5.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3a/2f/c354ec86d1f3f5c19649463b0d39652e160736e5b0a4cd18dff0576715c4/numpy-2.5.0-cp312-cp312-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/06/34/43efdcb319988648580f93c11f1ae82cf7e2faa74925e98e454ae3aa95f8/numpy-2.5.0-cp312-cp312-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/71/e2/f5d1676b1d7fb682eb5e9a1641e7ebd2414b3216c370661d1029778908b4/numpy-2.5.0-cp312-cp312-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8f/7c/48f115d1c58a34032facebcd51fdf2d02df2c51d4a46a81dd1197bb2ea6b/numpy-2.5.0-cp312-cp312-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/86/26/2e0882f4044d1b1a1b63e875151fb2393389032022a8b7f5657a7996d3b2/numpy-2.5.0-cp312-cp312-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8a/33/07675aaad7f26ea013d5e884d9a0d784b79c6bd7566c333f5a52fa3c610b/numpy-2.5.0-cp313-cp313-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/85/4b/953118a730ee3b35e28645e0eb4cf9beec5bdbb954e1ac2f5fcefba6bbc3/numpy-2.5.0-cp313-cp313-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/44/9b/56dd530c367c74ae17411027cea4135ca57e1e0583bf5594cee18bd83217/numpy-2.5.0-cp313-cp313-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ce/b0/bcd672edad27ecca7da1f7bb0ce72cd1706a4f2d79ae94990afc97c13e1c/numpy-2.5.0-cp313-cp313-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/80/9e/15cdfcbd30a1544a46c9e487a00df331c4672450216538705a9e51fa6710/numpy-2.5.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/32/4e/8d7656ccaab3e81e97258b8a9bc5f0c8502513a92fb4ceb0a2cbfebc17bf/numpy-2.5.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3c/81/97060281b602ed07f21b12f4ec409eac1f75a2f91fbc829ed8b2becf3ad4/numpy-2.5.0-cp313-cp313-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/33/ab/4496208146911f8d8ddb54f68a972aafa6c8d44babcb2ea03b0e5cc87c9d/numpy-2.5.0-cp313-cp313-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d4/9f/a4df67c181e4ee8b467aa3332dc2db10fd5c515136831302f3ca48bc0a01/numpy-2.5.0-cp313-cp313-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/30/53/491e1c47c55b62ccc6a63c1c5b8635c73fc2258dddeb9bda27cae4a0ae96/numpy-2.5.0-cp313-cp313-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/eb/4a/25c2906f541e9d9f4c5769764db732e6627be91a13f4724fa10634d77db4/numpy-2.5.0-cp313-cp313-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/86/ad/abc44aaceaf7b17ee1edde2bbb4458da591bc79574cffff50c4bb35f00d1/numpy-2.5.0-cp314-cp314-macosx_10_15_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5d/39/b72e168daf9c00fb20c9fc996d00437ccecdef3102387775d29d7a62576d/numpy-2.5.0-cp314-cp314-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f7/a0/8400a9c0e3625182347593f5e1f57da9a617a534794805c8df5518154ddc/numpy-2.5.0-cp314-cp314-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f6/8c/0d104deaa0401c93395a629ec902891618a2eff76d19229139cb5a887bfc/numpy-2.5.0-cp314-cp314-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6a/d9/4a4a628c812750363786afc3d33492709a5cd64b215469c16b0f6c7bb811/numpy-2.5.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a0/5e/2a902317d7fc4aa93236e80c932662dadfc459b323d758329e01775125e1/numpy-2.5.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e9/a0/a0090e6329f4ca5992c07847bb579c5259a19953dc57255bb08793142ffb/numpy-2.5.0-cp314-cp314-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5e/7d/6caf27734c42b65837e7461ed0dbbd6b6fc835060c9714ec59d673bb383a/numpy-2.5.0-cp314-cp314-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/86/6b/4a2b71d66ada5608ae02b63f150dfad520f6940721cb7f029ad270befc0e/numpy-2.5.0-cp314-cp314t-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/dc/b2/d365eb40a20efb49d67e9feb90494ed8511282ee1f5fa16006675c65397d/numpy-2.5.0-cp314-cp314t-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fa/5e/e9c03188de5f9b767e46a8fe988bcfd3efad066a4a3fda8b9cb11a93f895/numpy-2.5.0-cp314-cp314t-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fd/1d/68c186a38a5027bae2c4ddd5ea681fdaf8b4d30fb7301def6d8ad270390f/numpy-2.5.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8c/67/73f67b7c7e20635baae9c4c3ead4ae7326a005900297a6110971abd62eb5/numpy-2.5.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/eb/05/d4c1fb0c46d02a27d6b2b8b319a78c90937acec8631c1641874670b31e6f/numpy-2.5.0-cp314-cp314t-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/9e/1d/771c797d50fa26e4888989cccf1d50ee51f530d4e455ad2692dcb64fa711/numpy-2.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e8/46/52fc0d2a68d7643f0f149eeea5a5d8ea2a3507056ac8afa83c9212606e8b/numpy-2.5.0-cp314-cp314t-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2a/be/6c8d1118b5f13b2881dc095d5b345de19c6638b8959c17409b6eff84c8aa/numpy-2.5.0-cp314-cp314t-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fd/6a/d3a169aaf8536cf228d56a09e04bcb713a2fe4410d4e2105b9419b5a9c89/numpy-2.5.0-cp314-cp314t-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/13/dc/26edadbd812536769a82c2e9e002234e33feb5da43061d47a044f6d309b7/numpy-2.5.0-cp314-cp314-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f2/9e/4dd1459282229a72d92dece2ae9138e5cac94a72263a7ceb48f37434c925/numpy-2.5.0-cp314-cp314-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/05/a7/6bc6384c080b86c7f6c85c5bc5b540b24f4f679cd144791d99574e90d462/numpy-2.5.0-cp314-cp314-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/e7/05/3d27272d30698dc0ecb7fdfaa41ad70303b444f81722bb99bce1d818638a/numpy-2.5.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-2.5.1.json b/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-2.5.1.json new file mode 100644 index 0000000..3af8645 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-2.5.1.json @@ -0,0 +1,272 @@ +{ + "info": { + "name": "numpy", + "version": "2.5.1" + }, + "urls": [ + { + "filename": "numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/62/7b/14687aa674250e5e546f616f486b0d56d3631cd5b2415739141ce40bdcea/numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e1/19/cc5bb2a3f2913d27d6dbb2c78d25921fabaedc6741d4a5a615a11f3c5bf3/numpy-2.5.1-cp312-cp312-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/42/77/fdf34a71dd30f54979b18603bee915e0aaf825b07afe79acd60b04b691e2/numpy-2.5.1-cp312-cp312-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ce/e2/eb7efa015b4cce41e2517bf182a7fce0d7d5b9d9ed76a29bfa0f4fe4505c/numpy-2.5.1-cp312-cp312-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a9/4b/a2b32dd94ee9ffbeecb28152240042a3949db33b1c834d44090b80e1b3b8/numpy-2.5.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b8/a9/6e73d68500f80773f65f0654ea932019d6694329a0eb0ed0533de38df376/numpy-2.5.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/24/7d/ad3e59015135f5261c95fd4cafeff159c955febd83a99a1d9250c4233815/numpy-2.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/83/d0/a39b2fbcde9cb17a1dac678f254b33a6336298af9df338824c685425d5e8/numpy-2.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/04/12/cff070947791c1ed425ff76413189adbdc2fbe215eba7ce7fa454a03c7f8/numpy-2.5.1-cp312-cp312-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/65/66/53f31807a48a750f9d748da273bc3fcedd12b27ff1f3e373bfec55ef2dc0/numpy-2.5.1-cp312-cp312-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2b/2a/d1a88066b1c14186f5d3c0d18c94f17b064511982bab0578d49ee9d43c29/numpy-2.5.1-cp312-cp312-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/eb/07/ec2a3f0c91761581d4b7104a740791800025983f9a4dc4e73f91a99aeac4/numpy-2.5.1-cp313-cp313-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ab/ab/ddb499fc4f8780354395face5b65c7fd107bcd6e1d667a5f07d046956f6f/numpy-2.5.1-cp313-cp313-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/88/b3/3c28c558a09fc72100c646dac6d2fce8e834c471b0edca01a29996706117/numpy-2.5.1-cp313-cp313-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5e/0e/ce19b985bb15c596f4f05954e76cccc77c845083b3b8f938a6c68e523128/numpy-2.5.1-cp313-cp313-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2e/20/1ee6614d64332a1bba6411f38e68cb79eec1b2459e20a623777c5c5492a2/numpy-2.5.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ed/a7/2bcd3fdbb87804755c35b729bf8709d62025c5f4cfd7d5b2415997097515/numpy-2.5.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fc/d7/a41e3310c886fe457d36e670bbf24fae411aca8a7b6ad92a32afd924077c/numpy-2.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/53/75/4333a9a707c1edd3a4e1a0c58eca52c0f31e55089fa80db02b5565b24df7/numpy-2.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ee/90/e314a32b1c11a2ffe818ddad3a57b50b4b6e1b6c487192eb50cdef0415d0/numpy-2.5.1-cp313-cp313-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/10/70/800b3fca480af32df9e8ea9f3d4a0c8feb4b32d7f195d174eabbda4829ad/numpy-2.5.1-cp313-cp313-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8b/0b/196350c122f50f6ca56846f2d71efd5e0d24b7b2e07355e019b2e2c7a11e/numpy-2.5.1-cp313-cp313-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/db/f4/731b6085a83faf6ca843394cbd5e217280c214399f7e8b21b9f552af0ae2/numpy-2.5.1-cp314-cp314-macosx_10_15_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bf/64/0e215f2048dd11a55bb989ed41b3585ef57452404e638d703a211a3e4157/numpy-2.5.1-cp314-cp314-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b5/59/2b844c7a6e9deff69b404a66221e1542937734f65d5e6e39411876053862/numpy-2.5.1-cp314-cp314-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/86/51/9bf7cb2cabcebc9e017e4ec7e6322b378317a542c08b4cb68479c1efc716/numpy-2.5.1-cp314-cp314-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/83/3e/fb7615b211b82a32f44d5180a6d421b61f84d4fadd578b48ba4ac34e189f/numpy-2.5.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/41/5f/0f992cb24560673496c5d68de61913b57166ce530ffda07c1f280e0cc464/numpy-2.5.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a2/2f/97d6475ee91afe2587797d09446f9d3e475ad4cb681662d824809327b75a/numpy-2.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c4/5b/4db81e4ba0be7e2776b1de68c82aa862c7f8ec27e1b4927d4ae075e20678/numpy-2.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a6/c7/bb4b882cfe7f299cbc8b66e42e7dd78cf9d14e40f9469fc5e3db7e15b3bd/numpy-2.5.1-cp314-cp314t-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/40/3f/5af7f4a7f6224aef48017aa82bb6174c7a659d724be0c75017b7e64a55b4/numpy-2.5.1-cp314-cp314t-macosx_14_0_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/20/c9/3474309bc94d634d3f9c3eddf03250ecb8c22cd948ef16fef69a77cc5d7b/numpy-2.5.1-cp314-cp314t-macosx_14_0_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/90/8a/558ae39fdd55d7e7f7fef9a84a6e964ac6b23edbd2a07e52bb084500507d/numpy-2.5.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/63/27/ca7392b2d030277bdf0273e7d23255b3ee57d57a7c170a6f4fb3981e1e5d/numpy-2.5.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/02/42/03d53ae7996c44d4374a8262e9dc41671fd56cbb98f7d47ef85cf5da4c6b/numpy-2.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/7b/15/6c1784ae469640e65db111e9a34b3d0f14d91e8a38b9ce34810ced370dbb/numpy-2.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/94/a8/f98e50356cf167df656c526c2dfeec2d7dde182f2a3da4b458a5938e2776/numpy-2.5.1-cp314-cp314t-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/72/ac/96ae880cdecad0b3275d9359fcec72667b49a4863c9f12942e43679dda02/numpy-2.5.1-cp314-cp314t-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a1/5a/4d2b1601df3602dba7a14f3348ba9bfe94a18adb428e693df6154c293831/numpy-2.5.1-cp314-cp314t-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1f/64/c0ba2d90724d450279a7df8f32057241070250a26a7e2b5337d77347f481/numpy-2.5.1-cp314-cp314-win32.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c1/1a/837f9ed7405adcd7a40538792eb169eddd8fa5630c16a1ef49dae71a30f4/numpy-2.5.1-cp314-cp314-win_amd64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/22/ed/49707938b6dd0a78a9178dd93227dc89e4c11af47f5c798d70366e8d0483/numpy-2.5.1-cp314-cp314-win_arm64.whl", + "yanked": false + }, + { + "filename": "numpy-2.5.1.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-excerpt.json b/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-excerpt.json new file mode 100644 index 0000000..bc2a598 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/numpy/pypi-numpy-excerpt.json @@ -0,0 +1,973 @@ +{ + "info": { + "name": "numpy" + }, + "releases": { + "2.4.6": [ + { + "filename": "numpy-2.4.6-cp311-cp311-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:13.503322Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:17.795046Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:20.654003Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:22.987746Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:26.620531Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:29.955928Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:34.724547Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:38.217285Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:41.331922Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:44.131802Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:50.725281Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:54.065074Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:33:57.621567Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:00.302502Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:02.852919Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:05.485939Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:09.265355Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:13.053777Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:17.024190Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:20.300957Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:23.095920Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:25.876665Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:29.410217Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:33.013467Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:36.132599Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:38.484555Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:41.257853Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:45.075155Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:49.065012Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:52.709051Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:05.468210Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:08.693038Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:11.459033Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:14.790426Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:18.836475Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:22.520032Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:26.398686Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:29.387434Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:32.175108Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313t-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:35.465365Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:55.618070Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:34:58.928358Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:02.167977Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:38.353351Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:42.140257Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:45.377634Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:47.926365Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:50.863074Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:54.752683Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:35:58.355706Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:02.845963Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:16.473678Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:19.767450Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:22.266227Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:25.713356Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:29.652739Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:33.449330Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:37.369975Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:40.817567Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:43.996246Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:47.114476Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:05.920955Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:09.107376Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:12.766289Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:50.673446Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:53.879889Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:57.194282Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:36:59.575982Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:37:02.674994Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:37:06.327613Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6-pp311-pypy311_pp73-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-18T23:37:09.715812Z", + "yanked": false + }, + { + "filename": "numpy-2.4.6.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-05-18T23:37:14.070174Z", + "yanked": false + } + ], + "2.5.0": [ + { + "filename": "numpy-2.5.0-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:16.657410Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:19.813151Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:22.173812Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:23.914139Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:25.631691Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:28.009641Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:30.260509Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:32.410752Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:34.657453Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:36.240074Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:38.733438Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:40.799299Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:43.094970Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:45.503509Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:47.567245Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:49.352065Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:51.542183Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:55.401649Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:56:57.750207Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:00.016739Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:01.815440Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:03.961417Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:06.253771Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:08.547112Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:11.012554Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:12.919623Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:14.717741Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:16.906054Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:19.165283Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:21.638552Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:30.104290Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:32.193724Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:33.933545Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:35.677375Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:38.159122Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:40.447179Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:42.875472Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:45.101575Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:46.935734Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:49.313351Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:23.844076Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:25.945155Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-21T20:57:28.175999Z", + "yanked": false + }, + { + "filename": "numpy-2.5.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-06-21T20:57:51.950384Z", + "yanked": false + } + ], + "2.5.1": [ + { + "filename": "numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:12.423099Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:15.726377Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:17.913325Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:20.020849Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:21.621674Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:24.064248Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:26.690334Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:29.521168Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:32.571101Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:34.926817Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:37.785775Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:40.370578Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:42.768291Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:45.466864Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:47.288955Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:49.494850Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:52.061614Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:54.605021Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:06:57.540930Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:00.140504Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:02.387954Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:04.878713Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:07.374865Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:09.907544Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:12.227015Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:14.368374Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:16.272325Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:19.021186Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:22.015328Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:24.941334Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:34.941201Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-macosx_14_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:37.495942Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-macosx_14_0_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:39.563367Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:41.682168Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:44.611711Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-musllinux_1_2_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:47.694556Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-musllinux_1_2_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:50.684168Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:53.445951Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:55.384791Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:58.506781Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:27.622239Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:29.887234Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-04T17:07:32.568543Z", + "yanked": false + }, + { + "filename": "numpy-2.5.1.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-07-04T17:08:00.933002Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/pymongo/pymongo-4.15.4-cp310-cp310-macosx_10_9_x86_64.trimmed.whl b/plugins/apisurface/testdata/pypi/pymongo/pymongo-4.15.4-cp310-cp310-macosx_10_9_x86_64.trimmed.whl new file mode 100644 index 0000000..4a4439a Binary files /dev/null and b/plugins/apisurface/testdata/pypi/pymongo/pymongo-4.15.4-cp310-cp310-macosx_10_9_x86_64.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/pymongo/pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.trimmed.whl b/plugins/apisurface/testdata/pypi/pymongo/pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.trimmed.whl new file mode 100644 index 0000000..ec1552b Binary files /dev/null and b/plugins/apisurface/testdata/pypi/pymongo/pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/pymongo/pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.trimmed.whl b/plugins/apisurface/testdata/pypi/pymongo/pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.trimmed.whl new file mode 100644 index 0000000..0fd018f Binary files /dev/null and b/plugins/apisurface/testdata/pypi/pymongo/pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-4.15.4.json b/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-4.15.4.json new file mode 100644 index 0000000..04f177f --- /dev/null +++ b/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-4.15.4.json @@ -0,0 +1,434 @@ +{ + "info": { + "name": "pymongo", + "version": "4.15.4" + }, + "urls": [ + { + "filename": "pymongo-4.15.4-cp310-cp310-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5c/9e/5d6bd240a8d32e088078b37dcfa1579028c51d91168c0e992827ec1e87e6/pymongo-4.15.4-cp310-cp310-macosx_10_9_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1f/aa/1d707a836c436af60faa2db6f2706f9e74b5056d0bd77deb243c023b5e7b/pymongo-4.15.4-cp310-cp310-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e8/17/8c50a695a7029d582da50875085465f01bf83e5146fb7dc3f671168aedb7/pymongo-4.15.4-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3e/e8/5449663ec341fb83c3e4d51011f65b61de8427620679510cca57386c9446/pymongo-4.15.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2f/ff/98768d4294f271175aedbad209d748ac769a3f35bee35f8c82b57b03ea4a/pymongo-4.15.4-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/18/91/57b4a08b81686e0148a93ecd0149d747a31be82aafa0708143d642662893/pymongo-4.15.4-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ff/17/52434425cde25e6d0743a6d8af8a8b88ffbd05cce595993facf09a5d0559/pymongo-4.15.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/9d/7f/d5c975dcbfd339f3cd3eae2055fe6d96fb546508e1954fe263c0304e0317/pymongo-4.15.4-cp310-cp310-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b2/1f/78b2d3d7b35284c5da80342ce2b7e4087901ff8fb030eccaa654b5d3d061/pymongo-4.15.4-cp310-cp310-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/30/d2/95505fb5a699180a215553f622702464bc47000e5e782cc846098dcdfc37/pymongo-4.15.4-cp310-cp310-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/71/a4/b1a724352ab47a8925f30931a6aa6f905dcf473d8404156ef608ec325fbd/pymongo-4.15.4-cp311-cp311-macosx_10_9_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/09/d4/6f4db5b64b0b71f0cbe608a80aea8b2580b5e1db4da1f9a70ae5531e9f1d/pymongo-4.15.4-cp311-cp311-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0f/44/9d96fa635b838348109f904f558aa6675fdfb0a9265060050d7a92afbf97/pymongo-4.15.4-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/9f/e6/eac0b3ca4ea1cd437983f1409cb6260e606cce11ea3cb6f5ccd8629fa5c2/pymongo-4.15.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/73/7e/b7adba0c8dfc2dced7632c61425a70048bddf953b07bf6232a4ea7f0fb7e/pymongo-4.15.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/20/8b/cdc129f1bee5595018c52ff81baaec818301e705ee39cf00d9d5f68a3d0d/pymongo-4.15.4-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1f/02/e706a63f00542531a4c723258ae3da3439925de02215710a18813fbe1db4/pymongo-4.15.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/37/36/6b78b105e8e1174ebda592ad31f02cb98ee9bd8bb2eeb621f54e2c714d03/pymongo-4.15.4-cp311-cp311-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a5/0d/3d009eed6ae045ee4f62877878070a07405af5e368d60a4a35efd177c25b/pymongo-4.15.4-cp311-cp311-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d5/40/d5713b1d5e0b10402446632bab6a88918cd13e5fe1fa26beac177eb37dac/pymongo-4.15.4-cp311-cp311-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/75/bb/09176c965d994352efd1407c9139799218f3fe1d18382dff34ef64e0bd22/pymongo-4.15.4-cp312-cp312-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/94/97/d212bd8d9106acecf6948cc0a0ed640f58d8afaed427481b9e79db08f45c/pymongo-4.15.4-cp312-cp312-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ff/81/7be727d6172fd80d8dd1c6fedb78675936396d2f2067fab270e443e04621/pymongo-4.15.4-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/42/5a/91bf00e9d30d18b3e8ef3fa222964ba1e073d82c5f38dae027e63d36bcfd/pymongo-4.15.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ff/08/b7d8e765efa64cddf1844e8b889454542c765f8d119c87a4904f45addc07/pymongo-4.15.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/35/b0/40ec073ccc2cf95e8743315e6c92a81f37698d2e618c83ec7d9c3b647bd0/pymongo-4.15.4-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/82/da/b1a27064404d5081f5391c3c81e4a6904acccb4766598e3aa14399d36feb/pymongo-4.15.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e7/8c/bee6159b4e434dc0413b399af2bd3795ef7427b2c2fe1b304df250c0a3d8/pymongo-4.15.4-cp312-cp312-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/cf/cb/cb70455fe2eadf4f6ccd27fe215e342b242e8b53780aeafb96cd1c3bf506/pymongo-4.15.4-cp312-cp312-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/41/81/20486a697474b7de25faee91d9c478eb410ae78cb4e50b15000184944a48/pymongo-4.15.4-cp312-cp312-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/51/10/09551492e484f7055194d91c071c827fc65261156e4daced35e67e97b893/pymongo-4.15.4-cp313-cp313-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/aa/6e/8f153a6d7eaec9b334975000e16bfd11ec4050e8729d3e2ee67d7022f526/pymongo-4.15.4-cp313-cp313-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/7c/7d/037498c1354fae1ce2fc7738c981a7447a5fee021c22e76083540cc1f9d6/pymongo-4.15.4-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ef/96/7c6b14956ef2ab99600d93b43429387394df6a99f5293cd0371c59a77a02/pymongo-4.15.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2a/16/0e0495b38dd64efbfd6f2eb47535895c8df4a78e384aee78190fe2ecfa84/pymongo-4.15.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/7d/c0/692545232a17d5772d15c7e50d54415bdd9b88018e2228607c96766af961/pymongo-4.15.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6f/9f/aae8eb4650d9a62f26baca4f4da2a0f5cd1aabcd4229dabc43cd71e09ea2/pymongo-4.15.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b1/cd/50f49788caa317c7b00ccf0869805cb2b3046c2510f960cb07e8d3a74f73/pymongo-4.15.4-cp313-cp313-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/10/ad/6e96ccb3b7ab8be2e22b1c50b98aed0cae19253174bca6807fc8fd1ce34c/pymongo-4.15.4-cp313-cp313-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/22/23/9b9255e432df4bc276ecb9bb6e81c3376d8ee2b19de02d3751bb5c4a6fb1/pymongo-4.15.4-cp313-cp313-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/9f/e6/f315ea84656adcd18d5b5e8b362b47c36bf606843098688cc0809b28c8a8/pymongo-4.15.4-cp314-cp314-macosx_10_15_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bb/0c/0c364db72cd80a503829885643478dd144a8bf05e1e853c89648a06ad34b/pymongo-4.15.4-cp314-cp314-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/50/71/6f37eea22ffa5b136c1ca0a21ba390c273b582d800bc979961fbd46c9bcc/pymongo-4.15.4-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/24/09/3a538cb82766ce89559c4ca0d5694f782485080db6a8f628784dc7debba8/pymongo-4.15.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/51/6b/66b4fe2d3c566ed655d95b1d8947dfea05642b05a285a3081d6cebc4f5da/pymongo-4.15.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/92/2b/3989960c7de983c5cc05b2d43b26fa560fe9de433ee60b83259d6ee2cde3/pymongo-4.15.4-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/31/93/ee9f8a42eed6ecb8dda52e586a470bf88007a298b0f1a2c4ea1ff352af8e/pymongo-4.15.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/12/e7/10f3bc034fcec374dc46462b369205527478199a803169cb10e9e4b48c68/pymongo-4.15.4-cp314-cp314t-macosx_10_15_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/40/ee/b59cad7d46598d48708bd2a6559ea8b9cbb6fb9665d617b5a52b58de81b3/pymongo-4.15.4-cp314-cp314t-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0a/84/58efbde2b52a577f9162bb9b97605b6669354bb171bc241a0dc2639536d7/pymongo-4.15.4-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f8/cd/7bd739d04b67c99f00c942465b8ab7659dc2c1ad80108b5f4f74eecdf9f3/pymongo-4.15.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/4a/39/5a3b01f7e5fd464656421246516723c02067e85bbfb52d30da7d79b8336f/pymongo-4.15.4-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c7/a8/b06231d5ea48d0fcc47bf6c2cebfd8dbea3eda1a1d7bf786443cb9ef5b94/pymongo-4.15.4-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d0/a3/c0ea0da1185d3be4e73923ab3b74f14f424b40f787c710690c83004f147a/pymongo-4.15.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c8/f7/29ce41f9e55b1dd912bed39b76e9326e23ff6c097c4a8de88b2c5bcd54e5/pymongo-4.15.4-cp314-cp314t-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/01/71/3fade727cc4c7ac77fe19c4e3a6bbfb66d7f46796108ba106f236c64492f/pymongo-4.15.4-cp314-cp314t-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/60/0f/d450350f103db4bb856cb1ee60c8b1fa68d5ac50c846896d74deba3e9950/pymongo-4.15.4-cp314-cp314t-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a0/36/c6609f632bcaffcdf9f7e67cb888402a1df049a7c3ff2f56067a0b451a59/pymongo-4.15.4-cp314-cp314-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f0/23/4ec0f7c9bf3397b6cafaf714f5bfe0a9944e7af088daa01d258eec031118/pymongo-4.15.4-cp314-cp314-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2b/71/3813d15fa5ce6fb5fb40775bedc95a1970790f5aba968d92b014a796aab6/pymongo-4.15.4-cp314-cp314-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c9/b2/46dfa25378aab96f30b9e897479a35da21bb28f27f22a76c8a3b79631d56/pymongo-4.15.4-cp39-cp39-macosx_10_9_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/cd/aa/688ab885da63c27a3f71d390357602de216ad25436a52e737f9bfd9a7698/pymongo-4.15.4-cp39-cp39-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ba/22/9f2827057e1e4c49fce155fa4de9354d543ddb87ceb8cdad5b4cc5f7d279/pymongo-4.15.4-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5a/f2/7e69601da55807df590a169354a7b02988ed62d995cb8bd8dc729348d9ad/pymongo-4.15.4-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/52/8a/a501f170384045ae9f207ed415e5a48a3cd761f8f43bfca8b9e58bfbea0b/pymongo-4.15.4-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8d/95/dc5739ccdb448273e1b2648e3d366ce039e9d5c888d927f96b2a93ff7e61/pymongo-4.15.4-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/99/46/09d18fa54688bf1acf1f1e79e3505dc441401b7c02f277d7e66fc63c1416/pymongo-4.15.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f5/ce/a8cf7230ec976d8b8cfee045af8b57ac1297cde899258656639be3f02783/pymongo-4.15.4-cp39-cp39-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/37/01/35247521724307981671464a278087d094817e36852fb5f2e391ce2c6f83/pymongo-4.15.4-cp39-cp39-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/89/1d/d99ab20d2c2fc64fff40885692c4ae81c90e082afda159ba12f9e0dfb939/pymongo-4.15.4-cp39-cp39-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.4.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/74/81/6d66e62a5d1c5323dca79e9fb34ac8211df76f6c16625f9499a37b796314/pymongo-4.15.4.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-4.15.5.json b/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-4.15.5.json new file mode 100644 index 0000000..cfb4b57 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-4.15.5.json @@ -0,0 +1,434 @@ +{ + "info": { + "name": "pymongo", + "version": "4.15.5" + }, + "urls": [ + { + "filename": "pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/33/e4/d80061be4e53125597dd2916171c87986043b190e50c1834fff455e71d42/pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fb/b3/c499fe0814e4d3a84fa3ff5df5133bf847529d8b5a051e6108b5a25b75c7/pymongo-4.15.5-cp310-cp310-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/62/71/8e21a8a680546b3a90afbb878a16fe2a7cb0f7d9652aa675c172e57856a1/pymongo-4.15.5-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/03/56/bdc292a7b01aa2aba806883dbcacc3be837d65425453aa2bc27954ba5a55/pymongo-4.15.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8b/e2/12bebc7e93a81c2f804ffcc94997f61f0e2cd2c11bf0f01da8e0e1425e5c/pymongo-4.15.5-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0d/ac/c48f6f59a660ec44052ee448dea1c71da85cfaa4a0c17c726d4ee2db7716/pymongo-4.15.5-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/89/cc/6368befca7a2f3b51460755a373f78b72003aeee95e8e138cbd479c307f4/pymongo-4.15.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/9d/97/bc810a017ebb20e6e301fa8c5b21c5e53691fdde2cfd39bd9c450e957b14/pymongo-4.15.5-cp310-cp310-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/46/17/3be0b476a6bfb3a51bf1750323b5eddf883dddb6482ccb8dbcab2c6c48ad/pymongo-4.15.5-cp310-cp310-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bf/0a/39f9daf16d695abd58987bb5e2c164b5a64e42b8d53d3c43bc06e4aa7dfc/pymongo-4.15.5-cp310-cp310-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0c/ea/e43387c2ed78a60ad917c45f4d4de4f6992929d63fe15af4c2e624f093a9/pymongo-4.15.5-cp311-cp311-macosx_10_9_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5e/8c/f2c9c55adb9709a4b2244d8d8d9ec05e4abb274e03fe8388b58a34ae08b0/pymongo-4.15.5-cp311-cp311-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5e/aa/bdf3553d7309b0ebc0c6edc23f43829b1758431f2f2f7385d2427b20563b/pymongo-4.15.5-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b3/55/80a8eefc88f578fde56489e5278ba5caa5ee9b6f285959ed2b98b44e2133/pymongo-4.15.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1d/54/6a7ec290c7ab22aab117ab60e7375882ec5af7433eaf077f86e187a3a9e8/pymongo-4.15.5-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/65/8a/5822aa20b274ee8a8821bf0284f131e7fc555b0758c3f2a82c51ae73a3c6/pymongo-4.15.5-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/32/ca/63984e32b4d745a25445c9da1159dfe4568a03375f32bb1a9e009dccb023/pymongo-4.15.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f1/23/0d6988f3fdfcacae2ac8d7b76eb24f80ebee9eb607c53bcebfad75b7fd85/pymongo-4.15.5-cp311-cp311-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8e/04/dedff8a5a9539e5b6128d8d2458b9c0c83ebd38b43389620a0d97223f114/pymongo-4.15.5-cp311-cp311-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/67/e5/fb6f49bceffe183e66831c2eebd2ea14bd65e2816aeaf8e2fc018fd8c344/pymongo-4.15.5-cp311-cp311-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3c/4e/8f9fcb2dc9eab1fb0ed02da31e7f4847831d9c0ef08854a296588b97e8ed/pymongo-4.15.5-cp312-cp312-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d2/b4/c0808bed1f82b3008909b9562615461e59c3b66f8977e502ea87c88b08a4/pymongo-4.15.5-cp312-cp312-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/12/f3/feea83150c6a0cd3b44d5f705b1c74bff298a36f82d665f597bf89d42b3f/pymongo-4.15.5-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d7/4e/15924d33d8d429e4c41666090017c6ac5e7ccc4ce5e435a2df09e45220a8/pymongo-4.15.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a5/49/650ff29dc5f9cf090dfbd6fb248c56d8a10d268b6f46b10fb02fbda3c762/pymongo-4.15.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/7d/18/f34661ade670ee42331543f4aa229569ac7ef45907ecda41b777137b9f40/pymongo-4.15.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/10/b6/378bb26937f6b366754484145826aca2d2361ac05b0bacd45a35876abcef/pymongo-4.15.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/58/79/31b8afba36f794a049633e105e45c30afaa0e1c0bab48332d999e87d4860/pymongo-4.15.5-cp312-cp312-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c8/31/a7e6d8c5657d922872ac75ab1c0a1335bfb533d2b4dad082d5d04089abbb/pymongo-4.15.5-cp312-cp312-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1c/b4/286c12fa955ae0597cd4c763d87c986e7ade681d4b11a81766f62f079c79/pymongo-4.15.5-cp312-cp312-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/9b/92/e70db1a53bc0bb5defe755dee66b5dfbe5e514882183ffb696d6e1d38aa2/pymongo-4.15.5-cp313-cp313-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a4/90/dd78c059a031b942fa36d71796e94a0739ea9fb4251fcd971e9579192611/pymongo-4.15.5-cp313-cp313-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/40/72/87cf1bb75ef296456912eb7c6d51ebe7a36dbbe9bee0b8a9cd02a62a8a6e/pymongo-4.15.5-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8c/68/dfa507c8e5cebee4e305825b436c34f5b9ba34488a224b7e112a03dbc01e/pymongo-4.15.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/85/9d/832578e5ed7f682a09441bbc0881ffd506b843396ef4b34ec53bd38b2fb2/pymongo-4.15.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0a/99/ca8342a0cefd2bb1392187ef8fe01432855e3b5cd1e640495246bcd65542/pymongo-4.15.5-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3f/7d/f4a9c1fceaaf71524ff9ff964cece0315dcc93df4999a49f064564875bff/pymongo-4.15.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d8/15/f942535bcc6e22d3c26c7e730daf296ffe69d8ce474c430ea7e551f8cf33/pymongo-4.15.5-cp313-cp313-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/02/2a/c92a6927d676dd376d1ae05c680139c5cad068b22e5f0c8cb61014448894/pymongo-4.15.5-cp313-cp313-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3a/f0/cdf78e9ed9c26fb36b8d75561ebf3c7fe206ff1c3de2e1b609fccdf3a55b/pymongo-4.15.5-cp313-cp313-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/03/0c/49713e0f8f41110e8b2bcce7c88570b158cf43dd53a0d01d4e1c772c7ede/pymongo-4.15.5-cp314-cp314-macosx_10_15_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/23/de/1df5d7b49647e9e4511054f750c1109cb8e160763b286b96879917170618/pymongo-4.15.5-cp314-cp314-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8b/19/3a051228e5beb0b421d725bb2ab5207a260c718d9b5be5b85cfe963733e3/pymongo-4.15.5-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bf/b3/989531a056c4388ef18245d1a6d6b3ec5c538666b000764286119efbf194/pymongo-4.15.5-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ea/5f/8b3339fec44d0ba6d9388a19340fb1534c85ab6aa9fd8fb9c1af146bb72a/pymongo-4.15.5-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d4/7f/706bf45cf12990b6cb73e6290b048944a51592de7a597052a761eea90b8d/pymongo-4.15.5-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f3/c5/fdcc81c20c67a61ba1073122c9ab42c937dd6f914004747e9ceefa4cead3/pymongo-4.15.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1a/22/1e557868b9b207d7dbf7706412251b28a82d4b958e007b6f2569d59ada3d/pymongo-4.15.5-cp314-cp314t-macosx_10_15_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/aa/9c/2e24c2da289e1d3b9bc4e0850136a364473bddfbe8b19b33d2bb5d30ee0d/pymongo-4.15.5-cp314-cp314t-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c6/be/4c2460c9ec91a891c754b91914ce700cc46009dae40183a85e26793dfae9/pymongo-4.15.5-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a0/48/cea56d04eb6bbd8b8943ff73d7cf26b94f715fccb23cf7ef9a4f853725a0/pymongo-4.15.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d9/ff/6743e351f8e0d5c3f388deb15f0cdbb77d2439eb3fba7ebcdf7878719517/pymongo-4.15.5-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d4/90/fa532b6320b3ba61872110ff6f674bd54b54a592c0c64719e4f46852d0b6/pymongo-4.15.5-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e1/84/1905c269aced043973b9528d94678e62e2eba249e70490c3c32dc70e2501/pymongo-4.15.5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/7e/af/78c13179961e418396ec6ef53c0f1c855f1e9f1176d10909e8345d65366a/pymongo-4.15.5-cp314-cp314t-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b0/d5/49012f03418dce976124da339f3a6afbe6959cb0468ca6302596fe272926/pymongo-4.15.5-cp314-cp314t-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5e/fc/f352a070d8ff6f388ce344c5ddb82348a38e0d1c99346fa6bfdef07134fe/pymongo-4.15.5-cp314-cp314t-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0c/1c/e540ccac0685b234a23574dce3c8e077cd59bcb73ab19bcab1915894d3a6/pymongo-4.15.5-cp314-cp314-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/89/31/eb72c53bc897cb50b57000d71ce9bdcfc9c84ba4c7f6d55348df47b241d8/pymongo-4.15.5-cp314-cp314-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ea/4a/74a7cc350d60953d27b5636906b43b232b501cee07f70f6513ac603097e8/pymongo-4.15.5-cp314-cp314-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a1/2f/e8dde21395fad65470e8f12d61742a0385685464c595c6788cd5b1fa6d78/pymongo-4.15.5-cp39-cp39-macosx_10_9_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/88/52/b6bfd0f8a6eecedf632ecf0d0b15cdd2848e357f96f352969de4c69c929a/pymongo-4.15.5-cp39-cp39-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ca/23/1dbe9afb8959822278cad534278e6e61a04512b726f3ac965c8e86a93638/pymongo-4.15.5-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/85/67/f56f9c67614d4800da4b1e53a457778c002e47166c68c55a9a4820122336/pymongo-4.15.5-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e0/07/476fbbfe215fe7d753ef271a075a701e31cbcb8fbd403037b1c446a5c282/pymongo-4.15.5-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/86/7b/8cf34f954e0aa1d2e071aeb092ae6deb20ee2a6d636a780d0f4b6fbc9bfa/pymongo-4.15.5-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/18/99/e946a209e350cf84581683cf7410c799a56051481490a6ede623077684a3/pymongo-4.15.5-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ab/92/5a6d66b9db0fa6741675d0e22bb87032dcffcd82b22fcd7a42aa192c4971/pymongo-4.15.5-cp39-cp39-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ff/2c/154e6f9f02a2ad9261a53c31a3fe4e3b9e0488b5dc4d29c90bf2eab1e041/pymongo-4.15.5-cp39-cp39-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/14/a5/661d61f37dde7aacf3c15ed2c5e8e057b8a7e88978fb9502bb73d292408c/pymongo-4.15.5-cp39-cp39-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.15.5.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/24/a0/5c324fe6735b2bc189779ff46e981a59d495a74594f45542159125d77256/pymongo-4.15.5.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-4.16.0.json b/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-4.16.0.json new file mode 100644 index 0000000..8311c29 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-4.16.0.json @@ -0,0 +1,434 @@ +{ + "info": { + "name": "pymongo", + "version": "4.16.0" + }, + "urls": [ + { + "filename": "pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/4d/93/c36c0998dd91ad8b5031d2e77a903d5cd705b5ba05ca92bcc8731a2c3a8d/pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f3/96/d2117d792fa9fedb2f6ccf0608db31f851e8382706d7c3c88c6ac92cc958/pymongo-4.16.0-cp310-cp310-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ae/2e/e79b7b86c0dd6323d0985c201583c7921d67b842b502aae3f3327cbe3935/pymongo-4.16.0-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/7b/82/07ec9966381c57d941fddc52637e9c9653e63773be410bd8605f74683084/pymongo-4.16.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/44/15/9d45e3cc6fa428b0a3600b0c1c86b310f28c91251c41493460695ab40b6b/pymongo-4.16.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c8/b3/f35ee51e2a3f05f673ad4f5e803ae1284c42f4413e8d121c4958f1af4eb9/pymongo-4.16.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/18/2d/1688b88d7c0a5c01da8c703dea831419435d9ce67c6ddbb0ac629c9c72d2/pymongo-4.16.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e6/c6/e89db0f23bd20757b627a5d8c73a609ffd6741887b9004ab229208a79764/pymongo-4.16.0-cp310-cp310-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/37/54/e00a5e517153f310a33132375159e42dceb12bee45b51b35aa0df14f1866/pymongo-4.16.0-cp310-cp310-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e5/0a/2572faf89195a944c99c6d756227019c8c5f4b5658ecc261c303645dfe69/pymongo-4.16.0-cp310-cp310-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e6/3a/907414a763c4270b581ad6d960d0c6221b74a70eda216a1fdd8fa82ba89f/pymongo-4.16.0-cp311-cp311-macosx_10_9_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8c/58/787d8225dd65cb2383c447346ea5e200ecfde89962d531111521e3b53018/pymongo-4.16.0-cp311-cp311-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5d/a7/cc2865aae32bc77ade7b35f957a58df52680d7f8506f93c6edbf458e5738/pymongo-4.16.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/81/25/3e96eb7998eec05382174da2fefc58d28613f46bbdf821045539d0ed60ab/pymongo-4.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/86/7b/8e817a7df8c5d565d39dd4ca417a5e0ef46cc5cc19aea9405f403fec6449/pymongo-4.16.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/39/7a/50c4d075ccefcd281cdcfccc5494caa5665b096b85e65a5d6afabb80e09e/pymongo-4.16.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0f/cd/ebdc1aaca5deeaf47310c369ef4083e8550e04e7bf7e3752cfb7d95fcdb8/pymongo-4.16.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3d/c9/50fdd78c37f68ea49d590c027c96919fbccfd98f3a4cb39f84f79970bd37/pymongo-4.16.0-cp311-cp311-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/4a/dd/a3aa1ade0cf9980744db703570afac70a62c85b432c391dea0577f6da7bb/pymongo-4.16.0-cp311-cp311-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/bf/10/9ad82593ccb895e8722e4884bad4c5ce5e8ff6683b740d7823a6c2bcfacf/pymongo-4.16.0-cp311-cp311-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/6a/03/6dd7c53cbde98de469a3e6fb893af896dca644c476beb0f0c6342bcc368b/pymongo-4.16.0-cp312-cp312-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/73/e1/328915f2734ea1f355dc9b0e98505ff670f5fab8be5e951d6ed70971c6aa/pymongo-4.16.0-cp312-cp312-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/41/fe/4769874dd9812a1bc2880a9785e61eba5340da966af888dd430392790ae0/pymongo-4.16.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fa/8d/15707b9669fdc517bbc552ac60da7124dafe7ac1552819b51e97ed4038b4/pymongo-4.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5b/af/3d5d16ff11d447d40c1472da1b366a31c7380d7ea2922a449c7f7f495567/pymongo-4.16.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fb/04/725ab8664eeec73ec125b5a873448d80f5d8cf2750aaaf804cbc538a50a5/pymongo-4.16.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/22/50/dd7e9095e1ca35f93c3c844c92eb6eb0bc491caeb2c9bff3b32fe3c9b18f/pymongo-4.16.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/03/c9/542776987d5c31ae8e93e92680ea2b6e5a2295f398b25756234cabf38a39/pymongo-4.16.0-cp312-cp312-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/2e/d4/b4045a7ccc5680fb496d01edf749c7a9367cc8762fbdf7516cf807ef679b/pymongo-4.16.0-cp312-cp312-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/60/4c/33f75713d50d5247f2258405142c0318ff32c6f8976171c4fcae87a9dbdf/pymongo-4.16.0-cp312-cp312-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/47/84/148d8b5da8260f4679d6665196ae04ab14ffdf06f5fe670b0ab11942951f/pymongo-4.16.0-cp313-cp313-macosx_10_13_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/1e/5e/9f3a8daf583d0adaaa033a3e3e58194d2282737dc164014ff33c7a081103/pymongo-4.16.0-cp313-cp313-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ad/f2/b6c24361fcde24946198573c0176406bfd5f7b8538335f3d939487055322/pymongo-4.16.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/47/1a/8634192f98cf740b3d174e1018dd0350018607d5bd8ac35a666dc49c732b/pymongo-4.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/5a/2f/0c47ac84572b28e23028a23a3798a1f725e1c23b0cf1c1424678d16aff42/pymongo-4.16.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ba/57/9f46ef9c862b2f0cf5ce798f3541c201c574128d31ded407ba4b3918d7b6/pymongo-4.16.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b8/56/5421c0998f38e32288100a07f6cb2f5f9f352522157c901910cb2927e211/pymongo-4.16.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/92/93/bfc448d025e12313a937d6e1e0101b50cc9751636b4b170e600fe3203063/pymongo-4.16.0-cp313-cp313-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/96/10/12710a5e01218d50c3dd165fd72c5ed2699285f77348a3b1a119a191d826/pymongo-4.16.0-cp313-cp313-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0c/56/d288bcd1d05bc17ec69df1d0b1d67bc710c7c5dbef86033a5a4d2e2b08e6/pymongo-4.16.0-cp313-cp313-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/30/9e/4d343f8d0512002fce17915a89477b9f916bda1205729e042d8f23acf194/pymongo-4.16.0-cp314-cp314-macosx_10_15_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c3/e3/341f88c5535df40c0450fda915f582757bb7d988cdfc92990a5e27c4c324/pymongo-4.16.0-cp314-cp314-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/af/64/9471b22eb98f0a2ca0b8e09393de048502111b2b5b14ab1bd9e39708aab5/pymongo-4.16.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/87/ac/47c4d50b25a02f21764f140295a2efaa583ee7f17992a5e5fa542b3a690f/pymongo-4.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ee/1b/0ce1ce9dd036417646b2fe6f63b58127acff3cf96eeb630c34ec9cd675ff/pymongo-4.16.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/3e/3c/a5a17c0d413aa9d6c17bc35c2b472e9e79cda8068ba8e93433b5f43028e9/pymongo-4.16.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/65/19/f815533d1a88fb8a3b6c6e895bb085ffdae68ccb1e6ed7102202a307f8e2/pymongo-4.16.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/50/00/dc3a271daf06401825b9c1f4f76f018182c7738281ea54b9762aea0560c1/pymongo-4.16.0-cp314-cp314t-macosx_10_15_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b8/4b/b5375ee21d12eababe46215011ebc63801c0d2c5ffdf203849d0d79f9852/pymongo-4.16.0-cp314-cp314t-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ee/e3/52efa3ca900622c7dcb56c5e70f15c906816d98905c22d2ee1f84d9a7b60/pymongo-4.16.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/cb/96/43b1be151c734e7766c725444bcbfa1de6b60cc66bfb406203746839dd25/pymongo-4.16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/e7/62/fa64a5045dfe3a1cd9217232c848256e7bc0136cffb7da4735c5e0d30e40/pymongo-4.16.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/54/7b/01577eb97e605502821273a5bc16ce0fb0be5c978fe03acdbff471471202/pymongo-4.16.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/55/68/6ef6372d516f703479c3b6cbbc45a5afd307173b1cbaccd724e23919bb1a/pymongo-4.16.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/15/c7/b5337093bb01da852f945802328665f85f8109dbe91d81ea2afe5ff059b9/pymongo-4.16.0-cp314-cp314t-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/96/8c/5b448cd1b103f3889d5713dda37304c81020ff88e38a826e8a75ddff4610/pymongo-4.16.0-cp314-cp314t-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/32/cd/ddc794cdc8500f6f28c119c624252fb6dfb19481c6d7ed150f13cf468a6d/pymongo-4.16.0-cp314-cp314t-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/c6/88/4be3ec78828dc64b212c123114bd6ae8db5b7676085a7b43cc75d0131bd2/pymongo-4.16.0-cp314-cp314-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/af/5a/ab8d5af76421b34db483c9c8ebc3a2199fb80ae63dc7e18f4cf1df46306a/pymongo-4.16.0-cp314-cp314-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f6/f4/98d68020728ac6423cf02d17cfd8226bf6cce5690b163d30d3f705e8297e/pymongo-4.16.0-cp314-cp314-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/26/f5/d2d64abe541ebd1d9f32cdd7f7a6681a90c82e39606af21c0f1153f37ace/pymongo-4.16.0-cp39-cp39-macosx_10_9_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/52/ef/dd3a8981c0350698d42d7c08901fe1a94f59f32fd2d5b87efe64e6652300/pymongo-4.16.0-cp39-cp39-macosx_11_0_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d4/73/fa4195c05fdc38cb638b6d575c242b0d6e26c06032a45a6727349c29b214/pymongo-4.16.0-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/17/c8/1024b21f003bd7fcdcdd16ac47d9415b8c8df1ae3a4db110e62a356c5a36/pymongo-4.16.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/55/7a/c0bec4c96358727291a8b5d8f6652c695a5a9a7f495c4095de1ed6ca5110/pymongo-4.16.0-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/80/16/09b7da737343c6e6bd0e693e238c316cc8e1d2fd6994fd43204bed5c2910/pymongo-4.16.0-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/95/df/0626027d0a780e8472665464a31331d5796f2e9c61495a4443bd73b54d7d/pymongo-4.16.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/0b/c0/b12d6c34cd5cfa62cae915ed41f837b794d0d70939d82e72b77c7a827745/pymongo-4.16.0-cp39-cp39-win32.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b8/1b/19dea917445f90b9ae36ed2a4c32229d2c223a068c7e098b0fa244b1e570/pymongo-4.16.0-cp39-cp39-win_amd64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-win_arm64.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/f6/47/0215aea19849fecca00bb988885d6c50aa540502ca62e37ab23e034baa21/pymongo-4.16.0-cp39-cp39-win_arm64.whl", + "yanked": false + }, + { + "filename": "pymongo-4.16.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/65/9c/a4895c4b785fc9865a84a56e14b5bd21ca75aadc3dab79c14187cdca189b/pymongo-4.16.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-excerpt.json b/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-excerpt.json new file mode 100644 index 0000000..4bed53e --- /dev/null +++ b/plugins/apisurface/testdata/pypi/pymongo/pypi-pymongo-excerpt.json @@ -0,0 +1,1291 @@ +{ + "info": { + "name": "pymongo" + }, + "releases": { + "4.15.4": [ + { + "filename": "pymongo-4.15.4-cp310-cp310-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:22.286341Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:24.171670Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:25.635785Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:27.162100Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:29.322399Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:31.326385Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:33.339675Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:35.214436Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:36.621193Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp310-cp310-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:38.573146Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:40.275615Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:41.842274Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:43.801837Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:45.479134Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:47.517680Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:49.183384Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:51.568923Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:53.362965Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:55.198288Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:57.164358Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:50:59.056684Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:00.683487Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:02.392077Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:04.353843Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:06.222326Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:07.893684Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:09.574627Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:11.670402Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:13.283023Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:15.981633Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:17.693649Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:19.580892Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:21.262625Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:23.248555Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:25.294594Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:27.162640Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:29.136671Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:31.254905Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:33.118195Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:35.130495Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:36.808414Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:38.551782Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:40.657024Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:42.651777Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:44.372660Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:46.548693Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:48.335663Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:57.266633Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:59.114482Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:01.006969Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:03.029674Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:04.968030Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:07.164621Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:09.016401Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:11.138522Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:13.324814Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:15.185742Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:50.775696Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:52.691597Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:51:54.442530Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:17.338433Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:19.472375Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:21.350180Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:23.243430Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:25.170560Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:27.098213Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:29.366486Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:31.333548Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:33.246544Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4-cp39-cp39-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-11-11T20:52:35.044477Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.4.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2025-11-11T20:52:37.310562Z", + "yanked": false + } + ], + "4.15.5": [ + { + "filename": "pymongo-4.15.5-cp310-cp310-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:12.090377Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:14.396639Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:16.147663Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:18.018407Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:19.898924Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:21.709027Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:23.605573Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:25.438994Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:26.889005Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp310-cp310-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:28.668057Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:30.496151Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:31.862575Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:33.829738Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:35.805470Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:37.737720Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:39.610947Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:41.323913Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:42.814135Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:45.025361Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:47.190697Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:48.812992Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:50.832963Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:53.402347Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:56.187231Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:42:57.913576Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:00.626195Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:02.320548Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:04.699371Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:06.555894Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:08.801386Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:11.074817Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:13.345824Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:15.225934Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:16.869087Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:19.559807Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:21.214288Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:23.415173Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:26.081243Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:27.816554Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:29.371214Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:31.580238Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:33.690786Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:35.769368Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:37.479109Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:39.866723Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:42.002139Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:43.924145Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:51.432522Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:53.131399Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:55.141835Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:57.188554Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:59.463242Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:01.415942Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:03.427432Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:05.318281Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:07.215833Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:09.048760Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:45.732955Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:47.756034Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:43:49.677724Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:10.880954Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:12.611285Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:14.597624Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:16.456814Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:18.508774Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:20.729795Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:23.288112Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:25.082337Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:26.974299Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5-cp39-cp39-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-02T18:44:29.067407Z", + "yanked": false + }, + { + "filename": "pymongo-4.15.5.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2025-12-02T18:44:30.992955Z", + "yanked": false + } + ], + "4.16.0": [ + { + "filename": "pymongo-4.16.0-cp310-cp310-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:03:40.302955Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:03:42.130864Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:03:44.126459Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:03:45.520275Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:03:47.030594Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:03:48.377780Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:03:50.205679Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:03:52.701443Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:03:57.671238Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp310-cp310-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:03:59.100445Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:00.628171Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:02.213465Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:03.942859Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:05.387249Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:08.458209Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:10.355079Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:11.760062Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:13.522273Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:14.923892Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp311-cp311-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:17.099560Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:19.173855Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:20.861811Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:22.219301Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:24.055183Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:25.964316Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:28.745663Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:30.331469Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:32.124755Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:33.685354Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp312-cp312-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:35.594769Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-macosx_10_13_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:38.303327Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:39.669547Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:41.368046Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:42.965863Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:44.652911Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:46.228214Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:48.017971Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:49.538171Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:51.382267Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp313-cp313-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:52.904118Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:54.359318Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:56.642139Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:58.255385Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:04:59.788681Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:01.942914Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:03.576715Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:05.459718Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-macosx_10_15_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:11.702577Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:13.182547Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:14.981050Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:16.794332Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:18.498656Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:20.073884Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:22.052163Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:23.888608Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:26.874034Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314t-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:28.470516Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:07.018867Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:08.499963Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp314-cp314-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:09.944314Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-macosx_10_9_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:30.090943Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-macosx_11_0_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:31.593219Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:33.128804Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:34.703778Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:37.465674Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:38.974337Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:40.783772Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-win32.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:42.322112Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-win_amd64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:44.287256Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0-cp39-cp39-win_arm64.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-01-07T18:05:46.183169Z", + "yanked": false + }, + { + "filename": "pymongo-4.16.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-01-07T18:05:48.107072Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/redis/pypi-redis-7.4.1.json b/plugins/apisurface/testdata/pypi/redis/pypi-redis-7.4.1.json new file mode 100644 index 0000000..d19bb39 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/redis/pypi-redis-7.4.1.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "redis", + "version": "7.4.1" + }, + "urls": [ + { + "filename": "redis-7.4.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/4a/2e/2677f3f93dae0497e7e33b6637302e7f3744efc553f34231183e32584885/redis-7.4.1-py3-none-any.whl", + "yanked": false + }, + { + "filename": "redis-7.4.1.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/51/93/05e7d4a65285066a74f48697f9b9cde5cfce71398033d69ed83c3d98f5c9/redis-7.4.1.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/redis/pypi-redis-8.0.0.json b/plugins/apisurface/testdata/pypi/redis/pypi-redis-8.0.0.json new file mode 100644 index 0000000..77aa981 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/redis/pypi-redis-8.0.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "redis", + "version": "8.0.0" + }, + "urls": [ + { + "filename": "redis-8.0.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/27/e3/b519734372d305bd547534a9f32e4ce9f98552af753dce72cf3483a0ff0b/redis-8.0.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "redis-8.0.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/53/ae/ed461cca5780b5fc8b9fe8ca0ed98d89508645fb9d880c24cc42c087678f/redis-8.0.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/redis/pypi-redis-8.0.1.json b/plugins/apisurface/testdata/pypi/redis/pypi-redis-8.0.1.json new file mode 100644 index 0000000..de4f5c9 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/redis/pypi-redis-8.0.1.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "redis", + "version": "8.0.1" + }, + "urls": [ + { + "filename": "redis-8.0.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/fd/0a/c2345ebf1ebe70840ce3f6c6ee612f8fa749cfbd1b03069c53bf0c62aaad/redis-8.0.1-py3-none-any.whl", + "yanked": false + }, + { + "filename": "redis-8.0.1.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/cc/c3/928b290c2c0ca99ab96eea5b4ff8f30be8112b075301a7d3ba214a3c8c12/redis-8.0.1.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/redis/pypi-redis-8.1.0.json b/plugins/apisurface/testdata/pypi/redis/pypi-redis-8.1.0.json new file mode 100644 index 0000000..6324974 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/redis/pypi-redis-8.1.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "redis", + "version": "8.1.0" + }, + "urls": [ + { + "filename": "redis-8.1.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/66/9d/c5731f6e3608663d4d3656fd8d3aecee8b509c3082818f5a13eae925baea/redis-8.1.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "redis-8.1.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/a8/99/604f0b666d4c616d891cf77ebb9db6bb21601344c051aebf1b72b9ff915f/redis-8.1.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/redis/pypi-redis-excerpt.json b/plugins/apisurface/testdata/pypi/redis/pypi-redis-excerpt.json new file mode 100644 index 0000000..b53fa3f --- /dev/null +++ b/plugins/apisurface/testdata/pypi/redis/pypi-redis-excerpt.json @@ -0,0 +1,63 @@ +{ + "info": { + "name": "redis" + }, + "releases": { + "7.4.1": [ + { + "filename": "redis-7.4.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-05T09:10:05.128093Z", + "yanked": false + }, + { + "filename": "redis-7.4.1.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-06-05T09:10:06.703392Z", + "yanked": false + } + ], + "8.0.0": [ + { + "filename": "redis-8.0.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-28T12:45:11.697858Z", + "yanked": false + }, + { + "filename": "redis-8.0.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-05-28T12:45:13.500411Z", + "yanked": false + } + ], + "8.0.1": [ + { + "filename": "redis-8.0.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-06-23T14:52:36.137484Z", + "yanked": false + }, + { + "filename": "redis-8.0.1.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-06-23T14:52:37.728998Z", + "yanked": false + } + ], + "8.1.0": [ + { + "filename": "redis-8.1.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-30T08:50:58.497552Z", + "yanked": false + }, + { + "filename": "redis-8.1.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-07-30T08:51:00.269040Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/redis/redis-7.4.1-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/redis/redis-7.4.1-py3-none-any.trimmed.whl new file mode 100644 index 0000000..e7c5178 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/redis/redis-7.4.1-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/redis/redis-8.0.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/redis/redis-8.0.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..d33d06d Binary files /dev/null and b/plugins/apisurface/testdata/pypi/redis/redis-8.0.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/redis/redis-8.0.1-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/redis/redis-8.0.1-py3-none-any.trimmed.whl new file mode 100644 index 0000000..9dde23f Binary files /dev/null and b/plugins/apisurface/testdata/pypi/redis/redis-8.0.1-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/redis/redis-8.1.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/redis/redis-8.1.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..3ac40b5 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/redis/redis-8.1.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.67.1.json b/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.67.1.json new file mode 100644 index 0000000..ac9b94a --- /dev/null +++ b/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.67.1.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "sentry-sdk", + "version": "2.67.1" + }, + "urls": [ + { + "filename": "sentry_sdk-2.67.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/34/e2/70692eba662037cddf93391cbbf98297159f3038612e9b9a8129e16feb7a/sentry_sdk-2.67.1-py3-none-any.whl", + "yanked": false + }, + { + "filename": "sentry_sdk-2.67.1.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/ad/8a/b2eec40df8a67bf073e244d29001d04ee365d163bc4f15efdfce35f53090/sentry_sdk-2.67.1.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.68.0.json b/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.68.0.json new file mode 100644 index 0000000..f7298a6 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.68.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "sentry-sdk", + "version": "2.68.0" + }, + "urls": [ + { + "filename": "sentry_sdk-2.68.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/7d/9b/e2421d08956d0bc4691d995393d835e563886bff499d8fb10fdefae85a8d/sentry_sdk-2.68.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "sentry_sdk-2.68.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/5b/94/23b7dd072acb9628907bd3f4fbf61794a7b12a9db8f33c1276f70ae5ac92/sentry_sdk-2.68.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.73.0.json b/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.73.0.json new file mode 100644 index 0000000..27fcbaf --- /dev/null +++ b/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.73.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "sentry-sdk", + "version": "2.73.0" + }, + "urls": [ + { + "filename": "sentry_sdk-2.73.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b2/88/cabf98d017d7b940720e514e5f8ee02e3e6f7495caf93c30735a38387ec4/sentry_sdk-2.73.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "sentry_sdk-2.73.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/c5/3b/1e47acf2456781c26e12007379ecc154bf310b8f64d40390d78b791d55c3/sentry_sdk-2.73.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.74.0.json b/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.74.0.json new file mode 100644 index 0000000..e025ad4 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-2.74.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "sentry-sdk", + "version": "2.74.0" + }, + "urls": [ + { + "filename": "sentry_sdk-2.74.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/55/b1/736d4b4b308694b0071844a533522ac06669ad61751687b94edfbf863f17/sentry_sdk-2.74.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "sentry_sdk-2.74.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/8e/7f/1b16ab4aee53cc5db976bac12e6df5d562aae3880965200cef812e7121d9/sentry_sdk-2.74.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-excerpt.json b/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-excerpt.json new file mode 100644 index 0000000..335bb79 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/sentry-sdk/pypi-sentry-sdk-excerpt.json @@ -0,0 +1,63 @@ +{ + "info": { + "name": "sentry-sdk" + }, + "releases": { + "2.67.1": [ + { + "filename": "sentry_sdk-2.67.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-10T13:05:54.213856Z", + "yanked": false + }, + { + "filename": "sentry_sdk-2.67.1.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-08-10T13:05:55.892057Z", + "yanked": false + } + ], + "2.68.0": [ + { + "filename": "sentry_sdk-2.68.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-13T09:06:19.735449Z", + "yanked": false + }, + { + "filename": "sentry_sdk-2.68.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-08-13T09:06:21.268768Z", + "yanked": false + } + ], + "2.73.0": [ + { + "filename": "sentry_sdk-2.73.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-22T09:08:47.880164Z", + "yanked": false + }, + { + "filename": "sentry_sdk-2.73.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-10-22T09:08:49.630391Z", + "yanked": false + } + ], + "2.74.0": [ + { + "filename": "sentry_sdk-2.74.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-11-05T14:50:25.767248Z", + "yanked": false + }, + { + "filename": "sentry_sdk-2.74.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-11-05T14:50:27.444387Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.67.1-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.67.1-py3-none-any.trimmed.whl new file mode 100644 index 0000000..559fff6 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.67.1-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.68.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.68.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..74f4005 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.68.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.73.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.73.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..9dbc4de Binary files /dev/null and b/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.73.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.74.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.74.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..13dfe78 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/sentry-sdk/sentry_sdk-2.74.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-15.4.0.json b/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-15.4.0.json new file mode 100644 index 0000000..63e22d2 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-15.4.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "stripe", + "version": "15.4.0" + }, + "urls": [ + { + "filename": "stripe-15.4.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/00/e1/3047b4e244cc78bb598b0d5fcab6632b8bf8a4d526f2e840c4f4de02c989/stripe-15.4.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "stripe-15.4.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/b0/e5/2dcf53bed6061f615d5cd03a89a311c2ca969a5b1e415d6fcfa2965ec0b6/stripe-15.4.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-15.5.0.json b/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-15.5.0.json new file mode 100644 index 0000000..43e1aa3 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-15.5.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "stripe", + "version": "15.5.0" + }, + "urls": [ + { + "filename": "stripe-15.5.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/d5/20/4c8377c570697ebe105ad5e073538e498d58e4985ca6e2944bdc917a5034/stripe-15.5.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "stripe-15.5.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/98/af/17e87a0ee330f2ba3be32fa88d7621bda3a9bcd12646a07df0acb73313b7/stripe-15.5.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-15.6.2.json b/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-15.6.2.json new file mode 100644 index 0000000..1357e8a --- /dev/null +++ b/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-15.6.2.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "stripe", + "version": "15.6.2" + }, + "urls": [ + { + "filename": "stripe-15.6.2-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/25/e9/251eb26d9ceae6c44adb3a54cb81ec717dc469452c09756b53a117726277/stripe-15.6.2-py3-none-any.whl", + "yanked": false + }, + { + "filename": "stripe-15.6.2.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/db/49/804210ae3f667554101cd05d426fdf4327e9a66fc0898bfbd304798b033b/stripe-15.6.2.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-16.0.0.json b/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-16.0.0.json new file mode 100644 index 0000000..8e1b5e2 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-16.0.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "stripe", + "version": "16.0.0" + }, + "urls": [ + { + "filename": "stripe-16.0.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b5/de/5141ae3990862cc3d61a1cdd4acff72bcb587afb7b4d31c52eaddbb6bc8f/stripe-16.0.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "stripe-16.0.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/0b/a7/4a8546b293a09f39a2b55ca8a11539ae9654126df59065868c5d3993f0dd/stripe-16.0.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-excerpt.json b/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-excerpt.json new file mode 100644 index 0000000..3c7d053 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/stripe/pypi-stripe-excerpt.json @@ -0,0 +1,63 @@ +{ + "info": { + "name": "stripe" + }, + "releases": { + "15.4.0": [ + { + "filename": "stripe-15.4.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-07-29T23:36:19.802451Z", + "yanked": false + }, + { + "filename": "stripe-15.4.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-07-29T23:36:21.722514Z", + "yanked": false + } + ], + "15.5.0": [ + { + "filename": "stripe-15.5.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-08-10T22:11:11.080533Z", + "yanked": false + }, + { + "filename": "stripe-15.5.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-08-10T22:11:13.011344Z", + "yanked": false + } + ], + "15.6.2": [ + { + "filename": "stripe-15.6.2-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-27T00:41:24.504711Z", + "yanked": false + }, + { + "filename": "stripe-15.6.2.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-10-27T00:41:27.203786Z", + "yanked": false + } + ], + "16.0.0": [ + { + "filename": "stripe-16.0.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-01T00:42:01.650495Z", + "yanked": false + }, + { + "filename": "stripe-16.0.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-10-01T00:42:03.388384Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/stripe/stripe-15.4.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/stripe/stripe-15.4.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..c98bf92 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/stripe/stripe-15.4.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/stripe/stripe-15.5.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/stripe/stripe-15.5.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..00c7e00 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/stripe/stripe-15.5.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/stripe/stripe-15.6.2-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/stripe/stripe-15.6.2-py3-none-any.trimmed.whl new file mode 100644 index 0000000..4446983 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/stripe/stripe-15.6.2-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/stripe/stripe-16.0.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/stripe/stripe-16.0.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..abcbccf Binary files /dev/null and b/plugins/apisurface/testdata/pypi/stripe/stripe-16.0.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-0.7.1.json b/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-0.7.1.json new file mode 100644 index 0000000..1958e03 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-0.7.1.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "supabase", + "version": "0.7.1" + }, + "urls": [ + { + "filename": "supabase-0.7.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ea/1f/3aa8dd96fc0aab80693ff6c341b9178bd3eaacb81006703f3adf07719544/supabase-0.7.1-py3-none-any.whl", + "yanked": false + }, + { + "filename": "supabase-0.7.1.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/43/f9/7ded3ce3fb63701a29cce2ae97ef008530c91b735ee99110c2b7f86a1ace/supabase-0.7.1.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-1.0.0.json b/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-1.0.0.json new file mode 100644 index 0000000..c2e441f --- /dev/null +++ b/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-1.0.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "supabase", + "version": "1.0.0" + }, + "urls": [ + { + "filename": "supabase-1.0.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8d/7b/42e5e27e4c9f4f5e24c0d3294b7448948b97963c69d634c664b7beaaae4b/supabase-1.0.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "supabase-1.0.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/11/50/cdd52089f631b50ea6d5ec70e29322f26cd430c12215b967656bda3f988a/supabase-1.0.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-2.33.0.json b/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-2.33.0.json new file mode 100644 index 0000000..ce45ee3 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-2.33.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "supabase", + "version": "2.33.0" + }, + "urls": [ + { + "filename": "supabase-2.33.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/8d/48/1a8f57fdaf882f1dcd7836352e33829c1d455c6cfc387d2b0fb1e99ffdb6/supabase-2.33.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "supabase-2.33.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/5e/ef/67310d1a638c36cbe09fe73afc5b9f09e9cd5b9b55e9744d90e35e6be4a1/supabase-2.33.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-2.34.0.json b/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-2.34.0.json new file mode 100644 index 0000000..cf7562b --- /dev/null +++ b/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-2.34.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "supabase", + "version": "2.34.0" + }, + "urls": [ + { + "filename": "supabase-2.34.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/18/20/48dc58aa9d3a0245694ef52433305edd4536f80ad3d30572d4658d160839/supabase-2.34.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "supabase-2.34.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/ce/42/d458bd28ba5a41798e13e5780c49367a72844c1e638dd47e8c37077fd529/supabase-2.34.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-excerpt.json b/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-excerpt.json new file mode 100644 index 0000000..415da3e --- /dev/null +++ b/plugins/apisurface/testdata/pypi/supabase/pypi-supabase-excerpt.json @@ -0,0 +1,63 @@ +{ + "info": { + "name": "supabase" + }, + "releases": { + "0.7.1": [ + { + "filename": "supabase-0.7.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2022-10-11T06:54:00.544550Z", + "yanked": false + }, + { + "filename": "supabase-0.7.1.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2022-10-11T06:54:02.064005Z", + "yanked": false + } + ], + "1.0.0": [ + { + "filename": "supabase-1.0.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2023-02-05T15:22:13.168562Z", + "yanked": false + }, + { + "filename": "supabase-1.0.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2023-02-05T15:22:16.812930Z", + "yanked": false + } + ], + "2.33.0": [ + { + "filename": "supabase-2.33.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-10-15T19:14:22.260798Z", + "yanked": false + }, + { + "filename": "supabase-2.33.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-10-15T19:14:23.505086Z", + "yanked": false + } + ], + "2.34.0": [ + { + "filename": "supabase-2.34.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-11-03T16:49:20.091383Z", + "yanked": false + }, + { + "filename": "supabase-2.34.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-11-03T16:49:25.714016Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/supabase/supabase-0.7.1-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/supabase/supabase-0.7.1-py3-none-any.trimmed.whl new file mode 100644 index 0000000..4b45d81 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/supabase/supabase-0.7.1-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/supabase/supabase-1.0.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/supabase/supabase-1.0.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..d1de063 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/supabase/supabase-1.0.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/supabase/supabase-2.33.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/supabase/supabase-2.33.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..25ed7ad Binary files /dev/null and b/plugins/apisurface/testdata/pypi/supabase/supabase-2.33.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/supabase/supabase-2.34.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/supabase/supabase-2.34.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..94d2a29 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/supabase/supabase-2.34.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/textual/pypi-textual-8.2.5.json b/plugins/apisurface/testdata/pypi/textual/pypi-textual-8.2.5.json new file mode 100644 index 0000000..3947f0b --- /dev/null +++ b/plugins/apisurface/testdata/pypi/textual/pypi-textual-8.2.5.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "textual", + "version": "8.2.5" + }, + "urls": [ + { + "filename": "textual-8.2.5-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/cd/01/c4555f9c8a692ff83d84930150540f743ce94c89234f9e9a15ff4baba3a8/textual-8.2.5-py3-none-any.whl", + "yanked": false + }, + { + "filename": "textual-8.2.5.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/62/1e/1eedc5bac184d00aaa5f9a99095f7e266af3ec46fa926c1051be5d358da1/textual-8.2.5.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/textual/pypi-textual-8.2.6.json b/plugins/apisurface/testdata/pypi/textual/pypi-textual-8.2.6.json new file mode 100644 index 0000000..43e54ff --- /dev/null +++ b/plugins/apisurface/testdata/pypi/textual/pypi-textual-8.2.6.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "textual", + "version": "8.2.6" + }, + "urls": [ + { + "filename": "textual-8.2.6-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/b8/b4/c2b876f445e52522824cb900f2c7db3a7c24f89d20449ef278b4195d0ecb/textual-8.2.6-py3-none-any.whl", + "yanked": false + }, + { + "filename": "textual-8.2.6.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/1c/b3/b62658f6cf808d28e4d16a07509728a7b17824f55a6d3533f017fd4566b0/textual-8.2.6.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/textual/pypi-textual-8.2.7.json b/plugins/apisurface/testdata/pypi/textual/pypi-textual-8.2.7.json new file mode 100644 index 0000000..dd64f5a --- /dev/null +++ b/plugins/apisurface/testdata/pypi/textual/pypi-textual-8.2.7.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "textual", + "version": "8.2.7" + }, + "urls": [ + { + "filename": "textual-8.2.7-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a8/f5/c1e18bc0707300a0e90204343abbf7d7acd6fb7ebe03a6d4893b99a234b8/textual-8.2.7-py3-none-any.whl", + "yanked": false + }, + { + "filename": "textual-8.2.7.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/9b/7a/c519db0aba5024f86e71e9631810bfdd6866ed2c8695bd7fa34b90e7ef59/textual-8.2.7.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/textual/pypi-textual-excerpt.json b/plugins/apisurface/testdata/pypi/textual/pypi-textual-excerpt.json new file mode 100644 index 0000000..f43aff8 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/textual/pypi-textual-excerpt.json @@ -0,0 +1,49 @@ +{ + "info": { + "name": "textual" + }, + "releases": { + "8.2.5": [ + { + "filename": "textual-8.2.5-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-04-30T08:03:01.421544Z", + "yanked": false + }, + { + "filename": "textual-8.2.5.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-04-30T08:02:58.956419Z", + "yanked": false + } + ], + "8.2.6": [ + { + "filename": "textual-8.2.6-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-13T09:56:14.687225Z", + "yanked": false + }, + { + "filename": "textual-8.2.6.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-05-13T09:56:12.281987Z", + "yanked": false + } + ], + "8.2.7": [ + { + "filename": "textual-8.2.7-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2026-05-19T10:52:51.773269Z", + "yanked": false + }, + { + "filename": "textual-8.2.7.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2026-05-19T10:52:49.531168Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/textual/textual-8.2.5-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/textual/textual-8.2.5-py3-none-any.trimmed.whl new file mode 100644 index 0000000..63b775e Binary files /dev/null and b/plugins/apisurface/testdata/pypi/textual/textual-8.2.5-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/textual/textual-8.2.6-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/textual/textual-8.2.6-py3-none-any.trimmed.whl new file mode 100644 index 0000000..5bf6dc6 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/textual/textual-8.2.6-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/textual/textual-8.2.7-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/textual/textual-8.2.7-py3-none-any.trimmed.whl new file mode 100644 index 0000000..246d274 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/textual/textual-8.2.7-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.2.1.json b/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.2.1.json new file mode 100644 index 0000000..3b97f4f --- /dev/null +++ b/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.2.1.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "urllib3", + "version": "2.2.1" + }, + "urls": [ + { + "filename": "urllib3-2.2.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl", + "yanked": false + }, + { + "filename": "urllib3-2.2.1.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/7a/50/7fd50a27caa0652cd4caf224aa87741ea41d3265ad13f010886167cfcc79/urllib3-2.2.1.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.2.2.json b/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.2.2.json new file mode 100644 index 0000000..a666f05 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.2.2.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "urllib3", + "version": "2.2.2" + }, + "urls": [ + { + "filename": "urllib3-2.2.2-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/ca/1c/89ffc63a9605b583d5df2be791a27bc1a42b7c32bab68d3c8f2f73a98cd4/urllib3-2.2.2-py3-none-any.whl", + "yanked": false + }, + { + "filename": "urllib3-2.2.2.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/43/6d/fa469ae21497ddc8bc93e5877702dca7cb8f911e337aca7452b5724f1bb6/urllib3-2.2.2.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.5.0.json b/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.5.0.json new file mode 100644 index 0000000..bc85217 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.5.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "urllib3", + "version": "2.5.0" + }, + "urls": [ + { + "filename": "urllib3-2.5.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "urllib3-2.5.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/15/22/9ee70a2574a4f4599c47dd506532914ce044817c7752a79b6a51286319bc/urllib3-2.5.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.6.0.json b/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.6.0.json new file mode 100644 index 0000000..4b551f6 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-2.6.0.json @@ -0,0 +1,20 @@ +{ + "info": { + "name": "urllib3", + "version": "2.6.0" + }, + "urls": [ + { + "filename": "urllib3-2.6.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "url": "https://files.pythonhosted.org/packages/56/1a/9ffe814d317c5224166b23e7c47f606d6e473712a2fad0f704ea9b99f246/urllib3-2.6.0-py3-none-any.whl", + "yanked": false + }, + { + "filename": "urllib3-2.6.0.tar.gz", + "packagetype": "sdist", + "url": "https://files.pythonhosted.org/packages/1c/43/554c2569b62f49350597348fc3ac70f786e3c32e7f19d266e19817812dd3/urllib3-2.6.0.tar.gz", + "yanked": false + } + ] +} diff --git a/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-excerpt.json b/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-excerpt.json new file mode 100644 index 0000000..2da1b30 --- /dev/null +++ b/plugins/apisurface/testdata/pypi/urllib3/pypi-urllib3-excerpt.json @@ -0,0 +1,63 @@ +{ + "info": { + "name": "urllib3" + }, + "releases": { + "2.2.1": [ + { + "filename": "urllib3-2.2.1-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2024-02-18T03:55:54.704486Z", + "yanked": false + }, + { + "filename": "urllib3-2.2.1.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2024-02-18T03:55:57.539422Z", + "yanked": false + } + ], + "2.2.2": [ + { + "filename": "urllib3-2.2.2-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2024-06-17T13:40:07.795777Z", + "yanked": false + }, + { + "filename": "urllib3-2.2.2.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2024-06-17T13:40:11.401496Z", + "yanked": false + } + ], + "2.5.0": [ + { + "filename": "urllib3-2.5.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-06-18T14:07:40.390656Z", + "yanked": false + }, + { + "filename": "urllib3-2.5.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2025-06-18T14:07:41.644872Z", + "yanked": false + } + ], + "2.6.0": [ + { + "filename": "urllib3-2.6.0-py3-none-any.whl", + "packagetype": "bdist_wheel", + "upload_time_iso_8601": "2025-12-05T15:08:45.983238Z", + "yanked": false + }, + { + "filename": "urllib3-2.6.0.tar.gz", + "packagetype": "sdist", + "upload_time_iso_8601": "2025-12-05T15:08:47.885766Z", + "yanked": false + } + ] + } +} diff --git a/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.2.1-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.2.1-py3-none-any.trimmed.whl new file mode 100644 index 0000000..fe7cdc2 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.2.1-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.2.2-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.2.2-py3-none-any.trimmed.whl new file mode 100644 index 0000000..6e06b04 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.2.2-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.5.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.5.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..c93c527 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.5.0-py3-none-any.trimmed.whl differ diff --git a/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.6.0-py3-none-any.trimmed.whl b/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.6.0-py3-none-any.trimmed.whl new file mode 100644 index 0000000..df323f2 Binary files /dev/null and b/plugins/apisurface/testdata/pypi/urllib3/urllib3-2.6.0-py3-none-any.trimmed.whl differ diff --git a/plugins/catalog/catalog.go b/plugins/catalog/catalog.go index 164ed96..aaf2470 100644 --- a/plugins/catalog/catalog.go +++ b/plugins/catalog/catalog.go @@ -1,28 +1,21 @@ -// Package catalog is the source plugin for a provider that publishes its -// whole command or endpoint surface as one structured JSON file, one entry -// keyed by name: read it at a commit, compare it with the one read before, -// and report -// every name that disappeared entirely between them. Unlike openapi's typed -// spec, an entry here is opaque: no request or response shape to walk, just -// whether the name is still there. Redis first: its command surface has no -// OpenAPI spec, but redis-doc's commands.json is the real, machine-readable -// file redis.io's own command reference is generated from. +// Package catalog is the kind for a provider's own structured list of what +// it offers or is about to take away: a command catalog, a file of upcoming +// removals. Unlike openapi's typed spec, an entry here is opaque beyond its +// name (and, for a list of upcoming changes, its date and what to use +// instead). Each reader is a plugin of its own in this package, read +// version by version (plugin.Versioned): Redis's commands at each release +// tag (redis.go), GitHub's GraphQL upcoming changes at each commit +// (graphql.go). // -// Precision over recall: a name that moves to a different key (a genuine -// rename) reads as one removal and one addition, same as any other. This -// never guesses a rename from two disappearances and appearances landing in -// the same diff; it only ever reports what's gone. +// Precision over recall: a name that moves (a genuine rename) reads as one +// removal and one addition, same as any other. A reader never guesses a +// rename from a disappearance and an appearance landing in the same diff. package catalog import ( - "context" - "encoding/json" "fmt" - "sort" - "time" "github.com/patch-it-dev/patch-it-plugins/core/event" - "github.com/patch-it-dev/patch-it-plugins/core/github" "github.com/patch-it-dev/patch-it-plugins/core/plugin" ) @@ -31,162 +24,45 @@ func init() { ID: "redis", Name: "Redis", Category: plugin.CategoryDatabases, Homepage: "https://redis.io", Sources: []plugin.Source{{ ID: "commands", Layer: plugin.LayerRuntime, Page: "providers/redis.md", - Watches: "Commands removed entirely from Redis's own command catalog between two snapshots", - URLs: []string{"https://github.com/redis/redis-doc/blob/master/commands.json"}, - Plugin: Plugin{Catalog: Redis}, + Watches: "Commands removed entirely between two Redis releases, from the command definitions in the server's own source (src/commands/) at each release tag", + URLs: []string{"https://github.com/redis/redis/tree/unstable/src/commands", "https://github.com/redis/redis/releases"}, + Plugin: Redis, + }}, + }) + plugin.RegisterProvider(plugin.Provider{ + ID: "github", Name: "GitHub", Category: plugin.CategoryDevTools, Homepage: "https://github.com", + Sources: []plugin.Source{{ + ID: "graphql", Layer: plugin.LayerAPI, Page: "providers/github-graphql.md", + Watches: "GraphQL API fields, arguments, input fields and enum values GitHub announces it will remove, with the date, from the file its breaking-changes page is built from", + URLs: []string{"https://docs.github.com/en/graphql/overview/breaking-changes", "https://github.com/github/docs/blob/main/src/graphql/data/fpt/upcoming-changes.json"}, + Packages: []string{"npm:@octokit/graphql"}, + Plugin: GitHubGraphQL, }}, }) } -// Catalog is one provider's command or endpoint catalog: a single JSON -// object, one key per entry, fetched at a git ref. -type Catalog struct { - API string // the source id the events carry: "redis/commands" - Ecosystem string // the package_release subject's ecosystem: "redis" - Package string // the package_release subject's package: "redis" - Repo string // owner/name on GitHub the catalog lives in - Path string // the catalog's path in the repo - RefsURL string // GitHub's commits API, for the newest ref: .../commits/ -} - -// Redis is redis-doc's commands.json, regenerated from each real Redis -// release and read by redis.io's own command reference (checked 2026-11-18). -// The repo has no tags, so a ref here is a commit SHA, not a release. -var Redis = Catalog{ - API: "redis/commands", Ecosystem: "redis", Package: "redis", - Repo: "redis/redis-doc", Path: "commands.json", - RefsURL: "https://api.github.com/repos/redis/redis-doc/commits/master", -} - -// URL is the catalog as it was at ref: its own provenance. -func (c Catalog) URL(ref string) string { - return fmt.Sprintf("https://raw.githubusercontent.com/%s/%s/%s", c.Repo, ref, c.Path) -} - -// parse reads the catalog as a flat map of name to its raw entry: every -// field of an entry (arity, complexity, ACL categories...) is unread, except -// where an entry's own bytes become an event's excerpt. -func parse(data []byte) (map[string]json.RawMessage, error) { - var out map[string]json.RawMessage - if err := json.Unmarshal(data, &out); err != nil { - return nil, fmt.Errorf("parsing catalog: %w", err) - } - return out, nil -} - -// removed is every name of old that new doesn't have, sorted so the result -// (and the fingerprints built from it) don't depend on map order. -func removed(old, new map[string]json.RawMessage) []string { - var out []string - for name := range old { - if _, ok := new[name]; !ok { - out = append(out, name) - } - } - sort.Strings(out) - return out -} - -// Plugin reads one catalog. -type Plugin struct { - Catalog Catalog -} - -func (p Plugin) Name() string { return p.Catalog.API } - -// ListVersions is the catalog repo's newest commit: the catalog has no -// releases, so each commit read is a version, and the change into it is -// extracted against the one read before. -func (p Plugin) ListVersions(ctx context.Context, env plugin.Env) ([]plugin.Version, error) { - ref, err := p.latestRef(ctx, env) - if err != nil { - return nil, err - } - return []plugin.Version{{ID: ref, Ref: ref}}, nil -} - -// ReadAt fetches the catalog at v's commit. -func (p Plugin) ReadAt(ctx context.Context, env plugin.Env, v plugin.Version) (plugin.Snapshot, error) { - url := p.Catalog.URL(v.Ref) - body, err := env.Get(ctx, url) - if err != nil { - return plugin.Snapshot{}, fmt.Errorf("fetching %s: %w", url, err) - } - return plugin.Snapshot{Version: v, Content: body, SourceURL: url}, nil -} - -// Extract is an event per command in from's catalog that isn't in to's, -// with previous_version from's commit. A zero from has nothing to compare. -func (p Plugin) Extract(_ context.Context, env plugin.Env, from, to plugin.Snapshot) (plugin.Result, error) { - events, rejected, err := p.events(from.Content, to.Content, from.Version.Ref, to.Version.Ref, env.Now()) - if err != nil { - return plugin.Result{}, err - } - return plugin.Result{Events: events, Rejected: rejected}, nil -} - -var _ plugin.Versioned = Plugin{} - -// latestRef asks GitHub for the catalog repo's newest commit. -func (p Plugin) latestRef(ctx context.Context, env plugin.Env) (string, error) { - sha, err := github.Head(ctx, env.Get, p.Catalog.RefsURL) - if err != nil { - return "", fmt.Errorf("looking up the newest commit: %w", err) - } - return sha, nil -} - -// events diffs two parsed snapshots into events. oldContent is empty for -// the first version read (nothing before it): diffing against no snapshot -// reports nothing, the same as an unchanged one. -func (p Plugin) events(oldContent, newContent []byte, from, to string, now time.Time) ([]event.Event, []error, error) { - c := p.Catalog - newEntries, err := parse(newContent) - if err != nil { - return nil, nil, fmt.Errorf("parsing %s: %w", c.URL(to), err) - } - var oldEntries map[string]json.RawMessage - if len(oldContent) > 0 { - oldEntries, err = parse(oldContent) - if err != nil { - return nil, nil, fmt.Errorf("parsing %s: %w", c.URL(from), err) - } - } - - var events []event.Event - var rejected []error - for _, name := range removed(oldEntries, newEntries) { - subject := event.Subject{ - Type: event.SubjectPackageRelease, Ecosystem: c.Ecosystem, Package: c.Package, - Change: event.PackageRemovedSymbol, Symbols: []string{name}, - } - e := event.Event{ - API: c.API, Version: to, PreviousVersion: from, - ChangeType: event.ChangeTypeBreaking, - Breaking: true, - Subject: subject, - Description: fmt.Sprintf("%s no longer exists: calling it now fails.", name), - SourceURL: c.URL(from), - SourceExcerpt: excerpt(name, oldEntries[name]), - Confidence: 1.0, - DetectedAt: now, +// finish fingerprints and validates the events a reader made, keeping the +// valid ones and the reasons the others failed. details, when given, are +// the fingerprints' detail, one per event: what separates two changes at +// one location. +func finish(api string, made []event.Event, details []string) (events []event.Event, rejected []error) { + for i, e := range made { + detail := "" + if details != nil { + detail = details[i] } - e.Fingerprint = event.Fingerprint(e.API, e.Version, e.ChangeType, subject, "") + e.Fingerprint = event.Fingerprint(e.API, e.Version, e.ChangeType, e.Subject, detail) if err := e.Validate(); err != nil { - rejected = append(rejected, fmt.Errorf("%s: %w", name, err)) + rejected = append(rejected, fmt.Errorf("%s %s: %w", api, e.Description, err)) continue } events = append(events, e) } - return events, rejected, nil + return events, rejected } -// excerpt quotes the entry exactly as the old snapshot had it: the evidence -// that name existed, in the catalog's own shape. Capped at the contract's -// 2000-character limit, the entry's closing braces never cut off: nested -// command-line arguments can run long. -func excerpt(name string, raw json.RawMessage) string { - s := fmt.Sprintf("%q: %s", name, string(raw)) +// excerpt caps a quote at the contract's 2000 characters. +func excerpt(s string) string { if r := []rune(s); len(r) > 2000 { s = string(r[:1999]) + "…" } diff --git a/plugins/catalog/catalog_test.go b/plugins/catalog/catalog_test.go index e34f31f..1e5ba88 100644 --- a/plugins/catalog/catalog_test.go +++ b/plugins/catalog/catalog_test.go @@ -2,118 +2,91 @@ package catalog import ( "context" + "errors" + "slices" + "strings" "testing" - "time" "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/fetch" "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" "github.com/patch-it-dev/patch-it-plugins/core/plugin" ) -// The two commits redis-doc's own history shows the removal happen between: -// PR #1697 dropped FUNCTION CREATE and FUNCTION INFO from commands.json on -// 2022-01-24 (checked 2026-11-18), replacing the single-function CREATE with -// a whole-library LOAD. Neither command ever reached a tagged Redis release -// (not even 7.0's first release candidate, which shipped a week later with -// neither in its own src/commands/): a real removal, but one that happened -// before any user could depend on it, not a production break. -const ( - oldRef = "cc0427b3c3671e90b92f1ad2fe4e835fd32cd3c9" - newRef = "06f3598f39c7ca86dbdb0aa1668cfdd1b82b908d" -) - -func env(pages kittest.Pages, t *testing.T) plugin.Env { - return plugin.Env{Get: pages.Get(t), Now: time.Now} -} - -func fixturePages() kittest.Pages { - return kittest.Pages{ - Redis.URL(oldRef): "testdata/redis-doc-cc0427b.json", - Redis.URL(newRef): "testdata/redis-doc-06f3598.json", +// redisPair is the version pair from -> to over the saved listings (and the +// removed files at from's tag), as the hosted ingestion service extracts it. +func redisPair(t *testing.T, from, to string, files ...string) []event.Event { + t.Helper() + pages := kittest.Pages{ + Redis.listingURL(from): "testdata/redis-contents-src-commands-" + from + ".json", + Redis.listingURL(to): "testdata/redis-contents-src-commands-" + to + ".json", } -} - -// The golden test and the pair fixture in one: testdata/redis-doc-cc0427b.json -// and redis-doc-06f3598.json are real, trimmed excerpts of redis-doc's -// commands.json at those two commits (checked 2026-11-18). Between them, -// FUNCTION CREATE and FUNCTION INFO disappear, FUNCTION LOAD appears, and GET -// (an unrelated, long-lived command) is unchanged: the version pair -// oldRef → newRef, read with ReadAt and Extract. -func TestPairRecreatesTheRealFunctionCommandRemoval(t *testing.T) { - ctx := context.Background() - s := kittest.NewMem() - e := env(fixturePages(), t) - - rejected, err := kittest.Pair(ctx, e, s, Plugin{Catalog: Redis}, oldRef, newRef) - if err != nil || rejected { - t.Fatalf("pair: rejected=%v err=%v", rejected, err) + for _, f := range files { + pages[Redis.FileURL(from, f)] = "testdata/redis-" + from + "-" + f } + return kittest.Versions(t, kittest.Env(t, pages), Redis, plugin.Version{ID: from, Ref: from}, plugin.Version{ID: to, Ref: to}) +} - events, err := s.All() - if err != nil { - t.Fatalf("reading events: %v", err) - } - // Precision over recall: GET (unchanged) and FUNCTION LOAD (added, not - // removed) must produce nothing. Only the two real removals should. - got := map[string]bool{} - for _, ev := range events { - if len(ev.Subject.Symbols) != 1 { - t.Fatalf("event with %d symbols, want exactly 1: %+v", len(ev.Subject.Symbols), ev) +// The one removal in redis/redis's src/commands/ between any two tags from +// 7.0 to 8.12 (checked 2026-11-20): GCRA and GCRASETVALUE, added in the +// 8.8 milestone builds, are gone at 8.8-rc1. Final releases never removed a +// command in that span, so the golden pins this pre-release pair: the real +// files, the real listings. +func TestGolden(t *testing.T) { + got := redisPair(t, "8.8-m03", "8.8-rc1", "gcra.json", "gcrasetvalue.json") + var names []string + for _, e := range got { + names = append(names, e.Subject.Symbols[0]) + if e.SourceURL != Redis.FileURL("8.8-m03", strings.ToLower(e.Subject.Symbols[0])+".json") || !strings.Contains(e.SourceExcerpt, `"since":"8.8.0"`) { + t.Errorf("%s: cites %s, quoting %.80q", e.Subject.Symbols[0], e.SourceURL, e.SourceExcerpt) } - got[ev.Subject.Symbols[0]] = true } - want := map[string]bool{"FUNCTION CREATE": true, "FUNCTION INFO": true} - if len(got) != len(want) { - t.Fatalf("stored %v, want exactly %v (GET and FUNCTION LOAD must drop silently)", got, want) - } - for name := range want { - if !got[name] { - t.Errorf("missing an event for %s", name) - } + if !slices.Equal(names, []string{"GCRA", "GCRASETVALUE"}) { + t.Errorf("removed %v, want GCRA and GCRASETVALUE", names) } + kittest.Golden(t, "testdata/golden/redis-commands.json", got) +} - // Acceptance criteria: every event carries source_url and a non-empty - // source_excerpt, is marked breaking, and is placed on the real refs. - for _, ev := range events { - if ev.API != "redis/commands" || ev.Version != newRef || ev.PreviousVersion != oldRef { - t.Errorf("event %v: api=%s version=%s previous_version=%s, want redis/commands %s from %s", - ev.Subject.Symbols, ev.API, ev.Version, ev.PreviousVersion, newRef, oldRef) - } - if ev.ChangeType != event.ChangeTypeBreaking || !ev.Breaking { - t.Errorf("event %v: change_type=%s breaking=%v, want breaking", ev.Subject.Symbols, ev.ChangeType, ev.Breaking) - } - if ev.SourceURL != Redis.URL(oldRef) { - t.Errorf("event %v: source_url=%s, want the old snapshot, where the removed command is still evidenced", ev.Subject.Symbols, ev.SourceURL) - } - if ev.SourceExcerpt == "" { - t.Errorf("event %v: missing source_excerpt", ev.Subject.Symbols) - } +// The pinned drop test: 8.8.0 -> 8.10.0 adds 17 command files (the array +// commands, INCREX…) and removes none. Nothing is an event, and nothing +// past the two listings is fetched. +func TestReleasesThatOnlyAddCommandsHaveNoEvents(t *testing.T) { + if got := redisPair(t, "8.8.0", "8.10.0"); len(got) != 0 { + t.Errorf("%d events, want 0", len(got)) } +} - // Reading the same pair again must not duplicate the events. - if _, err := kittest.Pair(ctx, e, s, Plugin{Catalog: Redis}, oldRef, newRef); err != nil { - t.Fatalf("second read of the pair: %v", err) +// A subcommand is named with its container, as code sends it. +func TestASubcommandIsNamedWithItsContainer(t *testing.T) { + name, _, err := command([]byte(`{"KILL": {"summary": "x", "container": "CLIENT"}}`)) + if err != nil || name != "CLIENT KILL" { + t.Errorf("%q, %v", name, err) } - if again, _ := s.All(); len(again) != len(events) { - t.Errorf("reading the pair again added events: %d -> %d", len(events), len(again)) + if _, _, err := command([]byte(`{"A": {}, "B": {}}`)); err == nil { + t.Error("two commands in one file must be an error, not a guess") } } -// The catalog's versions are its newest commit, looked up on GitHub; that -// version read with nothing before it has nothing to compare, so no events. -// kittest extracts it twice, so a second extract that found anything new -// would fail it too. -func TestTheNewestCommitAloneHasNoEvents(t *testing.T) { - pages := kittest.Pages{ - Redis.RefsURL: "testdata/commits-master.json", - Redis.URL(newRef): "testdata/redis-doc-06f3598.json", +// Versions are the final releases on GitHub, by version number (a patch to +// an older line published later stays in its place), each read at its tag. +// A release before src/commands/ existed has nothing to read. +func TestVersionsAreFinalReleasesByVersion(t *testing.T) { + env := kittest.Env(t, kittest.Pages{ + "https://api.github.com/repos/redis/redis/releases?per_page=100&page=1": "testdata/redis-releases-excerpt.json", + }) + vs, err := Redis.ListVersions(context.Background(), env) + if err != nil { + t.Fatal(err) + } + var ids []string + for _, v := range vs { + ids = append(ids, v.ID+"@"+v.Ref) } - e, p := kittest.Env(t, pages), Plugin{Catalog: Redis} - vs, err := p.ListVersions(context.Background(), e) - if err != nil || len(vs) != 1 || vs[0].Ref != newRef { - t.Fatalf("versions %v, %v; want the newest commit, %s", vs, err, newRef) + if got := strings.Join(ids, " "); got != "6.2.20@6.2.20 7.2.10@7.2.10 8.0.0@8.0.0 8.0.1@8.0.1" { + t.Errorf("versions %s", got) } - if events := kittest.Versions(t, e, p, plugin.Version{}, vs[0]); len(events) != 0 { - t.Errorf("found %d events, want 0: there is nothing yet to diff against", len(events)) + notFound := plugin.Env{Get: func(context.Context, string) ([]byte, error) { return nil, &fetch.StatusError{StatusCode: 404} }} + if _, err := Redis.ReadAt(context.Background(), notFound, plugin.Version{ID: "6.2.20", Ref: "6.2.20"}); !errors.Is(err, plugin.ErrNothingToRead) { + t.Errorf("no src/commands/ at the tag: %v, want plugin.ErrNothingToRead", err) } } diff --git a/plugins/catalog/graphql.go b/plugins/catalog/graphql.go new file mode 100644 index 0000000..511f94b --- /dev/null +++ b/plugins/catalog/graphql.go @@ -0,0 +1,199 @@ +package catalog + +import ( + "context" + "encoding/json" + "fmt" + "html" + "regexp" + "sort" + "strings" + + "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/github" + "github.com/patch-it-dev/patch-it-plugins/core/plugin" + "github.com/patch-it-dev/patch-it-plugins/core/versions" +) + +// UpcomingChanges is a GraphQL API's file of announced removals, kept in a +// repo and read at each commit that changed it: GitHub's +// src/graphql/data/fpt/upcoming-changes.json in github/docs, which +// docs.github.com's "Breaking changes" page is built from. The file is an +// object keyed by removal date, each a list of {location, description, +// reason, date, criticality}: location is "Type.field" (or +// "Type.field.argument"), date the day it goes. +// +// A version is a commit (its date, its SHA). An entry in to's file that +// from's didn't have is a newly announced removal: a deprecation event on +// that location whose version is the removal date (GitHub's GraphQL API has +// no versions of its own, so the day it breaks is the one to gate on, as a +// model's shutdown date is), with previous_version the commit before. An +// entry a commit drops and a later one restores, with the same date, is then +// the same event again, which the store dedupes by fingerprint. An entry dated before the commit that +// adds it isn't an announcement (a revert putting back a removal already +// made: the file lost and regained 17 such entries on 2026-01-05 and 06), and +// an entry that leaves the file isn't read: it shipped, or was withdrawn, +// and the file doesn't say which. +type UpcomingChanges struct { + API string // the source id the events carry: "github/graphql" + Vendor string // for sentences: "GitHub" + Repo string // owner/name on GitHub + Path string // the file's path in the repo + // Endpoint is the GraphQL endpoint as an operation: every query and + // mutation is a POST to it ("POST /graphql"). + Endpoint string +} + +// GitHubGraphQL is GitHub's GraphQL API's upcoming changes (checked +// 2026-11-21: 1,291 entries, every one "criticality": "breaking", 29 +// commits since 2023-05-01). +var GitHubGraphQL = UpcomingChanges{ + API: "github/graphql", Vendor: "GitHub", + Repo: "github/docs", Path: "src/graphql/data/fpt/upcoming-changes.json", + Endpoint: "POST /graphql", +} + +func (u UpcomingChanges) Name() string { return u.API } + +// FileURL is the file at a commit: its own provenance. +func (u UpcomingChanges) FileURL(sha string) string { + return fmt.Sprintf("%s/%s/%s/%s", github.Raw, u.Repo, sha, u.Path) +} + +// ListVersions is every commit that changed the file, oldest first. +func (u UpcomingChanges) ListVersions(ctx context.Context, env plugin.Env) ([]plugin.Version, error) { + return versions.GitHubCommits(ctx, env.Get, u.Repo, u.Path) +} + +// ReadAt fetches the file at v's commit. +func (u UpcomingChanges) ReadAt(ctx context.Context, env plugin.Env, v plugin.Version) (plugin.Snapshot, error) { + url := u.FileURL(v.Ref) + body, err := env.Get(ctx, url) + if err != nil { + return plugin.Snapshot{}, fmt.Errorf("fetching %s: %w", url, err) + } + return plugin.Snapshot{Version: v, Content: body, SourceURL: url}, nil +} + +// upcoming is one entry of the file: the fields read, in the file's order, +// which is also how an event quotes it (the entry's "owner", a GitHub team +// or handle, is left out). +type upcoming struct { + Location string `json:"location"` + Description string `json:"description"` + Reason string `json:"reason"` + Date string `json:"date"` + Criticality string `json:"criticality"` +} + +func (e upcoming) key() string { return e.Location + "@" + e.Date } + +// entries reads the file: every entry, in the file's order of dates. +func entries(body []byte) ([]upcoming, error) { + var byDate map[string][]json.RawMessage + if err := json.Unmarshal(body, &byDate); err != nil { + return nil, err + } + dates := make([]string, 0, len(byDate)) + for d := range byDate { + dates = append(dates, d) + } + sort.Strings(dates) + var out []upcoming + for _, d := range dates { + for _, r := range byDate[d] { + var e upcoming + if err := json.Unmarshal(r, &e); err != nil { + return nil, err + } + out = append(out, e) + } + } + return out, nil +} + +var gqlTag = regexp.MustCompile(`<[^>]+>`) + +// gqlText is an entry's HTML as one plain sentence. +func gqlText(s string) string { + return strings.Join(strings.Fields(html.UnescapeString(gqlTag.ReplaceAllString(s, ""))), " ") +} + +// Extract is a deprecation event per entry in to's file that from's didn't +// have, dated before to's commit or not at all excluded (see +// UpcomingChanges), with previous_version from's commit. A zero from has +// nothing to compare. +func (u UpcomingChanges) Extract(_ context.Context, env plugin.Env, from, to plugin.Snapshot) (plugin.Result, error) { + if from.IsZero() { + return plugin.Result{}, nil + } + before, err := entries(from.Content) + if err != nil { + return plugin.Result{}, fmt.Errorf("reading %s: %w", from.SourceURL, err) + } + after, err := entries(to.Content) + if err != nil { + return plugin.Result{}, fmt.Errorf("reading %s: %w", to.SourceURL, err) + } + had := map[string]bool{} + for _, e := range before { + had[e.key()] = true + } + var made []event.Event + var details []string + for _, e := range after { + if had[e.key()] || e.Date < to.Version.ID || e.Criticality != "breaking" { + continue + } + subject, ok := u.subject(e.Location) + if !ok { + continue + } + var quote strings.Builder + enc := json.NewEncoder("e) + enc.SetEscapeHTML(false) + if err := enc.Encode(e); err != nil { + return plugin.Result{}, err + } + hint := gqlText(e.Description) + if r := gqlText(e.Reason); r != "" && r != hint { + hint += " " + r + } + made = append(made, event.Event{ + API: u.API, Version: e.Date, PreviousVersion: from.Version.ID, + ChangeType: event.ChangeTypeDeprecation, + Subject: subject, + Description: fmt.Sprintf("%s's GraphQL API removes %s on %s: code that queries or sends it fails from that date.", + u.Vendor, e.Location, e.Date), + MigrationHint: hint, + SourceURL: to.SourceURL, + SourceExcerpt: excerpt(strings.TrimSpace(quote.String())), + Confidence: 1.0, + DetectedAt: env.Now().UTC(), + }) + details = append(details, "") + } + events, rejected := finish(u.API, made, details) + return plugin.Result{Events: events, Rejected: rejected}, nil +} + +// subject places a location in the contract's api_operation: an input +// object's field, or an argument of a root field (Query.field.argument), is +// a request parameter of the endpoint; any other location (a field, a root +// field itself, a field's argument, an enum's value) is a property of its +// type, as a schema. +func (u UpcomingChanges) subject(location string) (event.Subject, bool) { + typ, rest, ok := strings.Cut(location, ".") + if !ok || typ == "" || rest == "" { + return event.Subject{}, false + } + root := typ == "Query" || typ == "Mutation" || typ == "Subscription" + if strings.HasSuffix(typ, "Input") || (root && strings.Contains(rest, ".")) { + return event.Subject{Type: event.SubjectAPIOperation, Kind: event.KindRequestParameter, Side: event.SideRequest, + Operation: u.Endpoint, Property: location}, true + } + return event.Subject{Type: event.SubjectAPIOperation, Kind: event.KindSchemaProperty, Side: event.SideResponse, + Schema: typ, Property: rest}, true +} + +var _ plugin.Versioned = UpcomingChanges{} diff --git a/plugins/catalog/graphql_test.go b/plugins/catalog/graphql_test.go new file mode 100644 index 0000000..632ccbd --- /dev/null +++ b/plugins/catalog/graphql_test.go @@ -0,0 +1,145 @@ +package catalog + +import ( + "context" + "fmt" + "strings" + "testing" + + "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" + "github.com/patch-it-dev/patch-it-plugins/core/plugin" + "github.com/patch-it-dev/patch-it-plugins/core/versions" +) + +// The commits of github/docs the saved files are at (testdata/README.md), +// oldest first, as GitHub's commit list names them. +var graphqlCommits = []plugin.Version{ + {ID: "2026-01-05", Ref: "fc26275f90e62249fabc0f287255b3e5e60cb6e8"}, + {ID: "2026-01-06", Ref: "54c26c43342f7818c4001af7eaf6a3295e3f822d"}, + {ID: "2026-01-08", Ref: "2706f417a6afec24c57482d62f70035ee35c10fb"}, + {ID: "2026-02-13", Ref: "fc7cedfe9c6b2c0a40fd213cd18c0afc774b67fc"}, + {ID: "2026-03-03", Ref: "3a14e541873e834edf32b43b71911fe80d109a70"}, + {ID: "2026-05-22", Ref: "a934f06d211bef668253e3826c118a4e559dc1ba"}, + {ID: "2026-06-23", Ref: "c5738e5815fff90d38f0166f7c9949bfb664e003"}, +} + +func graphqlPages() kittest.Pages { + pages := kittest.Pages{} + for _, v := range graphqlCommits { + pages[GitHubGraphQL.FileURL(v.Ref)] = "testdata/github-graphql-upcoming-changes-" + v.Ref[:8] + ".json" + } + return pages +} + +func graphqlPair(t *testing.T, from, to plugin.Version) []event.Event { + t.Helper() + return kittest.Versions(t, kittest.Env(t, graphqlPages()), GitHubGraphQL, from, to) +} + +// The golden test: four consecutive commits, three pairs. 2026-03-03 adds +// CheckAnnotation.databaseId and Artifact.databaseId (removed on +// 2027-01-01, in the file's order), 2026-05-22 User.viewerRelevantRepositories +// and 2026-06-23 CopilotAgentTask.type (both 2026-10-01). Every entry the +// commits share is no event. +func TestGraphQLGolden(t *testing.T) { + var got []event.Event + var names []string + for _, pair := range versions.Pairs(graphqlCommits[3:]) { + for _, e := range graphqlPair(t, pair[0], pair[1]) { + got = append(got, e) + names = append(names, fmt.Sprintf("%s->%s %s.%s", e.PreviousVersion, pair[1].ID, e.Subject.Schema, e.Subject.Property)) + } + } + want := "2026-02-13->2026-03-03 CheckAnnotation.databaseId | 2026-02-13->2026-03-03 Artifact.databaseId | 2026-03-03->2026-05-22 User.viewerRelevantRepositories | 2026-05-22->2026-06-23 CopilotAgentTask.type" + if strings.Join(names, " | ") != want { + t.Errorf("got %s\nwant %s", strings.Join(names, " | "), want) + } + for _, e := range got { + if e.ChangeType != event.ChangeTypeDeprecation || e.Subject.Kind != event.KindSchemaProperty || !strings.Contains(e.SourceExcerpt, `"criticality":"breaking"`) || strings.Contains(e.SourceExcerpt, "owner") { + t.Errorf("%+v", e) + } + } + for i := range got { + got[i].ID = 0 + } + kittest.Golden(t, "testdata/golden/github-graphql.json", got) +} + +// The pinned drop test: on 2026-01-05 the file lost 17 entries (removals +// dated 2024-07-01 to 2026-01-01, already made), got them back the next day +// and lost them again on 2026-01-08. Putting back a removal already past +// isn't an announcement, and an entry leaving the file says nothing: no +// event in either pair, though the second pair adds 17 entries. +func TestGraphQLRevertsAreNoAnnouncement(t *testing.T) { + for _, pair := range versions.Pairs(graphqlCommits[:3]) { + if got := graphqlPair(t, pair[0], pair[1]); len(got) != 0 { + t.Errorf("%s -> %s: %d events, want 0", pair[0].ID, pair[1].ID, len(got)) + } + } + // The second pair does add entries: what the date check drops. + from, _ := GitHubGraphQL.ReadAt(context.Background(), kittest.Env(t, graphqlPages()), graphqlCommits[0]) + to, _ := GitHubGraphQL.ReadAt(context.Background(), kittest.Env(t, graphqlPages()), graphqlCommits[1]) + a, _ := entries(from.Content) + b, _ := entries(to.Content) + if len(b)-len(a) != 17 { + t.Errorf("the re-added entries: %d, want 17", len(b)-len(a)) + } +} + +// An input object's field and a root field's argument are request +// parameters of POST /graphql; any other location is a property of its type. +func TestGraphQLLocations(t *testing.T) { + for loc, want := range map[string]string{ + "AddPullRequestReviewInput.comments": "request_parameter POST /graphql AddPullRequestReviewInput.comments", + "Query.sponsorables.dependencyEcosystem": "request_parameter POST /graphql Query.sponsorables.dependencyEcosystem", + "RepositoryPermission.TRIAGE_PLUS": "schema_property RepositoryPermission TRIAGE_PLUS", + "Issue.stateReason.enableDuplicate": "schema_property Issue stateReason.enableDuplicate", + } { + s, ok := GitHubGraphQL.subject(loc) + got := strings.Join(strings.Fields(fmt.Sprintf("%s %s %s %s", s.Kind, s.Operation, s.Schema, s.Property)), " ") + if !ok || got != want { + t.Errorf("%s: %q, want %q", loc, got, want) + } + } + if _, ok := GitHubGraphQL.subject("NoDot"); ok { + t.Error("a location without a field isn't read") + } +} + +func TestGraphQLVersionsAreTheFilesCommits(t *testing.T) { + env := kittest.Env(t, kittest.Pages{ + "https://api.github.com/repos/github/docs/commits?path=src%2Fgraphql%2Fdata%2Ffpt%2Fupcoming-changes.json&per_page=100&page=1": "testdata/github-commits-upcoming-changes-excerpt.json", + }) + vs, err := GitHubGraphQL.ListVersions(context.Background(), env) + if err != nil || len(vs) != 3 || vs[0].Ref != graphqlCommits[3].Ref || vs[2].ID != "2026-05-22" { + t.Errorf("%v %v", vs, err) + } +} + +// An entry a commit drops while still upcoming and a later commit restores +// is the same event: its version is the removal date, not the commit's, so +// the fingerprint matches and the store keeps one. +func TestGraphQLARestoredEntryIsTheSameEvent(t *testing.T) { + first := graphqlPair(t, graphqlCommits[3], graphqlCommits[4]) + // 2026-03-03's file without its two additions, then the file again. + from, err := GitHubGraphQL.ReadAt(context.Background(), kittest.Env(t, graphqlPages()), graphqlCommits[3]) + if err != nil { + t.Fatal(err) + } + to, err := GitHubGraphQL.ReadAt(context.Background(), kittest.Env(t, graphqlPages()), graphqlCommits[4]) + if err != nil { + t.Fatal(err) + } + from.Version = plugin.Version{ID: "2026-04-01", Ref: "dropped"} + to.Version = plugin.Version{ID: "2026-04-02", Ref: "restored"} + again, err := GitHubGraphQL.Extract(context.Background(), kittest.Env(t, nil), from, to) + if err != nil || len(again.Events) != len(first) { + t.Fatalf("%v, %d events", err, len(again.Events)) + } + for i, e := range again.Events { + if e.Version != "2027-01-01" || e.Fingerprint != first[i].Fingerprint { + t.Errorf("%s: version %s, same fingerprint %v", e.Subject.Property, e.Version, e.Fingerprint == first[i].Fingerprint) + } + } +} diff --git a/plugins/catalog/redis.go b/plugins/catalog/redis.go new file mode 100644 index 0000000..e78253c --- /dev/null +++ b/plugins/catalog/redis.go @@ -0,0 +1,193 @@ +package catalog + +import ( + "bytes" + "context" + "encoding/json" + "errors" + "fmt" + "net/url" + "regexp" + "slices" + "sort" + "strings" + + "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/fetch" + "github.com/patch-it-dev/patch-it-plugins/core/github" + "github.com/patch-it-dev/patch-it-plugins/core/plugin" + "github.com/patch-it-dev/patch-it-plugins/core/versions" +) + +// Commands is a server's command catalog kept as one JSON file per command +// in a directory of its own repo, read at each release tag: Redis's +// src/commands/, which the server's command table (and redis.io's command +// reference) is generated from. Each file is one object, keyed by the +// command's name, a subcommand naming its parent as "container" +// ({"KILL": {"container": "CLIENT", ...}} is CLIENT KILL). +// +// A version is a release: its tag lists the directory (one GitHub API +// call), and a command whose file is gone from the next release's listing +// is removed. Only a removed file is fetched, at the older tag, for the +// command's name and the entry quoted as evidence. +type Commands struct { + API string // the source id the events carry: "redis/commands" + Ecosystem string // the package_release subject's ecosystem: "redis" + Package string // the package_release subject's package: "redis" + Repo string // owner/name on GitHub + Dir string // the directory of command files in the repo + // Release matches a final release's tag; its first submatch is the + // version. + Release *regexp.Regexp +} + +// Redis is redis/redis's src/commands/ (checked 2026-11-20: 460 files at +// 8.10.0, every final release a GitHub release tagged X.Y.Z). The directory +// exists from 7.0.0; an older release has nothing to read. +var Redis = Commands{ + API: "redis/commands", Ecosystem: "redis", Package: "redis", + Repo: "redis/redis", Dir: "src/commands", + Release: regexp.MustCompile(`^(\d+\.\d+\.\d+)$`), +} + +func (c Commands) Name() string { return c.API } + +// listingURL is GitHub's listing of the directory at a ref. +func (c Commands) listingURL(ref string) string { + return fmt.Sprintf("%s/repos/%s/contents/%s?ref=%s", github.API, c.Repo, c.Dir, url.QueryEscape(ref)) +} + +// FileURL is one command's file at a ref: its own provenance, as a tag +// never changes. +func (c Commands) FileURL(ref, file string) string { + return fmt.Sprintf("%s/%s/%s/%s/%s", github.Raw, c.Repo, ref, c.Dir, file) +} + +// ListVersions is every final release on GitHub, ordered by version, not by +// publication date: Redis patches older lines after a newer one ships +// (7.2.10 after 8.0.0), and a pair across lines would read the older line's +// missing commands as removals. +func (c Commands) ListVersions(ctx context.Context, env plugin.Env) ([]plugin.Version, error) { + vs, err := versions.GitHubReleases(ctx, env.Get, c.Repo, c.Release.MatchString) + if err != nil { + return nil, err + } + for i := range vs { + vs[i].ID = c.Release.FindStringSubmatch(vs[i].Ref)[1] + } + slices.SortStableFunc(vs, func(a, b plugin.Version) int { return versions.Compare(a.ID, b.ID) }) + return vs, nil +} + +// ReadAt lists the command files at v's tag, as a sorted JSON array of file +// names. A release without the directory (before 7.0.0) has nothing to +// read. +func (c Commands) ReadAt(ctx context.Context, env plugin.Env, v plugin.Version) (plugin.Snapshot, error) { + u := c.listingURL(v.Ref) + body, err := env.Get(ctx, u) + var se *fetch.StatusError + if errors.As(err, &se) && se.StatusCode == 404 { + return plugin.Snapshot{}, fmt.Errorf("no %s at %s: %w", c.Dir, v.Ref, plugin.ErrNothingToRead) + } + if err != nil { + return plugin.Snapshot{}, fmt.Errorf("listing %s at %s: %w", c.Dir, v.Ref, err) + } + var entries []struct { + Name string `json:"name"` + Type string `json:"type"` + } + if err := json.Unmarshal(body, &entries); err != nil { + return plugin.Snapshot{}, fmt.Errorf("parsing the listing of %s at %s: %w", c.Dir, v.Ref, err) + } + var files []string + for _, e := range entries { + if e.Type == "file" && strings.HasSuffix(e.Name, ".json") { + files = append(files, e.Name) + } + } + if len(files) == 0 { + return plugin.Snapshot{}, fmt.Errorf("no command files in %s at %s: %w", c.Dir, v.Ref, plugin.ErrNothingToRead) + } + sort.Strings(files) + content, _ := json.Marshal(files) + return plugin.Snapshot{Version: v, Content: content, SourceURL: fmt.Sprintf("https://github.com/%s/tree/%s/%s", c.Repo, v.Ref, c.Dir)}, nil +} + +// Extract is an event per command whose file is in from's listing and not +// in to's, citing the file at from's tag, with previous_version from's +// release. A zero from has nothing to compare. +func (c Commands) Extract(ctx context.Context, env plugin.Env, from, to plugin.Snapshot) (plugin.Result, error) { + if from.IsZero() { + return plugin.Result{}, nil + } + var before, after []string + if err := json.Unmarshal(from.Content, &before); err != nil { + return plugin.Result{}, fmt.Errorf("reading %s: %w", from.SourceURL, err) + } + if err := json.Unmarshal(to.Content, &after); err != nil { + return plugin.Result{}, fmt.Errorf("reading %s: %w", to.SourceURL, err) + } + var made []event.Event + for _, file := range before { + if slices.Contains(after, file) { + continue + } + u := c.FileURL(from.Version.Ref, file) + body, err := env.Get(ctx, u) + if err != nil { + return plugin.Result{}, fmt.Errorf("fetching %s: %w", u, err) + } + name, entry, err := command(body) + if err != nil { + return plugin.Result{}, fmt.Errorf("reading %s: %w", u, err) + } + made = append(made, event.Event{ + API: c.API, Version: to.Version.ID, PreviousVersion: from.Version.ID, + ChangeType: event.ChangeTypeBreaking, Breaking: true, + Subject: event.Subject{ + Type: event.SubjectPackageRelease, Ecosystem: c.Ecosystem, Package: c.Package, + Change: event.PackageRemovedSymbol, Symbols: []string{name}, + }, + Description: fmt.Sprintf("%s is gone in Redis %s (it was in %s): calling it fails.", name, to.Version.ID, from.Version.ID), + SourceURL: u, + SourceExcerpt: excerpt(entry), + Confidence: 1.0, + DetectedAt: env.Now().UTC(), + }) + } + events, rejected := finish(c.API, made, nil) + return plugin.Result{Events: events, Rejected: rejected}, nil +} + +// command reads one command file: its name ("CLIENT KILL" for a subcommand) +// and the file's entry, quoted as the file writes it, whitespace between +// tokens left out. +func command(body []byte) (name, entry string, err error) { + var file map[string]json.RawMessage + if err := json.Unmarshal(body, &file); err != nil { + return "", "", err + } + if len(file) != 1 { + return "", "", fmt.Errorf("%d commands in one file, want 1", len(file)) + } + for key, raw := range file { + var meta struct { + Container string `json:"container"` + } + if err := json.Unmarshal(raw, &meta); err != nil { + return "", "", err + } + name = key + if meta.Container != "" { + name = meta.Container + " " + key + } + var compact bytes.Buffer + if err := json.Compact(&compact, body); err != nil { + return "", "", err + } + entry = compact.String() + } + return name, entry, nil +} + +var _ plugin.Versioned = Commands{} diff --git a/plugins/catalog/registered_test.go b/plugins/catalog/registered_test.go index 66cb74d..1f8630c 100644 --- a/plugins/catalog/registered_test.go +++ b/plugins/catalog/registered_test.go @@ -7,5 +7,6 @@ import ( ) func TestRegistersItself(t *testing.T) { - kittest.Registered(t, Plugin{Catalog: Redis}) + kittest.Registered(t, Redis) + kittest.Registered(t, GitHubGraphQL) } diff --git a/plugins/catalog/testdata/README.md b/plugins/catalog/testdata/README.md index eea3aac..f71b7c9 100644 --- a/plugins/catalog/testdata/README.md +++ b/plugins/catalog/testdata/README.md @@ -1,9 +1,14 @@ # Saved catalog snapshots +The golden files, `golden/redis-commands.json` and `golden/github-graphql.json`, are what the catalog kind stores from the files below (`go test ./plugins/catalog -update`). + | File | URL | Fetched | License | Quote | |---|---|---|---|---| -| `redis-doc-cc0427b.json` | https://github.com/redis/redis-doc/blob/cc0427b3c3671e90b92f1ad2fe4e835fd32cd3c9/commands.json | 2026-11-18 | BSD-3-Clause (redis-doc); trimmed to `FUNCTION CREATE`, `FUNCTION INFO` and `GET` | `"FUNCTION CREATE": {"summary": "Create a function with the given arguments (name, code, description)", "since": "7.0.0", ...}` | -| `redis-doc-06f3598.json` | https://github.com/redis/redis-doc/blob/06f3598f39c7ca86dbdb0aa1668cfdd1b82b908d/commands.json | 2026-11-18 | BSD-3-Clause (redis-doc); trimmed to `FUNCTION LOAD` and `GET` | `"FUNCTION LOAD": {"summary": "Create a function with the given arguments (name, code, description)", "since": "7.0.0", ...}` | -| `commits-master.json` | n/a: a stand-in for `GET https://api.github.com/repos/redis/redis-doc/commits/master`'s response shape, not a saved page. The plugin never cites this lookup as an event's evidence, only the two files above. | — | — | — | - -Both `commands.json` snapshots are real, un-invented excerpts: `06f3598` ([PR #1697](https://github.com/redis/redis-doc/pull/1697), 2022-01-24) is the actual commit that removed `FUNCTION CREATE` and `FUNCTION INFO` and added `FUNCTION LOAD`; `cc0427b` is its immediate parent. `GET` is kept whole and unmodified in both as the drop-test fixture: an unrelated, decades-old command that must never produce an event just because the file around it changed. +| `redis-contents-src-commands-8.8-m03.json` | https://api.github.com/repos/redis/redis/contents/src/commands?ref=8.8-m03 | 2026-11-20 | BSD-3-Clause / RSALv2 / SSPLv1 / AGPLv3 (redis/redis); the listing cut to the two fields read, `name` and `type`, every entry kept | `{"name": "gcra.json", "type": "file"}` | +| `redis-contents-src-commands-8.8-rc1.json` | https://api.github.com/repos/redis/redis/contents/src/commands?ref=8.8-rc1 | 2026-11-20 | as above | no `gcra.json`, no `gcrasetvalue.json` | +| `redis-contents-src-commands-8.8.0.json`, `redis-contents-src-commands-8.10.0.json` | https://api.github.com/repos/redis/redis/contents/src/commands?ref=8.8.0 and `?ref=8.10.0` | 2026-11-20 | as above | the drop test: 17 files added, none removed | +| `redis-8.8-m03-gcra.json` | https://raw.githubusercontent.com/redis/redis/8.8-m03/src/commands/gcra.json | 2026-11-20 | as above, kept whole, byte for byte | `"GCRA": {"summary": "Rate limit via GCRA (Generic Cell Rate Algorithm).", … "since": "8.8.0"` | +| `redis-8.8-m03-gcrasetvalue.json` | https://raw.githubusercontent.com/redis/redis/8.8-m03/src/commands/gcrasetvalue.json | 2026-11-20 | as above, kept whole, byte for byte | `"GCRASETVALUE": {"summary": "An internal command for recording a GCRA TAT value during AOF rewrite and replication."` | +| `redis-releases-excerpt.json` | https://api.github.com/repos/redis/redis/releases (shape only) | written for the test, 2026-11-20 | not a saved copy: five entries in the shape of GitHub's releases API (`tag_name`, `draft`, `prerelease`, `published_at`, `html_url`), dates approximate, a pre-release and a patch to an older line published later among them | for the version-listing test only | +| `github-graphql-upcoming-changes-.json` (seven) | https://github.com/github/docs/blob//src/graphql/data/fpt/upcoming-changes.json at fc26275f, 54c26c43, 2706f417 (2026-01-05 to 08) and fc7cedfe, 3a14e541, a934f06d, c5738e58 (2026-02-13 to 06-23) | 2026-11-21 | CC BY 4.0 (github/docs content). Excerpts for testing: each keeps the first entry under every date of the first file of its group, and every entry the group's commits add; every kept entry unchanged, in the file's order. The plugin finds the same additions between them as between the full files (2, 1, 1; and 17 re-added, past-dated) | `"location": "CheckAnnotation.databaseId", "description": "

databaseId will be removed. Use fullDatabaseId instead.

"` | +| `github-commits-upcoming-changes-excerpt.json` | https://api.github.com/repos/github/docs/commits?path=src/graphql/data/fpt/upcoming-changes.json (shape only) | written for the test, 2026-11-21 | not a saved copy: three of the real commits (SHA, date, URL), newest first as GitHub lists them | for the version-listing test only | diff --git a/plugins/catalog/testdata/commits-master.json b/plugins/catalog/testdata/commits-master.json deleted file mode 100644 index 68ec6b0..0000000 --- a/plugins/catalog/testdata/commits-master.json +++ /dev/null @@ -1 +0,0 @@ -{"sha": "06f3598f39c7ca86dbdb0aa1668cfdd1b82b908d"} diff --git a/plugins/catalog/testdata/github-commits-upcoming-changes-excerpt.json b/plugins/catalog/testdata/github-commits-upcoming-changes-excerpt.json new file mode 100644 index 0000000..0be001c --- /dev/null +++ b/plugins/catalog/testdata/github-commits-upcoming-changes-excerpt.json @@ -0,0 +1,5 @@ +[ + {"sha": "a934f06d211bef668253e3826c118a4e559dc1ba", "html_url": "https://github.com/github/docs/commit/a934f06d211bef668253e3826c118a4e559dc1ba", "commit": {"committer": {"date": "2026-05-22T17:14:56Z"}}}, + {"sha": "3a14e541873e834edf32b43b71911fe80d109a70", "html_url": "https://github.com/github/docs/commit/3a14e541873e834edf32b43b71911fe80d109a70", "commit": {"committer": {"date": "2026-03-03T16:45:09Z"}}}, + {"sha": "fc7cedfe9c6b2c0a40fd213cd18c0afc774b67fc", "html_url": "https://github.com/github/docs/commit/fc7cedfe9c6b2c0a40fd213cd18c0afc774b67fc", "commit": {"committer": {"date": "2026-02-13T16:44:32Z"}}} +] diff --git a/plugins/catalog/testdata/github-graphql-upcoming-changes-2706f417.json b/plugins/catalog/testdata/github-graphql-upcoming-changes-2706f417.json new file mode 100644 index 0000000..c125b9b --- /dev/null +++ b/plugins/catalog/testdata/github-graphql-upcoming-changes-2706f417.json @@ -0,0 +1,232 @@ +{ + "2026-04-01": [ + { + "location": "TeamRemoveRepositoryAuditEntry.userUrl", + "description": "

userUrl will be removed.

", + "reason": "

The GraphQL audit-log is deprecated. Please use the REST API instead.

", + "date": "2026-04-01", + "criticality": "breaking", + "owner": "audit_logs" + } + ], + "2026-01-01": [ + { + "location": "NotificationThread.subject", + "description": "

subject will be removed. Use the optionalSubject field instead.

", + "reason": "

Null values are possible for this field.

", + "date": "2026-01-01", + "criticality": "breaking", + "owner": "github/notifications" + } + ], + "2025-10-01": [ + { + "location": "SecurityAdvisory.cvss", + "description": "

cvss will be removed. New cvss_severities field will now contain both cvss_v3 and cvss_v4 properties.

", + "reason": "

cvss will be removed.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "github/advisory-database" + } + ], + "2025-04-01": [ + { + "location": "User.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + } + ], + "2025-01-01": [ + { + "location": "AddMobileDevicePublicKeyPayload.expiresAt", + "description": "

expiresAt will be removed. Do not rely on this field, it is currently set to a date far in the future if a device key is expirationless

", + "reason": "

We are deprecating expirations for mobile device keys used in mobile 2FA

", + "date": "2025-01-01", + "criticality": "breaking", + "owner": "chriskirkland" + } + ], + "2024-10-01": [ + { + "location": "Workflow.hasWorkflowDispatchTrigger", + "description": "

hasWorkflowDispatchTrigger will be removed. Use has_workflow_dispatch_trigger_for_branch(branch_ref) instead.

", + "reason": "

has_workflow_dispatch_trigger is being removed because it can be misleading and only checks a repository's default branch

", + "date": "2024-10-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2024-04-01": [ + { + "location": "TopicSuggestionDeclineReason.TOO_SPECIFIC", + "description": "

TOO_SPECIFIC will be removed.

", + "reason": "

Suggested topics are no longer supported

", + "date": "2024-04-01", + "criticality": "breaking", + "owner": "calvinchilds" + } + ], + "2023-10-01": [ + { + "location": "PullRequestReviewComment.position", + "description": "

position will be removed. Use the line and startLine fields instead, which are file line numbers instead of diff line numbers

", + "reason": "

We are phasing out diff-relative positioning for PR comments

", + "date": "2023-10-01", + "criticality": "breaking", + "owner": "aharpole" + } + ], + "2023-07-01": [ + { + "location": "ProjectV2ItemFieldGroup.field", + "description": "

field will be removed. Check out the ProjectV2ItemFieldGroup#groupByField API as an example for the more capable alternative.

", + "reason": "

The ProjectV2ItemFieldGroup#field API is deprecated in favour of the more capable ProjectV2ItemFieldGroup#groupByField API.

", + "date": "2023-07-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2023-04-01": [ + { + "location": "Repository.squashPrTitleUsedAsDefault", + "description": "

squashPrTitleUsedAsDefault will be removed. Use Repository.squashMergeCommitTitle instead.

", + "reason": "

squashPrTitleUsedAsDefault will be removed.

", + "date": "2023-04-01", + "criticality": "breaking", + "owner": "github/pull_requests" + } + ], + "2023-02-10": [ + { + "location": "PackageType.MAVEN", + "description": "

MAVEN will be removed.

", + "reason": "

MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2023-02-10", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2023-01-01": [ + { + "location": "ProjectV2View.visibleFields", + "description": "

visibleFields will be removed. Check out the ProjectV2View#fields API as an example for the more capable alternative.

", + "reason": "

The ProjectV2View#visibleFields API is deprecated in favour of the more capable ProjectV2View#fields API.

", + "date": "2023-01-01", + "criticality": "breaking", + "owner": "mattruggio" + } + ], + "2022-12-28": [ + { + "location": "PackageType.RUBYGEMS", + "description": "

RUBYGEMS will be removed.

", + "reason": "

RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-12-28", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2022-11-21": [ + { + "location": "PackageType.NUGET", + "description": "

NUGET will be removed.

", + "reason": "

NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-11-21", + "criticality": "breaking", + "owner": "s-anupam" + } + ], + "2022-10-01": [ + { + "location": "RemovePullRequestFromMergeQueueInput.branch", + "description": "

branch will be removed.

", + "reason": "

PRs are removed from the merge queue for the base branch, the branch argument is now a no-op

", + "date": "2022-10-01", + "criticality": "breaking", + "owner": "jhunschejones" + } + ], + "2022-07-01": [ + { + "location": "Query.sponsorables.dependencyEcosystem", + "description": "

dependencyEcosystem will be removed. Use the ecosystem argument instead.

", + "reason": "

The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

", + "date": "2022-07-01", + "criticality": "breaking", + "owner": "cheshire137" + } + ], + "2021-10-01": [ + { + "location": "ReactionGroup.users", + "description": "

users will be removed. Use the reactors field instead.

", + "reason": "

Reactors can now be mannequins, bots, and organizations.

", + "date": "2021-10-01", + "criticality": "breaking", + "owner": "synthead" + } + ], + "2021-06-21": [ + { + "location": "PackageType.DOCKER", + "description": "

DOCKER will be removed.

", + "reason": "

DOCKER will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2021-06-21", + "criticality": "breaking", + "owner": "reybard" + } + ], + "2021-01-01": [ + { + "location": "MergeStateStatus.DRAFT", + "description": "

DRAFT will be removed. Use PullRequest.isDraft instead.

", + "reason": "

DRAFT state will be removed from this enum and isDraft should be used instead

", + "date": "2021-01-01", + "criticality": "breaking", + "owner": "nplasterer" + } + ], + "2020-10-01": [ + { + "location": "Sponsorship.sponsor", + "description": "

sponsor will be removed. Use Sponsorship.sponsorEntity instead.

", + "reason": "

Sponsorship.sponsor will be removed.

", + "date": "2020-10-01", + "criticality": "breaking", + "owner": "nholden" + } + ], + "2020-04-01": [ + { + "location": "Sponsorship.maintainer", + "description": "

maintainer will be removed. Use Sponsorship.sponsorable instead.

", + "reason": "

Sponsorship.maintainer will be removed.

", + "date": "2020-04-01", + "criticality": "breaking", + "owner": "antn" + } + ], + "2020-01-01": [ + { + "location": "UnassignedEvent.user", + "description": "

user will be removed. Use the assignee field instead.

", + "reason": "

Assignees can now be mannequins.

", + "date": "2020-01-01", + "criticality": "breaking", + "owner": "tambling" + } + ], + "2019-04-01": [ + { + "location": "LegacyMigration.uploadUrlTemplate", + "description": "

uploadUrlTemplate will be removed. Use uploadUrl instead.

", + "reason": "

uploadUrlTemplate is being removed because it is not a standard URL and adds an extra user step.

", + "date": "2019-04-01", + "criticality": "breaking", + "owner": "tambling" + } + ] +} diff --git a/plugins/catalog/testdata/github-graphql-upcoming-changes-3a14e541.json b/plugins/catalog/testdata/github-graphql-upcoming-changes-3a14e541.json new file mode 100644 index 0000000..de52581 --- /dev/null +++ b/plugins/catalog/testdata/github-graphql-upcoming-changes-3a14e541.json @@ -0,0 +1,270 @@ +{ + "2027-01-01": [ + { + "location": "CheckAnnotation.databaseId", + "description": "

databaseId will be removed. Use fullDatabaseId instead.

", + "reason": "

databaseId will be removed because it does not support 64-bit signed integer identifiers.

", + "date": "2027-01-01", + "criticality": "breaking", + "owner": "github/actions-persistence" + }, + { + "location": "Artifact.databaseId", + "description": "

databaseId will be removed. Use fullDatabaseId instead.

", + "reason": "

databaseId will be removed because it does not support 64-bit signed integer identifiers.

", + "date": "2027-01-01", + "criticality": "breaking", + "owner": "github/actions-persistence" + } + ], + "2026-07-01": [ + { + "location": "Team.viewerSubscription", + "description": "

viewerSubscription will be removed.

", + "reason": "

Team.viewerSubscription will be removed. Team notifications subscriptions are being deprecated.

", + "date": "2026-07-01", + "criticality": "breaking", + "owner": "peter-evans" + } + ], + "2026-04-01": [ + { + "location": "TeamRemoveRepositoryAuditEntry.userUrl", + "description": "

userUrl will be removed.

", + "reason": "

The GraphQL audit-log is deprecated. Please use the REST API instead.

", + "date": "2026-04-01", + "criticality": "breaking", + "owner": "audit_logs" + } + ], + "2026-01-01": [ + { + "location": "NotificationThread.subject", + "description": "

subject will be removed. Use the optionalSubject field instead.

", + "reason": "

Null values are possible for this field.

", + "date": "2026-01-01", + "criticality": "breaking", + "owner": "github/notifications" + } + ], + "2025-10-01": [ + { + "location": "SecurityAdvisory.cvss", + "description": "

cvss will be removed. New cvss_severities field will now contain both cvss_v3 and cvss_v4 properties.

", + "reason": "

cvss will be removed.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "github/advisory-database" + } + ], + "2025-04-01": [ + { + "location": "User.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + } + ], + "2025-01-01": [ + { + "location": "AddMobileDevicePublicKeyPayload.expiresAt", + "description": "

expiresAt will be removed. Do not rely on this field, it is currently set to a date far in the future if a device key is expirationless

", + "reason": "

We are deprecating expirations for mobile device keys used in mobile 2FA

", + "date": "2025-01-01", + "criticality": "breaking", + "owner": "chriskirkland" + } + ], + "2024-10-01": [ + { + "location": "Workflow.hasWorkflowDispatchTrigger", + "description": "

hasWorkflowDispatchTrigger will be removed. Use has_workflow_dispatch_trigger_for_branch(branch_ref) instead.

", + "reason": "

has_workflow_dispatch_trigger is being removed because it can be misleading and only checks a repository's default branch

", + "date": "2024-10-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2024-07-01": [ + { + "location": "PullRequestReviewComment.databaseId", + "description": "

databaseId will be removed. Use fullDatabaseId instead.

", + "reason": "

databaseId will be removed because it does not support 64-bit signed integer identifiers.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "JanKoszewski" + } + ], + "2024-04-01": [ + { + "location": "TopicSuggestionDeclineReason.TOO_SPECIFIC", + "description": "

TOO_SPECIFIC will be removed.

", + "reason": "

Suggested topics are no longer supported

", + "date": "2024-04-01", + "criticality": "breaking", + "owner": "calvinchilds" + } + ], + "2023-10-01": [ + { + "location": "PullRequestReviewComment.position", + "description": "

position will be removed. Use the line and startLine fields instead, which are file line numbers instead of diff line numbers

", + "reason": "

We are phasing out diff-relative positioning for PR comments

", + "date": "2023-10-01", + "criticality": "breaking", + "owner": "aharpole" + } + ], + "2023-07-01": [ + { + "location": "ProjectV2ItemFieldGroup.field", + "description": "

field will be removed. Check out the ProjectV2ItemFieldGroup#groupByField API as an example for the more capable alternative.

", + "reason": "

The ProjectV2ItemFieldGroup#field API is deprecated in favour of the more capable ProjectV2ItemFieldGroup#groupByField API.

", + "date": "2023-07-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2023-04-01": [ + { + "location": "Repository.squashPrTitleUsedAsDefault", + "description": "

squashPrTitleUsedAsDefault will be removed. Use Repository.squashMergeCommitTitle instead.

", + "reason": "

squashPrTitleUsedAsDefault will be removed.

", + "date": "2023-04-01", + "criticality": "breaking", + "owner": "github/pull_requests" + } + ], + "2023-02-10": [ + { + "location": "PackageType.MAVEN", + "description": "

MAVEN will be removed.

", + "reason": "

MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2023-02-10", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2023-01-01": [ + { + "location": "ProjectV2View.visibleFields", + "description": "

visibleFields will be removed. Check out the ProjectV2View#fields API as an example for the more capable alternative.

", + "reason": "

The ProjectV2View#visibleFields API is deprecated in favour of the more capable ProjectV2View#fields API.

", + "date": "2023-01-01", + "criticality": "breaking", + "owner": "mattruggio" + } + ], + "2022-12-28": [ + { + "location": "PackageType.RUBYGEMS", + "description": "

RUBYGEMS will be removed.

", + "reason": "

RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-12-28", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2022-11-21": [ + { + "location": "PackageType.NUGET", + "description": "

NUGET will be removed.

", + "reason": "

NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-11-21", + "criticality": "breaking", + "owner": "s-anupam" + } + ], + "2022-10-01": [ + { + "location": "RemovePullRequestFromMergeQueueInput.branch", + "description": "

branch will be removed.

", + "reason": "

PRs are removed from the merge queue for the base branch, the branch argument is now a no-op

", + "date": "2022-10-01", + "criticality": "breaking", + "owner": "jhunschejones" + } + ], + "2022-07-01": [ + { + "location": "Query.sponsorables.dependencyEcosystem", + "description": "

dependencyEcosystem will be removed. Use the ecosystem argument instead.

", + "reason": "

The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

", + "date": "2022-07-01", + "criticality": "breaking", + "owner": "cheshire137" + } + ], + "2021-10-01": [ + { + "location": "ReactionGroup.users", + "description": "

users will be removed. Use the reactors field instead.

", + "reason": "

Reactors can now be mannequins, bots, and organizations.

", + "date": "2021-10-01", + "criticality": "breaking", + "owner": "synthead" + } + ], + "2021-06-21": [ + { + "location": "PackageType.DOCKER", + "description": "

DOCKER will be removed.

", + "reason": "

DOCKER will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2021-06-21", + "criticality": "breaking", + "owner": "reybard" + } + ], + "2021-01-01": [ + { + "location": "MergeStateStatus.DRAFT", + "description": "

DRAFT will be removed. Use PullRequest.isDraft instead.

", + "reason": "

DRAFT state will be removed from this enum and isDraft should be used instead

", + "date": "2021-01-01", + "criticality": "breaking", + "owner": "nplasterer" + } + ], + "2020-10-01": [ + { + "location": "Sponsorship.sponsor", + "description": "

sponsor will be removed. Use Sponsorship.sponsorEntity instead.

", + "reason": "

Sponsorship.sponsor will be removed.

", + "date": "2020-10-01", + "criticality": "breaking", + "owner": "nholden" + } + ], + "2020-04-01": [ + { + "location": "Sponsorship.maintainer", + "description": "

maintainer will be removed. Use Sponsorship.sponsorable instead.

", + "reason": "

Sponsorship.maintainer will be removed.

", + "date": "2020-04-01", + "criticality": "breaking", + "owner": "antn" + } + ], + "2020-01-01": [ + { + "location": "UnassignedEvent.user", + "description": "

user will be removed. Use the assignee field instead.

", + "reason": "

Assignees can now be mannequins.

", + "date": "2020-01-01", + "criticality": "breaking", + "owner": "tambling" + } + ], + "2019-04-01": [ + { + "location": "LegacyMigration.uploadUrlTemplate", + "description": "

uploadUrlTemplate will be removed. Use uploadUrl instead.

", + "reason": "

uploadUrlTemplate is being removed because it is not a standard URL and adds an extra user step.

", + "date": "2019-04-01", + "criticality": "breaking", + "owner": "tambling" + } + ] +} diff --git a/plugins/catalog/testdata/github-graphql-upcoming-changes-54c26c43.json b/plugins/catalog/testdata/github-graphql-upcoming-changes-54c26c43.json new file mode 100644 index 0000000..05022ae --- /dev/null +++ b/plugins/catalog/testdata/github-graphql-upcoming-changes-54c26c43.json @@ -0,0 +1,370 @@ +{ + "2026-04-01": [ + { + "location": "TeamRemoveRepositoryAuditEntry.userUrl", + "description": "

userUrl will be removed.

", + "reason": "

The GraphQL audit-log is deprecated. Please use the REST API instead.

", + "date": "2026-04-01", + "criticality": "breaking", + "owner": "audit_logs" + } + ], + "2026-01-01": [ + { + "location": "NotificationThread.subject", + "description": "

subject will be removed. Use the optionalSubject field instead.

", + "reason": "

Null values are possible for this field.

", + "date": "2026-01-01", + "criticality": "breaking", + "owner": "github/notifications" + } + ], + "2025-10-01": [ + { + "location": "SecurityAdvisory.cvss", + "description": "

cvss will be removed. New cvss_severities field will now contain both cvss_v3 and cvss_v4 properties.

", + "reason": "

cvss will be removed.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "github/advisory-database" + } + ], + "2025-04-01": [ + { + "location": "User.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + } + ], + "2025-01-01": [ + { + "location": "AddMobileDevicePublicKeyPayload.expiresAt", + "description": "

expiresAt will be removed. Do not rely on this field, it is currently set to a date far in the future if a device key is expirationless

", + "reason": "

We are deprecating expirations for mobile device keys used in mobile 2FA

", + "date": "2025-01-01", + "criticality": "breaking", + "owner": "chriskirkland" + } + ], + "2024-10-01": [ + { + "location": "Workflow.hasWorkflowDispatchTrigger", + "description": "

hasWorkflowDispatchTrigger will be removed. Use has_workflow_dispatch_trigger_for_branch(branch_ref) instead.

", + "reason": "

has_workflow_dispatch_trigger is being removed because it can be misleading and only checks a repository's default branch

", + "date": "2024-10-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2024-07-01": [ + { + "location": "TeamDiscussion.viewerCanPin", + "description": "

viewerCanPin will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.url", + "description": "

url will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.title", + "description": "

title will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.team", + "description": "

team will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.resourcePath", + "description": "

resourcePath will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.number", + "description": "

number will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.isPrivate", + "description": "

isPrivate will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.isPinned", + "description": "

isPinned will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.commentsUrl", + "description": "

commentsUrl will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.commentsResourcePath", + "description": "

commentsResourcePath will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.bodyVersion", + "description": "

bodyVersion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "TeamDiscussion.authorAssociation", + "description": "

authorAssociation will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "CreateTeamDiscussionPayload.teamDiscussion", + "description": "

teamDiscussion will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "CreateTeamDiscussionInput.title", + "description": "

title will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "CreateTeamDiscussionInput.teamId", + "description": "

teamId will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "CreateTeamDiscussionInput.private", + "description": "

private will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + }, + { + "location": "CreateTeamDiscussionInput.body", + "description": "

body will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/ to find a suitable replacement.

", + "reason": "

The Team Discussions feature is deprecated in favor of Organization Discussions.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "deborah-digges" + } + ], + "2024-04-01": [ + { + "location": "TopicSuggestionDeclineReason.TOO_SPECIFIC", + "description": "

TOO_SPECIFIC will be removed.

", + "reason": "

Suggested topics are no longer supported

", + "date": "2024-04-01", + "criticality": "breaking", + "owner": "calvinchilds" + } + ], + "2023-10-01": [ + { + "location": "PullRequestReviewComment.position", + "description": "

position will be removed. Use the line and startLine fields instead, which are file line numbers instead of diff line numbers

", + "reason": "

We are phasing out diff-relative positioning for PR comments

", + "date": "2023-10-01", + "criticality": "breaking", + "owner": "aharpole" + } + ], + "2023-07-01": [ + { + "location": "ProjectV2ItemFieldGroup.field", + "description": "

field will be removed. Check out the ProjectV2ItemFieldGroup#groupByField API as an example for the more capable alternative.

", + "reason": "

The ProjectV2ItemFieldGroup#field API is deprecated in favour of the more capable ProjectV2ItemFieldGroup#groupByField API.

", + "date": "2023-07-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2023-04-01": [ + { + "location": "Repository.squashPrTitleUsedAsDefault", + "description": "

squashPrTitleUsedAsDefault will be removed. Use Repository.squashMergeCommitTitle instead.

", + "reason": "

squashPrTitleUsedAsDefault will be removed.

", + "date": "2023-04-01", + "criticality": "breaking", + "owner": "github/pull_requests" + } + ], + "2023-02-10": [ + { + "location": "PackageType.MAVEN", + "description": "

MAVEN will be removed.

", + "reason": "

MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2023-02-10", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2023-01-01": [ + { + "location": "ProjectV2View.visibleFields", + "description": "

visibleFields will be removed. Check out the ProjectV2View#fields API as an example for the more capable alternative.

", + "reason": "

The ProjectV2View#visibleFields API is deprecated in favour of the more capable ProjectV2View#fields API.

", + "date": "2023-01-01", + "criticality": "breaking", + "owner": "mattruggio" + } + ], + "2022-12-28": [ + { + "location": "PackageType.RUBYGEMS", + "description": "

RUBYGEMS will be removed.

", + "reason": "

RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-12-28", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2022-11-21": [ + { + "location": "PackageType.NUGET", + "description": "

NUGET will be removed.

", + "reason": "

NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-11-21", + "criticality": "breaking", + "owner": "s-anupam" + } + ], + "2022-10-01": [ + { + "location": "RemovePullRequestFromMergeQueueInput.branch", + "description": "

branch will be removed.

", + "reason": "

PRs are removed from the merge queue for the base branch, the branch argument is now a no-op

", + "date": "2022-10-01", + "criticality": "breaking", + "owner": "jhunschejones" + } + ], + "2022-07-01": [ + { + "location": "Query.sponsorables.dependencyEcosystem", + "description": "

dependencyEcosystem will be removed. Use the ecosystem argument instead.

", + "reason": "

The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

", + "date": "2022-07-01", + "criticality": "breaking", + "owner": "cheshire137" + } + ], + "2021-10-01": [ + { + "location": "ReactionGroup.users", + "description": "

users will be removed. Use the reactors field instead.

", + "reason": "

Reactors can now be mannequins, bots, and organizations.

", + "date": "2021-10-01", + "criticality": "breaking", + "owner": "synthead" + } + ], + "2021-06-21": [ + { + "location": "PackageType.DOCKER", + "description": "

DOCKER will be removed.

", + "reason": "

DOCKER will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2021-06-21", + "criticality": "breaking", + "owner": "reybard" + } + ], + "2021-01-01": [ + { + "location": "MergeStateStatus.DRAFT", + "description": "

DRAFT will be removed. Use PullRequest.isDraft instead.

", + "reason": "

DRAFT state will be removed from this enum and isDraft should be used instead

", + "date": "2021-01-01", + "criticality": "breaking", + "owner": "nplasterer" + } + ], + "2020-10-01": [ + { + "location": "Sponsorship.sponsor", + "description": "

sponsor will be removed. Use Sponsorship.sponsorEntity instead.

", + "reason": "

Sponsorship.sponsor will be removed.

", + "date": "2020-10-01", + "criticality": "breaking", + "owner": "nholden" + } + ], + "2020-04-01": [ + { + "location": "Sponsorship.maintainer", + "description": "

maintainer will be removed. Use Sponsorship.sponsorable instead.

", + "reason": "

Sponsorship.maintainer will be removed.

", + "date": "2020-04-01", + "criticality": "breaking", + "owner": "antn" + } + ], + "2020-01-01": [ + { + "location": "UnassignedEvent.user", + "description": "

user will be removed. Use the assignee field instead.

", + "reason": "

Assignees can now be mannequins.

", + "date": "2020-01-01", + "criticality": "breaking", + "owner": "tambling" + } + ], + "2019-04-01": [ + { + "location": "LegacyMigration.uploadUrlTemplate", + "description": "

uploadUrlTemplate will be removed. Use uploadUrl instead.

", + "reason": "

uploadUrlTemplate is being removed because it is not a standard URL and adds an extra user step.

", + "date": "2019-04-01", + "criticality": "breaking", + "owner": "tambling" + } + ] +} diff --git a/plugins/catalog/testdata/github-graphql-upcoming-changes-a934f06d.json b/plugins/catalog/testdata/github-graphql-upcoming-changes-a934f06d.json new file mode 100644 index 0000000..d860287 --- /dev/null +++ b/plugins/catalog/testdata/github-graphql-upcoming-changes-a934f06d.json @@ -0,0 +1,280 @@ +{ + "2027-01-01": [ + { + "location": "CheckAnnotation.databaseId", + "description": "

databaseId will be removed. Use fullDatabaseId instead.

", + "reason": "

databaseId will be removed because it does not support 64-bit signed integer identifiers.

", + "date": "2027-01-01", + "criticality": "breaking", + "owner": "github/actions-persistence" + }, + { + "location": "Artifact.databaseId", + "description": "

databaseId will be removed. Use fullDatabaseId instead.

", + "reason": "

databaseId will be removed because it does not support 64-bit signed integer identifiers.

", + "date": "2027-01-01", + "criticality": "breaking", + "owner": "github/actions-persistence" + } + ], + "2026-10-01": [ + { + "location": "User.viewerRelevantRepositories", + "description": "

viewerRelevantRepositories will be removed. Use viewerCopilotChatRepositorySuggestions instead.

", + "reason": "

viewerRelevantRepositories has been renamed to viewerCopilotChatRepositorySuggestions.

", + "date": "2026-10-01", + "criticality": "breaking", + "owner": "github/client-apps-platform" + } + ], + "2026-07-01": [ + { + "location": "Team.viewerSubscription", + "description": "

viewerSubscription will be removed.

", + "reason": "

Team.viewerSubscription will be removed. Team notifications subscriptions are being deprecated.

", + "date": "2026-07-01", + "criticality": "breaking", + "owner": "peter-evans" + } + ], + "2026-04-01": [ + { + "location": "TeamRemoveRepositoryAuditEntry.userUrl", + "description": "

userUrl will be removed.

", + "reason": "

The GraphQL audit-log is deprecated. Please use the REST API instead.

", + "date": "2026-04-01", + "criticality": "breaking", + "owner": "audit_logs" + } + ], + "2026-01-01": [ + { + "location": "NotificationThread.subject", + "description": "

subject will be removed. Use the optionalSubject field instead.

", + "reason": "

Null values are possible for this field.

", + "date": "2026-01-01", + "criticality": "breaking", + "owner": "github/notifications" + } + ], + "2025-10-01": [ + { + "location": "SecurityAdvisory.cvss", + "description": "

cvss will be removed. New cvss_severities field will now contain both cvss_v3 and cvss_v4 properties.

", + "reason": "

cvss will be removed.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "github/advisory-database" + } + ], + "2025-04-01": [ + { + "location": "User.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + } + ], + "2025-01-01": [ + { + "location": "AddMobileDevicePublicKeyPayload.expiresAt", + "description": "

expiresAt will be removed. Do not rely on this field, it is currently set to a date far in the future if a device key is expirationless

", + "reason": "

We are deprecating expirations for mobile device keys used in mobile 2FA

", + "date": "2025-01-01", + "criticality": "breaking", + "owner": "chriskirkland" + } + ], + "2024-10-01": [ + { + "location": "Workflow.hasWorkflowDispatchTrigger", + "description": "

hasWorkflowDispatchTrigger will be removed. Use has_workflow_dispatch_trigger_for_branch(branch_ref) instead.

", + "reason": "

has_workflow_dispatch_trigger is being removed because it can be misleading and only checks a repository's default branch

", + "date": "2024-10-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2024-07-01": [ + { + "location": "PullRequestReviewComment.databaseId", + "description": "

databaseId will be removed. Use fullDatabaseId instead.

", + "reason": "

databaseId will be removed because it does not support 64-bit signed integer identifiers.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "JanKoszewski" + } + ], + "2024-04-01": [ + { + "location": "TopicSuggestionDeclineReason.TOO_SPECIFIC", + "description": "

TOO_SPECIFIC will be removed.

", + "reason": "

Suggested topics are no longer supported

", + "date": "2024-04-01", + "criticality": "breaking", + "owner": "calvinchilds" + } + ], + "2023-10-01": [ + { + "location": "PullRequestReviewComment.position", + "description": "

position will be removed. Use the line and startLine fields instead, which are file line numbers instead of diff line numbers

", + "reason": "

We are phasing out diff-relative positioning for PR comments

", + "date": "2023-10-01", + "criticality": "breaking", + "owner": "aharpole" + } + ], + "2023-07-01": [ + { + "location": "ProjectV2ItemFieldGroup.field", + "description": "

field will be removed. Check out the ProjectV2ItemFieldGroup#groupByField API as an example for the more capable alternative.

", + "reason": "

The ProjectV2ItemFieldGroup#field API is deprecated in favour of the more capable ProjectV2ItemFieldGroup#groupByField API.

", + "date": "2023-07-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2023-04-01": [ + { + "location": "Repository.squashPrTitleUsedAsDefault", + "description": "

squashPrTitleUsedAsDefault will be removed. Use Repository.squashMergeCommitTitle instead.

", + "reason": "

squashPrTitleUsedAsDefault will be removed.

", + "date": "2023-04-01", + "criticality": "breaking", + "owner": "github/pull_requests" + } + ], + "2023-02-10": [ + { + "location": "PackageType.MAVEN", + "description": "

MAVEN will be removed.

", + "reason": "

MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2023-02-10", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2023-01-01": [ + { + "location": "ProjectV2View.visibleFields", + "description": "

visibleFields will be removed. Check out the ProjectV2View#fields API as an example for the more capable alternative.

", + "reason": "

The ProjectV2View#visibleFields API is deprecated in favour of the more capable ProjectV2View#fields API.

", + "date": "2023-01-01", + "criticality": "breaking", + "owner": "mattruggio" + } + ], + "2022-12-28": [ + { + "location": "PackageType.RUBYGEMS", + "description": "

RUBYGEMS will be removed.

", + "reason": "

RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-12-28", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2022-11-21": [ + { + "location": "PackageType.NUGET", + "description": "

NUGET will be removed.

", + "reason": "

NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-11-21", + "criticality": "breaking", + "owner": "s-anupam" + } + ], + "2022-10-01": [ + { + "location": "RemovePullRequestFromMergeQueueInput.branch", + "description": "

branch will be removed.

", + "reason": "

PRs are removed from the merge queue for the base branch, the branch argument is now a no-op

", + "date": "2022-10-01", + "criticality": "breaking", + "owner": "jhunschejones" + } + ], + "2022-07-01": [ + { + "location": "Query.sponsorables.dependencyEcosystem", + "description": "

dependencyEcosystem will be removed. Use the ecosystem argument instead.

", + "reason": "

The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

", + "date": "2022-07-01", + "criticality": "breaking", + "owner": "cheshire137" + } + ], + "2021-10-01": [ + { + "location": "ReactionGroup.users", + "description": "

users will be removed. Use the reactors field instead.

", + "reason": "

Reactors can now be mannequins, bots, and organizations.

", + "date": "2021-10-01", + "criticality": "breaking", + "owner": "synthead" + } + ], + "2021-06-21": [ + { + "location": "PackageType.DOCKER", + "description": "

DOCKER will be removed.

", + "reason": "

DOCKER will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2021-06-21", + "criticality": "breaking", + "owner": "reybard" + } + ], + "2021-01-01": [ + { + "location": "MergeStateStatus.DRAFT", + "description": "

DRAFT will be removed. Use PullRequest.isDraft instead.

", + "reason": "

DRAFT state will be removed from this enum and isDraft should be used instead

", + "date": "2021-01-01", + "criticality": "breaking", + "owner": "nplasterer" + } + ], + "2020-10-01": [ + { + "location": "Sponsorship.sponsor", + "description": "

sponsor will be removed. Use Sponsorship.sponsorEntity instead.

", + "reason": "

Sponsorship.sponsor will be removed.

", + "date": "2020-10-01", + "criticality": "breaking", + "owner": "nholden" + } + ], + "2020-04-01": [ + { + "location": "Sponsorship.maintainer", + "description": "

maintainer will be removed. Use Sponsorship.sponsorable instead.

", + "reason": "

Sponsorship.maintainer will be removed.

", + "date": "2020-04-01", + "criticality": "breaking", + "owner": "antn" + } + ], + "2020-01-01": [ + { + "location": "UnassignedEvent.user", + "description": "

user will be removed. Use the assignee field instead.

", + "reason": "

Assignees can now be mannequins.

", + "date": "2020-01-01", + "criticality": "breaking", + "owner": "tambling" + } + ], + "2019-04-01": [ + { + "location": "LegacyMigration.uploadUrlTemplate", + "description": "

uploadUrlTemplate will be removed. Use uploadUrl instead.

", + "reason": "

uploadUrlTemplate is being removed because it is not a standard URL and adds an extra user step.

", + "date": "2019-04-01", + "criticality": "breaking", + "owner": "tambling" + } + ] +} diff --git a/plugins/catalog/testdata/github-graphql-upcoming-changes-c5738e58.json b/plugins/catalog/testdata/github-graphql-upcoming-changes-c5738e58.json new file mode 100644 index 0000000..41679ff --- /dev/null +++ b/plugins/catalog/testdata/github-graphql-upcoming-changes-c5738e58.json @@ -0,0 +1,288 @@ +{ + "2027-01-01": [ + { + "location": "CheckAnnotation.databaseId", + "description": "

databaseId will be removed. Use fullDatabaseId instead.

", + "reason": "

databaseId will be removed because it does not support 64-bit signed integer identifiers.

", + "date": "2027-01-01", + "criticality": "breaking", + "owner": "github/actions-persistence" + }, + { + "location": "Artifact.databaseId", + "description": "

databaseId will be removed. Use fullDatabaseId instead.

", + "reason": "

databaseId will be removed because it does not support 64-bit signed integer identifiers.

", + "date": "2027-01-01", + "criticality": "breaking", + "owner": "github/actions-persistence" + } + ], + "2026-10-01": [ + { + "location": "User.viewerRelevantRepositories", + "description": "

viewerRelevantRepositories will be removed. Use viewerCopilotChatRepositorySuggestions instead.

", + "reason": "

viewerRelevantRepositories has been renamed to viewerCopilotChatRepositorySuggestions.

", + "date": "2026-10-01", + "criticality": "breaking", + "owner": "github/client-apps-platform" + }, + { + "location": "CopilotAgentTask.type", + "description": "

type will be removed. Use codingAgentFilter and codingAgentTypeFilter instead.

", + "reason": "

type will be removed.

", + "date": "2026-10-01", + "criticality": "breaking", + "owner": "github/copilot-mission-control" + } + ], + "2026-07-01": [ + { + "location": "Team.viewerSubscription", + "description": "

viewerSubscription will be removed.

", + "reason": "

Team.viewerSubscription will be removed. Team notifications subscriptions are being deprecated.

", + "date": "2026-07-01", + "criticality": "breaking", + "owner": "peter-evans" + } + ], + "2026-04-01": [ + { + "location": "TeamRemoveRepositoryAuditEntry.userUrl", + "description": "

userUrl will be removed.

", + "reason": "

The GraphQL audit-log is deprecated. Please use the REST API instead.

", + "date": "2026-04-01", + "criticality": "breaking", + "owner": "audit_logs" + } + ], + "2026-01-01": [ + { + "location": "NotificationThread.subject", + "description": "

subject will be removed. Use the optionalSubject field instead.

", + "reason": "

Null values are possible for this field.

", + "date": "2026-01-01", + "criticality": "breaking", + "owner": "github/notifications" + } + ], + "2025-10-01": [ + { + "location": "SecurityAdvisory.cvss", + "description": "

cvss will be removed. New cvss_severities field will now contain both cvss_v3 and cvss_v4 properties.

", + "reason": "

cvss will be removed.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "github/advisory-database" + } + ], + "2025-04-01": [ + { + "location": "User.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + } + ], + "2025-01-01": [ + { + "location": "AddMobileDevicePublicKeyPayload.expiresAt", + "description": "

expiresAt will be removed. Do not rely on this field, it is currently set to a date far in the future if a device key is expirationless

", + "reason": "

We are deprecating expirations for mobile device keys used in mobile 2FA

", + "date": "2025-01-01", + "criticality": "breaking", + "owner": "chriskirkland" + } + ], + "2024-10-01": [ + { + "location": "Workflow.hasWorkflowDispatchTrigger", + "description": "

hasWorkflowDispatchTrigger will be removed. Use has_workflow_dispatch_trigger_for_branch(branch_ref) instead.

", + "reason": "

has_workflow_dispatch_trigger is being removed because it can be misleading and only checks a repository's default branch

", + "date": "2024-10-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2024-07-01": [ + { + "location": "PullRequestReviewComment.databaseId", + "description": "

databaseId will be removed. Use fullDatabaseId instead.

", + "reason": "

databaseId will be removed because it does not support 64-bit signed integer identifiers.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "JanKoszewski" + } + ], + "2024-04-01": [ + { + "location": "TopicSuggestionDeclineReason.TOO_SPECIFIC", + "description": "

TOO_SPECIFIC will be removed.

", + "reason": "

Suggested topics are no longer supported

", + "date": "2024-04-01", + "criticality": "breaking", + "owner": "calvinchilds" + } + ], + "2023-10-01": [ + { + "location": "PullRequestReviewComment.position", + "description": "

position will be removed. Use the line and startLine fields instead, which are file line numbers instead of diff line numbers

", + "reason": "

We are phasing out diff-relative positioning for PR comments

", + "date": "2023-10-01", + "criticality": "breaking", + "owner": "aharpole" + } + ], + "2023-07-01": [ + { + "location": "ProjectV2ItemFieldGroup.field", + "description": "

field will be removed. Check out the ProjectV2ItemFieldGroup#groupByField API as an example for the more capable alternative.

", + "reason": "

The ProjectV2ItemFieldGroup#field API is deprecated in favour of the more capable ProjectV2ItemFieldGroup#groupByField API.

", + "date": "2023-07-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2023-04-01": [ + { + "location": "Repository.squashPrTitleUsedAsDefault", + "description": "

squashPrTitleUsedAsDefault will be removed. Use Repository.squashMergeCommitTitle instead.

", + "reason": "

squashPrTitleUsedAsDefault will be removed.

", + "date": "2023-04-01", + "criticality": "breaking", + "owner": "github/pull_requests" + } + ], + "2023-02-10": [ + { + "location": "PackageType.MAVEN", + "description": "

MAVEN will be removed.

", + "reason": "

MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2023-02-10", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2023-01-01": [ + { + "location": "ProjectV2View.visibleFields", + "description": "

visibleFields will be removed. Check out the ProjectV2View#fields API as an example for the more capable alternative.

", + "reason": "

The ProjectV2View#visibleFields API is deprecated in favour of the more capable ProjectV2View#fields API.

", + "date": "2023-01-01", + "criticality": "breaking", + "owner": "mattruggio" + } + ], + "2022-12-28": [ + { + "location": "PackageType.RUBYGEMS", + "description": "

RUBYGEMS will be removed.

", + "reason": "

RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-12-28", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2022-11-21": [ + { + "location": "PackageType.NUGET", + "description": "

NUGET will be removed.

", + "reason": "

NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-11-21", + "criticality": "breaking", + "owner": "s-anupam" + } + ], + "2022-10-01": [ + { + "location": "RemovePullRequestFromMergeQueueInput.branch", + "description": "

branch will be removed.

", + "reason": "

PRs are removed from the merge queue for the base branch, the branch argument is now a no-op

", + "date": "2022-10-01", + "criticality": "breaking", + "owner": "jhunschejones" + } + ], + "2022-07-01": [ + { + "location": "Query.sponsorables.dependencyEcosystem", + "description": "

dependencyEcosystem will be removed. Use the ecosystem argument instead.

", + "reason": "

The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

", + "date": "2022-07-01", + "criticality": "breaking", + "owner": "cheshire137" + } + ], + "2021-10-01": [ + { + "location": "ReactionGroup.users", + "description": "

users will be removed. Use the reactors field instead.

", + "reason": "

Reactors can now be mannequins, bots, and organizations.

", + "date": "2021-10-01", + "criticality": "breaking", + "owner": "synthead" + } + ], + "2021-06-21": [ + { + "location": "PackageType.DOCKER", + "description": "

DOCKER will be removed.

", + "reason": "

DOCKER will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2021-06-21", + "criticality": "breaking", + "owner": "reybard" + } + ], + "2021-01-01": [ + { + "location": "MergeStateStatus.DRAFT", + "description": "

DRAFT will be removed. Use PullRequest.isDraft instead.

", + "reason": "

DRAFT state will be removed from this enum and isDraft should be used instead

", + "date": "2021-01-01", + "criticality": "breaking", + "owner": "nplasterer" + } + ], + "2020-10-01": [ + { + "location": "Sponsorship.sponsor", + "description": "

sponsor will be removed. Use Sponsorship.sponsorEntity instead.

", + "reason": "

Sponsorship.sponsor will be removed.

", + "date": "2020-10-01", + "criticality": "breaking", + "owner": "nholden" + } + ], + "2020-04-01": [ + { + "location": "Sponsorship.maintainer", + "description": "

maintainer will be removed. Use Sponsorship.sponsorable instead.

", + "reason": "

Sponsorship.maintainer will be removed.

", + "date": "2020-04-01", + "criticality": "breaking", + "owner": "antn" + } + ], + "2020-01-01": [ + { + "location": "UnassignedEvent.user", + "description": "

user will be removed. Use the assignee field instead.

", + "reason": "

Assignees can now be mannequins.

", + "date": "2020-01-01", + "criticality": "breaking", + "owner": "tambling" + } + ], + "2019-04-01": [ + { + "location": "LegacyMigration.uploadUrlTemplate", + "description": "

uploadUrlTemplate will be removed. Use uploadUrl instead.

", + "reason": "

uploadUrlTemplate is being removed because it is not a standard URL and adds an extra user step.

", + "date": "2019-04-01", + "criticality": "breaking", + "owner": "tambling" + } + ] +} diff --git a/plugins/catalog/testdata/github-graphql-upcoming-changes-fc26275f.json b/plugins/catalog/testdata/github-graphql-upcoming-changes-fc26275f.json new file mode 100644 index 0000000..c125b9b --- /dev/null +++ b/plugins/catalog/testdata/github-graphql-upcoming-changes-fc26275f.json @@ -0,0 +1,232 @@ +{ + "2026-04-01": [ + { + "location": "TeamRemoveRepositoryAuditEntry.userUrl", + "description": "

userUrl will be removed.

", + "reason": "

The GraphQL audit-log is deprecated. Please use the REST API instead.

", + "date": "2026-04-01", + "criticality": "breaking", + "owner": "audit_logs" + } + ], + "2026-01-01": [ + { + "location": "NotificationThread.subject", + "description": "

subject will be removed. Use the optionalSubject field instead.

", + "reason": "

Null values are possible for this field.

", + "date": "2026-01-01", + "criticality": "breaking", + "owner": "github/notifications" + } + ], + "2025-10-01": [ + { + "location": "SecurityAdvisory.cvss", + "description": "

cvss will be removed. New cvss_severities field will now contain both cvss_v3 and cvss_v4 properties.

", + "reason": "

cvss will be removed.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "github/advisory-database" + } + ], + "2025-04-01": [ + { + "location": "User.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + } + ], + "2025-01-01": [ + { + "location": "AddMobileDevicePublicKeyPayload.expiresAt", + "description": "

expiresAt will be removed. Do not rely on this field, it is currently set to a date far in the future if a device key is expirationless

", + "reason": "

We are deprecating expirations for mobile device keys used in mobile 2FA

", + "date": "2025-01-01", + "criticality": "breaking", + "owner": "chriskirkland" + } + ], + "2024-10-01": [ + { + "location": "Workflow.hasWorkflowDispatchTrigger", + "description": "

hasWorkflowDispatchTrigger will be removed. Use has_workflow_dispatch_trigger_for_branch(branch_ref) instead.

", + "reason": "

has_workflow_dispatch_trigger is being removed because it can be misleading and only checks a repository's default branch

", + "date": "2024-10-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2024-04-01": [ + { + "location": "TopicSuggestionDeclineReason.TOO_SPECIFIC", + "description": "

TOO_SPECIFIC will be removed.

", + "reason": "

Suggested topics are no longer supported

", + "date": "2024-04-01", + "criticality": "breaking", + "owner": "calvinchilds" + } + ], + "2023-10-01": [ + { + "location": "PullRequestReviewComment.position", + "description": "

position will be removed. Use the line and startLine fields instead, which are file line numbers instead of diff line numbers

", + "reason": "

We are phasing out diff-relative positioning for PR comments

", + "date": "2023-10-01", + "criticality": "breaking", + "owner": "aharpole" + } + ], + "2023-07-01": [ + { + "location": "ProjectV2ItemFieldGroup.field", + "description": "

field will be removed. Check out the ProjectV2ItemFieldGroup#groupByField API as an example for the more capable alternative.

", + "reason": "

The ProjectV2ItemFieldGroup#field API is deprecated in favour of the more capable ProjectV2ItemFieldGroup#groupByField API.

", + "date": "2023-07-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2023-04-01": [ + { + "location": "Repository.squashPrTitleUsedAsDefault", + "description": "

squashPrTitleUsedAsDefault will be removed. Use Repository.squashMergeCommitTitle instead.

", + "reason": "

squashPrTitleUsedAsDefault will be removed.

", + "date": "2023-04-01", + "criticality": "breaking", + "owner": "github/pull_requests" + } + ], + "2023-02-10": [ + { + "location": "PackageType.MAVEN", + "description": "

MAVEN will be removed.

", + "reason": "

MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2023-02-10", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2023-01-01": [ + { + "location": "ProjectV2View.visibleFields", + "description": "

visibleFields will be removed. Check out the ProjectV2View#fields API as an example for the more capable alternative.

", + "reason": "

The ProjectV2View#visibleFields API is deprecated in favour of the more capable ProjectV2View#fields API.

", + "date": "2023-01-01", + "criticality": "breaking", + "owner": "mattruggio" + } + ], + "2022-12-28": [ + { + "location": "PackageType.RUBYGEMS", + "description": "

RUBYGEMS will be removed.

", + "reason": "

RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-12-28", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2022-11-21": [ + { + "location": "PackageType.NUGET", + "description": "

NUGET will be removed.

", + "reason": "

NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-11-21", + "criticality": "breaking", + "owner": "s-anupam" + } + ], + "2022-10-01": [ + { + "location": "RemovePullRequestFromMergeQueueInput.branch", + "description": "

branch will be removed.

", + "reason": "

PRs are removed from the merge queue for the base branch, the branch argument is now a no-op

", + "date": "2022-10-01", + "criticality": "breaking", + "owner": "jhunschejones" + } + ], + "2022-07-01": [ + { + "location": "Query.sponsorables.dependencyEcosystem", + "description": "

dependencyEcosystem will be removed. Use the ecosystem argument instead.

", + "reason": "

The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

", + "date": "2022-07-01", + "criticality": "breaking", + "owner": "cheshire137" + } + ], + "2021-10-01": [ + { + "location": "ReactionGroup.users", + "description": "

users will be removed. Use the reactors field instead.

", + "reason": "

Reactors can now be mannequins, bots, and organizations.

", + "date": "2021-10-01", + "criticality": "breaking", + "owner": "synthead" + } + ], + "2021-06-21": [ + { + "location": "PackageType.DOCKER", + "description": "

DOCKER will be removed.

", + "reason": "

DOCKER will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2021-06-21", + "criticality": "breaking", + "owner": "reybard" + } + ], + "2021-01-01": [ + { + "location": "MergeStateStatus.DRAFT", + "description": "

DRAFT will be removed. Use PullRequest.isDraft instead.

", + "reason": "

DRAFT state will be removed from this enum and isDraft should be used instead

", + "date": "2021-01-01", + "criticality": "breaking", + "owner": "nplasterer" + } + ], + "2020-10-01": [ + { + "location": "Sponsorship.sponsor", + "description": "

sponsor will be removed. Use Sponsorship.sponsorEntity instead.

", + "reason": "

Sponsorship.sponsor will be removed.

", + "date": "2020-10-01", + "criticality": "breaking", + "owner": "nholden" + } + ], + "2020-04-01": [ + { + "location": "Sponsorship.maintainer", + "description": "

maintainer will be removed. Use Sponsorship.sponsorable instead.

", + "reason": "

Sponsorship.maintainer will be removed.

", + "date": "2020-04-01", + "criticality": "breaking", + "owner": "antn" + } + ], + "2020-01-01": [ + { + "location": "UnassignedEvent.user", + "description": "

user will be removed. Use the assignee field instead.

", + "reason": "

Assignees can now be mannequins.

", + "date": "2020-01-01", + "criticality": "breaking", + "owner": "tambling" + } + ], + "2019-04-01": [ + { + "location": "LegacyMigration.uploadUrlTemplate", + "description": "

uploadUrlTemplate will be removed. Use uploadUrl instead.

", + "reason": "

uploadUrlTemplate is being removed because it is not a standard URL and adds an extra user step.

", + "date": "2019-04-01", + "criticality": "breaking", + "owner": "tambling" + } + ] +} diff --git a/plugins/catalog/testdata/github-graphql-upcoming-changes-fc7cedfe.json b/plugins/catalog/testdata/github-graphql-upcoming-changes-fc7cedfe.json new file mode 100644 index 0000000..05cff49 --- /dev/null +++ b/plugins/catalog/testdata/github-graphql-upcoming-changes-fc7cedfe.json @@ -0,0 +1,252 @@ +{ + "2026-07-01": [ + { + "location": "Team.viewerSubscription", + "description": "

viewerSubscription will be removed.

", + "reason": "

Team.viewerSubscription will be removed. Team notifications subscriptions are being deprecated.

", + "date": "2026-07-01", + "criticality": "breaking", + "owner": "peter-evans" + } + ], + "2026-04-01": [ + { + "location": "TeamRemoveRepositoryAuditEntry.userUrl", + "description": "

userUrl will be removed.

", + "reason": "

The GraphQL audit-log is deprecated. Please use the REST API instead.

", + "date": "2026-04-01", + "criticality": "breaking", + "owner": "audit_logs" + } + ], + "2026-01-01": [ + { + "location": "NotificationThread.subject", + "description": "

subject will be removed. Use the optionalSubject field instead.

", + "reason": "

Null values are possible for this field.

", + "date": "2026-01-01", + "criticality": "breaking", + "owner": "github/notifications" + } + ], + "2025-10-01": [ + { + "location": "SecurityAdvisory.cvss", + "description": "

cvss will be removed. New cvss_severities field will now contain both cvss_v3 and cvss_v4 properties.

", + "reason": "

cvss will be removed.

", + "date": "2025-10-01", + "criticality": "breaking", + "owner": "github/advisory-database" + } + ], + "2025-04-01": [ + { + "location": "User.viewerCanCreateProjects", + "description": "

viewerCanCreateProjects will be removed.

", + "reason": "

Projects (classic) is being deprecated in favor of the new Projects experience, see: https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/.

", + "date": "2025-04-01", + "criticality": "breaking", + "owner": "github/memex" + } + ], + "2025-01-01": [ + { + "location": "AddMobileDevicePublicKeyPayload.expiresAt", + "description": "

expiresAt will be removed. Do not rely on this field, it is currently set to a date far in the future if a device key is expirationless

", + "reason": "

We are deprecating expirations for mobile device keys used in mobile 2FA

", + "date": "2025-01-01", + "criticality": "breaking", + "owner": "chriskirkland" + } + ], + "2024-10-01": [ + { + "location": "Workflow.hasWorkflowDispatchTrigger", + "description": "

hasWorkflowDispatchTrigger will be removed. Use has_workflow_dispatch_trigger_for_branch(branch_ref) instead.

", + "reason": "

has_workflow_dispatch_trigger is being removed because it can be misleading and only checks a repository's default branch

", + "date": "2024-10-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2024-07-01": [ + { + "location": "PullRequestReviewComment.databaseId", + "description": "

databaseId will be removed. Use fullDatabaseId instead.

", + "reason": "

databaseId will be removed because it does not support 64-bit signed integer identifiers.

", + "date": "2024-07-01", + "criticality": "breaking", + "owner": "JanKoszewski" + } + ], + "2024-04-01": [ + { + "location": "TopicSuggestionDeclineReason.TOO_SPECIFIC", + "description": "

TOO_SPECIFIC will be removed.

", + "reason": "

Suggested topics are no longer supported

", + "date": "2024-04-01", + "criticality": "breaking", + "owner": "calvinchilds" + } + ], + "2023-10-01": [ + { + "location": "PullRequestReviewComment.position", + "description": "

position will be removed. Use the line and startLine fields instead, which are file line numbers instead of diff line numbers

", + "reason": "

We are phasing out diff-relative positioning for PR comments

", + "date": "2023-10-01", + "criticality": "breaking", + "owner": "aharpole" + } + ], + "2023-07-01": [ + { + "location": "ProjectV2ItemFieldGroup.field", + "description": "

field will be removed. Check out the ProjectV2ItemFieldGroup#groupByField API as an example for the more capable alternative.

", + "reason": "

The ProjectV2ItemFieldGroup#field API is deprecated in favour of the more capable ProjectV2ItemFieldGroup#groupByField API.

", + "date": "2023-07-01", + "criticality": "breaking", + "owner": "stevepopovich" + } + ], + "2023-04-01": [ + { + "location": "Repository.squashPrTitleUsedAsDefault", + "description": "

squashPrTitleUsedAsDefault will be removed. Use Repository.squashMergeCommitTitle instead.

", + "reason": "

squashPrTitleUsedAsDefault will be removed.

", + "date": "2023-04-01", + "criticality": "breaking", + "owner": "github/pull_requests" + } + ], + "2023-02-10": [ + { + "location": "PackageType.MAVEN", + "description": "

MAVEN will be removed.

", + "reason": "

MAVEN will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2023-02-10", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2023-01-01": [ + { + "location": "ProjectV2View.visibleFields", + "description": "

visibleFields will be removed. Check out the ProjectV2View#fields API as an example for the more capable alternative.

", + "reason": "

The ProjectV2View#visibleFields API is deprecated in favour of the more capable ProjectV2View#fields API.

", + "date": "2023-01-01", + "criticality": "breaking", + "owner": "mattruggio" + } + ], + "2022-12-28": [ + { + "location": "PackageType.RUBYGEMS", + "description": "

RUBYGEMS will be removed.

", + "reason": "

RUBYGEMS will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-12-28", + "criticality": "breaking", + "owner": "ankitkaushal01" + } + ], + "2022-11-21": [ + { + "location": "PackageType.NUGET", + "description": "

NUGET will be removed.

", + "reason": "

NUGET will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2022-11-21", + "criticality": "breaking", + "owner": "s-anupam" + } + ], + "2022-10-01": [ + { + "location": "RemovePullRequestFromMergeQueueInput.branch", + "description": "

branch will be removed.

", + "reason": "

PRs are removed from the merge queue for the base branch, the branch argument is now a no-op

", + "date": "2022-10-01", + "criticality": "breaking", + "owner": "jhunschejones" + } + ], + "2022-07-01": [ + { + "location": "Query.sponsorables.dependencyEcosystem", + "description": "

dependencyEcosystem will be removed. Use the ecosystem argument instead.

", + "reason": "

The type is switching from SecurityAdvisoryEcosystem to DependencyGraphEcosystem.

", + "date": "2022-07-01", + "criticality": "breaking", + "owner": "cheshire137" + } + ], + "2021-10-01": [ + { + "location": "ReactionGroup.users", + "description": "

users will be removed. Use the reactors field instead.

", + "reason": "

Reactors can now be mannequins, bots, and organizations.

", + "date": "2021-10-01", + "criticality": "breaking", + "owner": "synthead" + } + ], + "2021-06-21": [ + { + "location": "PackageType.DOCKER", + "description": "

DOCKER will be removed.

", + "reason": "

DOCKER will be removed from this enum as this type will be migrated to only be used by the Packages REST API.

", + "date": "2021-06-21", + "criticality": "breaking", + "owner": "reybard" + } + ], + "2021-01-01": [ + { + "location": "MergeStateStatus.DRAFT", + "description": "

DRAFT will be removed. Use PullRequest.isDraft instead.

", + "reason": "

DRAFT state will be removed from this enum and isDraft should be used instead

", + "date": "2021-01-01", + "criticality": "breaking", + "owner": "nplasterer" + } + ], + "2020-10-01": [ + { + "location": "Sponsorship.sponsor", + "description": "

sponsor will be removed. Use Sponsorship.sponsorEntity instead.

", + "reason": "

Sponsorship.sponsor will be removed.

", + "date": "2020-10-01", + "criticality": "breaking", + "owner": "nholden" + } + ], + "2020-04-01": [ + { + "location": "Sponsorship.maintainer", + "description": "

maintainer will be removed. Use Sponsorship.sponsorable instead.

", + "reason": "

Sponsorship.maintainer will be removed.

", + "date": "2020-04-01", + "criticality": "breaking", + "owner": "antn" + } + ], + "2020-01-01": [ + { + "location": "UnassignedEvent.user", + "description": "

user will be removed. Use the assignee field instead.

", + "reason": "

Assignees can now be mannequins.

", + "date": "2020-01-01", + "criticality": "breaking", + "owner": "tambling" + } + ], + "2019-04-01": [ + { + "location": "LegacyMigration.uploadUrlTemplate", + "description": "

uploadUrlTemplate will be removed. Use uploadUrl instead.

", + "reason": "

uploadUrlTemplate is being removed because it is not a standard URL and adds an extra user step.

", + "date": "2019-04-01", + "criticality": "breaking", + "owner": "tambling" + } + ] +} diff --git a/plugins/catalog/testdata/golden/github-graphql.json b/plugins/catalog/testdata/golden/github-graphql.json new file mode 100644 index 0000000..579aac2 --- /dev/null +++ b/plugins/catalog/testdata/golden/github-graphql.json @@ -0,0 +1,90 @@ +[ + { + "id": 0, + "fingerprint": "sha256:b2d3b47705a97f5ad0eba1ad05610205e8134a851eb1a61e7ff4588dcb316f64", + "api": "github/graphql", + "version": "2027-01-01", + "previous_version": "2026-02-13", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "api_operation", + "kind": "schema_property", + "side": "response", + "schema": "CheckAnnotation", + "property": "databaseId" + }, + "description": "GitHub's GraphQL API removes CheckAnnotation.databaseId on 2027-01-01: code that queries or sends it fails from that date.", + "migration_hint": "databaseId will be removed. Use fullDatabaseId instead. databaseId will be removed because it does not support 64-bit signed integer identifiers.", + "source_url": "https://raw.githubusercontent.com/github/docs/3a14e541873e834edf32b43b71911fe80d109a70/src/graphql/data/fpt/upcoming-changes.json", + "source_excerpt": "{\"location\":\"CheckAnnotation.databaseId\",\"description\":\"

databaseId will be removed. Use fullDatabaseId instead.

\",\"reason\":\"

databaseId will be removed because it does not support 64-bit signed integer identifiers.

\",\"date\":\"2027-01-01\",\"criticality\":\"breaking\"}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 0, + "fingerprint": "sha256:cd07336291aa000b124d74fd081c22b95cc1ca0fabadf51cf776e9bb93e309f5", + "api": "github/graphql", + "version": "2027-01-01", + "previous_version": "2026-02-13", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "api_operation", + "kind": "schema_property", + "side": "response", + "schema": "Artifact", + "property": "databaseId" + }, + "description": "GitHub's GraphQL API removes Artifact.databaseId on 2027-01-01: code that queries or sends it fails from that date.", + "migration_hint": "databaseId will be removed. Use fullDatabaseId instead. databaseId will be removed because it does not support 64-bit signed integer identifiers.", + "source_url": "https://raw.githubusercontent.com/github/docs/3a14e541873e834edf32b43b71911fe80d109a70/src/graphql/data/fpt/upcoming-changes.json", + "source_excerpt": "{\"location\":\"Artifact.databaseId\",\"description\":\"

databaseId will be removed. Use fullDatabaseId instead.

\",\"reason\":\"

databaseId will be removed because it does not support 64-bit signed integer identifiers.

\",\"date\":\"2027-01-01\",\"criticality\":\"breaking\"}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 0, + "fingerprint": "sha256:da197a3086fc3c9c3642b6045598ee0f65d32f78b16c26c3697eedc79c0463ed", + "api": "github/graphql", + "version": "2026-10-01", + "previous_version": "2026-03-03", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "api_operation", + "kind": "schema_property", + "side": "response", + "schema": "User", + "property": "viewerRelevantRepositories" + }, + "description": "GitHub's GraphQL API removes User.viewerRelevantRepositories on 2026-10-01: code that queries or sends it fails from that date.", + "migration_hint": "viewerRelevantRepositories will be removed. Use viewerCopilotChatRepositorySuggestions instead. viewerRelevantRepositories has been renamed to viewerCopilotChatRepositorySuggestions.", + "source_url": "https://raw.githubusercontent.com/github/docs/a934f06d211bef668253e3826c118a4e559dc1ba/src/graphql/data/fpt/upcoming-changes.json", + "source_excerpt": "{\"location\":\"User.viewerRelevantRepositories\",\"description\":\"

viewerRelevantRepositories will be removed. Use viewerCopilotChatRepositorySuggestions instead.

\",\"reason\":\"

viewerRelevantRepositories has been renamed to viewerCopilotChatRepositorySuggestions.

\",\"date\":\"2026-10-01\",\"criticality\":\"breaking\"}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 0, + "fingerprint": "sha256:baa075ad2dbf3bd79789a7485b386db64b050383e1b6bf2de5ac11719d70263f", + "api": "github/graphql", + "version": "2026-10-01", + "previous_version": "2026-05-22", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "api_operation", + "kind": "schema_property", + "side": "response", + "schema": "CopilotAgentTask", + "property": "type" + }, + "description": "GitHub's GraphQL API removes CopilotAgentTask.type on 2026-10-01: code that queries or sends it fails from that date.", + "migration_hint": "type will be removed. Use codingAgentFilter and codingAgentTypeFilter instead. type will be removed.", + "source_url": "https://raw.githubusercontent.com/github/docs/c5738e5815fff90d38f0166f7c9949bfb664e003/src/graphql/data/fpt/upcoming-changes.json", + "source_excerpt": "{\"location\":\"CopilotAgentTask.type\",\"description\":\"

type will be removed. Use codingAgentFilter and codingAgentTypeFilter instead.

\",\"reason\":\"

type will be removed.

\",\"date\":\"2026-10-01\",\"criticality\":\"breaking\"}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/catalog/testdata/golden/redis-commands.json b/plugins/catalog/testdata/golden/redis-commands.json new file mode 100644 index 0000000..3aefa65 --- /dev/null +++ b/plugins/catalog/testdata/golden/redis-commands.json @@ -0,0 +1,48 @@ +[ + { + "id": 1, + "fingerprint": "sha256:e615435aafad455137331aa8fb2365fc29c10fa75180a3129404c937ad9994d5", + "api": "redis/commands", + "version": "8.8-rc1", + "previous_version": "8.8-m03", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "redis", + "package": "redis", + "change": "removed_symbol", + "symbols": [ + "GCRA" + ] + }, + "description": "GCRA is gone in Redis 8.8-rc1 (it was in 8.8-m03): calling it fails.", + "source_url": "https://raw.githubusercontent.com/redis/redis/8.8-m03/src/commands/gcra.json", + "source_excerpt": "{\"GCRA\":{\"summary\":\"Rate limit via GCRA (Generic Cell Rate Algorithm).\",\"complexity\":\"O(1)\",\"group\":\"rate_limit\",\"since\":\"8.8.0\",\"arity\":-5,\"function\":\"gcraCommand\",\"command_flags\":[\"WRITE\",\"DENYOOM\",\"FAST\"],\"acl_categories\":[\"RATE_LIMIT\"],\"key_specs\":[{\"flags\":[\"RW\",\"ACCESS\",\"UPDATE\"],\"begin_search\":{\"index\":{\"pos\":1}},\"find_keys\":{\"range\":{\"lastkey\":0,\"step\":1,\"limit\":0}}}],\"reply_schema\":{\"type\":\"array\",\"minItems\":5,\"maxItems\":5,\"description\":\"Rate limiting result\",\"items\":[{\"type\":\"integer\",\"description\":\"Limited: 0 if allowed, 1 if rate limited\"},{\"type\":\"integer\",\"description\":\"Max request tokens: always equal to max_burst+1\"},{\"type\":\"integer\",\"description\":\"Number of tokens available immediately\"},{\"type\":\"integer\",\"description\":\"Retry after: seconds after which the caller should retry. Always -1 if not limited\"},{\"type\":\"integer\",\"description\":\"Full burst after: seconds after which a full burst will be allowed\"}]},\"arguments\":[{\"name\":\"key\",\"type\":\"key\",\"key_spec_index\":0},{\"name\":\"max-burst\",\"type\":\"integer\"},{\"name\":\"tokens-per-period\",\"type\":\"integer\"},{\"name\":\"period\",\"type\":\"double\"},{\"name\":\"count\",\"type\":\"integer\",\"token\":\"TOKENS\",\"optional\":true}]}}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:b7bde4fd1e7978df475e23dfa7e283350ca4b63d17f88f7196930742bd24aecf", + "api": "redis/commands", + "version": "8.8-rc1", + "previous_version": "8.8-m03", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "redis", + "package": "redis", + "change": "removed_symbol", + "symbols": [ + "GCRASETVALUE" + ] + }, + "description": "GCRASETVALUE is gone in Redis 8.8-rc1 (it was in 8.8-m03): calling it fails.", + "source_url": "https://raw.githubusercontent.com/redis/redis/8.8-m03/src/commands/gcrasetvalue.json", + "source_excerpt": "{\"GCRASETVALUE\":{\"summary\":\"An internal command for recording a GCRA TAT value during AOF rewrite and replication.\",\"complexity\":\"O(1)\",\"group\":\"rate_limit\",\"since\":\"8.8.0\",\"arity\":3,\"function\":\"gcraSetValueCommand\",\"command_flags\":[\"WRITE\",\"DENYOOM\",\"FAST\"],\"acl_categories\":[\"RATE_LIMIT\"],\"key_specs\":[{\"flags\":[\"OW\",\"UPDATE\"],\"begin_search\":{\"index\":{\"pos\":1}},\"find_keys\":{\"range\":{\"lastkey\":0,\"step\":1,\"limit\":0}}}],\"reply_schema\":{\"const\":\"OK\"},\"arguments\":[{\"name\":\"key\",\"type\":\"key\",\"key_spec_index\":0},{\"name\":\"tat\",\"type\":\"integer\"}]}}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/catalog/testdata/redis-8.8-m03-gcra.json b/plugins/catalog/testdata/redis-8.8-m03-gcra.json new file mode 100644 index 0000000..6980af1 --- /dev/null +++ b/plugins/catalog/testdata/redis-8.8-m03-gcra.json @@ -0,0 +1,92 @@ +{ + "GCRA": { + "summary": "Rate limit via GCRA (Generic Cell Rate Algorithm).", + "complexity": "O(1)", + "group": "rate_limit", + "since": "8.8.0", + "arity": -5, + "function": "gcraCommand", + "command_flags": [ + "WRITE", + "DENYOOM", + "FAST" + ], + "acl_categories": [ + "RATE_LIMIT" + ], + "key_specs": [ + { + "flags": [ + "RW", + "ACCESS", + "UPDATE" + ], + "begin_search": { + "index": { + "pos": 1 + } + }, + "find_keys": { + "range": { + "lastkey": 0, + "step": 1, + "limit": 0 + } + } + } + ], + "reply_schema": { + "type": "array", + "minItems": 5, + "maxItems": 5, + "description": "Rate limiting result", + "items": [ + { + "type": "integer", + "description": "Limited: 0 if allowed, 1 if rate limited" + }, + { + "type": "integer", + "description": "Max request tokens: always equal to max_burst+1" + }, + { + "type": "integer", + "description": "Number of tokens available immediately" + }, + { + "type": "integer", + "description": "Retry after: seconds after which the caller should retry. Always -1 if not limited" + }, + { + "type": "integer", + "description": "Full burst after: seconds after which a full burst will be allowed" + } + ] + }, + "arguments": [ + { + "name": "key", + "type": "key", + "key_spec_index": 0 + }, + { + "name": "max-burst", + "type": "integer" + }, + { + "name": "tokens-per-period", + "type": "integer" + }, + { + "name": "period", + "type": "double" + }, + { + "name": "count", + "type": "integer", + "token": "TOKENS", + "optional": true + } + ] + } +} diff --git a/plugins/catalog/testdata/redis-8.8-m03-gcrasetvalue.json b/plugins/catalog/testdata/redis-8.8-m03-gcrasetvalue.json new file mode 100644 index 0000000..5cce15c --- /dev/null +++ b/plugins/catalog/testdata/redis-8.8-m03-gcrasetvalue.json @@ -0,0 +1,52 @@ +{ + "GCRASETVALUE": { + "summary": "An internal command for recording a GCRA TAT value during AOF rewrite and replication.", + "complexity": "O(1)", + "group": "rate_limit", + "since": "8.8.0", + "arity": 3, + "function": "gcraSetValueCommand", + "command_flags": [ + "WRITE", + "DENYOOM", + "FAST" + ], + "acl_categories": [ + "RATE_LIMIT" + ], + "key_specs": [ + { + "flags": [ + "OW", + "UPDATE" + ], + "begin_search": { + "index": { + "pos": 1 + } + }, + "find_keys": { + "range": { + "lastkey": 0, + "step": 1, + "limit": 0 + } + } + } + ], + "reply_schema": { + "const": "OK" + }, + "arguments": [ + { + "name": "key", + "type": "key", + "key_spec_index": 0 + }, + { + "name": "tat", + "type": "integer" + } + ] + } +} diff --git a/plugins/catalog/testdata/redis-contents-src-commands-8.10.0.json b/plugins/catalog/testdata/redis-contents-src-commands-8.10.0.json new file mode 100644 index 0000000..b4f3e4d --- /dev/null +++ b/plugins/catalog/testdata/redis-contents-src-commands-8.10.0.json @@ -0,0 +1 @@ +[{"name":"README.md","type":"file"},{"name":"acl-cat.json","type":"file"},{"name":"acl-deluser.json","type":"file"},{"name":"acl-dryrun.json","type":"file"},{"name":"acl-genpass.json","type":"file"},{"name":"acl-getuser.json","type":"file"},{"name":"acl-help.json","type":"file"},{"name":"acl-list.json","type":"file"},{"name":"acl-load.json","type":"file"},{"name":"acl-log.json","type":"file"},{"name":"acl-save.json","type":"file"},{"name":"acl-setuser.json","type":"file"},{"name":"acl-users.json","type":"file"},{"name":"acl-whoami.json","type":"file"},{"name":"acl.json","type":"file"},{"name":"append.json","type":"file"},{"name":"arcount.json","type":"file"},{"name":"ardel.json","type":"file"},{"name":"ardelrange.json","type":"file"},{"name":"arget.json","type":"file"},{"name":"argetrange.json","type":"file"},{"name":"argrep.json","type":"file"},{"name":"arinfo.json","type":"file"},{"name":"arinsert.json","type":"file"},{"name":"arlastitems.json","type":"file"},{"name":"arlen.json","type":"file"},{"name":"armget.json","type":"file"},{"name":"armset.json","type":"file"},{"name":"arnext.json","type":"file"},{"name":"arop.json","type":"file"},{"name":"arring.json","type":"file"},{"name":"arscan.json","type":"file"},{"name":"arseek.json","type":"file"},{"name":"arset.json","type":"file"},{"name":"asking.json","type":"file"},{"name":"auth.json","type":"file"},{"name":"backup-abort.json","type":"file"},{"name":"backup-cleanup.json","type":"file"},{"name":"backup-help.json","type":"file"},{"name":"backup-list.json","type":"file"},{"name":"backup-seal.json","type":"file"},{"name":"backup-start.json","type":"file"},{"name":"backup-status.json","type":"file"},{"name":"backup.json","type":"file"},{"name":"bgrewriteaof.json","type":"file"},{"name":"bgsave.json","type":"file"},{"name":"bitcount.json","type":"file"},{"name":"bitfield.json","type":"file"},{"name":"bitfield_ro.json","type":"file"},{"name":"bitop.json","type":"file"},{"name":"bitpos.json","type":"file"},{"name":"blmove.json","type":"file"},{"name":"blmovem.json","type":"file"},{"name":"blmpop.json","type":"file"},{"name":"blpop.json","type":"file"},{"name":"brpop.json","type":"file"},{"name":"brpoplpush.json","type":"file"},{"name":"bzmpop.json","type":"file"},{"name":"bzpopmax.json","type":"file"},{"name":"bzpopmin.json","type":"file"},{"name":"client-caching.json","type":"file"},{"name":"client-getname.json","type":"file"},{"name":"client-getredir.json","type":"file"},{"name":"client-help.json","type":"file"},{"name":"client-id.json","type":"file"},{"name":"client-info.json","type":"file"},{"name":"client-kill.json","type":"file"},{"name":"client-list.json","type":"file"},{"name":"client-no-evict.json","type":"file"},{"name":"client-no-touch.json","type":"file"},{"name":"client-pause.json","type":"file"},{"name":"client-reply.json","type":"file"},{"name":"client-setinfo.json","type":"file"},{"name":"client-setname.json","type":"file"},{"name":"client-tracking.json","type":"file"},{"name":"client-trackinginfo.json","type":"file"},{"name":"client-unblock.json","type":"file"},{"name":"client-unpause.json","type":"file"},{"name":"client.json","type":"file"},{"name":"cluster-addslots.json","type":"file"},{"name":"cluster-addslotsrange.json","type":"file"},{"name":"cluster-bumpepoch.json","type":"file"},{"name":"cluster-count-failure-reports.json","type":"file"},{"name":"cluster-countkeysinslot.json","type":"file"},{"name":"cluster-delslots.json","type":"file"},{"name":"cluster-delslotsrange.json","type":"file"},{"name":"cluster-failover.json","type":"file"},{"name":"cluster-flushslots.json","type":"file"},{"name":"cluster-forget.json","type":"file"},{"name":"cluster-getkeysinslot.json","type":"file"},{"name":"cluster-help.json","type":"file"},{"name":"cluster-info.json","type":"file"},{"name":"cluster-keyslot.json","type":"file"},{"name":"cluster-links.json","type":"file"},{"name":"cluster-meet.json","type":"file"},{"name":"cluster-migration.json","type":"file"},{"name":"cluster-myid.json","type":"file"},{"name":"cluster-myshardid.json","type":"file"},{"name":"cluster-nodes.json","type":"file"},{"name":"cluster-replicas.json","type":"file"},{"name":"cluster-replicate.json","type":"file"},{"name":"cluster-reset.json","type":"file"},{"name":"cluster-saveconfig.json","type":"file"},{"name":"cluster-set-config-epoch.json","type":"file"},{"name":"cluster-setslot.json","type":"file"},{"name":"cluster-shards.json","type":"file"},{"name":"cluster-slaves.json","type":"file"},{"name":"cluster-slot-stats.json","type":"file"},{"name":"cluster-slots.json","type":"file"},{"name":"cluster-syncslots.json","type":"file"},{"name":"cluster.json","type":"file"},{"name":"command-count.json","type":"file"},{"name":"command-docs.json","type":"file"},{"name":"command-getkeys.json","type":"file"},{"name":"command-getkeysandflags.json","type":"file"},{"name":"command-help.json","type":"file"},{"name":"command-info.json","type":"file"},{"name":"command-list.json","type":"file"},{"name":"command.json","type":"file"},{"name":"config-get.json","type":"file"},{"name":"config-help.json","type":"file"},{"name":"config-resetstat.json","type":"file"},{"name":"config-rewrite.json","type":"file"},{"name":"config-set.json","type":"file"},{"name":"config.json","type":"file"},{"name":"copy.json","type":"file"},{"name":"dbsize.json","type":"file"},{"name":"debug.json","type":"file"},{"name":"decr.json","type":"file"},{"name":"decrby.json","type":"file"},{"name":"del.json","type":"file"},{"name":"delex.json","type":"file"},{"name":"digest.json","type":"file"},{"name":"discard.json","type":"file"},{"name":"dump.json","type":"file"},{"name":"echo.json","type":"file"},{"name":"eval.json","type":"file"},{"name":"eval_ro.json","type":"file"},{"name":"evalsha.json","type":"file"},{"name":"evalsha_ro.json","type":"file"},{"name":"exec.json","type":"file"},{"name":"exists.json","type":"file"},{"name":"expire.json","type":"file"},{"name":"expireat.json","type":"file"},{"name":"expiretime.json","type":"file"},{"name":"failover.json","type":"file"},{"name":"fcall.json","type":"file"},{"name":"fcall_ro.json","type":"file"},{"name":"flushall.json","type":"file"},{"name":"flushdb.json","type":"file"},{"name":"function-delete.json","type":"file"},{"name":"function-dump.json","type":"file"},{"name":"function-flush.json","type":"file"},{"name":"function-help.json","type":"file"},{"name":"function-kill.json","type":"file"},{"name":"function-list.json","type":"file"},{"name":"function-load.json","type":"file"},{"name":"function-restore.json","type":"file"},{"name":"function-stats.json","type":"file"},{"name":"function.json","type":"file"},{"name":"geoadd.json","type":"file"},{"name":"geodist.json","type":"file"},{"name":"geohash.json","type":"file"},{"name":"geopos.json","type":"file"},{"name":"georadius.json","type":"file"},{"name":"georadius_ro.json","type":"file"},{"name":"georadiusbymember.json","type":"file"},{"name":"georadiusbymember_ro.json","type":"file"},{"name":"geosearch.json","type":"file"},{"name":"geosearchstore.json","type":"file"},{"name":"get.json","type":"file"},{"name":"getbit.json","type":"file"},{"name":"getdel.json","type":"file"},{"name":"getex.json","type":"file"},{"name":"getrange.json","type":"file"},{"name":"getset.json","type":"file"},{"name":"hdel.json","type":"file"},{"name":"hello.json","type":"file"},{"name":"hexists.json","type":"file"},{"name":"hexpire.json","type":"file"},{"name":"hexpireat.json","type":"file"},{"name":"hexpiretime.json","type":"file"},{"name":"hget.json","type":"file"},{"name":"hgetall.json","type":"file"},{"name":"hgetdel.json","type":"file"},{"name":"hgetex.json","type":"file"},{"name":"himport-discard.json","type":"file"},{"name":"himport-discardall.json","type":"file"},{"name":"himport-prepare.json","type":"file"},{"name":"himport-set.json","type":"file"},{"name":"himport.json","type":"file"},{"name":"hincrby.json","type":"file"},{"name":"hincrbyfloat.json","type":"file"},{"name":"hkeys.json","type":"file"},{"name":"hlen.json","type":"file"},{"name":"hmget.json","type":"file"},{"name":"hmset.json","type":"file"},{"name":"hotkeys-get.json","type":"file"},{"name":"hotkeys-help.json","type":"file"},{"name":"hotkeys-reset.json","type":"file"},{"name":"hotkeys-start.json","type":"file"},{"name":"hotkeys-stop.json","type":"file"},{"name":"hotkeys.json","type":"file"},{"name":"hpersist.json","type":"file"},{"name":"hpexpire.json","type":"file"},{"name":"hpexpireat.json","type":"file"},{"name":"hpexpiretime.json","type":"file"},{"name":"hpttl.json","type":"file"},{"name":"hrandfield.json","type":"file"},{"name":"hscan.json","type":"file"},{"name":"hset.json","type":"file"},{"name":"hsetex.json","type":"file"},{"name":"hsetnx.json","type":"file"},{"name":"hstrlen.json","type":"file"},{"name":"httl.json","type":"file"},{"name":"hvals.json","type":"file"},{"name":"incr.json","type":"file"},{"name":"incrby.json","type":"file"},{"name":"incrbyfloat.json","type":"file"},{"name":"increx.json","type":"file"},{"name":"info.json","type":"file"},{"name":"keys.json","type":"file"},{"name":"lastsave.json","type":"file"},{"name":"latency-doctor.json","type":"file"},{"name":"latency-graph.json","type":"file"},{"name":"latency-help.json","type":"file"},{"name":"latency-histogram.json","type":"file"},{"name":"latency-history.json","type":"file"},{"name":"latency-latest.json","type":"file"},{"name":"latency-reset.json","type":"file"},{"name":"latency.json","type":"file"},{"name":"lcs.json","type":"file"},{"name":"lindex.json","type":"file"},{"name":"linsert.json","type":"file"},{"name":"llen.json","type":"file"},{"name":"lmove.json","type":"file"},{"name":"lmovem.json","type":"file"},{"name":"lmpop.json","type":"file"},{"name":"lolwut.json","type":"file"},{"name":"lpop.json","type":"file"},{"name":"lpos.json","type":"file"},{"name":"lpush.json","type":"file"},{"name":"lpushx.json","type":"file"},{"name":"lrange.json","type":"file"},{"name":"lrem.json","type":"file"},{"name":"lset.json","type":"file"},{"name":"ltrim.json","type":"file"},{"name":"memory-doctor.json","type":"file"},{"name":"memory-help.json","type":"file"},{"name":"memory-malloc-stats.json","type":"file"},{"name":"memory-purge.json","type":"file"},{"name":"memory-stats.json","type":"file"},{"name":"memory-usage.json","type":"file"},{"name":"memory.json","type":"file"},{"name":"mget.json","type":"file"},{"name":"migrate.json","type":"file"},{"name":"module-help.json","type":"file"},{"name":"module-list.json","type":"file"},{"name":"module-load.json","type":"file"},{"name":"module-loadex.json","type":"file"},{"name":"module-unload.json","type":"file"},{"name":"module.json","type":"file"},{"name":"monitor.json","type":"file"},{"name":"move.json","type":"file"},{"name":"mset.json","type":"file"},{"name":"msetex.json","type":"file"},{"name":"msetnx.json","type":"file"},{"name":"multi.json","type":"file"},{"name":"object-encoding.json","type":"file"},{"name":"object-freq.json","type":"file"},{"name":"object-help.json","type":"file"},{"name":"object-idletime.json","type":"file"},{"name":"object-refcount.json","type":"file"},{"name":"object.json","type":"file"},{"name":"persist.json","type":"file"},{"name":"pexpire.json","type":"file"},{"name":"pexpireat.json","type":"file"},{"name":"pexpiretime.json","type":"file"},{"name":"pfadd.json","type":"file"},{"name":"pfcount.json","type":"file"},{"name":"pfdebug.json","type":"file"},{"name":"pfmerge.json","type":"file"},{"name":"pfselftest.json","type":"file"},{"name":"ping.json","type":"file"},{"name":"psetex.json","type":"file"},{"name":"psubscribe.json","type":"file"},{"name":"psync.json","type":"file"},{"name":"pttl.json","type":"file"},{"name":"publish.json","type":"file"},{"name":"pubsub-channels.json","type":"file"},{"name":"pubsub-help.json","type":"file"},{"name":"pubsub-numpat.json","type":"file"},{"name":"pubsub-numsub.json","type":"file"},{"name":"pubsub-shardchannels.json","type":"file"},{"name":"pubsub-shardnumsub.json","type":"file"},{"name":"pubsub.json","type":"file"},{"name":"punsubscribe.json","type":"file"},{"name":"quit.json","type":"file"},{"name":"randomkey.json","type":"file"},{"name":"readonly.json","type":"file"},{"name":"readwrite.json","type":"file"},{"name":"rename.json","type":"file"},{"name":"renamenx.json","type":"file"},{"name":"replconf.json","type":"file"},{"name":"replicaof.json","type":"file"},{"name":"reset.json","type":"file"},{"name":"restore-asking.json","type":"file"},{"name":"restore.json","type":"file"},{"name":"role.json","type":"file"},{"name":"rpop.json","type":"file"},{"name":"rpoplpush.json","type":"file"},{"name":"rpush.json","type":"file"},{"name":"rpushx.json","type":"file"},{"name":"sadd.json","type":"file"},{"name":"save.json","type":"file"},{"name":"scan.json","type":"file"},{"name":"scard.json","type":"file"},{"name":"script-debug.json","type":"file"},{"name":"script-exists.json","type":"file"},{"name":"script-flush.json","type":"file"},{"name":"script-help.json","type":"file"},{"name":"script-kill.json","type":"file"},{"name":"script-load.json","type":"file"},{"name":"script.json","type":"file"},{"name":"sdiff.json","type":"file"},{"name":"sdiffcard.json","type":"file"},{"name":"sdiffstore.json","type":"file"},{"name":"select.json","type":"file"},{"name":"sentinel-ckquorum.json","type":"file"},{"name":"sentinel-config.json","type":"file"},{"name":"sentinel-debug.json","type":"file"},{"name":"sentinel-failover.json","type":"file"},{"name":"sentinel-flushconfig.json","type":"file"},{"name":"sentinel-get-master-addr-by-name.json","type":"file"},{"name":"sentinel-help.json","type":"file"},{"name":"sentinel-info-cache.json","type":"file"},{"name":"sentinel-is-master-down-by-addr.json","type":"file"},{"name":"sentinel-master.json","type":"file"},{"name":"sentinel-masters.json","type":"file"},{"name":"sentinel-monitor.json","type":"file"},{"name":"sentinel-myid.json","type":"file"},{"name":"sentinel-pending-scripts.json","type":"file"},{"name":"sentinel-remove.json","type":"file"},{"name":"sentinel-replicas.json","type":"file"},{"name":"sentinel-reset.json","type":"file"},{"name":"sentinel-sentinels.json","type":"file"},{"name":"sentinel-set.json","type":"file"},{"name":"sentinel-simulate-failure.json","type":"file"},{"name":"sentinel-slaves.json","type":"file"},{"name":"sentinel.json","type":"file"},{"name":"set.json","type":"file"},{"name":"setbit.json","type":"file"},{"name":"setex.json","type":"file"},{"name":"setnx.json","type":"file"},{"name":"setrange.json","type":"file"},{"name":"sflush.json","type":"file"},{"name":"shutdown.json","type":"file"},{"name":"sinter.json","type":"file"},{"name":"sintercard.json","type":"file"},{"name":"sinterstore.json","type":"file"},{"name":"sismember.json","type":"file"},{"name":"slaveof.json","type":"file"},{"name":"slowlog-get.json","type":"file"},{"name":"slowlog-help.json","type":"file"},{"name":"slowlog-len.json","type":"file"},{"name":"slowlog-reset.json","type":"file"},{"name":"slowlog.json","type":"file"},{"name":"smembers.json","type":"file"},{"name":"smismember.json","type":"file"},{"name":"smove.json","type":"file"},{"name":"sort.json","type":"file"},{"name":"sort_ro.json","type":"file"},{"name":"spop.json","type":"file"},{"name":"spublish.json","type":"file"},{"name":"srandmember.json","type":"file"},{"name":"srem.json","type":"file"},{"name":"sscan.json","type":"file"},{"name":"ssubscribe.json","type":"file"},{"name":"strlen.json","type":"file"},{"name":"subscribe.json","type":"file"},{"name":"substr.json","type":"file"},{"name":"sunion.json","type":"file"},{"name":"sunioncard.json","type":"file"},{"name":"sunionstore.json","type":"file"},{"name":"sunsubscribe.json","type":"file"},{"name":"swapdb.json","type":"file"},{"name":"sync.json","type":"file"},{"name":"time.json","type":"file"},{"name":"touch.json","type":"file"},{"name":"trimslots.json","type":"file"},{"name":"ttl.json","type":"file"},{"name":"type.json","type":"file"},{"name":"unlink.json","type":"file"},{"name":"unsubscribe.json","type":"file"},{"name":"unwatch.json","type":"file"},{"name":"wait.json","type":"file"},{"name":"waitaof.json","type":"file"},{"name":"watch.json","type":"file"},{"name":"xack.json","type":"file"},{"name":"xackdel.json","type":"file"},{"name":"xadd.json","type":"file"},{"name":"xautoclaim.json","type":"file"},{"name":"xcfgset.json","type":"file"},{"name":"xclaim.json","type":"file"},{"name":"xdel.json","type":"file"},{"name":"xdelex.json","type":"file"},{"name":"xgroup-create.json","type":"file"},{"name":"xgroup-createconsumer.json","type":"file"},{"name":"xgroup-delconsumer.json","type":"file"},{"name":"xgroup-destroy.json","type":"file"},{"name":"xgroup-help.json","type":"file"},{"name":"xgroup-setid.json","type":"file"},{"name":"xgroup.json","type":"file"},{"name":"xidmprecord.json","type":"file"},{"name":"xinfo-consumers.json","type":"file"},{"name":"xinfo-groups.json","type":"file"},{"name":"xinfo-help.json","type":"file"},{"name":"xinfo-stream.json","type":"file"},{"name":"xinfo.json","type":"file"},{"name":"xlen.json","type":"file"},{"name":"xnack.json","type":"file"},{"name":"xpending.json","type":"file"},{"name":"xrange.json","type":"file"},{"name":"xread.json","type":"file"},{"name":"xreadgroup.json","type":"file"},{"name":"xrevrange.json","type":"file"},{"name":"xsetid.json","type":"file"},{"name":"xtrim.json","type":"file"},{"name":"zadd.json","type":"file"},{"name":"zcard.json","type":"file"},{"name":"zcount.json","type":"file"},{"name":"zdiff.json","type":"file"},{"name":"zdiffstore.json","type":"file"},{"name":"zincrby.json","type":"file"},{"name":"zinter.json","type":"file"},{"name":"zintercard.json","type":"file"},{"name":"zinterstore.json","type":"file"},{"name":"zlexcount.json","type":"file"},{"name":"zmpop.json","type":"file"},{"name":"zmscore.json","type":"file"},{"name":"zpopmax.json","type":"file"},{"name":"zpopmin.json","type":"file"},{"name":"zrandmember.json","type":"file"},{"name":"zrange.json","type":"file"},{"name":"zrangebylex.json","type":"file"},{"name":"zrangebyscore.json","type":"file"},{"name":"zrangestore.json","type":"file"},{"name":"zrank.json","type":"file"},{"name":"zrem.json","type":"file"},{"name":"zremrangebylex.json","type":"file"},{"name":"zremrangebyrank.json","type":"file"},{"name":"zremrangebyscore.json","type":"file"},{"name":"zrevrange.json","type":"file"},{"name":"zrevrangebylex.json","type":"file"},{"name":"zrevrangebyscore.json","type":"file"},{"name":"zrevrank.json","type":"file"},{"name":"zscan.json","type":"file"},{"name":"zscore.json","type":"file"},{"name":"zunion.json","type":"file"},{"name":"zunionstore.json","type":"file"}] diff --git a/plugins/catalog/testdata/redis-contents-src-commands-8.8-m03.json b/plugins/catalog/testdata/redis-contents-src-commands-8.8-m03.json new file mode 100644 index 0000000..2e9a1c1 --- /dev/null +++ b/plugins/catalog/testdata/redis-contents-src-commands-8.8-m03.json @@ -0,0 +1 @@ +[{"name":"README.md","type":"file"},{"name":"acl-cat.json","type":"file"},{"name":"acl-deluser.json","type":"file"},{"name":"acl-dryrun.json","type":"file"},{"name":"acl-genpass.json","type":"file"},{"name":"acl-getuser.json","type":"file"},{"name":"acl-help.json","type":"file"},{"name":"acl-list.json","type":"file"},{"name":"acl-load.json","type":"file"},{"name":"acl-log.json","type":"file"},{"name":"acl-save.json","type":"file"},{"name":"acl-setuser.json","type":"file"},{"name":"acl-users.json","type":"file"},{"name":"acl-whoami.json","type":"file"},{"name":"acl.json","type":"file"},{"name":"append.json","type":"file"},{"name":"asking.json","type":"file"},{"name":"auth.json","type":"file"},{"name":"bgrewriteaof.json","type":"file"},{"name":"bgsave.json","type":"file"},{"name":"bitcount.json","type":"file"},{"name":"bitfield.json","type":"file"},{"name":"bitfield_ro.json","type":"file"},{"name":"bitop.json","type":"file"},{"name":"bitpos.json","type":"file"},{"name":"blmove.json","type":"file"},{"name":"blmpop.json","type":"file"},{"name":"blpop.json","type":"file"},{"name":"brpop.json","type":"file"},{"name":"brpoplpush.json","type":"file"},{"name":"bzmpop.json","type":"file"},{"name":"bzpopmax.json","type":"file"},{"name":"bzpopmin.json","type":"file"},{"name":"client-caching.json","type":"file"},{"name":"client-getname.json","type":"file"},{"name":"client-getredir.json","type":"file"},{"name":"client-help.json","type":"file"},{"name":"client-id.json","type":"file"},{"name":"client-info.json","type":"file"},{"name":"client-kill.json","type":"file"},{"name":"client-list.json","type":"file"},{"name":"client-no-evict.json","type":"file"},{"name":"client-no-touch.json","type":"file"},{"name":"client-pause.json","type":"file"},{"name":"client-reply.json","type":"file"},{"name":"client-setinfo.json","type":"file"},{"name":"client-setname.json","type":"file"},{"name":"client-tracking.json","type":"file"},{"name":"client-trackinginfo.json","type":"file"},{"name":"client-unblock.json","type":"file"},{"name":"client-unpause.json","type":"file"},{"name":"client.json","type":"file"},{"name":"cluster-addslots.json","type":"file"},{"name":"cluster-addslotsrange.json","type":"file"},{"name":"cluster-bumpepoch.json","type":"file"},{"name":"cluster-count-failure-reports.json","type":"file"},{"name":"cluster-countkeysinslot.json","type":"file"},{"name":"cluster-delslots.json","type":"file"},{"name":"cluster-delslotsrange.json","type":"file"},{"name":"cluster-failover.json","type":"file"},{"name":"cluster-flushslots.json","type":"file"},{"name":"cluster-forget.json","type":"file"},{"name":"cluster-getkeysinslot.json","type":"file"},{"name":"cluster-help.json","type":"file"},{"name":"cluster-info.json","type":"file"},{"name":"cluster-keyslot.json","type":"file"},{"name":"cluster-links.json","type":"file"},{"name":"cluster-meet.json","type":"file"},{"name":"cluster-migration.json","type":"file"},{"name":"cluster-myid.json","type":"file"},{"name":"cluster-myshardid.json","type":"file"},{"name":"cluster-nodes.json","type":"file"},{"name":"cluster-replicas.json","type":"file"},{"name":"cluster-replicate.json","type":"file"},{"name":"cluster-reset.json","type":"file"},{"name":"cluster-saveconfig.json","type":"file"},{"name":"cluster-set-config-epoch.json","type":"file"},{"name":"cluster-setslot.json","type":"file"},{"name":"cluster-shards.json","type":"file"},{"name":"cluster-slaves.json","type":"file"},{"name":"cluster-slot-stats.json","type":"file"},{"name":"cluster-slots.json","type":"file"},{"name":"cluster-syncslots.json","type":"file"},{"name":"cluster.json","type":"file"},{"name":"command-count.json","type":"file"},{"name":"command-docs.json","type":"file"},{"name":"command-getkeys.json","type":"file"},{"name":"command-getkeysandflags.json","type":"file"},{"name":"command-help.json","type":"file"},{"name":"command-info.json","type":"file"},{"name":"command-list.json","type":"file"},{"name":"command.json","type":"file"},{"name":"config-get.json","type":"file"},{"name":"config-help.json","type":"file"},{"name":"config-resetstat.json","type":"file"},{"name":"config-rewrite.json","type":"file"},{"name":"config-set.json","type":"file"},{"name":"config.json","type":"file"},{"name":"copy.json","type":"file"},{"name":"dbsize.json","type":"file"},{"name":"debug.json","type":"file"},{"name":"decr.json","type":"file"},{"name":"decrby.json","type":"file"},{"name":"del.json","type":"file"},{"name":"delex.json","type":"file"},{"name":"digest.json","type":"file"},{"name":"discard.json","type":"file"},{"name":"dump.json","type":"file"},{"name":"echo.json","type":"file"},{"name":"eval.json","type":"file"},{"name":"eval_ro.json","type":"file"},{"name":"evalsha.json","type":"file"},{"name":"evalsha_ro.json","type":"file"},{"name":"exec.json","type":"file"},{"name":"exists.json","type":"file"},{"name":"expire.json","type":"file"},{"name":"expireat.json","type":"file"},{"name":"expiretime.json","type":"file"},{"name":"failover.json","type":"file"},{"name":"fcall.json","type":"file"},{"name":"fcall_ro.json","type":"file"},{"name":"flushall.json","type":"file"},{"name":"flushdb.json","type":"file"},{"name":"function-delete.json","type":"file"},{"name":"function-dump.json","type":"file"},{"name":"function-flush.json","type":"file"},{"name":"function-help.json","type":"file"},{"name":"function-kill.json","type":"file"},{"name":"function-list.json","type":"file"},{"name":"function-load.json","type":"file"},{"name":"function-restore.json","type":"file"},{"name":"function-stats.json","type":"file"},{"name":"function.json","type":"file"},{"name":"gcra.json","type":"file"},{"name":"gcrasetvalue.json","type":"file"},{"name":"geoadd.json","type":"file"},{"name":"geodist.json","type":"file"},{"name":"geohash.json","type":"file"},{"name":"geopos.json","type":"file"},{"name":"georadius.json","type":"file"},{"name":"georadius_ro.json","type":"file"},{"name":"georadiusbymember.json","type":"file"},{"name":"georadiusbymember_ro.json","type":"file"},{"name":"geosearch.json","type":"file"},{"name":"geosearchstore.json","type":"file"},{"name":"get.json","type":"file"},{"name":"getbit.json","type":"file"},{"name":"getdel.json","type":"file"},{"name":"getex.json","type":"file"},{"name":"getrange.json","type":"file"},{"name":"getset.json","type":"file"},{"name":"hdel.json","type":"file"},{"name":"hello.json","type":"file"},{"name":"hexists.json","type":"file"},{"name":"hexpire.json","type":"file"},{"name":"hexpireat.json","type":"file"},{"name":"hexpiretime.json","type":"file"},{"name":"hget.json","type":"file"},{"name":"hgetall.json","type":"file"},{"name":"hgetdel.json","type":"file"},{"name":"hgetex.json","type":"file"},{"name":"hincrby.json","type":"file"},{"name":"hincrbyfloat.json","type":"file"},{"name":"hkeys.json","type":"file"},{"name":"hlen.json","type":"file"},{"name":"hmget.json","type":"file"},{"name":"hmset.json","type":"file"},{"name":"hotkeys-get.json","type":"file"},{"name":"hotkeys-help.json","type":"file"},{"name":"hotkeys-reset.json","type":"file"},{"name":"hotkeys-start.json","type":"file"},{"name":"hotkeys-stop.json","type":"file"},{"name":"hotkeys.json","type":"file"},{"name":"hpersist.json","type":"file"},{"name":"hpexpire.json","type":"file"},{"name":"hpexpireat.json","type":"file"},{"name":"hpexpiretime.json","type":"file"},{"name":"hpttl.json","type":"file"},{"name":"hrandfield.json","type":"file"},{"name":"hscan.json","type":"file"},{"name":"hset.json","type":"file"},{"name":"hsetex.json","type":"file"},{"name":"hsetnx.json","type":"file"},{"name":"hstrlen.json","type":"file"},{"name":"httl.json","type":"file"},{"name":"hvals.json","type":"file"},{"name":"incr.json","type":"file"},{"name":"incrby.json","type":"file"},{"name":"incrbyfloat.json","type":"file"},{"name":"info.json","type":"file"},{"name":"keys.json","type":"file"},{"name":"lastsave.json","type":"file"},{"name":"latency-doctor.json","type":"file"},{"name":"latency-graph.json","type":"file"},{"name":"latency-help.json","type":"file"},{"name":"latency-histogram.json","type":"file"},{"name":"latency-history.json","type":"file"},{"name":"latency-latest.json","type":"file"},{"name":"latency-reset.json","type":"file"},{"name":"latency.json","type":"file"},{"name":"lcs.json","type":"file"},{"name":"lindex.json","type":"file"},{"name":"linsert.json","type":"file"},{"name":"llen.json","type":"file"},{"name":"lmove.json","type":"file"},{"name":"lmpop.json","type":"file"},{"name":"lolwut.json","type":"file"},{"name":"lpop.json","type":"file"},{"name":"lpos.json","type":"file"},{"name":"lpush.json","type":"file"},{"name":"lpushx.json","type":"file"},{"name":"lrange.json","type":"file"},{"name":"lrem.json","type":"file"},{"name":"lset.json","type":"file"},{"name":"ltrim.json","type":"file"},{"name":"memory-doctor.json","type":"file"},{"name":"memory-help.json","type":"file"},{"name":"memory-malloc-stats.json","type":"file"},{"name":"memory-purge.json","type":"file"},{"name":"memory-stats.json","type":"file"},{"name":"memory-usage.json","type":"file"},{"name":"memory.json","type":"file"},{"name":"mget.json","type":"file"},{"name":"migrate.json","type":"file"},{"name":"module-help.json","type":"file"},{"name":"module-list.json","type":"file"},{"name":"module-load.json","type":"file"},{"name":"module-loadex.json","type":"file"},{"name":"module-unload.json","type":"file"},{"name":"module.json","type":"file"},{"name":"monitor.json","type":"file"},{"name":"move.json","type":"file"},{"name":"mset.json","type":"file"},{"name":"msetex.json","type":"file"},{"name":"msetnx.json","type":"file"},{"name":"multi.json","type":"file"},{"name":"object-encoding.json","type":"file"},{"name":"object-freq.json","type":"file"},{"name":"object-help.json","type":"file"},{"name":"object-idletime.json","type":"file"},{"name":"object-refcount.json","type":"file"},{"name":"object.json","type":"file"},{"name":"persist.json","type":"file"},{"name":"pexpire.json","type":"file"},{"name":"pexpireat.json","type":"file"},{"name":"pexpiretime.json","type":"file"},{"name":"pfadd.json","type":"file"},{"name":"pfcount.json","type":"file"},{"name":"pfdebug.json","type":"file"},{"name":"pfmerge.json","type":"file"},{"name":"pfselftest.json","type":"file"},{"name":"ping.json","type":"file"},{"name":"psetex.json","type":"file"},{"name":"psubscribe.json","type":"file"},{"name":"psync.json","type":"file"},{"name":"pttl.json","type":"file"},{"name":"publish.json","type":"file"},{"name":"pubsub-channels.json","type":"file"},{"name":"pubsub-help.json","type":"file"},{"name":"pubsub-numpat.json","type":"file"},{"name":"pubsub-numsub.json","type":"file"},{"name":"pubsub-shardchannels.json","type":"file"},{"name":"pubsub-shardnumsub.json","type":"file"},{"name":"pubsub.json","type":"file"},{"name":"punsubscribe.json","type":"file"},{"name":"quit.json","type":"file"},{"name":"randomkey.json","type":"file"},{"name":"readonly.json","type":"file"},{"name":"readwrite.json","type":"file"},{"name":"rename.json","type":"file"},{"name":"renamenx.json","type":"file"},{"name":"replconf.json","type":"file"},{"name":"replicaof.json","type":"file"},{"name":"reset.json","type":"file"},{"name":"restore-asking.json","type":"file"},{"name":"restore.json","type":"file"},{"name":"role.json","type":"file"},{"name":"rpop.json","type":"file"},{"name":"rpoplpush.json","type":"file"},{"name":"rpush.json","type":"file"},{"name":"rpushx.json","type":"file"},{"name":"sadd.json","type":"file"},{"name":"save.json","type":"file"},{"name":"scan.json","type":"file"},{"name":"scard.json","type":"file"},{"name":"script-debug.json","type":"file"},{"name":"script-exists.json","type":"file"},{"name":"script-flush.json","type":"file"},{"name":"script-help.json","type":"file"},{"name":"script-kill.json","type":"file"},{"name":"script-load.json","type":"file"},{"name":"script.json","type":"file"},{"name":"sdiff.json","type":"file"},{"name":"sdiffstore.json","type":"file"},{"name":"select.json","type":"file"},{"name":"sentinel-ckquorum.json","type":"file"},{"name":"sentinel-config.json","type":"file"},{"name":"sentinel-debug.json","type":"file"},{"name":"sentinel-failover.json","type":"file"},{"name":"sentinel-flushconfig.json","type":"file"},{"name":"sentinel-get-master-addr-by-name.json","type":"file"},{"name":"sentinel-help.json","type":"file"},{"name":"sentinel-info-cache.json","type":"file"},{"name":"sentinel-is-master-down-by-addr.json","type":"file"},{"name":"sentinel-master.json","type":"file"},{"name":"sentinel-masters.json","type":"file"},{"name":"sentinel-monitor.json","type":"file"},{"name":"sentinel-myid.json","type":"file"},{"name":"sentinel-pending-scripts.json","type":"file"},{"name":"sentinel-remove.json","type":"file"},{"name":"sentinel-replicas.json","type":"file"},{"name":"sentinel-reset.json","type":"file"},{"name":"sentinel-sentinels.json","type":"file"},{"name":"sentinel-set.json","type":"file"},{"name":"sentinel-simulate-failure.json","type":"file"},{"name":"sentinel-slaves.json","type":"file"},{"name":"sentinel.json","type":"file"},{"name":"set.json","type":"file"},{"name":"setbit.json","type":"file"},{"name":"setex.json","type":"file"},{"name":"setnx.json","type":"file"},{"name":"setrange.json","type":"file"},{"name":"sflush.json","type":"file"},{"name":"shutdown.json","type":"file"},{"name":"sinter.json","type":"file"},{"name":"sintercard.json","type":"file"},{"name":"sinterstore.json","type":"file"},{"name":"sismember.json","type":"file"},{"name":"slaveof.json","type":"file"},{"name":"slowlog-get.json","type":"file"},{"name":"slowlog-help.json","type":"file"},{"name":"slowlog-len.json","type":"file"},{"name":"slowlog-reset.json","type":"file"},{"name":"slowlog.json","type":"file"},{"name":"smembers.json","type":"file"},{"name":"smismember.json","type":"file"},{"name":"smove.json","type":"file"},{"name":"sort.json","type":"file"},{"name":"sort_ro.json","type":"file"},{"name":"spop.json","type":"file"},{"name":"spublish.json","type":"file"},{"name":"srandmember.json","type":"file"},{"name":"srem.json","type":"file"},{"name":"sscan.json","type":"file"},{"name":"ssubscribe.json","type":"file"},{"name":"strlen.json","type":"file"},{"name":"subscribe.json","type":"file"},{"name":"substr.json","type":"file"},{"name":"sunion.json","type":"file"},{"name":"sunionstore.json","type":"file"},{"name":"sunsubscribe.json","type":"file"},{"name":"swapdb.json","type":"file"},{"name":"sync.json","type":"file"},{"name":"time.json","type":"file"},{"name":"touch.json","type":"file"},{"name":"trimslots.json","type":"file"},{"name":"ttl.json","type":"file"},{"name":"type.json","type":"file"},{"name":"unlink.json","type":"file"},{"name":"unsubscribe.json","type":"file"},{"name":"unwatch.json","type":"file"},{"name":"wait.json","type":"file"},{"name":"waitaof.json","type":"file"},{"name":"watch.json","type":"file"},{"name":"xack.json","type":"file"},{"name":"xackdel.json","type":"file"},{"name":"xadd.json","type":"file"},{"name":"xautoclaim.json","type":"file"},{"name":"xcfgset.json","type":"file"},{"name":"xclaim.json","type":"file"},{"name":"xdel.json","type":"file"},{"name":"xdelex.json","type":"file"},{"name":"xgroup-create.json","type":"file"},{"name":"xgroup-createconsumer.json","type":"file"},{"name":"xgroup-delconsumer.json","type":"file"},{"name":"xgroup-destroy.json","type":"file"},{"name":"xgroup-help.json","type":"file"},{"name":"xgroup-setid.json","type":"file"},{"name":"xgroup.json","type":"file"},{"name":"xidmprecord.json","type":"file"},{"name":"xinfo-consumers.json","type":"file"},{"name":"xinfo-groups.json","type":"file"},{"name":"xinfo-help.json","type":"file"},{"name":"xinfo-stream.json","type":"file"},{"name":"xinfo.json","type":"file"},{"name":"xlen.json","type":"file"},{"name":"xnack.json","type":"file"},{"name":"xpending.json","type":"file"},{"name":"xrange.json","type":"file"},{"name":"xread.json","type":"file"},{"name":"xreadgroup.json","type":"file"},{"name":"xrevrange.json","type":"file"},{"name":"xsetid.json","type":"file"},{"name":"xtrim.json","type":"file"},{"name":"zadd.json","type":"file"},{"name":"zcard.json","type":"file"},{"name":"zcount.json","type":"file"},{"name":"zdiff.json","type":"file"},{"name":"zdiffstore.json","type":"file"},{"name":"zincrby.json","type":"file"},{"name":"zinter.json","type":"file"},{"name":"zintercard.json","type":"file"},{"name":"zinterstore.json","type":"file"},{"name":"zlexcount.json","type":"file"},{"name":"zmpop.json","type":"file"},{"name":"zmscore.json","type":"file"},{"name":"zpopmax.json","type":"file"},{"name":"zpopmin.json","type":"file"},{"name":"zrandmember.json","type":"file"},{"name":"zrange.json","type":"file"},{"name":"zrangebylex.json","type":"file"},{"name":"zrangebyscore.json","type":"file"},{"name":"zrangestore.json","type":"file"},{"name":"zrank.json","type":"file"},{"name":"zrem.json","type":"file"},{"name":"zremrangebylex.json","type":"file"},{"name":"zremrangebyrank.json","type":"file"},{"name":"zremrangebyscore.json","type":"file"},{"name":"zrevrange.json","type":"file"},{"name":"zrevrangebylex.json","type":"file"},{"name":"zrevrangebyscore.json","type":"file"},{"name":"zrevrank.json","type":"file"},{"name":"zscan.json","type":"file"},{"name":"zscore.json","type":"file"},{"name":"zunion.json","type":"file"},{"name":"zunionstore.json","type":"file"}] diff --git a/plugins/catalog/testdata/redis-contents-src-commands-8.8-rc1.json b/plugins/catalog/testdata/redis-contents-src-commands-8.8-rc1.json new file mode 100644 index 0000000..d269361 --- /dev/null +++ b/plugins/catalog/testdata/redis-contents-src-commands-8.8-rc1.json @@ -0,0 +1 @@ +[{"name":"README.md","type":"file"},{"name":"acl-cat.json","type":"file"},{"name":"acl-deluser.json","type":"file"},{"name":"acl-dryrun.json","type":"file"},{"name":"acl-genpass.json","type":"file"},{"name":"acl-getuser.json","type":"file"},{"name":"acl-help.json","type":"file"},{"name":"acl-list.json","type":"file"},{"name":"acl-load.json","type":"file"},{"name":"acl-log.json","type":"file"},{"name":"acl-save.json","type":"file"},{"name":"acl-setuser.json","type":"file"},{"name":"acl-users.json","type":"file"},{"name":"acl-whoami.json","type":"file"},{"name":"acl.json","type":"file"},{"name":"append.json","type":"file"},{"name":"arcount.json","type":"file"},{"name":"ardel.json","type":"file"},{"name":"ardelrange.json","type":"file"},{"name":"arget.json","type":"file"},{"name":"argetrange.json","type":"file"},{"name":"argrep.json","type":"file"},{"name":"arinfo.json","type":"file"},{"name":"arinsert.json","type":"file"},{"name":"arlastitems.json","type":"file"},{"name":"arlen.json","type":"file"},{"name":"armget.json","type":"file"},{"name":"armset.json","type":"file"},{"name":"arnext.json","type":"file"},{"name":"arop.json","type":"file"},{"name":"arring.json","type":"file"},{"name":"arscan.json","type":"file"},{"name":"arseek.json","type":"file"},{"name":"arset.json","type":"file"},{"name":"asking.json","type":"file"},{"name":"auth.json","type":"file"},{"name":"bgrewriteaof.json","type":"file"},{"name":"bgsave.json","type":"file"},{"name":"bitcount.json","type":"file"},{"name":"bitfield.json","type":"file"},{"name":"bitfield_ro.json","type":"file"},{"name":"bitop.json","type":"file"},{"name":"bitpos.json","type":"file"},{"name":"blmove.json","type":"file"},{"name":"blmpop.json","type":"file"},{"name":"blpop.json","type":"file"},{"name":"brpop.json","type":"file"},{"name":"brpoplpush.json","type":"file"},{"name":"bzmpop.json","type":"file"},{"name":"bzpopmax.json","type":"file"},{"name":"bzpopmin.json","type":"file"},{"name":"client-caching.json","type":"file"},{"name":"client-getname.json","type":"file"},{"name":"client-getredir.json","type":"file"},{"name":"client-help.json","type":"file"},{"name":"client-id.json","type":"file"},{"name":"client-info.json","type":"file"},{"name":"client-kill.json","type":"file"},{"name":"client-list.json","type":"file"},{"name":"client-no-evict.json","type":"file"},{"name":"client-no-touch.json","type":"file"},{"name":"client-pause.json","type":"file"},{"name":"client-reply.json","type":"file"},{"name":"client-setinfo.json","type":"file"},{"name":"client-setname.json","type":"file"},{"name":"client-tracking.json","type":"file"},{"name":"client-trackinginfo.json","type":"file"},{"name":"client-unblock.json","type":"file"},{"name":"client-unpause.json","type":"file"},{"name":"client.json","type":"file"},{"name":"cluster-addslots.json","type":"file"},{"name":"cluster-addslotsrange.json","type":"file"},{"name":"cluster-bumpepoch.json","type":"file"},{"name":"cluster-count-failure-reports.json","type":"file"},{"name":"cluster-countkeysinslot.json","type":"file"},{"name":"cluster-delslots.json","type":"file"},{"name":"cluster-delslotsrange.json","type":"file"},{"name":"cluster-failover.json","type":"file"},{"name":"cluster-flushslots.json","type":"file"},{"name":"cluster-forget.json","type":"file"},{"name":"cluster-getkeysinslot.json","type":"file"},{"name":"cluster-help.json","type":"file"},{"name":"cluster-info.json","type":"file"},{"name":"cluster-keyslot.json","type":"file"},{"name":"cluster-links.json","type":"file"},{"name":"cluster-meet.json","type":"file"},{"name":"cluster-migration.json","type":"file"},{"name":"cluster-myid.json","type":"file"},{"name":"cluster-myshardid.json","type":"file"},{"name":"cluster-nodes.json","type":"file"},{"name":"cluster-replicas.json","type":"file"},{"name":"cluster-replicate.json","type":"file"},{"name":"cluster-reset.json","type":"file"},{"name":"cluster-saveconfig.json","type":"file"},{"name":"cluster-set-config-epoch.json","type":"file"},{"name":"cluster-setslot.json","type":"file"},{"name":"cluster-shards.json","type":"file"},{"name":"cluster-slaves.json","type":"file"},{"name":"cluster-slot-stats.json","type":"file"},{"name":"cluster-slots.json","type":"file"},{"name":"cluster-syncslots.json","type":"file"},{"name":"cluster.json","type":"file"},{"name":"command-count.json","type":"file"},{"name":"command-docs.json","type":"file"},{"name":"command-getkeys.json","type":"file"},{"name":"command-getkeysandflags.json","type":"file"},{"name":"command-help.json","type":"file"},{"name":"command-info.json","type":"file"},{"name":"command-list.json","type":"file"},{"name":"command.json","type":"file"},{"name":"config-get.json","type":"file"},{"name":"config-help.json","type":"file"},{"name":"config-resetstat.json","type":"file"},{"name":"config-rewrite.json","type":"file"},{"name":"config-set.json","type":"file"},{"name":"config.json","type":"file"},{"name":"copy.json","type":"file"},{"name":"dbsize.json","type":"file"},{"name":"debug.json","type":"file"},{"name":"decr.json","type":"file"},{"name":"decrby.json","type":"file"},{"name":"del.json","type":"file"},{"name":"delex.json","type":"file"},{"name":"digest.json","type":"file"},{"name":"discard.json","type":"file"},{"name":"dump.json","type":"file"},{"name":"echo.json","type":"file"},{"name":"eval.json","type":"file"},{"name":"eval_ro.json","type":"file"},{"name":"evalsha.json","type":"file"},{"name":"evalsha_ro.json","type":"file"},{"name":"exec.json","type":"file"},{"name":"exists.json","type":"file"},{"name":"expire.json","type":"file"},{"name":"expireat.json","type":"file"},{"name":"expiretime.json","type":"file"},{"name":"failover.json","type":"file"},{"name":"fcall.json","type":"file"},{"name":"fcall_ro.json","type":"file"},{"name":"flushall.json","type":"file"},{"name":"flushdb.json","type":"file"},{"name":"function-delete.json","type":"file"},{"name":"function-dump.json","type":"file"},{"name":"function-flush.json","type":"file"},{"name":"function-help.json","type":"file"},{"name":"function-kill.json","type":"file"},{"name":"function-list.json","type":"file"},{"name":"function-load.json","type":"file"},{"name":"function-restore.json","type":"file"},{"name":"function-stats.json","type":"file"},{"name":"function.json","type":"file"},{"name":"geoadd.json","type":"file"},{"name":"geodist.json","type":"file"},{"name":"geohash.json","type":"file"},{"name":"geopos.json","type":"file"},{"name":"georadius.json","type":"file"},{"name":"georadius_ro.json","type":"file"},{"name":"georadiusbymember.json","type":"file"},{"name":"georadiusbymember_ro.json","type":"file"},{"name":"geosearch.json","type":"file"},{"name":"geosearchstore.json","type":"file"},{"name":"get.json","type":"file"},{"name":"getbit.json","type":"file"},{"name":"getdel.json","type":"file"},{"name":"getex.json","type":"file"},{"name":"getrange.json","type":"file"},{"name":"getset.json","type":"file"},{"name":"hdel.json","type":"file"},{"name":"hello.json","type":"file"},{"name":"hexists.json","type":"file"},{"name":"hexpire.json","type":"file"},{"name":"hexpireat.json","type":"file"},{"name":"hexpiretime.json","type":"file"},{"name":"hget.json","type":"file"},{"name":"hgetall.json","type":"file"},{"name":"hgetdel.json","type":"file"},{"name":"hgetex.json","type":"file"},{"name":"hincrby.json","type":"file"},{"name":"hincrbyfloat.json","type":"file"},{"name":"hkeys.json","type":"file"},{"name":"hlen.json","type":"file"},{"name":"hmget.json","type":"file"},{"name":"hmset.json","type":"file"},{"name":"hotkeys-get.json","type":"file"},{"name":"hotkeys-help.json","type":"file"},{"name":"hotkeys-reset.json","type":"file"},{"name":"hotkeys-start.json","type":"file"},{"name":"hotkeys-stop.json","type":"file"},{"name":"hotkeys.json","type":"file"},{"name":"hpersist.json","type":"file"},{"name":"hpexpire.json","type":"file"},{"name":"hpexpireat.json","type":"file"},{"name":"hpexpiretime.json","type":"file"},{"name":"hpttl.json","type":"file"},{"name":"hrandfield.json","type":"file"},{"name":"hscan.json","type":"file"},{"name":"hset.json","type":"file"},{"name":"hsetex.json","type":"file"},{"name":"hsetnx.json","type":"file"},{"name":"hstrlen.json","type":"file"},{"name":"httl.json","type":"file"},{"name":"hvals.json","type":"file"},{"name":"incr.json","type":"file"},{"name":"incrby.json","type":"file"},{"name":"incrbyfloat.json","type":"file"},{"name":"increx.json","type":"file"},{"name":"info.json","type":"file"},{"name":"keys.json","type":"file"},{"name":"lastsave.json","type":"file"},{"name":"latency-doctor.json","type":"file"},{"name":"latency-graph.json","type":"file"},{"name":"latency-help.json","type":"file"},{"name":"latency-histogram.json","type":"file"},{"name":"latency-history.json","type":"file"},{"name":"latency-latest.json","type":"file"},{"name":"latency-reset.json","type":"file"},{"name":"latency.json","type":"file"},{"name":"lcs.json","type":"file"},{"name":"lindex.json","type":"file"},{"name":"linsert.json","type":"file"},{"name":"llen.json","type":"file"},{"name":"lmove.json","type":"file"},{"name":"lmpop.json","type":"file"},{"name":"lolwut.json","type":"file"},{"name":"lpop.json","type":"file"},{"name":"lpos.json","type":"file"},{"name":"lpush.json","type":"file"},{"name":"lpushx.json","type":"file"},{"name":"lrange.json","type":"file"},{"name":"lrem.json","type":"file"},{"name":"lset.json","type":"file"},{"name":"ltrim.json","type":"file"},{"name":"memory-doctor.json","type":"file"},{"name":"memory-help.json","type":"file"},{"name":"memory-malloc-stats.json","type":"file"},{"name":"memory-purge.json","type":"file"},{"name":"memory-stats.json","type":"file"},{"name":"memory-usage.json","type":"file"},{"name":"memory.json","type":"file"},{"name":"mget.json","type":"file"},{"name":"migrate.json","type":"file"},{"name":"module-help.json","type":"file"},{"name":"module-list.json","type":"file"},{"name":"module-load.json","type":"file"},{"name":"module-loadex.json","type":"file"},{"name":"module-unload.json","type":"file"},{"name":"module.json","type":"file"},{"name":"monitor.json","type":"file"},{"name":"move.json","type":"file"},{"name":"mset.json","type":"file"},{"name":"msetex.json","type":"file"},{"name":"msetnx.json","type":"file"},{"name":"multi.json","type":"file"},{"name":"object-encoding.json","type":"file"},{"name":"object-freq.json","type":"file"},{"name":"object-help.json","type":"file"},{"name":"object-idletime.json","type":"file"},{"name":"object-refcount.json","type":"file"},{"name":"object.json","type":"file"},{"name":"persist.json","type":"file"},{"name":"pexpire.json","type":"file"},{"name":"pexpireat.json","type":"file"},{"name":"pexpiretime.json","type":"file"},{"name":"pfadd.json","type":"file"},{"name":"pfcount.json","type":"file"},{"name":"pfdebug.json","type":"file"},{"name":"pfmerge.json","type":"file"},{"name":"pfselftest.json","type":"file"},{"name":"ping.json","type":"file"},{"name":"psetex.json","type":"file"},{"name":"psubscribe.json","type":"file"},{"name":"psync.json","type":"file"},{"name":"pttl.json","type":"file"},{"name":"publish.json","type":"file"},{"name":"pubsub-channels.json","type":"file"},{"name":"pubsub-help.json","type":"file"},{"name":"pubsub-numpat.json","type":"file"},{"name":"pubsub-numsub.json","type":"file"},{"name":"pubsub-shardchannels.json","type":"file"},{"name":"pubsub-shardnumsub.json","type":"file"},{"name":"pubsub.json","type":"file"},{"name":"punsubscribe.json","type":"file"},{"name":"quit.json","type":"file"},{"name":"randomkey.json","type":"file"},{"name":"readonly.json","type":"file"},{"name":"readwrite.json","type":"file"},{"name":"rename.json","type":"file"},{"name":"renamenx.json","type":"file"},{"name":"replconf.json","type":"file"},{"name":"replicaof.json","type":"file"},{"name":"reset.json","type":"file"},{"name":"restore-asking.json","type":"file"},{"name":"restore.json","type":"file"},{"name":"role.json","type":"file"},{"name":"rpop.json","type":"file"},{"name":"rpoplpush.json","type":"file"},{"name":"rpush.json","type":"file"},{"name":"rpushx.json","type":"file"},{"name":"sadd.json","type":"file"},{"name":"save.json","type":"file"},{"name":"scan.json","type":"file"},{"name":"scard.json","type":"file"},{"name":"script-debug.json","type":"file"},{"name":"script-exists.json","type":"file"},{"name":"script-flush.json","type":"file"},{"name":"script-help.json","type":"file"},{"name":"script-kill.json","type":"file"},{"name":"script-load.json","type":"file"},{"name":"script.json","type":"file"},{"name":"sdiff.json","type":"file"},{"name":"sdiffstore.json","type":"file"},{"name":"select.json","type":"file"},{"name":"sentinel-ckquorum.json","type":"file"},{"name":"sentinel-config.json","type":"file"},{"name":"sentinel-debug.json","type":"file"},{"name":"sentinel-failover.json","type":"file"},{"name":"sentinel-flushconfig.json","type":"file"},{"name":"sentinel-get-master-addr-by-name.json","type":"file"},{"name":"sentinel-help.json","type":"file"},{"name":"sentinel-info-cache.json","type":"file"},{"name":"sentinel-is-master-down-by-addr.json","type":"file"},{"name":"sentinel-master.json","type":"file"},{"name":"sentinel-masters.json","type":"file"},{"name":"sentinel-monitor.json","type":"file"},{"name":"sentinel-myid.json","type":"file"},{"name":"sentinel-pending-scripts.json","type":"file"},{"name":"sentinel-remove.json","type":"file"},{"name":"sentinel-replicas.json","type":"file"},{"name":"sentinel-reset.json","type":"file"},{"name":"sentinel-sentinels.json","type":"file"},{"name":"sentinel-set.json","type":"file"},{"name":"sentinel-simulate-failure.json","type":"file"},{"name":"sentinel-slaves.json","type":"file"},{"name":"sentinel.json","type":"file"},{"name":"set.json","type":"file"},{"name":"setbit.json","type":"file"},{"name":"setex.json","type":"file"},{"name":"setnx.json","type":"file"},{"name":"setrange.json","type":"file"},{"name":"sflush.json","type":"file"},{"name":"shutdown.json","type":"file"},{"name":"sinter.json","type":"file"},{"name":"sintercard.json","type":"file"},{"name":"sinterstore.json","type":"file"},{"name":"sismember.json","type":"file"},{"name":"slaveof.json","type":"file"},{"name":"slowlog-get.json","type":"file"},{"name":"slowlog-help.json","type":"file"},{"name":"slowlog-len.json","type":"file"},{"name":"slowlog-reset.json","type":"file"},{"name":"slowlog.json","type":"file"},{"name":"smembers.json","type":"file"},{"name":"smismember.json","type":"file"},{"name":"smove.json","type":"file"},{"name":"sort.json","type":"file"},{"name":"sort_ro.json","type":"file"},{"name":"spop.json","type":"file"},{"name":"spublish.json","type":"file"},{"name":"srandmember.json","type":"file"},{"name":"srem.json","type":"file"},{"name":"sscan.json","type":"file"},{"name":"ssubscribe.json","type":"file"},{"name":"strlen.json","type":"file"},{"name":"subscribe.json","type":"file"},{"name":"substr.json","type":"file"},{"name":"sunion.json","type":"file"},{"name":"sunionstore.json","type":"file"},{"name":"sunsubscribe.json","type":"file"},{"name":"swapdb.json","type":"file"},{"name":"sync.json","type":"file"},{"name":"time.json","type":"file"},{"name":"touch.json","type":"file"},{"name":"trimslots.json","type":"file"},{"name":"ttl.json","type":"file"},{"name":"type.json","type":"file"},{"name":"unlink.json","type":"file"},{"name":"unsubscribe.json","type":"file"},{"name":"unwatch.json","type":"file"},{"name":"wait.json","type":"file"},{"name":"waitaof.json","type":"file"},{"name":"watch.json","type":"file"},{"name":"xack.json","type":"file"},{"name":"xackdel.json","type":"file"},{"name":"xadd.json","type":"file"},{"name":"xautoclaim.json","type":"file"},{"name":"xcfgset.json","type":"file"},{"name":"xclaim.json","type":"file"},{"name":"xdel.json","type":"file"},{"name":"xdelex.json","type":"file"},{"name":"xgroup-create.json","type":"file"},{"name":"xgroup-createconsumer.json","type":"file"},{"name":"xgroup-delconsumer.json","type":"file"},{"name":"xgroup-destroy.json","type":"file"},{"name":"xgroup-help.json","type":"file"},{"name":"xgroup-setid.json","type":"file"},{"name":"xgroup.json","type":"file"},{"name":"xidmprecord.json","type":"file"},{"name":"xinfo-consumers.json","type":"file"},{"name":"xinfo-groups.json","type":"file"},{"name":"xinfo-help.json","type":"file"},{"name":"xinfo-stream.json","type":"file"},{"name":"xinfo.json","type":"file"},{"name":"xlen.json","type":"file"},{"name":"xnack.json","type":"file"},{"name":"xpending.json","type":"file"},{"name":"xrange.json","type":"file"},{"name":"xread.json","type":"file"},{"name":"xreadgroup.json","type":"file"},{"name":"xrevrange.json","type":"file"},{"name":"xsetid.json","type":"file"},{"name":"xtrim.json","type":"file"},{"name":"zadd.json","type":"file"},{"name":"zcard.json","type":"file"},{"name":"zcount.json","type":"file"},{"name":"zdiff.json","type":"file"},{"name":"zdiffstore.json","type":"file"},{"name":"zincrby.json","type":"file"},{"name":"zinter.json","type":"file"},{"name":"zintercard.json","type":"file"},{"name":"zinterstore.json","type":"file"},{"name":"zlexcount.json","type":"file"},{"name":"zmpop.json","type":"file"},{"name":"zmscore.json","type":"file"},{"name":"zpopmax.json","type":"file"},{"name":"zpopmin.json","type":"file"},{"name":"zrandmember.json","type":"file"},{"name":"zrange.json","type":"file"},{"name":"zrangebylex.json","type":"file"},{"name":"zrangebyscore.json","type":"file"},{"name":"zrangestore.json","type":"file"},{"name":"zrank.json","type":"file"},{"name":"zrem.json","type":"file"},{"name":"zremrangebylex.json","type":"file"},{"name":"zremrangebyrank.json","type":"file"},{"name":"zremrangebyscore.json","type":"file"},{"name":"zrevrange.json","type":"file"},{"name":"zrevrangebylex.json","type":"file"},{"name":"zrevrangebyscore.json","type":"file"},{"name":"zrevrank.json","type":"file"},{"name":"zscan.json","type":"file"},{"name":"zscore.json","type":"file"},{"name":"zunion.json","type":"file"},{"name":"zunionstore.json","type":"file"}] diff --git a/plugins/catalog/testdata/redis-contents-src-commands-8.8.0.json b/plugins/catalog/testdata/redis-contents-src-commands-8.8.0.json new file mode 100644 index 0000000..d269361 --- /dev/null +++ b/plugins/catalog/testdata/redis-contents-src-commands-8.8.0.json @@ -0,0 +1 @@ +[{"name":"README.md","type":"file"},{"name":"acl-cat.json","type":"file"},{"name":"acl-deluser.json","type":"file"},{"name":"acl-dryrun.json","type":"file"},{"name":"acl-genpass.json","type":"file"},{"name":"acl-getuser.json","type":"file"},{"name":"acl-help.json","type":"file"},{"name":"acl-list.json","type":"file"},{"name":"acl-load.json","type":"file"},{"name":"acl-log.json","type":"file"},{"name":"acl-save.json","type":"file"},{"name":"acl-setuser.json","type":"file"},{"name":"acl-users.json","type":"file"},{"name":"acl-whoami.json","type":"file"},{"name":"acl.json","type":"file"},{"name":"append.json","type":"file"},{"name":"arcount.json","type":"file"},{"name":"ardel.json","type":"file"},{"name":"ardelrange.json","type":"file"},{"name":"arget.json","type":"file"},{"name":"argetrange.json","type":"file"},{"name":"argrep.json","type":"file"},{"name":"arinfo.json","type":"file"},{"name":"arinsert.json","type":"file"},{"name":"arlastitems.json","type":"file"},{"name":"arlen.json","type":"file"},{"name":"armget.json","type":"file"},{"name":"armset.json","type":"file"},{"name":"arnext.json","type":"file"},{"name":"arop.json","type":"file"},{"name":"arring.json","type":"file"},{"name":"arscan.json","type":"file"},{"name":"arseek.json","type":"file"},{"name":"arset.json","type":"file"},{"name":"asking.json","type":"file"},{"name":"auth.json","type":"file"},{"name":"bgrewriteaof.json","type":"file"},{"name":"bgsave.json","type":"file"},{"name":"bitcount.json","type":"file"},{"name":"bitfield.json","type":"file"},{"name":"bitfield_ro.json","type":"file"},{"name":"bitop.json","type":"file"},{"name":"bitpos.json","type":"file"},{"name":"blmove.json","type":"file"},{"name":"blmpop.json","type":"file"},{"name":"blpop.json","type":"file"},{"name":"brpop.json","type":"file"},{"name":"brpoplpush.json","type":"file"},{"name":"bzmpop.json","type":"file"},{"name":"bzpopmax.json","type":"file"},{"name":"bzpopmin.json","type":"file"},{"name":"client-caching.json","type":"file"},{"name":"client-getname.json","type":"file"},{"name":"client-getredir.json","type":"file"},{"name":"client-help.json","type":"file"},{"name":"client-id.json","type":"file"},{"name":"client-info.json","type":"file"},{"name":"client-kill.json","type":"file"},{"name":"client-list.json","type":"file"},{"name":"client-no-evict.json","type":"file"},{"name":"client-no-touch.json","type":"file"},{"name":"client-pause.json","type":"file"},{"name":"client-reply.json","type":"file"},{"name":"client-setinfo.json","type":"file"},{"name":"client-setname.json","type":"file"},{"name":"client-tracking.json","type":"file"},{"name":"client-trackinginfo.json","type":"file"},{"name":"client-unblock.json","type":"file"},{"name":"client-unpause.json","type":"file"},{"name":"client.json","type":"file"},{"name":"cluster-addslots.json","type":"file"},{"name":"cluster-addslotsrange.json","type":"file"},{"name":"cluster-bumpepoch.json","type":"file"},{"name":"cluster-count-failure-reports.json","type":"file"},{"name":"cluster-countkeysinslot.json","type":"file"},{"name":"cluster-delslots.json","type":"file"},{"name":"cluster-delslotsrange.json","type":"file"},{"name":"cluster-failover.json","type":"file"},{"name":"cluster-flushslots.json","type":"file"},{"name":"cluster-forget.json","type":"file"},{"name":"cluster-getkeysinslot.json","type":"file"},{"name":"cluster-help.json","type":"file"},{"name":"cluster-info.json","type":"file"},{"name":"cluster-keyslot.json","type":"file"},{"name":"cluster-links.json","type":"file"},{"name":"cluster-meet.json","type":"file"},{"name":"cluster-migration.json","type":"file"},{"name":"cluster-myid.json","type":"file"},{"name":"cluster-myshardid.json","type":"file"},{"name":"cluster-nodes.json","type":"file"},{"name":"cluster-replicas.json","type":"file"},{"name":"cluster-replicate.json","type":"file"},{"name":"cluster-reset.json","type":"file"},{"name":"cluster-saveconfig.json","type":"file"},{"name":"cluster-set-config-epoch.json","type":"file"},{"name":"cluster-setslot.json","type":"file"},{"name":"cluster-shards.json","type":"file"},{"name":"cluster-slaves.json","type":"file"},{"name":"cluster-slot-stats.json","type":"file"},{"name":"cluster-slots.json","type":"file"},{"name":"cluster-syncslots.json","type":"file"},{"name":"cluster.json","type":"file"},{"name":"command-count.json","type":"file"},{"name":"command-docs.json","type":"file"},{"name":"command-getkeys.json","type":"file"},{"name":"command-getkeysandflags.json","type":"file"},{"name":"command-help.json","type":"file"},{"name":"command-info.json","type":"file"},{"name":"command-list.json","type":"file"},{"name":"command.json","type":"file"},{"name":"config-get.json","type":"file"},{"name":"config-help.json","type":"file"},{"name":"config-resetstat.json","type":"file"},{"name":"config-rewrite.json","type":"file"},{"name":"config-set.json","type":"file"},{"name":"config.json","type":"file"},{"name":"copy.json","type":"file"},{"name":"dbsize.json","type":"file"},{"name":"debug.json","type":"file"},{"name":"decr.json","type":"file"},{"name":"decrby.json","type":"file"},{"name":"del.json","type":"file"},{"name":"delex.json","type":"file"},{"name":"digest.json","type":"file"},{"name":"discard.json","type":"file"},{"name":"dump.json","type":"file"},{"name":"echo.json","type":"file"},{"name":"eval.json","type":"file"},{"name":"eval_ro.json","type":"file"},{"name":"evalsha.json","type":"file"},{"name":"evalsha_ro.json","type":"file"},{"name":"exec.json","type":"file"},{"name":"exists.json","type":"file"},{"name":"expire.json","type":"file"},{"name":"expireat.json","type":"file"},{"name":"expiretime.json","type":"file"},{"name":"failover.json","type":"file"},{"name":"fcall.json","type":"file"},{"name":"fcall_ro.json","type":"file"},{"name":"flushall.json","type":"file"},{"name":"flushdb.json","type":"file"},{"name":"function-delete.json","type":"file"},{"name":"function-dump.json","type":"file"},{"name":"function-flush.json","type":"file"},{"name":"function-help.json","type":"file"},{"name":"function-kill.json","type":"file"},{"name":"function-list.json","type":"file"},{"name":"function-load.json","type":"file"},{"name":"function-restore.json","type":"file"},{"name":"function-stats.json","type":"file"},{"name":"function.json","type":"file"},{"name":"geoadd.json","type":"file"},{"name":"geodist.json","type":"file"},{"name":"geohash.json","type":"file"},{"name":"geopos.json","type":"file"},{"name":"georadius.json","type":"file"},{"name":"georadius_ro.json","type":"file"},{"name":"georadiusbymember.json","type":"file"},{"name":"georadiusbymember_ro.json","type":"file"},{"name":"geosearch.json","type":"file"},{"name":"geosearchstore.json","type":"file"},{"name":"get.json","type":"file"},{"name":"getbit.json","type":"file"},{"name":"getdel.json","type":"file"},{"name":"getex.json","type":"file"},{"name":"getrange.json","type":"file"},{"name":"getset.json","type":"file"},{"name":"hdel.json","type":"file"},{"name":"hello.json","type":"file"},{"name":"hexists.json","type":"file"},{"name":"hexpire.json","type":"file"},{"name":"hexpireat.json","type":"file"},{"name":"hexpiretime.json","type":"file"},{"name":"hget.json","type":"file"},{"name":"hgetall.json","type":"file"},{"name":"hgetdel.json","type":"file"},{"name":"hgetex.json","type":"file"},{"name":"hincrby.json","type":"file"},{"name":"hincrbyfloat.json","type":"file"},{"name":"hkeys.json","type":"file"},{"name":"hlen.json","type":"file"},{"name":"hmget.json","type":"file"},{"name":"hmset.json","type":"file"},{"name":"hotkeys-get.json","type":"file"},{"name":"hotkeys-help.json","type":"file"},{"name":"hotkeys-reset.json","type":"file"},{"name":"hotkeys-start.json","type":"file"},{"name":"hotkeys-stop.json","type":"file"},{"name":"hotkeys.json","type":"file"},{"name":"hpersist.json","type":"file"},{"name":"hpexpire.json","type":"file"},{"name":"hpexpireat.json","type":"file"},{"name":"hpexpiretime.json","type":"file"},{"name":"hpttl.json","type":"file"},{"name":"hrandfield.json","type":"file"},{"name":"hscan.json","type":"file"},{"name":"hset.json","type":"file"},{"name":"hsetex.json","type":"file"},{"name":"hsetnx.json","type":"file"},{"name":"hstrlen.json","type":"file"},{"name":"httl.json","type":"file"},{"name":"hvals.json","type":"file"},{"name":"incr.json","type":"file"},{"name":"incrby.json","type":"file"},{"name":"incrbyfloat.json","type":"file"},{"name":"increx.json","type":"file"},{"name":"info.json","type":"file"},{"name":"keys.json","type":"file"},{"name":"lastsave.json","type":"file"},{"name":"latency-doctor.json","type":"file"},{"name":"latency-graph.json","type":"file"},{"name":"latency-help.json","type":"file"},{"name":"latency-histogram.json","type":"file"},{"name":"latency-history.json","type":"file"},{"name":"latency-latest.json","type":"file"},{"name":"latency-reset.json","type":"file"},{"name":"latency.json","type":"file"},{"name":"lcs.json","type":"file"},{"name":"lindex.json","type":"file"},{"name":"linsert.json","type":"file"},{"name":"llen.json","type":"file"},{"name":"lmove.json","type":"file"},{"name":"lmpop.json","type":"file"},{"name":"lolwut.json","type":"file"},{"name":"lpop.json","type":"file"},{"name":"lpos.json","type":"file"},{"name":"lpush.json","type":"file"},{"name":"lpushx.json","type":"file"},{"name":"lrange.json","type":"file"},{"name":"lrem.json","type":"file"},{"name":"lset.json","type":"file"},{"name":"ltrim.json","type":"file"},{"name":"memory-doctor.json","type":"file"},{"name":"memory-help.json","type":"file"},{"name":"memory-malloc-stats.json","type":"file"},{"name":"memory-purge.json","type":"file"},{"name":"memory-stats.json","type":"file"},{"name":"memory-usage.json","type":"file"},{"name":"memory.json","type":"file"},{"name":"mget.json","type":"file"},{"name":"migrate.json","type":"file"},{"name":"module-help.json","type":"file"},{"name":"module-list.json","type":"file"},{"name":"module-load.json","type":"file"},{"name":"module-loadex.json","type":"file"},{"name":"module-unload.json","type":"file"},{"name":"module.json","type":"file"},{"name":"monitor.json","type":"file"},{"name":"move.json","type":"file"},{"name":"mset.json","type":"file"},{"name":"msetex.json","type":"file"},{"name":"msetnx.json","type":"file"},{"name":"multi.json","type":"file"},{"name":"object-encoding.json","type":"file"},{"name":"object-freq.json","type":"file"},{"name":"object-help.json","type":"file"},{"name":"object-idletime.json","type":"file"},{"name":"object-refcount.json","type":"file"},{"name":"object.json","type":"file"},{"name":"persist.json","type":"file"},{"name":"pexpire.json","type":"file"},{"name":"pexpireat.json","type":"file"},{"name":"pexpiretime.json","type":"file"},{"name":"pfadd.json","type":"file"},{"name":"pfcount.json","type":"file"},{"name":"pfdebug.json","type":"file"},{"name":"pfmerge.json","type":"file"},{"name":"pfselftest.json","type":"file"},{"name":"ping.json","type":"file"},{"name":"psetex.json","type":"file"},{"name":"psubscribe.json","type":"file"},{"name":"psync.json","type":"file"},{"name":"pttl.json","type":"file"},{"name":"publish.json","type":"file"},{"name":"pubsub-channels.json","type":"file"},{"name":"pubsub-help.json","type":"file"},{"name":"pubsub-numpat.json","type":"file"},{"name":"pubsub-numsub.json","type":"file"},{"name":"pubsub-shardchannels.json","type":"file"},{"name":"pubsub-shardnumsub.json","type":"file"},{"name":"pubsub.json","type":"file"},{"name":"punsubscribe.json","type":"file"},{"name":"quit.json","type":"file"},{"name":"randomkey.json","type":"file"},{"name":"readonly.json","type":"file"},{"name":"readwrite.json","type":"file"},{"name":"rename.json","type":"file"},{"name":"renamenx.json","type":"file"},{"name":"replconf.json","type":"file"},{"name":"replicaof.json","type":"file"},{"name":"reset.json","type":"file"},{"name":"restore-asking.json","type":"file"},{"name":"restore.json","type":"file"},{"name":"role.json","type":"file"},{"name":"rpop.json","type":"file"},{"name":"rpoplpush.json","type":"file"},{"name":"rpush.json","type":"file"},{"name":"rpushx.json","type":"file"},{"name":"sadd.json","type":"file"},{"name":"save.json","type":"file"},{"name":"scan.json","type":"file"},{"name":"scard.json","type":"file"},{"name":"script-debug.json","type":"file"},{"name":"script-exists.json","type":"file"},{"name":"script-flush.json","type":"file"},{"name":"script-help.json","type":"file"},{"name":"script-kill.json","type":"file"},{"name":"script-load.json","type":"file"},{"name":"script.json","type":"file"},{"name":"sdiff.json","type":"file"},{"name":"sdiffstore.json","type":"file"},{"name":"select.json","type":"file"},{"name":"sentinel-ckquorum.json","type":"file"},{"name":"sentinel-config.json","type":"file"},{"name":"sentinel-debug.json","type":"file"},{"name":"sentinel-failover.json","type":"file"},{"name":"sentinel-flushconfig.json","type":"file"},{"name":"sentinel-get-master-addr-by-name.json","type":"file"},{"name":"sentinel-help.json","type":"file"},{"name":"sentinel-info-cache.json","type":"file"},{"name":"sentinel-is-master-down-by-addr.json","type":"file"},{"name":"sentinel-master.json","type":"file"},{"name":"sentinel-masters.json","type":"file"},{"name":"sentinel-monitor.json","type":"file"},{"name":"sentinel-myid.json","type":"file"},{"name":"sentinel-pending-scripts.json","type":"file"},{"name":"sentinel-remove.json","type":"file"},{"name":"sentinel-replicas.json","type":"file"},{"name":"sentinel-reset.json","type":"file"},{"name":"sentinel-sentinels.json","type":"file"},{"name":"sentinel-set.json","type":"file"},{"name":"sentinel-simulate-failure.json","type":"file"},{"name":"sentinel-slaves.json","type":"file"},{"name":"sentinel.json","type":"file"},{"name":"set.json","type":"file"},{"name":"setbit.json","type":"file"},{"name":"setex.json","type":"file"},{"name":"setnx.json","type":"file"},{"name":"setrange.json","type":"file"},{"name":"sflush.json","type":"file"},{"name":"shutdown.json","type":"file"},{"name":"sinter.json","type":"file"},{"name":"sintercard.json","type":"file"},{"name":"sinterstore.json","type":"file"},{"name":"sismember.json","type":"file"},{"name":"slaveof.json","type":"file"},{"name":"slowlog-get.json","type":"file"},{"name":"slowlog-help.json","type":"file"},{"name":"slowlog-len.json","type":"file"},{"name":"slowlog-reset.json","type":"file"},{"name":"slowlog.json","type":"file"},{"name":"smembers.json","type":"file"},{"name":"smismember.json","type":"file"},{"name":"smove.json","type":"file"},{"name":"sort.json","type":"file"},{"name":"sort_ro.json","type":"file"},{"name":"spop.json","type":"file"},{"name":"spublish.json","type":"file"},{"name":"srandmember.json","type":"file"},{"name":"srem.json","type":"file"},{"name":"sscan.json","type":"file"},{"name":"ssubscribe.json","type":"file"},{"name":"strlen.json","type":"file"},{"name":"subscribe.json","type":"file"},{"name":"substr.json","type":"file"},{"name":"sunion.json","type":"file"},{"name":"sunionstore.json","type":"file"},{"name":"sunsubscribe.json","type":"file"},{"name":"swapdb.json","type":"file"},{"name":"sync.json","type":"file"},{"name":"time.json","type":"file"},{"name":"touch.json","type":"file"},{"name":"trimslots.json","type":"file"},{"name":"ttl.json","type":"file"},{"name":"type.json","type":"file"},{"name":"unlink.json","type":"file"},{"name":"unsubscribe.json","type":"file"},{"name":"unwatch.json","type":"file"},{"name":"wait.json","type":"file"},{"name":"waitaof.json","type":"file"},{"name":"watch.json","type":"file"},{"name":"xack.json","type":"file"},{"name":"xackdel.json","type":"file"},{"name":"xadd.json","type":"file"},{"name":"xautoclaim.json","type":"file"},{"name":"xcfgset.json","type":"file"},{"name":"xclaim.json","type":"file"},{"name":"xdel.json","type":"file"},{"name":"xdelex.json","type":"file"},{"name":"xgroup-create.json","type":"file"},{"name":"xgroup-createconsumer.json","type":"file"},{"name":"xgroup-delconsumer.json","type":"file"},{"name":"xgroup-destroy.json","type":"file"},{"name":"xgroup-help.json","type":"file"},{"name":"xgroup-setid.json","type":"file"},{"name":"xgroup.json","type":"file"},{"name":"xidmprecord.json","type":"file"},{"name":"xinfo-consumers.json","type":"file"},{"name":"xinfo-groups.json","type":"file"},{"name":"xinfo-help.json","type":"file"},{"name":"xinfo-stream.json","type":"file"},{"name":"xinfo.json","type":"file"},{"name":"xlen.json","type":"file"},{"name":"xnack.json","type":"file"},{"name":"xpending.json","type":"file"},{"name":"xrange.json","type":"file"},{"name":"xread.json","type":"file"},{"name":"xreadgroup.json","type":"file"},{"name":"xrevrange.json","type":"file"},{"name":"xsetid.json","type":"file"},{"name":"xtrim.json","type":"file"},{"name":"zadd.json","type":"file"},{"name":"zcard.json","type":"file"},{"name":"zcount.json","type":"file"},{"name":"zdiff.json","type":"file"},{"name":"zdiffstore.json","type":"file"},{"name":"zincrby.json","type":"file"},{"name":"zinter.json","type":"file"},{"name":"zintercard.json","type":"file"},{"name":"zinterstore.json","type":"file"},{"name":"zlexcount.json","type":"file"},{"name":"zmpop.json","type":"file"},{"name":"zmscore.json","type":"file"},{"name":"zpopmax.json","type":"file"},{"name":"zpopmin.json","type":"file"},{"name":"zrandmember.json","type":"file"},{"name":"zrange.json","type":"file"},{"name":"zrangebylex.json","type":"file"},{"name":"zrangebyscore.json","type":"file"},{"name":"zrangestore.json","type":"file"},{"name":"zrank.json","type":"file"},{"name":"zrem.json","type":"file"},{"name":"zremrangebylex.json","type":"file"},{"name":"zremrangebyrank.json","type":"file"},{"name":"zremrangebyscore.json","type":"file"},{"name":"zrevrange.json","type":"file"},{"name":"zrevrangebylex.json","type":"file"},{"name":"zrevrangebyscore.json","type":"file"},{"name":"zrevrank.json","type":"file"},{"name":"zscan.json","type":"file"},{"name":"zscore.json","type":"file"},{"name":"zunion.json","type":"file"},{"name":"zunionstore.json","type":"file"}] diff --git a/plugins/catalog/testdata/redis-doc-06f3598.json b/plugins/catalog/testdata/redis-doc-06f3598.json deleted file mode 100644 index 08e93d1..0000000 --- a/plugins/catalog/testdata/redis-doc-06f3598.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "FUNCTION LOAD": { - "acl_categories": [ - "@write", - "@slow", - "@scripting" - ], - "arguments": [ - { - "name": "engine-name", - "type": "string" - }, - { - "name": "library-name", - "type": "string" - }, - { - "name": "replace", - "optional": true, - "token": "REPLACE", - "type": "pure-token" - }, - { - "name": "library-description", - "optional": true, - "token": "DESC", - "type": "string" - }, - { - "name": "function-code", - "type": "string" - } - ], - "arity": -5, - "command_flags": [ - "write", - "denyoom", - "noscript" - ], - "complexity": "O(1) (considering compilation time is redundant)", - "group": "scripting", - "hints": [ - "request_policy:all_shards", - "response_policy:all_succeeded" - ], - "since": "7.0.0", - "summary": "Create a function with the given arguments (name, code, description)" - }, - "GET": { - "acl_categories": [ - "@read", - "@string", - "@fast" - ], - "arguments": [ - { - "key_spec_index": 0, - "name": "key", - "type": "key" - } - ], - "arity": 2, - "command_flags": [ - "readonly", - "fast" - ], - "complexity": "O(1)", - "group": "string", - "key_specs": [ - { - "RO": true, - "access": true, - "begin_search": { - "spec": { - "index": 1 - }, - "type": "index" - }, - "find_keys": { - "spec": { - "keystep": 1, - "lastkey": 0, - "limit": 0 - }, - "type": "range" - } - } - ], - "since": "1.0.0", - "summary": "Get the value of a key" - } -} \ No newline at end of file diff --git a/plugins/catalog/testdata/redis-doc-cc0427b.json b/plugins/catalog/testdata/redis-doc-cc0427b.json deleted file mode 100644 index 53fd757..0000000 --- a/plugins/catalog/testdata/redis-doc-cc0427b.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "FUNCTION CREATE": { - "acl_categories": [ - "@write", - "@slow", - "@scripting" - ], - "arguments": [ - { - "name": "engine-name", - "type": "string" - }, - { - "name": "function-name", - "type": "string" - }, - { - "name": "replace", - "optional": true, - "token": "REPLACE", - "type": "pure-token" - }, - { - "name": "function-description", - "optional": true, - "token": "DESC", - "type": "string" - }, - { - "name": "function-code", - "type": "string" - } - ], - "arity": -5, - "command_flags": [ - "write", - "noscript" - ], - "complexity": "O(1) (considering compilation time is redundant)", - "group": "scripting", - "since": "7.0.0", - "summary": "Create a function with the given arguments (name, code, description)" - }, - "FUNCTION INFO": { - "acl_categories": [ - "@slow", - "@scripting" - ], - "arguments": [ - { - "name": "function-name", - "type": "string" - }, - { - "name": "withcode", - "optional": true, - "token": "WITHCODE", - "type": "pure-token" - } - ], - "arity": -3, - "command_flags": [ - "noscript" - ], - "complexity": "O(1)", - "group": "scripting", - "since": "7.0.0", - "summary": "Return information about a function by function name" - }, - "GET": { - "acl_categories": [ - "@read", - "@string", - "@fast" - ], - "arguments": [ - { - "key_spec_index": 0, - "name": "key", - "type": "key" - } - ], - "arity": 2, - "command_flags": [ - "readonly", - "fast" - ], - "complexity": "O(1)", - "group": "string", - "key_specs": [ - { - "begin_search": { - "spec": { - "index": 1 - }, - "type": "index" - }, - "find_keys": { - "spec": { - "keystep": 1, - "lastkey": 0, - "limit": 0 - }, - "type": "range" - }, - "read": true - } - ], - "since": "1.0.0", - "summary": "Get the value of a key" - } -} \ No newline at end of file diff --git a/plugins/catalog/testdata/redis-releases-excerpt.json b/plugins/catalog/testdata/redis-releases-excerpt.json new file mode 100644 index 0000000..51c8948 --- /dev/null +++ b/plugins/catalog/testdata/redis-releases-excerpt.json @@ -0,0 +1,7 @@ +[ + {"tag_name": "8.0.1", "draft": false, "prerelease": false, "published_at": "2025-05-13T10:00:00Z", "html_url": "https://github.com/redis/redis/releases/tag/8.0.1"}, + {"tag_name": "7.2.10", "draft": false, "prerelease": false, "published_at": "2025-07-06T10:00:00Z", "html_url": "https://github.com/redis/redis/releases/tag/7.2.10"}, + {"tag_name": "8.0-rc1", "draft": false, "prerelease": true, "published_at": "2025-04-01T10:00:00Z", "html_url": "https://github.com/redis/redis/releases/tag/8.0-rc1"}, + {"tag_name": "8.0.0", "draft": false, "prerelease": false, "published_at": "2025-05-02T10:00:00Z", "html_url": "https://github.com/redis/redis/releases/tag/8.0.0"}, + {"tag_name": "6.2.20", "draft": false, "prerelease": false, "published_at": "2025-07-06T09:00:00Z", "html_url": "https://github.com/redis/redis/releases/tag/6.2.20"} +] diff --git a/plugins/changelog/changelog.go b/plugins/changelog/changelog.go index 90a8a63..ca64dc1 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" } @@ -98,17 +112,41 @@ var Urllib3 = File{ Repo: "urllib3/urllib3", Path: "CHANGES.rst", } -// The releases the golden files pin. -var ( - Textual0860 = Textual.At("0.86.0") - 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 +157,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 } @@ -141,7 +184,70 @@ 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 + // 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{} + 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 +// 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. @@ -194,13 +300,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 +339,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 +354,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 +367,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 +378,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..a89238d 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,60 @@ 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) + } +} + +// 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" + + "## 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) + } + 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> acme.d>acme.y" + 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 3b50675..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 ) @@ -22,12 +23,17 @@ 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: return KindMixed + case breaking && !strings.Contains(t, "breaking") && (strings.Contains(t, "removed") || strings.Contains(t, "removal")): + return KindRemoved case breaking: return KindBreaking case deprecation: @@ -39,7 +45,28 @@ 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]+: `, +}, "|") + ")") + +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 { @@ -62,46 +89,65 @@ 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 + } + // "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 + } + break } 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]) } + 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. - if m := try(bare); m != nil && k == KindBreaking { + if m := try(bare); m != nil && removedHeading { return names(event.ChangeTypeBreaking, codes, m[1], "", "", "", module, "") } } @@ -164,7 +210,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/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..5241672 --- /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.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/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..6e4c47b --- /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.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/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..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"}, @@ -61,6 +63,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"}, @@ -92,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") } } diff --git a/plugins/changelog/pinned_test.go b/plugins/changelog/pinned_test.go new file mode 100644 index 0000000..f048a7b --- /dev/null +++ b/plugins/changelog/pinned_test.go @@ -0,0 +1,8 @@ +package changelog + +// The releases the golden files pin. Only a test names a release: the +// registered sources list theirs from PyPI. +var ( + Textual0860 = Textual.At("0.86.0") + Urllib3200 = Urllib3.At("2.0.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/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/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/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 a52d3ca..48ad6f1 100644 --- a/plugins/changelog/testdata/README.md +++ b/plugins/changelog/testdata/README.md @@ -9,10 +9,46 @@ 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…" | +| `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…" | +| `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…" | +| `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.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 | 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/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.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/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/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/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..cff035e --- /dev/null +++ b/plugins/changelog/testdata/golden/cloudflare-typescript.json @@ -0,0 +1,27 @@ +[ + { + "id": 1, + "fingerprint": "sha256:9b49062284e88bb168adc4b850ea1d2d8f847d648c0b8a81f2c79913a7e9c10c", + "api": "cloudflare/typescript", + "version": "7.1.0", + "previous_version": "7.0.0", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "npm", + "package": "cloudflare", + "change": "renamed_symbol", + "symbols": [ + "cloudforceOne.threatEvents.indicatorTypes" + ], + "replacement": "cloudforceOne.threatEvents.indicators" + }, + "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" + } +] 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..647cffd --- /dev/null +++ b/plugins/changelog/testdata/golden/github-octokit-net.json @@ -0,0 +1,26 @@ +[ + { + "id": 1, + "fingerprint": "sha256:0480089f0ce05c60634ebc123e89916b2835c44388dec0fec747d0c0c204fcfc", + "api": "github/octokit-net", + "version": "0.5.2", + "previous_version": "0.5.1", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "package_release", + "ecosystem": "nuget", + "package": "Octokit", + "change": "removed_symbol", + "symbols": [ + "MilestoneUpdate.Number" + ] + }, + "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 new file mode 100644 index 0000000..2d058ce --- /dev/null +++ b/plugins/changelog/testdata/golden/github-octokit-rest.json @@ -0,0 +1,3872 @@ +[ + { + "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.downloadJobLogsForWorkflowRun" + }, + "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()`", + "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.setLabels" + }, + "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()`", + "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:5f8fa38b7fcc1d11b8a81e95ed2d4a634ab0165c5ed914fdc85ca64914820f34", + "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.delete" + ] + }, + "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()`", + "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/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/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/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/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/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/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) + } + } +} diff --git a/plugins/migrationguide/golden_test.go b/plugins/migrationguide/golden_test.go index 7612269..164eed6 100644 --- a/plugins/migrationguide/golden_test.go +++ b/plugins/migrationguide/golden_test.go @@ -12,7 +12,7 @@ import ( // The guide at tag v1.0.0 (saved 2026-10-17) in, every event out: the pair // from 0.75.0, the release before on PyPI. func TestGolden(t *testing.T) { - kittest.Golden(t, "testdata/golden/anthropic-1.0.0.json", anthropicV1(t, sdkguide.AnthropicV1)) + kittest.Golden(t, "testdata/golden/anthropic-1.0.0.json", anthropicV1(t, anthropicGuideV1)) } // anthropicV1 is g's pair 0.75.0 -> 1.0.0 over the saved v1.0.0 guide, as @@ -20,7 +20,7 @@ func TestGolden(t *testing.T) { // it has no guide, and nothing is fetched for it. func anthropicV1(t *testing.T, g sdkguide.Guide, more ...kittest.Pages) []event.Event { t.Helper() - pages := kittest.Pages{sdkguide.AnthropicV1.URL(): "sdkguide/testdata/anthropic-MIGRATION-v1.0.0.md"} + pages := kittest.Pages{anthropicGuideV1.URL(): "sdkguide/testdata/anthropic-MIGRATION-v1.0.0.md"} for _, m := range more { for k, v := range m { pages[k] = v @@ -29,3 +29,7 @@ func anthropicV1(t *testing.T, g sdkguide.Guide, more ...kittest.Pages) []event. return kittest.Versions(t, kittest.Env(t, pages), Plugin{Guide: g}, plugin.Version{ID: "0.75.0", Ref: "v0.75.0"}, plugin.Version{ID: "1.0.0", Ref: "v1.0.0"}) } + +// anthropicGuideV1 is anthropic-sdk-python's guide pinned to 1.0.0: what the +// golden pins. Only a test names a release. +var anthropicGuideV1 = sdkguide.Anthropic.At(1) diff --git a/plugins/migrationguide/members/export_test.go b/plugins/migrationguide/members/export_test.go index 8667a92..b5dbb04 100644 --- a/plugins/migrationguide/members/export_test.go +++ b/plugins/migrationguide/members/export_test.go @@ -7,5 +7,6 @@ var ( SoleName = soleName ) -func (g Guide) Tag() string { return g.tag() } +func (g Guide) TagOf(release string) string { return g.tagOf(release) } +func (g Guide) CommitsURL(major int) string { return g.commitsURL(major) } func (g Guide) AbsoluteLinks(s string) string { return g.absoluteLinks(s) } diff --git a/plugins/migrationguide/members/golden_test.go b/plugins/migrationguide/members/golden_test.go index b76686b..e28bb60 100644 --- a/plugins/migrationguide/members/golden_test.go +++ b/plugins/migrationguide/members/golden_test.go @@ -6,6 +6,7 @@ import ( "github.com/patch-it-dev/patch-it-plugins/core/event" "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" "github.com/patch-it-dev/patch-it-plugins/core/plugin" + "github.com/patch-it-dev/patch-it-plugins/core/versions" "github.com/patch-it-dev/patch-it-plugins/plugins/migrationguide" . "github.com/patch-it-dev/patch-it-plugins/plugins/migrationguide/members" // the reader under test @@ -14,16 +15,35 @@ import ( // The guide at tag v2.0.0 (saved 2026-11-04) in, every event out: the pair // from 1.26.4, the release before on PyPI. func TestGolden(t *testing.T) { - got := release(t, NumPy2, "testdata/numpy_2_0_migration_guide-v2.0.0.rst", "1.26.4") + got := release(t, NumPy, "testdata/numpy_2_0_migration_guide-v2.0.0.rst", "1.26.4", "2.0.0") kittest.Golden(t, "../testdata/golden/numpy-2.0.0.json", got) } -// release is the pair previous -> the release g documents, over the guide -// saved as file, as patch-it's hosted ingestion service extracts it. -// previous isn't the guide's release: it has no guide, and nothing is -// fetched for it. -func release(t *testing.T, g Guide, file, previous string) []event.Event { +// release is the pair previous -> rel, the first release of a major, over +// the guide saved as file, as patch-it's hosted ingestion service extracts +// it. previous isn't a major's first release: it has no guide, and nothing +// is fetched for it. +func release(t *testing.T, g Guide, file, previous, rel string) []event.Event { t.Helper() - env := kittest.Env(t, kittest.Pages{g.URL(): file}) - return kittest.Versions(t, env, migrationguide.Plugin{Guide: g}, plugin.Version{ID: previous}, plugin.Version{ID: g.Release}) + return kittest.Versions(t, guideEnv(t, g, file, rel), migrationguide.Plugin{Guide: g}, plugin.Version{ID: previous}, plugin.Version{ID: rel}) +} + +// newrelicCommit is the docs-website commit New Relic's saved release note +// was fetched at, and newrelicCommits GitHub's answer naming it as the +// newest commit that changed the note. +const ( + newrelicCommit = "f0b4f817bf9a7b76a78e26609369a8a7ce764c8e" + newrelicCommits = "testdata/github-commits-python-agent-110000.json" +) + +// guideEnv serves file as g's guide for rel: at rel's tag, or (Untagged) at +// the commit GitHub names for it. +func guideEnv(t *testing.T, g Guide, file, rel string) plugin.Env { + t.Helper() + major := versions.Major(rel) + pages := kittest.Pages{g.RawURL(g.TagOf(rel), major): file} + if g.Untagged { + pages = kittest.Pages{g.CommitsURL(major): newrelicCommits, g.RawURL(newrelicCommit, major): file} + } + return kittest.Env(t, pages) } diff --git a/plugins/migrationguide/members/members.go b/plugins/migrationguide/members/members.go index 033b05f..7e029af 100644 --- a/plugins/migrationguide/members/members.go +++ b/plugins/migrationguide/members/members.go @@ -2,9 +2,12 @@ // that removed members of its top-level module, read from the release's own // migration guide at its tag: change event v2's `package_release` subject. // The kind (plugins/migrationguide) reads the guide and calls Read; this -// package knows where the guide is and how its table reads. NumPy 2.0 first: its guide lists about 60 members of the main `np` -// namespace that were removed, each with a migration guideline, and code using -// one raises AttributeError on NumPy 2 (checked 2026-11-04 at tag v2.0.0). +// package knows where the guide is and how its table reads. A guide is read +// at the first release of each major (X.0.0), listed from PyPI: nothing in +// the code names a release. NumPy first: its 2.0 guide lists about 60 +// members of the main `np` namespace that were removed, each with a +// migration guideline, and code using one raises AttributeError on NumPy 2 +// (checked 2026-11-04 at tag v2.0.0). // // A row whose guideline is exactly one replacement in the module ("Use // “np.float64“ instead.") becomes a `renamed_symbol` with that replacement: @@ -24,33 +27,40 @@ import ( "context" "fmt" "log" + "net/url" "regexp" "slices" + "strconv" "strings" "time" "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/github" "github.com/patch-it-dev/patch-it-plugins/core/plugin" "github.com/patch-it-dev/patch-it-plugins/core/versions" ) -// Guide is one package's guide to one release. +// Guide is one package's guide to each of its majors. type Guide struct { API string // the source id the events carry: "numpy/numpy" Package string // the PyPI name: "numpy" Module string // how the guide writes the module in a replacement: "np" - Release string // "2.0.0" Repo string // owner/name on GitHub - Path string // the guide's path in the repo at the release tag + // Path is the guide's path in the repo for a major, "{major}" standing + // for the major's number and "{prev}" for the one before: + // "doc/source/numpy_{major}_0_migration_guide.rst" is + // doc/source/numpy_2_0_migration_guide.rst for 2.0.0. + Path string Section string // the heading the table is under // TagPrefix makes a release's git tag: TagPrefix + version ("" is "v": - // v2.0.0; PostHog's is "posthog-v"). The guide is read at Release's tag. + // v2.0.0; PostHog's is "posthog-v"). A major's guide is read at the tag + // of its first release. TagPrefix string - // DocsRef, when the guide isn't in the package's own repo but in a docs - // repo with no release tags (New Relic's release notes), is the commit - // of Repo the guide is read at. - DocsRef string + // Untagged is a guide that isn't in the package's own repo but in a docs + // repo with no release tags (New Relic's release notes): it is read at + // the newest commit that changed its path, looked up when it's read. + Untagged bool // Format is how the table is written: FormatRST (the default) or // FormatMarkdown. Format Format @@ -111,13 +121,8 @@ const ( FormatMarkdown Format = "markdown" ) -func (g Guide) tag() string { return g.tagOf(g.Release) } - -// tagOf is the git ref a release of the package is read at. +// tagOf is the git tag of a release of the package. func (g Guide) tagOf(release string) string { - if g.DocsRef != "" { - return g.DocsRef - } if g.TagPrefix != "" { return g.TagPrefix + release } @@ -138,21 +143,33 @@ func (g Guide) header() string { return "removed member" } -// NumPy2 is NumPy's 2.0 migration guide, "Main namespace" table. -var NumPy2 = Guide{ +// NumPy is NumPy's migration guide to a major, "Main namespace" table +// (doc/source/numpy_2_0_migration_guide.rst at v2.0.0, checked 2026-11-04; +// no other major has one yet, checked 2026-11-20). +var NumPy = Guide{ API: "numpy/numpy", Package: "numpy", Module: "np", - Release: "2.0.0", Repo: "numpy/numpy", - Path: "doc/source/numpy_2_0_migration_guide.rst", + Path: "doc/source/numpy_{major}_0_migration_guide.rst", Section: "Main namespace", Effect: "code using it raises AttributeError", } -// URL is the guide as it was at the release tag: its own provenance. -func (g Guide) URL() string { - return fmt.Sprintf("https://raw.githubusercontent.com/%s/%s/%s", g.Repo, g.tag(), g.Path) +// PathAt is the guide's path for a major. +func (g Guide) PathAt(major int) string { + return strings.NewReplacer("{major}", strconv.Itoa(major), "{prev}", strconv.Itoa(major-1)).Replace(g.Path) +} + +// commitsURL lists the newest commit that changed a major's guide. +func (g Guide) commitsURL(major int) string { + return fmt.Sprintf("%s/repos/%s/commits?path=%s&per_page=1", github.API, g.Repo, url.QueryEscape(g.PathAt(major))) +} + +// RawURL is the guide for a major at a git ref (a tag or a commit): its own +// provenance, as it never changes. +func (g Guide) RawURL(ref string, major int) string { + return fmt.Sprintf("%s/%s/%s/%s", github.Raw, g.Repo, ref, g.PathAt(major)) } // Removal is one removed member and the guide's guideline for it. @@ -245,10 +262,13 @@ func parseRST(page []byte, g Guide) ([]Removal, error) { // Slug is the source id the events carry: "numpy/numpy". func (g Guide) Slug() string { return g.API } -// Releases is every final release of the package on PyPI, oldest first, -// each with the ref its guide would be read at. +// Releases is every final release of the package on PyPI, yanked ones +// included, oldest first, each with its tag. A yanked release stays: it can +// be the one a guide documents (New Relic's 11.0.0, yanked for a +// server-side configuration issue), and a pin on a later one still crosses +// it. func (g Guide) Releases(ctx context.Context, env plugin.Env) ([]plugin.Version, error) { - vs, err := versions.PyPIReleases(ctx, env.Get, g.Package) + vs, err := versions.PyPIReleasesWithYanked(ctx, env.Get, g.Package) if err != nil { return nil, err } @@ -258,34 +278,44 @@ func (g Guide) Releases(ctx context.Context, env plugin.Env) ([]plugin.Version, return vs, nil } -// GuideURL is the guide when v is the release it documents; any other -// release has no guide (""). -func (g Guide) GuideURL(v plugin.Version) string { - if v.ID != g.Release { - return "" +// GuideURL is the guide for v's major when v is its first release (X.0.0), +// at v's tag or, Untagged, at the newest commit that changed the guide's +// path; any other release has no guide (""). A major whose guide's path has +// no commit has nothing to read (plugin.ErrNothingToRead). +func (g Guide) GuideURL(ctx context.Context, env plugin.Env, v plugin.Version) (string, error) { + if !versions.FirstOfMajor(v.ID) { + return "", nil + } + major := versions.Major(v.ID) + if !g.Untagged { + return g.RawURL(g.tagOf(v.ID), major), nil + } + sha, err := github.LatestCommit(ctx, env.Get, g.commitsURL(major)) + if err != nil { + return "", fmt.Errorf("the commit %s's guide for %s is read at: %w", g.Package, v.ID, err) } - return g.URL() + return g.RawURL(sha, major), nil } -// Read is an event per removed member in the guide, with previous_version -// from's release. -func (g Guide) Read(page []byte, from, _ plugin.Version, now time.Time) (events []event.Event, rejected []error, err error) { +// Read is an event per removed member in the guide to's release documents, +// read from sourceURL, with previous_version from's release. +func (g Guide) Read(page []byte, sourceURL string, from, to plugin.Version, now time.Time) (events []event.Event, rejected []error, err error) { removals, err := Parse(page, g) if err != nil { return nil, nil, err } for _, r := range removals { if r.Dropped != "" { - log.Printf("%s %s: dropped %q: %s", g.Package, g.Release, r.Member, r.Dropped) + log.Printf("%s %s: dropped %q: %s", g.Package, to.ID, r.Member, r.Dropped) continue } subject := event.Subject{ Type: event.SubjectPackageRelease, Ecosystem: "pypi", Package: g.Package, Change: event.PackageRemovedSymbol, Symbols: []string{r.Member}, } - desc := fmt.Sprintf("`%s` was removed in %s %s.", r.Member, g.Package, g.Release) + desc := fmt.Sprintf("`%s` was removed in %s %s.", r.Member, g.Package, to.ID) if g.Effect != "" { - desc = fmt.Sprintf("%s.%s was removed in %s %s: %s.", g.Module, r.Member, g.Package, g.Release, g.Effect) + desc = fmt.Sprintf("%s.%s was removed in %s %s: %s.", g.Module, r.Member, g.Package, to.ID, g.Effect) } if r.Replacement != "" && !g.NewReplacements && (g.DropIns == nil || slices.Contains(g.DropIns, r.Member)) { subject.Change, subject.Replacement = event.PackageRenamedSymbol, r.Replacement @@ -293,13 +323,13 @@ func (g Guide) Read(page []byte, from, _ plugin.Version, now time.Time) (events e := event.Event{ API: g.API, PreviousVersion: from.ID, - Version: g.Release, + Version: to.ID, ChangeType: event.ChangeTypeBreaking, Breaking: true, Subject: subject, Description: desc, - MigrationHint: fmt.Sprintf("%s (%s's %s for %s)", g.absoluteLinks(r.Guideline), g.Package, g.doc(), g.Release), - SourceURL: g.URL(), + MigrationHint: fmt.Sprintf("%s (%s's %s for %s)", g.absoluteLinks(r.Guideline), g.Package, g.doc(), to.ID), + SourceURL: sourceURL, SourceExcerpt: r.Excerpt, Confidence: 1.0, DetectedAt: now, diff --git a/plugins/migrationguide/members/members_test.go b/plugins/migrationguide/members/members_test.go index 7237856..c568650 100644 --- a/plugins/migrationguide/members/members_test.go +++ b/plugins/migrationguide/members/members_test.go @@ -18,7 +18,7 @@ func guide(t *testing.T) []byte { func byMember(t *testing.T) map[string]Removal { t.Helper() - rs, err := Parse(guide(t), NumPy2) + rs, err := Parse(guide(t), NumPy) if err != nil { t.Fatal(err) } @@ -71,10 +71,7 @@ func TestOnlyOnePlainReplacementInNpIsARename(t *testing.T) { func TestTheGuideStoresOneEventPerMemberAndARerunNothing(t *testing.T) { // The guide at the v2.0.0 tag, and nothing else; kittest extracts the // pair again and fails on anything new. - if NumPy2.URL() != "https://raw.githubusercontent.com/numpy/numpy/v2.0.0/doc/source/numpy_2_0_migration_guide.rst" { - t.Fatalf("the guide is read at %s, not the v2.0.0 tag", NumPy2.URL()) - } - events := release(t, NumPy2, "testdata/numpy_2_0_migration_guide-v2.0.0.rst", "1.26.4") + events := release(t, NumPy, "testdata/numpy_2_0_migration_guide-v2.0.0.rst", "1.26.4", "2.0.0") if len(events) != 56 { t.Fatalf("%d events, want 56", len(events)) } diff --git a/plugins/migrationguide/members/newrelic.go b/plugins/migrationguide/members/newrelic.go index a4bc4fb..13bfff3 100644 --- a/plugins/migrationguide/members/newrelic.go +++ b/plugins/migrationguide/members/newrelic.go @@ -1,16 +1,19 @@ package members -// NewRelic11 is New Relic's release note for the Python agent 11.0.0 (the -// `newrelic` package on PyPI), in newrelic/docs-website at commit -// f0b4f817bf9a7b76a78e26609369a8a7ce764c8e: that repo has no tags, so the -// commit stands in for one. Its "Removed features" section's first table, -// | Legacy API | Replacement API |: "The following APIs have been removed". -// Checked 2026-11-19. +// NewRelic is New Relic's release note for each major of the Python agent +// (the `newrelic` package on PyPI), in newrelic/docs-website as +// python-agent-0000.mdx (python-agent-110000.mdx for 11.0.0; 9.0.0 +// to 13.0.0 are there, checked 2026-11-20). That repo has no tags, so the +// newest commit that changed the note stands in for one (Untagged). Its +// "Removed features" section's first table, | Legacy API | Replacement API |: +// "The following APIs have been removed". A note without that section has +// nothing to read. 11.0.0's, at commit f0b4f817 (checked 2026-11-19), is +// the one described below. // // 11.0.0 is yanked on PyPI ("Issues with server-side configuration"); // 11.0.1 has the same public API (newrelic/agent.py and newrelic/api/log.py // are byte-identical at v11.0.0 and v11.0.1). The version stays 11.0.0, the -// release that made the change. +// release that made the change: Releases keeps yanked releases. // // Names are kept as code writes them after `import newrelic`: the table // writes them bare, and Paths gives each its module. Every row was checked @@ -61,18 +64,21 @@ package members // 7 events. The section's second table, | Legacy Setting | Replacement // Setting |, lists configuration settings (newrelic.ini keys), not members // of the package: only the section's first table is read, so it never is. -var NewRelic11 = Guide{ - API: "newrelic/python-agent", - Package: "newrelic", - Module: "newrelic", - Release: "11.0.0", - DocsRef: "f0b4f817bf9a7b76a78e26609369a8a7ce764c8e", - Repo: "newrelic/docs-website", - Path: "src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-110000.mdx", - Section: "Removed features", - Format: FormatMarkdown, - Header: "Legacy API", - Doc: "release notes", +// +// Paths and DropIns were checked against 11.0.0's table. A later major's +// rows with one replacement are removed_symbol unless listed in DropIns, so +// a new note is read conservatively. +var NewRelic = Guide{ + API: "newrelic/python-agent", + Package: "newrelic", + Module: "newrelic", + Untagged: true, + Repo: "newrelic/docs-website", + Path: "src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-{major}0000.mdx", + Section: "Removed features", + Format: FormatMarkdown, + Header: "Legacy API", + Doc: "release notes", // The cells link to docs.newrelic.com by path ("/docs/agents/…"). LinkBase: "https://docs.newrelic.com", Paths: map[string]string{ diff --git a/plugins/migrationguide/members/newrelic_test.go b/plugins/migrationguide/members/newrelic_test.go index 6cd0c2c..4be8e3e 100644 --- a/plugins/migrationguide/members/newrelic_test.go +++ b/plugins/migrationguide/members/newrelic_test.go @@ -19,7 +19,7 @@ import ( const newrelicSource = "testdata/python-agent-110000-f0b4f817.mdx" func TestNewRelicRegistersItself(t *testing.T) { - kittest.Registered(t, migrationguide.Plugin{Guide: NewRelic11}) + kittest.Registered(t, migrationguide.Plugin{Guide: NewRelic}) } // The golden test: the saved excerpt in, every event out. @@ -81,7 +81,7 @@ func TestNewRelicEachRowOfTheTable(t *testing.T) { } // Every DropIns entry is a member the table removes: a typo would quietly // turn its rename into a removal. - for _, d := range NewRelic11.DropIns { + for _, d := range NewRelic.DropIns { if got[d].change != event.PackageRenamedSymbol { t.Errorf("DropIns %q: not a rename (%+v)", d, got[d]) } @@ -101,7 +101,7 @@ func TestNewRelicDropsWhatIsNotARemovedMember(t *testing.T) { page := string(kittest.Read(t, newrelicSource)) // The lambda row: read, and dropped. - rs, err := Parse([]byte(page), NewRelic11) + rs, err := Parse([]byte(page), NewRelic) if err != nil { t.Fatal(err) } @@ -119,7 +119,7 @@ func TestNewRelicDropsWhatIsNotARemovedMember(t *testing.T) { if asList == page { t.Fatal("no lambda row in the saved release note") } - if names := readNames(t, asList, NewRelic11); !slices.Contains(names, "lambda_handler") || !slices.Contains(names, "LambdaHandlerWrapper") { + if names := readNames(t, asList, NewRelic); !slices.Contains(names, "lambda_handler") || !slices.Contains(names, "LambdaHandlerWrapper") { t.Errorf("with \"and\", the lambda row reads as %v: its drop proves nothing", names) } @@ -132,7 +132,7 @@ func TestNewRelicDropsWhatIsNotARemovedMember(t *testing.T) { if start < 0 || end < start { t.Fatal("the saved release note's shape changed") } - g := NewRelic11 + g := NewRelic g.Header = "Legacy Setting" settings, err := Parse([]byte(page[:start]+page[end:]), g) if err != nil { @@ -190,12 +190,12 @@ func TestDropInsLimitsRenames(t *testing.T) { "| `old_a` | [`new_a`](/a) |", "| `old_b` | `new_b` |", }, "\n") - g := Guide{API: "acme/sdk", Package: "acme", Module: "acme", Release: "2.0.0", Repo: "acme/acme", Path: "MIGRATION.md", + g := Guide{API: "acme/sdk", Package: "acme", Module: "acme", Repo: "acme/acme", Path: "MIGRATION.md", Section: "Removed", Format: FormatMarkdown, Header: "Removed", Paths: map[string]string{"old_a": "mod.old_a", "new_a": "mod.new_a"}} run := func(g Guide) map[string]string { out := map[string]string{} - for _, e := range release(t, g, writeTemp(t, page), "1.0.0") { + for _, e := range release(t, g, writeTemp(t, page), "1.9.0", "2.0.0") { out[e.Subject.Symbols[0]] = string(e.Subject.Change) + " " + e.Subject.Replacement } return out @@ -237,7 +237,7 @@ func readNames(t *testing.T, page string, g Guide) []string { // the saved excerpt. func newrelicIngest(t *testing.T) []event.Event { t.Helper() - return release(t, NewRelic11, newrelicSource, "10.17.0") + return release(t, NewRelic, newrelicSource, "10.17.0", "11.0.0") } // The hint is shown in a pull request or an issue, where a site-relative link diff --git a/plugins/migrationguide/members/posthog.go b/plugins/migrationguide/members/posthog.go index c22c1f3..162271e 100644 --- a/plugins/migrationguide/members/posthog.go +++ b/plugins/migrationguide/members/posthog.go @@ -1,7 +1,9 @@ package members -// PostHog8 is the posthog Python SDK's guide to 8.0.0, -// docs/migration-7.x-to-8.0.md at tag posthog-v8.0.0 (commit +// PostHog is the posthog Python SDK's guide to a major, +// docs/migration-{prev}.x-to-{major}.0.md at the major's first tag. The one +// there is so far (checked 2026-11-20) is 8.0.0's, docs/migration-7.x-to-8.0.md +// at tag posthog-v8.0.0 (commit // 6edff41425188056e48f6119457dc9bc0669ca99), and its "Fix removed APIs" // table: "8.x.x removes these options and APIs". The guide isn't in the repo // at posthog-v7.91.4, the release before, and is unchanged at posthog-v8.0.2. @@ -55,14 +57,18 @@ package members // 7 events. The guide's other tables (endpoints, AI lane arguments, error // fields, retries, dropped events, options, and "Rename deprecated settings", // whose old names still work) aren't under the heading, so they're never read. -var PostHog8 = Guide{ +// +// Paths, EnvVars and StillWork were checked against 8.0.0's table; a later +// major's names that aren't in them are read as the table writes them, and +// NewReplacements keeps every row with one replacement a removed_symbol (no +// rename the client would apply), so a new guide is read conservatively. +var PostHog = Guide{ API: "posthog/python-sdk", Package: "posthog", Module: "posthog", - Release: "8.0.0", TagPrefix: "posthog-v", Repo: "PostHog/posthog-python", - Path: "docs/migration-7.x-to-8.0.md", + Path: "docs/migration-{prev}.x-to-{major}.0.md", Section: "Fix removed APIs", Format: FormatMarkdown, Header: "Removed", @@ -76,6 +82,7 @@ var PostHog8 = Guide{ StillWork: map[string]string{ "capture_mode": `the guide's "Rename deprecated settings" table: posthog.capture_mode still works or has no effect in 8.x.x`, }, - // Every replacement in the table is new in 8.0.0. + // Every replacement in 8.0.0's table is new in 8.0.0; for a later major, + // a rename isn't known to be a drop-in until someone checks. NewReplacements: true, } diff --git a/plugins/migrationguide/members/posthog_test.go b/plugins/migrationguide/members/posthog_test.go index a140ae3..229ab76 100644 --- a/plugins/migrationguide/members/posthog_test.go +++ b/plugins/migrationguide/members/posthog_test.go @@ -18,7 +18,7 @@ import ( const posthogSource = "testdata/migration-7.x-to-8.0-posthog-v8.0.0.md" func TestPostHogRegistersItself(t *testing.T) { - kittest.Registered(t, migrationguide.Plugin{Guide: PostHog8}) + kittest.Registered(t, migrationguide.Plugin{Guide: PostHog}) } // The golden test: the saved guide in, every event out. @@ -85,7 +85,7 @@ func TestPostHogDropsWhatIsNotARemovedMember(t *testing.T) { // The table's own rows: an environment variable, an argument value, and // two rows of prose (a parameter, a dependency). With the rules off, each // is a row of the table, with names in code spans. - rs, err := Parse(kittest.Read(t, posthogSource), PostHog8) + rs, err := Parse(kittest.Read(t, posthogSource), PostHog) if err != nil { t.Fatal(err) } @@ -131,7 +131,7 @@ func TestPostHogDropsWhatIsNotARemovedMember(t *testing.T) { {"Update error handling", "Field", "drops"}, {"Move to event options", "Option", "cookieless_mode"}, } { - g := PostHog8 + g := PostHog g.Section, g.Header = other.section, other.header rs, err := Parse(kittest.Read(t, posthogSource), g) if err != nil { @@ -243,5 +243,5 @@ func TestMarkdownTable(t *testing.T) { // the saved guide. func posthogIngest(t *testing.T) []event.Event { t.Helper() - return release(t, PostHog8, posthogSource, "7.91.4") + return release(t, PostHog, posthogSource, "7.91.4", "8.0.0") } diff --git a/plugins/migrationguide/members/registered_test.go b/plugins/migrationguide/members/registered_test.go index 750b03f..d405937 100644 --- a/plugins/migrationguide/members/registered_test.go +++ b/plugins/migrationguide/members/registered_test.go @@ -10,5 +10,5 @@ import ( ) func TestRegistersItself(t *testing.T) { - kittest.Registered(t, migrationguide.Plugin{Guide: NumPy2}) + kittest.Registered(t, migrationguide.Plugin{Guide: NumPy}) } diff --git a/plugins/migrationguide/members/testdata/README.md b/plugins/migrationguide/members/testdata/README.md index 12bc3cf..f28767c 100644 --- a/plugins/migrationguide/members/testdata/README.md +++ b/plugins/migrationguide/members/testdata/README.md @@ -8,3 +8,5 @@ The golden files, `../../testdata/golden/{numpy-2.0.0,posthog-8.0.0,newrelic-11. | `migration-7.x-to-8.0-posthog-v8.0.0.md` | https://github.com/PostHog/posthog-python/blob/posthog-v8.0.0/docs/migration-7.x-to-8.0.md (commit 6edff41425188056e48f6119457dc9bc0669ca99) | 2026-11-19 | MIT (the repo's LICENSE is the MIT text, with two copyright lines, so GitHub's detector says NOASSERTION; PyPI says MIT), kept whole, byte for byte | "8.x.x removes these options and APIs:" (Fix removed APIs), with rows such as "\| `CaptureV1Error` \| `CaptureError` \|" | | `python-agent-110000-f0b4f817.mdx` | https://github.com/newrelic/docs-website/blob/f0b4f817bf9a7b76a78e26609369a8a7ce764c8e/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-110000.mdx (the repo has no tags; the file's latest commit) | 2026-11-19 | Excerpt for testing; © New Relic, CC BY-NC-SA 4.0. Kept: the "## Removed features" heading, the bullets that introduce its two tables, the "Legacy API" table and the "Legacy Setting" table (lines 30-31 and 36-66 of 136), every line unchanged. Left out: the front matter, "Notes", the Python 3.7 bullet, and the "Deprecated features", "New features", "Bug fixes" and "Support statement" sections. The plugin finds the same 8 rows and 7 events in the excerpt as in the full file | "The following APIs have been removed:", with rows such as "\| `record_exception` \| [`notice_error()`](/docs/agents/python-agent/python-agent-api/notice_error) \|" | | `pypi-numpy-excerpt.json` | https://pypi.org/pypi/numpy/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 | +| `github-commits-python-agent-110000.json` | https://api.github.com/repos/newrelic/docs-website/commits?path=src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-110000.mdx&per_page=1 (shape only) | written for the test, 2026-11-20 | not a saved copy: GitHub's commit list cut to the one field read (`sha`), naming the commit the note above was fetched at | for the guide's ref: the newest commit that changed the note | +| `github-commits-none.json` | the same request for a major with no note (shape only) | written for the test, 2026-11-20 | GitHub's answer for a path no commit changed: an empty list | for the "no guide, nothing to read" test | diff --git a/plugins/migrationguide/members/testdata/github-commits-none.json b/plugins/migrationguide/members/testdata/github-commits-none.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/plugins/migrationguide/members/testdata/github-commits-none.json @@ -0,0 +1 @@ +[] diff --git a/plugins/migrationguide/members/testdata/github-commits-python-agent-110000.json b/plugins/migrationguide/members/testdata/github-commits-python-agent-110000.json new file mode 100644 index 0000000..c6b44e0 --- /dev/null +++ b/plugins/migrationguide/members/testdata/github-commits-python-agent-110000.json @@ -0,0 +1 @@ +[{"sha": "f0b4f817bf9a7b76a78e26609369a8a7ce764c8e"}] diff --git a/plugins/migrationguide/members/versions_test.go b/plugins/migrationguide/members/versions_test.go index 1665e9a..42ac3cf 100644 --- a/plugins/migrationguide/members/versions_test.go +++ b/plugins/migrationguide/members/versions_test.go @@ -2,11 +2,14 @@ package members_test import ( "context" + "errors" "fmt" "strings" "testing" + "github.com/patch-it-dev/patch-it-plugins/core/fetch" "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" + "github.com/patch-it-dev/patch-it-plugins/core/plugin" "github.com/patch-it-dev/patch-it-plugins/core/versions" "github.com/patch-it-dev/patch-it-plugins/plugins/migrationguide" @@ -18,15 +21,15 @@ import ( func TestOnlyTheGuidesReleaseHasEvents(t *testing.T) { env := kittest.Env(t, kittest.Pages{ "https://pypi.org/pypi/numpy/json": "testdata/pypi-numpy-excerpt.json", - NumPy2.URL(): "testdata/numpy_2_0_migration_guide-v2.0.0.rst", + NumPy.RawURL("v2.0.0", 2): "testdata/numpy_2_0_migration_guide-v2.0.0.rst", }) - p := migrationguide.Plugin{Guide: NumPy2} + p := migrationguide.Plugin{Guide: NumPy} ctx := context.Background() vs, err := p.ListVersions(ctx, env) if err != nil { t.Fatal(err) } - pinned := release(t, NumPy2, "testdata/numpy_2_0_migration_guide-v2.0.0.rst", "1.26.4") + pinned := release(t, NumPy, "testdata/numpy_2_0_migration_guide-v2.0.0.rst", "1.26.4", "2.0.0") var got []string for _, pair := range versions.Pairs(vs) { from, err := p.ReadAt(ctx, env, pair[0]) @@ -54,11 +57,41 @@ func TestOnlyTheGuidesReleaseHasEvents(t *testing.T) { } } -// Each release's ref follows the guide's tag shape. -func TestTagsFollowTheGuide(t *testing.T) { - for g, want := range map[*Guide]string{&NumPy2: "v2.0.0", &PostHog8: "posthog-v8.0.0", &NewRelic11: "f0b4f817bf9a7b76a78e26609369a8a7ce764c8e"} { - if got := g.Tag(); got != want { - t.Errorf("%s: tag %q, want %q", g.Package, got, want) +// Each guide is read where its package publishes it: at the major's first +// tag (TagPrefix + version), or, for a docs repo with no tags, at the newest +// commit that changed the major's note. +func TestEachGuideIsReadWhereItsPublished(t *testing.T) { + ctx := context.Background() + for _, c := range []struct { + g Guide + rel string + want string + }{ + {NumPy, "2.0.0", "https://raw.githubusercontent.com/numpy/numpy/v2.0.0/doc/source/numpy_2_0_migration_guide.rst"}, + {PostHog, "8.0.0", "https://raw.githubusercontent.com/PostHog/posthog-python/posthog-v8.0.0/docs/migration-7.x-to-8.0.md"}, + {NewRelic, "11.0.0", "https://raw.githubusercontent.com/newrelic/docs-website/" + newrelicCommit + "/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-110000.mdx"}, + } { + got, err := c.g.GuideURL(ctx, guideEnv(t, c.g, "testdata/README.md", c.rel), plugin.Version{ID: c.rel}) + if err != nil || got != c.want { + t.Errorf("%s %s: %q, %v; want %q", c.g.Package, c.rel, got, err, c.want) + } + if got, err := c.g.GuideURL(ctx, plugin.Env{}, plugin.Version{ID: c.rel[:len(c.rel)-1] + "1"}); got != "" || err != nil { + t.Errorf("%s: a release that isn't a major's first has no guide: %q, %v", c.g.Package, got, err) } } } + +// A major with no guide has nothing to read: a 404 at its tag, or (docs +// repo) no commit ever changed its note's path. The pair is skipped, not +// failed, and not a release without changes. +func TestAMajorWithNoGuideHasNothingToRead(t *testing.T) { + ctx := context.Background() + env := kittest.Env(t, kittest.Pages{NewRelic.CommitsURL(14): "testdata/github-commits-none.json"}) + if _, err := (migrationguide.Plugin{Guide: NewRelic}).ReadAt(ctx, env, plugin.Version{ID: "14.0.0"}); !errors.Is(err, plugin.ErrNothingToRead) { + t.Errorf("no commit for the note: %v, want plugin.ErrNothingToRead", err) + } + notFound := plugin.Env{Get: func(context.Context, string) ([]byte, error) { return nil, &fetch.StatusError{StatusCode: 404} }} + if _, err := (migrationguide.Plugin{Guide: NumPy}).ReadAt(ctx, notFound, plugin.Version{ID: "3.0.0"}); !errors.Is(err, plugin.ErrNothingToRead) { + t.Errorf("no guide at the tag: %v, want plugin.ErrNothingToRead", err) + } +} diff --git a/plugins/migrationguide/migrationguide.go b/plugins/migrationguide/migrationguide.go index df864b6..fa95a49 100644 --- a/plugins/migrationguide/migrationguide.go +++ b/plugins/migrationguide/migrationguide.go @@ -13,10 +13,12 @@ package migrationguide import ( "context" + "errors" "fmt" "time" "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/fetch" "github.com/patch-it-dev/patch-it-plugins/core/plugin" "github.com/patch-it-dev/patch-it-plugins/plugins/migrationguide/members" "github.com/patch-it-dev/patch-it-plugins/plugins/migrationguide/sdkguide" @@ -37,30 +39,30 @@ func init() { ID: "numpy", Name: "NumPy", Category: plugin.CategoryPackages, Homepage: "https://numpy.org", Sources: []plugin.Source{{ ID: "numpy", Layer: plugin.LayerPackage, Page: "providers/numpy.md", - Watches: "Members removed or renamed in the main namespace in NumPy 2.0", - URLs: []string{"https://github.com/numpy/numpy/blob/v2.0.0/doc/source/numpy_2_0_migration_guide.rst"}, + Watches: "Members a new major removes or renames in the main namespace, from that major's migration guide at its first tag", + URLs: []string{"https://numpy.org/devdocs/numpy_2_0_migration_guide.html", "https://pypi.org/project/numpy/"}, Packages: []string{"pypi:numpy"}, - Plugin: Plugin{Guide: members.NumPy2}, + Plugin: Plugin{Guide: members.NumPy}, }}, }) plugin.RegisterProvider(plugin.Provider{ ID: "posthog", Name: "PostHog", Category: plugin.CategoryAnalytics, Homepage: "https://posthog.com", Sources: []plugin.Source{{ ID: "python-sdk", Layer: plugin.LayerSDK, Page: "providers/posthog.md", - Watches: "Members removed in the posthog Python SDK 8.0.0", - URLs: []string{"https://github.com/PostHog/posthog-python/blob/posthog-v8.0.0/docs/migration-7.x-to-8.0.md"}, + Watches: "Members a new major of the posthog Python SDK removes, from its migration guide in docs/ at the major's first tag", + URLs: []string{"https://github.com/PostHog/posthog-python/tree/main/docs", "https://pypi.org/project/posthog/"}, Packages: []string{"pypi:posthog"}, - Plugin: Plugin{Guide: members.PostHog8}, + Plugin: Plugin{Guide: members.PostHog}, }}, }) plugin.RegisterProvider(plugin.Provider{ ID: "newrelic", Name: "New Relic", Category: plugin.CategoryMonitoring, Homepage: "https://newrelic.com", Sources: []plugin.Source{{ ID: "python-agent", Layer: plugin.LayerSDK, Page: "providers/newrelic.md", - Watches: "Members removed in the New Relic Python agent 11.0.0", - URLs: []string{"https://github.com/newrelic/docs-website/blob/f0b4f817bf9a7b76a78e26609369a8a7ce764c8e/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-110000.mdx"}, + Watches: "Members a new major of the New Relic Python agent removes, from the major's release notes (Removed features)", + URLs: []string{"https://docs.newrelic.com/docs/release-notes/agent-release-notes/python-release-notes/", "https://pypi.org/project/newrelic/"}, Packages: []string{"pypi:newrelic"}, - Plugin: Plugin{Guide: members.NewRelic11}, + Plugin: Plugin{Guide: members.NewRelic}, }}, }) } @@ -74,13 +76,13 @@ type Guide interface { // Releases are the versions, oldest first, each with the ref its guide // would be read at. Releases(ctx context.Context, env plugin.Env) ([]plugin.Version, error) - // GuideURL is where the guide is at v, pinned to v's tag, or "" when v - // has no guide (a release that isn't a new major). - GuideURL(v plugin.Version) string - // Read turns the guide, as read at to, into events with + // GuideURL is where the guide is at v, pinned to v's tag (or a commit), + // or "" when v has no guide (a release that isn't a new major). + GuideURL(ctx context.Context, env plugin.Env, v plugin.Version) (string, error) + // Read turns the guide, as read at to from sourceURL, into events with // previous_version from, and the rows that failed to become events. err // is a guide it can't read. - Read(page []byte, from, to plugin.Version, now time.Time) (events []event.Event, rejected []error, err error) + Read(page []byte, sourceURL string, from, to plugin.Version, now time.Time) (events []event.Event, rejected []error, err error) } // Plugin reads one source's migration guide. @@ -96,13 +98,22 @@ func (p Plugin) ListVersions(ctx context.Context, env plugin.Env) ([]plugin.Vers } // ReadAt fetches the guide at v; a release with no guide reads as nothing (a -// snapshot with no content). +// snapshot with no content). A new major whose guide isn't there (a 404 at +// its tag) has nothing to read: plugin.ErrNothingToRead, so the pair is +// kept as skipped, not as a failure, nor as a release with no changes. func (p Plugin) ReadAt(ctx context.Context, env plugin.Env, v plugin.Version) (plugin.Snapshot, error) { - url := p.Guide.GuideURL(v) + url, err := p.Guide.GuideURL(ctx, env, v) + if err != nil { + return plugin.Snapshot{}, err + } if url == "" { return plugin.Snapshot{Version: v}, nil } page, err := env.Get(ctx, url) + var se *fetch.StatusError + if errors.As(err, &se) && se.StatusCode == 404 { + return plugin.Snapshot{}, fmt.Errorf("no guide at %s: %w", url, plugin.ErrNothingToRead) + } if err != nil { return plugin.Snapshot{}, fmt.Errorf("fetching %s: %w", url, err) } @@ -115,7 +126,7 @@ func (p Plugin) Extract(_ context.Context, env plugin.Env, from, to plugin.Snaps if to.Content == nil { return plugin.Result{}, nil } - events, rejected, err := p.Guide.Read(to.Content, from.Version, to.Version, env.Now().UTC()) + events, rejected, err := p.Guide.Read(to.Content, to.SourceURL, from.Version, to.Version, env.Now().UTC()) if err != nil { return plugin.Result{}, fmt.Errorf("reading %s: %w", to.SourceURL, err) } diff --git a/plugins/migrationguide/migrationguide_test.go b/plugins/migrationguide/migrationguide_test.go index 4b7badc..c193d15 100644 --- a/plugins/migrationguide/migrationguide_test.go +++ b/plugins/migrationguide/migrationguide_test.go @@ -3,15 +3,13 @@ package migrationguide import ( "strings" "testing" - - "github.com/patch-it-dev/patch-it-plugins/plugins/migrationguide/sdkguide" ) func TestAMigrationGuideStoresOneEventPerRemovedParameter(t *testing.T) { // Only the v1.0.0 tag is saved: fetching anything else fails the test, and // kittest's second extract of the pair must store nothing new. var params []string - for _, e := range anthropicV1(t, sdkguide.AnthropicV1) { + for _, e := range anthropicV1(t, anthropicGuideV1) { params = append(params, e.Subject.Parameter) } if strings.Join(params, ",") != "temperature,top_p,top_k" { diff --git a/plugins/migrationguide/registered_test.go b/plugins/migrationguide/registered_test.go index acd1ca5..3b659bb 100644 --- a/plugins/migrationguide/registered_test.go +++ b/plugins/migrationguide/registered_test.go @@ -4,9 +4,8 @@ import ( "testing" "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" - "github.com/patch-it-dev/patch-it-plugins/plugins/migrationguide/sdkguide" ) func TestRegistersItself(t *testing.T) { - kittest.Registered(t, Plugin{Guide: sdkguide.AnthropicV1}) + kittest.Registered(t, Plugin{Guide: anthropicGuideV1}) } diff --git a/plugins/migrationguide/sdkguide/pinned_test.go b/plugins/migrationguide/sdkguide/pinned_test.go new file mode 100644 index 0000000..f914705 --- /dev/null +++ b/plugins/migrationguide/sdkguide/pinned_test.go @@ -0,0 +1,5 @@ +package sdkguide + +// AnthropicV1 is anthropic-sdk-python's guide to 1.0.0: what the tests pin. +// Only a test names a release. +var AnthropicV1 = Anthropic.At(1) diff --git a/plugins/migrationguide/sdkguide/sdkguide.go b/plugins/migrationguide/sdkguide/sdkguide.go index ddf9219..cc02580 100644 --- a/plugins/migrationguide/sdkguide/sdkguide.go +++ b/plugins/migrationguide/sdkguide/sdkguide.go @@ -47,9 +47,6 @@ var Anthropic = Guide{ Symbols: []string{"messages.create", "messages.stream", "messages.parse"}, } -// AnthropicV1 is anthropic-sdk-python's guide to 1.0.0: what the golden pins. -var AnthropicV1 = Anthropic.At(1) - // At is g pinned to one major. func (g Guide) At(major int) Guide { g.Major = major diff --git a/plugins/migrationguide/sdkguide/versions.go b/plugins/migrationguide/sdkguide/versions.go index 20aa99e..7a7f5fe 100644 --- a/plugins/migrationguide/sdkguide/versions.go +++ b/plugins/migrationguide/sdkguide/versions.go @@ -2,7 +2,6 @@ package sdkguide import ( "context" - "fmt" "time" "github.com/patch-it-dev/patch-it-plugins/core/event" @@ -34,16 +33,17 @@ func (g Guide) Releases(ctx context.Context, env plugin.Env) ([]plugin.Version, // GuideURL is the guide at v's tag when v is the first release of its major // (X.0.0): only a new major has a guide to read. Any other release has none // (""). -func (g Guide) GuideURL(v plugin.Version) string { - if !FirstOfMajor(v.ID) { - return "" +func (g Guide) GuideURL(_ context.Context, _ plugin.Env, v plugin.Version) (string, error) { + if !versions.FirstOfMajor(v.ID) { + return "", nil } - return g.At(versions.Major(v.ID)).URL() + return g.At(versions.Major(v.ID)).URL(), nil } // Read is an event per parameter the to major removed, read from its -// guide, with previous_version from's release. -func (g Guide) Read(page []byte, from, to plugin.Version, now time.Time) (_ []event.Event, rejected []error, err error) { +// guide (at the major's tag: sourceURL), with previous_version from's +// release. +func (g Guide) Read(page []byte, _ string, from, to plugin.Version, now time.Time) (_ []event.Event, rejected []error, err error) { g = g.At(versions.Major(to.ID)) removals, err := Parse(page, g) if err != nil { @@ -52,9 +52,3 @@ func (g Guide) Read(page []byte, from, to plugin.Version, now time.Time) (_ []ev events, errs := Events(g, removals, from.ID, now) return events, errs, nil } - -// FirstOfMajor is true for X.0.0, the release a major's guide is tagged at. -func FirstOfMajor(v string) bool { - m := versions.Major(v) - return m > 0 && v == fmt.Sprintf("%d.0.0", m) -} diff --git a/plugins/migrationguide/versions_test.go b/plugins/migrationguide/versions_test.go index 7a10faf..9a39cd5 100644 --- a/plugins/migrationguide/versions_test.go +++ b/plugins/migrationguide/versions_test.go @@ -17,7 +17,7 @@ import ( func TestOnlyANewMajorHasAGuide(t *testing.T) { env := kittest.Env(t, kittest.Pages{ "https://pypi.org/pypi/anthropic/json": "testdata/pypi-anthropic-excerpt.json", - sdkguide.AnthropicV1.URL(): "sdkguide/testdata/anthropic-MIGRATION-v1.0.0.md", + anthropicGuideV1.URL(): "sdkguide/testdata/anthropic-MIGRATION-v1.0.0.md", }) p := Plugin{Guide: sdkguide.Anthropic} ctx := context.Background() diff --git a/plugins/notices/eol/eol.go b/plugins/notices/eol/eol.go index b4cc78b..4c9d852 100644 --- a/plugins/notices/eol/eol.go +++ b/plugins/notices/eol/eol.go @@ -10,14 +10,15 @@ // says what the plugin actually saw. // // Salesforce's docs site is the one difference from the other notices -// readers: it answers 403 to a plain GET (checked 2026-11-20, including with -// a browser User-Agent), so a direct read of the live page fails every time. The -// Wayback Machine's own save-page-now request succeeds against it anyway, -// and its capture parses to the same findings the live page would (checked -// the same day), so the kind falls back to a fresh snapshot on a 401 or 403 -// (ArchiveWhenBlocked), +// readers: it blocks a plain GET, with 403 (checked 2026-11-20, including +// with a browser User-Agent) or, from its CDN (AkamaiNetStorage), 503 +// (checked 2026-11-21), so a direct read of the live page fails every time. +// The Wayback Machine's own crawler reads it anyway (its capture of +// 2026-11-20 parses to the same findings the live page would), so the kind +// falls back to a fresh snapshot on those statuses (ArchiveWhenBlocked), // used directly as both the content and its own citation, kit.Cite's // double-check skipped: there is no separate live read left to agree with. +// A snapshot that can't be taken, or holds no table, fails the run. // // Unlike retirements (one named model per row) and feed (an RSS or Atom // entry), a row here names a whole range of version numbers and no @@ -191,10 +192,10 @@ func (pg Page) Find(page []byte) (kit.Notices, error) { return Read(fs), err } -// ArchiveWhenBlocked is on: Salesforce's docs site answers 403 to a plain -// GET, so the kind reads a fresh Wayback Machine snapshot instead (see the -// package comment). -func (Page) ArchiveWhenBlocked() bool { return true } +// ArchiveWhenBlocked is the statuses Salesforce's docs site blocks a plain +// GET with (401 and 403; 503 from its CDN), so the kind reads a fresh +// Wayback Machine snapshot instead (see the package comment). +func (Page) ArchiveWhenBlocked() []int { return []int{401, 403, 503} } // Events are an event per version number a row retires or deprecates, // citing citeURL, with previous as previous_version (each is an diff --git a/plugins/notices/eol_test.go b/plugins/notices/eol_test.go index 53558e4..f0135a4 100644 --- a/plugins/notices/eol_test.go +++ b/plugins/notices/eol_test.go @@ -2,11 +2,13 @@ package notices import ( "context" + "errors" "fmt" "testing" "time" "github.com/patch-it-dev/patch-it-plugins/core/fetch" + "github.com/patch-it-dev/patch-it-plugins/core/kit" "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" "github.com/patch-it-dev/patch-it-plugins/core/plugin" "github.com/patch-it-dev/patch-it-plugins/plugins/notices/eol" @@ -60,12 +62,12 @@ func TestDropsAStillSupportedBand(t *testing.T) { } } -// eol.Salesforce's docs site answers 403 to a plain GET; the live page is never -// reachable through env.Get. Read must fall back to the Wayback Machine's own -// fetch and use its snapshot directly, not fail outright. 401 falls back the -// same way. +// eol.Salesforce's docs site answers 403 to a plain GET, or 503 from its CDN; +// the live page is never reachable through env.Get. Read must fall back to +// the Wayback Machine's own fetch and use its snapshot directly, not fail +// outright. 401 falls back the same way. func TestFallsBackToTheArchiveWhenTheLiveFetchIsBlocked(t *testing.T) { - for _, code := range []int{401, 403} { + for _, code := range []int{401, 403, 503} { t.Run(fmt.Sprint(code), func(t *testing.T) { saved := kittest.Pages{eol.Salesforce.URL: "eol/testdata/salesforce-api-rest-eol-2026-10-31.html"} archive := &kittest.Archive{T: t, Pages: saved} @@ -97,10 +99,10 @@ func TestFallsBackToTheArchiveWhenTheLiveFetchIsBlocked(t *testing.T) { } // A real failure (not the provider blocking a plain fetch) must stay a -// failure: falling back to the archive for a timeout or a 5xx would hide it -// as a real page. +// failure: falling back to the archive for a timeout, a moved page or a 5xx +// the reader doesn't name would hide it as a real page. func TestDoesNotFallBackOnATransientError(t *testing.T) { - for _, code := range []int{404, 429, 503} { + for _, code := range []int{404, 429, 500, 502} { t.Run(fmt.Sprint(code), func(t *testing.T) { env := plugin.Env{ Get: func(context.Context, string) ([]byte, error) { @@ -117,3 +119,37 @@ func TestDoesNotFallBackOnATransientError(t *testing.T) { }) } } + +// A blocked page that the archive can't capture, or whose capture holds no +// table (a block page saved in its place), fails the read: the run records +// an error, never "nothing changed" and never a skip. +func TestABlockedPageTheArchiveCantReadIsAFailedRun(t *testing.T) { + blocked := plugin.Env{ + Get: func(context.Context, string) ([]byte, error) { + return nil, &fetch.StatusError{URL: eol.Salesforce.URL, StatusCode: 403} + }, + Now: func() time.Time { return kittest.Clock }, + } + last := plugin.Snapshot{Version: plugin.Version{ID: "2026-11-01T00:00:00Z"}, Content: []byte("
"), CompareHash: "x"} + for name, archive := range map[string]kit.Archiver{ + "no snapshot": failingArchive{}, + "a block page": blockPage{}, + } { + _, err := Plugin{Page: eol.Salesforce, Archiver: archive}.Read(context.Background(), blocked, last) + if err == nil || errors.Is(err, plugin.ErrNothingToRead) { + t.Errorf("%s: %v, want a failure that isn't plugin.ErrNothingToRead", name, err) + } + } +} + +type failingArchive struct{} + +func (failingArchive) Snapshot(context.Context, string) (string, []byte, error) { + return "", nil, errors.New("the Wayback Machine didn't snapshot it") +} + +type blockPage struct{} + +func (blockPage) Snapshot(_ context.Context, u string) (string, []byte, error) { + return "https://web.archive.org/web/20261121000000/" + u, []byte("Access Denied"), nil +} diff --git a/plugins/notices/google_test.go b/plugins/notices/google_test.go new file mode 100644 index 0000000..7ea3e49 --- /dev/null +++ b/plugins/notices/google_test.go @@ -0,0 +1,94 @@ +package notices + +import ( + "os" + "strings" + "testing" + + "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" + "github.com/patch-it-dev/patch-it-plugins/plugins/notices/retire" +) + +// section is the saved page from start up to end (to the end of the page +// when end is ""), as a page of its own. +func section(t *testing.T, file, start, end string) string { + t.Helper() + b, err := os.ReadFile(file) + if err != nil { + t.Fatal(err) + } + s := string(b) + i := strings.Index(s, start) + if i < 0 { + t.Fatalf("%s: the saved page's shape changed", file) + } + if end == "" { + return s[i:] + } + j := strings.Index(s[i+1:], end) + if j < 0 { + t.Fatalf("%s: the saved page's shape changed", file) + } + return s[i : i+1+j] +} + +// readGoogle is a first read of page, served as content, through the kind. +func readGoogle(t *testing.T, page retire.Page, content string) int { + t.Helper() + f := t.TempDir() + "/page" + if err := os.WriteFile(f, []byte(content), 0o644); err != nil { + t.Fatal(err) + } + saved := kittest.Pages{page.URL: f} + return len(kittest.Page(t, kittest.Env(t, saved), Plugin{Page: page, Archiver: &kittest.Archive{T: t, Pages: saved}})) +} + +// The pinned drop test for the Gemini API page: the Gemini 4 models (no +// shutdown date announced) and the managed agents, whose deprecated table +// has real dates but names agents, not models, next to the two Gemini 3 +// models shut down already. Only those two are events; the agents' table +// renamed to "Model" would give two more, so the header is what keeps it +// out. +func TestGeminiDropsModelsWithNoDateAndAgents(t *testing.T) { + const file = "retire/testdata/gemini-deprecations.md" + current := section(t, file, "## Gemini 4 models", "## Gemini 3 models") + retired := section(t, file, "### Deprecated models {% id=\"gemini-3-deprecated-models\" %}", "## Gemini 2.5 Pro models") + agents := section(t, file, "## Managed agents", "") + if n := readGoogle(t, retire.Gemini, current+retired+agents); n != 2 { + t.Errorf("%d events, want the 2 shut-down Gemini 3 models only", n) + } + if _, err := retire.Parse(retire.Gemini.Format.Pipes([]byte(agents)), retire.Gemini.Keep); err == nil { + t.Error("the agents' tables read as retirements") + } + asModels := strings.ReplaceAll(agents, " * Agent\n", " * Model\n") + if rs, err := retire.Parse(retire.Gemini.Format.Pipes([]byte(asModels)), retire.Gemini.Keep); err != nil || len(rs) != 2 { + t.Errorf("the agents' table with a Model header: %d, %v; the drop proves nothing", len(rs), err) + } +} + +// The pinned drop test for Vertex AI: a GA model's "June 28, 2027 or +// later" is how long it's kept at least, not a retirement. The Gemini image +// models' table has four such rows and one dated retirement +// (gemini-2.5-flash-image, March 15, 2027): one event. The same table with +// the dates plain would give five. +func TestVertexDropsAMinimumLifetime(t *testing.T) { + ga := section(t, "retire/testdata/vertex-model-versions.html", `

0 { + rows = append(rows, cur) + cur = nil + } + } + for _, line := range strings.Split(strings.ReplaceAll(string(page), "\r\n", "\n"), "\n") { + t := strings.TrimSpace(line) + switch { + case !in && strings.HasPrefix(t, "#"): + if m := markdocHeading.FindStringSubmatch(t); m != nil { + out = append(out, m[1]) + } + case !in && t == "{% table %}": + in, rows, cur = true, nil, nil + case in && t == "{% /table %}": + flush() + out = append(out, pipeTable(rows)...) + in = false + case in && t == "---": + flush() + case in && strings.HasPrefix(t, "*"): + cur = append(cur, strings.TrimSpace(markdocCell.FindStringSubmatch(line)[1])) + case in && t != "" && len(cur) > 0: + // A cell's text continued on the next line. + cur[len(cur)-1] += " " + t + } + } + return []byte(strings.Join(out, "\n") + "\n") +} + +var ( + htmlTable = regexp.MustCompile(`(?is)]*>(.*?)|]*>(.*?)`) + htmlRow = regexp.MustCompile(`(?is)]*>(.*?)`) + htmlCell = regexp.MustCompile(`(?is)]*>(.*?)`) + htmlCode = regexp.MustCompile(`(?is)]*>(.*?)`) + htmlTag = regexp.MustCompile(`<[^>]+>`) + htmlNewline = regexp.MustCompile(`\s+`) +) + +// htmlPipes reads an HTML page's tables into pipe tables, each under the +// heading above it; becomes a code span, every other tag goes. +func htmlPipes(page []byte) []byte { + var out []string + for _, m := range htmlTable.FindAllStringSubmatch(string(page), -1) { + if m[1] != "" { + level, _ := strconv.Atoi(m[1]) + out = append(out, strings.Repeat("#", level)+" "+htmlText(m[2])) + continue + } + var rows [][]string + for _, r := range htmlRow.FindAllStringSubmatch(m[3], -1) { + var row []string + for _, c := range htmlCell.FindAllStringSubmatch(r[1], -1) { + row = append(row, htmlText(htmlCode.ReplaceAllString(c[1], "`$1`"))) + } + if len(row) > 0 { + rows = append(rows, row) + } + } + out = append(out, pipeTable(rows)...) + } + return []byte(strings.Join(out, "\n") + "\n") +} + +func htmlText(s string) string { + return strings.TrimSpace(htmlNewline.ReplaceAllString(html.UnescapeString(htmlTag.ReplaceAllString(s, " ")), " ")) +} + +// pipeTable writes rows (the first the header) as a Markdown pipe table, +// escaping a pipe inside a cell. +func pipeTable(rows [][]string) []string { + if len(rows) == 0 { + return nil + } + line := func(cells []string) string { + esc := make([]string, len(cells)) + for i, c := range cells { + esc[i] = strings.ReplaceAll(c, "|", `\|`) + } + return "| " + strings.Join(esc, " | ") + " |" + } + out := []string{"", line(rows[0]), "|" + strings.Repeat(" --- |", len(rows[0]))} + for _, r := range rows[1:] { + out = append(out, line(r)) + } + return append(out, "") +} diff --git a/plugins/notices/retire/notices.go b/plugins/notices/retire/notices.go index 637239a..9b941b8 100644 --- a/plugins/notices/retire/notices.go +++ b/plugins/notices/retire/notices.go @@ -23,7 +23,7 @@ func (p Page) PageURL() string { return p.URL } // Find reads every retirement on the page. func (p Page) Find(page []byte) (kit.Notices, error) { - rs, err := Parse(page, p.Keep) + rs, err := Parse(p.Format.Pipes(page), p.Keep) return Retirements(rs), err } diff --git a/plugins/notices/retire/providers.go b/plugins/notices/retire/providers.go index 61fbc03..882cdf0 100644 --- a/plugins/notices/retire/providers.go +++ b/plugins/notices/retire/providers.go @@ -1,6 +1,9 @@ package retire -import "strings" +import ( + "regexp" + "strings" +) // OpenAI's deprecations page (checked 2026-10-13). Its tables cover every // kind of model; these events are for the text models the Chat Completions @@ -46,3 +49,40 @@ func openAIText(name string) bool { } return false } + +// googleModel is a model id as code sends it, nothing around it: a cell +// with a footnote mark ("textembedding-gecko@003 *") isn't read. +var googleModel = regexp.MustCompile(`^[a-z0-9][a-z0-9.@_-]*$`) + +// Gemini is the Gemini API's deprecations page (ai.google.dev, served by +// aistudio.google.com as markdown, checked 2026-11-21): one Markdoc table per +// model family, | Model | Release date | Shutdown date | Recommended +// replacement |, current models with "No shutdown date announced", shut-down +// ones under "Deprecated models". Every model there is one code names in a +// request (text, image, video, audio, embedding: all through the same SDK); +// the managed agents' tables name an agent, not a model, and are skipped. +// Google says its dates are the earliest a model may be shut down. +var Gemini = Page{ + API: "google/gemini-models", + Provider: "google", + Vendor: "Google", + URL: "https://aistudio.google.com/docs/deprecations", + Format: FormatMarkdoc, + Keep: googleModel.MatchString, + Earliest: true, +} + +// Vertex is Google Cloud's Vertex AI model versions page (checked +// 2026-11-21): HTML tables of | Model ID | Release date | Retirement date | +// Replacement model ID | (or Recommended upgrade). A GA model's date is a +// minimum lifetime ("October 13, 2027 or later", "No sooner than May 20, +// 2028"), not a notice, and isn't read as a date; a retired or retiring +// model's is a plain date ("June 30, 2026"). +var Vertex = Page{ + API: "google/vertex-model-retirements", + Provider: "google", + Vendor: "Google", + URL: "https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + Format: FormatHTML, + Keep: googleModel.MatchString, +} diff --git a/plugins/notices/retire/retire.go b/plugins/notices/retire/retire.go index f934b18..16d383a 100644 --- a/plugins/notices/retire/retire.go +++ b/plugins/notices/retire/retire.go @@ -3,11 +3,16 @@ // OpenAPI differ. There is no spec to diff, only the provider's own table of // shutdown date, model and named replacement, so this reads the table. // -// Both providers serve the page as markdown at its URL plus ".md" (checked -// 2026-10-13), and both write each announcement as a table whose first column -// is the date the model stops working. The event cites a Wayback Machine -// snapshot of that markdown (kit/), never the live page: the contract -// requires a source that can't change under the event. +// A page is a Markdown pipe table (OpenAI's and Anthropic's pages, served as +// markdown at their URL plus ".md", checked 2026-10-13), a Markdoc table +// (Google's Gemini API page, {% table %} with one "* cell" per line, checked +// 2026-11-21), or an HTML table (Google Cloud's Vertex AI model versions, +// checked 2026-11-21). The last two are read into pipe rows first, with +// their headings, so one parser reads every page. A table is a retirement +// table when it has a shutdown or retirement date column, a model column and +// a replacement column, in any order. The event cites a Wayback Machine +// snapshot of the page (kit/), never the live page: the contract requires a +// source that can't change under the event. package retire import ( @@ -25,12 +30,28 @@ type Page struct { API string // the source id the events carry: "openai/models" Provider string // the model subject's provider: "openai" Vendor string // for sentences: "OpenAI" - URL string // the page as markdown + URL string // the page, as markdown or HTML + // Format is how the page writes its tables: Markdown pipe tables (the + // default), Markdoc or HTML. + Format Format // Keep says whether a model name belongs to this source: the operations // above take text models, not image, audio or embedding ones. Keep func(name string) bool + // Earliest says the page's dates are the earliest a model may be shut + // down, not the day it is (Google's Gemini API page): the description + // says so. + Earliest bool } +// Format is how a page writes its tables. +type Format string + +const ( + FormatMarkdown Format = "" + FormatMarkdoc Format = "markdoc" + FormatHTML Format = "html" +) + // Retirement is one model name the provider stops serving on Date, with the // replacement it names. An alias gets its own Retirement, with the row it // came from. @@ -47,6 +68,18 @@ var ( ticked = regexp.MustCompile("`([^`]+)`") ) +// Pipes is the page's tables as Markdown pipe tables, each under the +// heading above it: the page itself when it's Markdown. +func (f Format) Pipes(page []byte) []byte { + switch f { + case FormatMarkdoc: + return markdocPipes(page) + case FormatHTML: + return htmlPipes(page) + } + return page +} + var dateLayouts = []string{"January 2, 2006", "Jan 2, 2006", "2006-01-02"} // Parse reads every retirement table on the page. A model listed more than @@ -57,6 +90,7 @@ var dateLayouts = []string{"January 2, 2006", "Jan 2, 2006", "2006-01-02"} // points at a model that no longer works. func Parse(page []byte, keep func(string) bool) ([]Retirement, error) { lines := strings.Split(strings.ReplaceAll(string(page), "\r\n", "\n"), "\n") + headerAt := 0 var out []Retirement seen := map[string]bool{} heading := "" @@ -67,23 +101,31 @@ func Parse(page []byte, keep func(string) bool) ([]Retirement, error) { continue } header := cells(line) - if len(header) < 3 || !dateHeader.MatchString(header[0]) { + when := -1 + for c, h := range header { + if dateHeader.MatchString(h) { + when = c + break + } + } + if len(header) < 3 || when < 0 { continue } - model, repl := column(header, "model"), column(header, "replacement", "substitute") - if model < 0 || repl < 0 { - continue // an endpoint ("System") or a training-price table: no model to replace + model, repl := column(header, "model"), column(header, "replacement", "substitute", "upgrade") + if model < 0 || repl < 0 || model == repl { + continue // an endpoint ("System"), an agent or a training-price table: no model to replace } + headerAt = i i++ // the |---| row for i+1 < len(lines) && strings.HasPrefix(strings.TrimSpace(lines[i+1]), "|") { i++ row := strings.TrimSpace(lines[i]) c := cells(row) - if len(c) <= model || len(c) <= repl { + if len(c) <= model || len(c) <= repl || len(c) <= when { return nil, fmt.Errorf("a short row under %q: %s", heading, row) } names := ticked.FindAllStringSubmatch(c[model], -1) - date, err := parseDate(c[0]) + date, err := parseDate(c[when]) if err != nil { // "To be announced": not a retirement yet, and the newer word on // these names, so an older row's date for them doesn't count. @@ -92,7 +134,7 @@ func Parse(page []byte, keep func(string) bool) ([]Retirement, error) { } continue } - excerpt := strings.Join([]string{heading, strings.TrimSpace(lines[headerLine(lines, i)]), row}, "\n") + excerpt := strings.Join([]string{heading, strings.TrimSpace(lines[headerAt]), row}, "\n") for _, m := range names { name := m[1] if seen[name] || !keep(name) { @@ -110,14 +152,6 @@ func Parse(page []byte, keep func(string) bool) ([]Retirement, error) { return out, nil } -// headerLine walks back from a row to its table's header. -func headerLine(lines []string, i int) int { - for i > 0 && strings.HasPrefix(strings.TrimSpace(lines[i-1]), "|") { - i-- - } - return i -} - // follow replaces a replacement that is itself retired with its own // replacement, recording the hops: gpt-3.5-turbo-0613's named replacement is // gpt-3.5-turbo, which shuts down on 2026-10-23 for gpt-5.6-terra. @@ -173,8 +207,8 @@ func cells(row string) []string { } func column(header []string, words ...string) int { - for i, h := range header { - for _, w := range words { + for _, w := range words { + for i, h := range header { if strings.Contains(strings.ToLower(h), w) { return i } @@ -211,7 +245,7 @@ func Events(p Page, rs []Retirement, sourceURL string, now time.Time) ([]event.E ChangeType: event.ChangeTypeBreaking, Breaking: true, Subject: subject, - Description: fmt.Sprintf("Model %q is shut down on %s: %s requests naming it fail from that date.", r.Model, r.Date, p.Vendor), + Description: describe(p, r), MigrationHint: h, SourceURL: sourceURL, SourceExcerpt: r.Excerpt, @@ -227,6 +261,13 @@ func Events(p Page, rs []Retirement, sourceURL string, now time.Time) ([]event.E return events, errs } +func describe(p Page, r Retirement) string { + if p.Earliest { + return fmt.Sprintf("Model %q can be shut down from %s, the earliest date %s gives: %s requests naming it fail once it is.", r.Model, r.Date, p.Vendor, p.Vendor) + } + return fmt.Sprintf("Model %q is shut down on %s: %s requests naming it fail from that date.", r.Model, r.Date, p.Vendor) +} + // replacement is the one model the provider names, when its replacement cell // is exactly one model name: not none, not several, not a model with a // setting (`gpt-5.6-sol` (`reasoning.mode: pro`)). The patch-it client opens @@ -242,6 +283,9 @@ func replacement(cell string) string { func hint(vendor string, r Retirement) string { repl := strings.TrimSpace(r.Replacement) + if repl == "" { + return fmt.Sprintf("%s names no replacement model.", vendor) + } if First(repl) == "" { return fmt.Sprintf("%s names no replacement model: %s", vendor, repl) } diff --git a/plugins/notices/retire/testdata/README.md b/plugins/notices/retire/testdata/README.md index b4c3b47..05a2b3c 100644 --- a/plugins/notices/retire/testdata/README.md +++ b/plugins/notices/retire/testdata/README.md @@ -2,7 +2,7 @@ The two providers' deprecations pages, as markdown (each page's URL plus `.md`). `retire`'s tests and the `openai-models` / `anthropic-models` golden tests (`plugins/notices`) read them. -**License:** excerpts for testing; © OpenAI and © Anthropic respectively. Not covered by this repo's license. +**License:** excerpts for testing; © OpenAI and © Anthropic respectively. Not covered by this repo's license. Google's two pages are © Google, CC BY 4.0 (Google's developer documentation). **Trimmed.** Each file keeps the page title and, for every retirement table that names at least one model the plugin keeps (text models code sends), the section heading above it and the whole table, copied unchanged. Prose, notice-period policy, endpoint tables and tables of only image, audio or embedding models were left out. `retire.Parse` returns exactly the same retirements from the trimmed and the full pages, so the golden files didn't change. @@ -10,3 +10,5 @@ The two providers' deprecations pages, as markdown (each page's URL plus `.md`). |---|---|---|---| | `openai-deprecations.md` | https://developers.openai.com/api/docs/deprecations.md | 2026-10-13 | "\| October 23, 2026 \| `gpt-4-0613` \\\| `gpt-4`, … \| `gpt-5.6-sol` \|" | | `anthropic-deprecations.md` | https://platform.claude.com/docs/en/about-claude/model-deprecations.md | 2026-10-13 | "\| November 30, 2026 \| `claude-sonnet-4-5-20250929` \| `claude-sonnet-5-5` \|" | +| `gemini-deprecations.md` | https://aistudio.google.com/docs/deprecations (where https://ai.google.dev/gemini-api/docs/deprecations redirects; served as Markdown). Kept whole, byte for byte | 2026-11-21 | "\| `gemini-2.0-flash` \| February 5, 2025 \| June 1, 2026 \| `gemini-3.6-flash` \|", as Markdoc `* cell` lines | +| `vertex-model-versions.html` | https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions. Excerpt: every `

`/`

` line and every line of every `` (982 of 10,074 lines), unchanged; scripts, navigation and prose left out. `retire.Parse` finds the same 39 retirements in the excerpt as in the full page | 2026-11-21 | "<td>June 30, 2026</td>" in the "Retired models" table | diff --git a/plugins/notices/retire/testdata/gemini-deprecations.md b/plugins/notices/retire/testdata/gemini-deprecations.md new file mode 100644 index 0000000..f28aefe --- /dev/null +++ b/plugins/notices/retire/testdata/gemini-deprecations.md @@ -0,0 +1,1001 @@ +> ## AI Agent Context +> - Full documentation index: https://aistudio.google.com/llms.txt +> - Gemini Docs MCP server (consistent live info): https://gemini-api-docs-mcp.dev +> - Coding agent skills & setup guide: https://aistudio.google.com/docs/coding-agents.md + +# Gemini deprecations + +This page lists the known deprecation schedules for [stable +(GA)](/docs/models#stable) and [preview](/docs/models#preview) models and for +managed agents in the Gemini API. A "**deprecation**" is the announcement that +we no longer provide support for a model, and that it will be "**shut down**" in +the near future. Once a model is "**shutdown**", it is completely turned off, and +the endpoint is no longer available. + +Deprecation announcements are made on the [Release notes](/docs/changelog) page, +and the announced earliest shutdown dates are tracked on this page. To pick an upgrade target for your workload, see [Choosing a model](/docs/choosing-a-model#upgrade-paths). +Already-shutdown models and agents are listed under the **Deprecated models** +and **Deprecated agents** sections. + +{% callout type="note" %} + Note: The **shutdown dates listed in the table indicate the *earliest possible + dates* on which a model might be retired**. We will communicate the exact + shutdown date to users with advance notice to ensure a smooth transition to a + replacement model. + +{% /callout %} + +## Gemini 4 models {% id="gemini-4-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-4-neon` + * November 18, 2026 + * No shutdown date announced + * + + --- + + * `gemini-4-hydrogen` + * November 12, 2026 + * No shutdown date announced + * + + --- + + * `gemini-4-carbon` + * November 10, 2026 + * No shutdown date announced + * + + --- + + * `gemini-4-argon` + * October 13, 2026 + * No shutdown date announced + * +{% /table %} + +## Gemini 3 models {% id="gemini-3-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-3.8-flash-tts` + * September 22, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.8-flash-lite-tts` + * September 22, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.8-live` + * September 15, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.8-live-extended-thinking` + * September 15, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.8-flash` + * September 2, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.7-flash` + * August 13, 2026 + * N/A + * `gemini-3.8-flash` (`gemini-3.7-flash` is no longer available in Google AI Studio; the endpoint is not shutting down and automatically routes API requests to `gemini-3.8-flash`) + + --- + + * `gemini-3.6-flash` + * July 21, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.5-flash-lite` + * July 21, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.5-flash` + * May 19, 2026 + * N/A + * `gemini-3.6-flash` (`gemini-3.5-flash` is no longer available in Google AI Studio; the endpoint is not shutting down and automatically routes API requests to `gemini-3.6-flash`) + + --- + + * `gemini-3.1-flash-lite` + * May 7, 2026 + * May 7, 2027 + * `gemini-3.5-flash-lite` +{% /table %} + +### Preview models {% id="gemini-3-preview-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-3.1-flash-tts-preview` + * February 26, 2026 + * December 18, 2026 + * `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` + + --- + + * `gemini-3.1-pro-preview` + * February 19, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3-flash-preview` + * December 17, 2025 + * No shutdown date announced + * `gemini-3.6-flash` +{% /table %} + +### Deprecated models {% id="gemini-3-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-3-pro-preview` + * November 18, 2025 + * March 9, 2026 + * `gemini-3.1-pro-preview` + + --- + + * `gemini-3.1-flash-lite-preview` + * March 3, 2026 + * May 25, 2026 + * `gemini-3.1-flash-lite` +{% /table %} + +## Gemini 2.5 Pro models {% id="gemini-2.5-pro-models" %} + +{% callout type="caution" %} + `gemini-2.5-pro` is deprecated and is no longer available to select in Google AI + Studio. Access through the API is limited to existing users who have actively + used it in the past. Effective December 1, 2026, all API requests to + `gemini-2.5-pro` will automatically route to + [`gemini-3.8-flash`](/docs/models/gemini-3.8-flash) and be billed at + [Gemini 3.8 Flash rates](/docs/pricing#gemini-3.8-flash). Review the breaking + API changes in the + [Gemini 3.8 Flash migration guide](/docs/whats-new-gemini-3.8#migrate-to-gemini-3-8-flash) + before December 1, 2026. + +{% /callout %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-2.5-pro` + * June 17, 2025 + * December 1, 2026 + * `gemini-3.8-flash` (`gemini-2.5-pro` is no longer available in Google AI Studio; effective December 1, 2026, API requests to `gemini-2.5-pro` will automatically route to `gemini-3.8-flash`) +{% /table %} + +### Deprecated models {% id="gemini-2.5-pro-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-2.5-computer-use-preview-10-2025` + * October 7, 2025 + * July 28, 2026 + * `gemini-3.8-flash` + + --- + + * `gemini-2.5-pro-preview-03-25` + * March 3, 2025 + * December 2, 2025 + * `gemini-3.8-flash` + + --- + + * `gemini-2.5-pro-preview-05-06` + * May 6, 2025 + * December 2, 2025 + * `gemini-3.8-flash` + + --- + + * `gemini-2.5-pro-preview-06-05` + * June 5, 2025 + * December 2, 2025 + * `gemini-3.8-flash` +{% /table %} + +## Gemini 2.5 Flash models {% id="gemini-2.5-flash-models" %} + +{% callout type="caution" %} + `gemini-2.5-flash` is deprecated and is no longer available to select in Google + AI Studio. Effective December 1, 2026, all API requests to `gemini-2.5-flash` + will automatically route to + [`gemini-3.5-flash-lite`](/docs/models/gemini-3.5-flash-lite) and be billed at + [Gemini 3.5 Flash-Lite rates](/docs/pricing#gemini-3.5-flash-lite). Review the + breaking API changes in the + [Gemini 3.5 Flash-Lite migration guide](/docs/whats-new-gemini-3.6#migrate-to-gemini-3-5-flash-lite) + before December 1, 2026. Access to the 2.5 models is limited to users who have + actively used them in the past. `gemini-2.5-flash-lite` is not deprecated and + remains available through the API until further notice. + +{% /callout %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-2.5-flash` + * June 17, 2025 + * December 1, 2026 + * `gemini-3.5-flash-lite` (`gemini-2.5-flash` is no longer available in Google AI Studio; effective December 1, 2026, API requests to `gemini-2.5-flash` will automatically route to `gemini-3.5-flash-lite`) + + --- + + * `gemini-2.5-flash-lite` + * July 22, 2025 + * No shutdown date announced + * +{% /table %} + +### Deprecated models {% id="gemini-2.5-flash-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-2.5-flash-lite-preview-09-2025` + * September 25, 2025 + * March 31, 2026 + * `gemini-3.1-flash-lite` + + --- + + * `gemini-2.5-flash-preview-05-20` + * May 20, 2025 + * November 18, 2025 + * `gemini-3.6-flash` + + --- + + * `gemini-2.5-flash-preview-09-2025` + * September 25, 2025 + * February 17, 2026 + * `gemini-3.6-flash` +{% /table %} + +## Gemini 2.0 models {% id="gemini-2.0-models" %} + +### Deprecated models {% id="gemini-2.0-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-2.0-flash` + * February 5, 2025 + * June 1, 2026 + * `gemini-3.6-flash` + + --- + + * `gemini-2.0-flash-001` + * February 5, 2025 + * June 1, 2026 + * `gemini-3.6-flash` + + --- + + * `gemini-2.0-flash-lite` + * February 25, 2025 + * June 1, 2026 + * `gemini-3.1-flash-lite` + + --- + + * `gemini-2.0-flash-lite-001` + * February 25, 2025 + * June 1, 2026 + * `gemini-3.1-flash-lite` + + --- + + * `gemini-2.0-flash-lite-preview` + * February 5, 2025 + * December 9, 2025 + * `gemini-3.1-flash-lite` + + --- + + * `gemini-2.0-flash-lite-preview-02-05` + * February 5, 2025 + * December 9, 2025 + * `gemini-3.1-flash-lite` +{% /table %} + +## Live API models {% id="live-api-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-3.8-live` + * September 15, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.8-live-extended-thinking` + * September 15, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.5-transcribe-live` + * August 2026 + * No shutdown date announced + * +{% /table %} + +### Preview models {% id="live-api-preview-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-3.5-live-translate-preview` + * June 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.1-flash-live-preview` + * March 11, 2026 + * No shutdown date announced + * `gemini-3.8-live` + + --- + + * `gemini-2.5-flash-native-audio-preview-12-2025` + * December 12, 2025 + * March 31, 2027 + * `gemini-3.8-live` +{% /table %} + +### Deprecated models {% id="live-api-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-live-2.5-flash-preview` + * June 17, 2025 + * December 9, 2025 + * `gemini-3.8-live` + + --- + + * `gemini-2.0-flash-live-001` + * April 9, 2025 + * December 9, 2025 + * `gemini-3.8-live` +{% /table %} + +## Audio models {% id="audio-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-3.5-transcribe` + * August 2026 + * No shutdown date announced + * +{% /table %} + +### Preview models {% id="audio-preview-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-2.5-flash-preview-tts` + * May 20, 2025 + * December 18, 2026 + * `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` + + --- + + * `gemini-2.5-pro-preview-tts` + * May 20, 2025 + * December 18, 2026 + * `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` +{% /table %} + +## Embedding models {% id="embedding-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-embedding-2` + * April 22, 2026 + * No shutdown date announced + * + + --- + + * `gemini-embedding-001` + * July 14, 2025 + * May 14, 2028 + * `gemini-embedding-2` +{% /table %} + +### Deprecated models {% id="embedding-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-embedding-2-preview` + * March 10, 2026 + * November 6, 2026 + * `gemini-embedding-2` (effective November 6, 2026, API requests to `gemini-embedding-2-preview` route to `gemini-embedding-2`) + + --- + + * `text-embedding-004` + * April 9, 2024 + * January 14, 2026 + * `gemini-embedding-2` + + --- + + * `embedding-001` + * April 9, 2024 + * October 30, 2025 + * `gemini-embedding-2` + + --- + + * `embedding-gecko-001` + * + * October 30, 2025 + * `gemini-embedding-2` + + --- + + * `gemini-embedding-exp` + * + * October 30, 2025 + * `gemini-embedding-2` + + --- + + * `gemini-embedding-exp-03-07` + * + * October 30, 2025 + * `gemini-embedding-2` +{% /table %} + +## Nano Banana models {% id="nano-banana-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-nano-banana-2.1` + * October 6, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.1-flash-lite-image` + * June 30, 2026 + * No shutdown date announced + * + + --- + + * `gemini-3.1-flash-image` + * May 28, 2026 + * No shutdown date announced + * `gemini-nano-banana-2.1` + + --- + + * `gemini-3-pro-image` + * May 28, 2026 + * No shutdown date announced + * + + --- + + * `gemini-2.5-flash-image` + * October 2, 2025 + * March 15, 2027 + * `gemini-3.1-flash-lite-image` +{% /table %} + +### Deprecated models {% id="nano-banana-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-3.1-flash-image-preview` + * February 26, 2026 + * June 25, 2026 + * `gemini-nano-banana-2.1` + + --- + + * `gemini-3-pro-image-preview` + * November 20, 2025 + * June 25, 2026 + * `gemini-3-pro-image` + + --- + + * `gemini-2.5-flash-image-preview` + * May 7, 2025 + * January 15, 2026 + * `gemini-nano-banana-2.1` + + --- + + * `gemini-2.0-flash-preview-image-generation` + * May 7, 2025 + * November 14, 2025 + * `gemini-nano-banana-2.1` +{% /table %} + +## Imagen models {% id="imagen-models" %} + +### Deprecated models {% id="imagen-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `imagen-4.0-generate-001` + * June 24, 2025 + * August 17, 2026 + * `gemini-nano-banana-2.1` + + --- + + * `imagen-4.0-ultra-generate-001` + * June 24, 2025 + * August 17, 2026 + * `gemini-nano-banana-2.1` + + --- + + * `imagen-4.0-fast-generate-001` + * June 24, 2025 + * August 17, 2026 + * `gemini-nano-banana-2.1` + + --- + + * `imagen-4.0-generate-preview-06-06` + * June 24, 2025 + * February 17, 2026 + * `gemini-nano-banana-2.1` + + --- + + * `imagen-4.0-ultra-generate-preview-06-06` + * June 24, 2025 + * February 17, 2026 + * `gemini-nano-banana-2.1` + + --- + + * `imagen-3.0-generate-002` + * February 6, 2025 + * November 10, 2025 + * `gemini-nano-banana-2.1` +{% /table %} + +## Veo models {% id="veo-models" %} + +### Deprecated models {% id="veo-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `veo-3.1-lite-generate-preview` + * March 31, 2026 + * October 22, 2026 + * `gemini-omni-1.2-flash` + + --- + + * `veo-3.1-generate-preview` + * October 15, 2025 + * October 22, 2026 + * `gemini-omni-1.2-flash` + + --- + + * `veo-3.1-fast-generate-preview` + * October 15, 2025 + * October 22, 2026 + * `gemini-omni-1.2-flash` + + --- + + * `veo-3.0-generate-001` + * September 9, 2025 + * June 30, 2026 + * `gemini-omni-1.2-flash` or the GA models on the [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/veo/3-1-generate) + + --- + + * `veo-3.0-fast-generate-001` + * September 9, 2025 + * June 30, 2026 + * `gemini-omni-1.2-flash` or the GA models on the [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/veo/3-1-generate) + + --- + + * `veo-2.0-generate-001` + * April 9, 2025 + * June 30, 2026 + * `gemini-omni-1.2-flash` or the GA models on the [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/veo/3-1-generate) + + --- + + * `veo-3.0-generate-preview` + * July 31, 2025 + * November 12, 2025 + * `gemini-omni-1.2-flash` + + --- + + * `veo-3.0-fast-generate-preview` + * July 31, 2025 + * November 12, 2025 + * `gemini-omni-1.2-flash` +{% /table %} + +## Gemini Omni Flash models {% id="gemini-omni-flash-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-omni-1.2-flash` + * November 5, 2026 + * No shutdown date announced + * + + --- + + * `gemini-omni-1.1-flash` + * August 27, 2026 + * December 3, 2026 + * `gemini-omni-1.2-flash` (Effective December 3, 2026, the endpoint is + automatically routing API requests to + `gemini-omni-1.2-flash`) +{% /table %} + +### Deprecated models {% id="gemini-omni-flash-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-omni-flash-preview` + * June 30, 2026 + * October 22, 2026 + * `gemini-omni-1.2-flash` +{% /table %} + +## Genie models {% id="genie-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * [`genie-4`](/docs/models/genie-4) + * November 19, 2026 + * No shutdown date announced + * +{% /table %} + +## Lyria models {% id="lyria-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `lyria-3.5` + * September 3, 2026 + * No shutdown date announced + * +{% /table %} + +### Preview models {% id="lyria-preview-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `lyria-3-clip-preview` + * March 25, 2026 + * No shutdown date announced + * + + --- + + * `lyria-3-pro-preview` + * March 25, 2026 + * No shutdown date announced + * `lyria-3.5` + + --- + + * `lyria-realtime-exp` + * May 20, 2025 + * No shutdown date announced + * +{% /table %} + +## Robotics models {% id="robotics-models" %} + +### Preview models {% id="robotics-preview-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-robotics-er-2-preview` + * July 30, 2026 + * No shutdown date announced + * + + --- + + * `gemini-robotics-er-2-streaming-preview` + * July 30, 2026 + * No shutdown date announced + * +{% /table %} + +### Deprecated models {% id="robotics-deprecated-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `gemini-robotics-er-1.6-preview` + * April 14, 2026 + * August 31, 2026 + * `gemini-robotics-er-2-preview` + + --- + + * `gemini-robotics-er-1.5-preview` + * September 25, 2025 + * April 30, 2026 + * `gemini-robotics-er-2-preview` +{% /table %} + +## Gemini Decision models {% id="gemini-decision-models" %} + +{% table %} + * Model + * Release date + * Shutdown date + * Recommended replacement + + --- + + * [`gemini-decision-1`](/docs/models/gemini-decision-1) + * November 11, 2026 + * No shutdown date announced + * +{% /table %} + +## Managed agents {% id="managed-agents" %} + +### Preview agents {% id="managed-agents-preview-agents" %} + +{% table %} + * Agent + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `antigravity-preview-09-2026` + * September 17, 2026 + * No shutdown date announced + * + + --- + + * `deep-research-preview-04-2026` + * April 21, 2026 + * No shutdown date announced + * + + --- + + * `deep-research-max-preview-04-2026` + * April 21, 2026 + * No shutdown date announced + * +{% /table %} + +### Deprecated agents {% id="managed-agents-deprecated-agents" %} + +{% table %} + * Agent + * Release date + * Shutdown date + * Recommended replacement + + --- + + * `deep-research-pro-preview-12-2025` + * December 11, 2025 + * October 23, 2026 + * `deep-research-preview-04-2026` + + --- + + * `antigravity-preview-05-2026` + * May 19, 2026 + * October 5, 2026 + * `antigravity-preview-09-2026` +{% /table %} + diff --git a/plugins/notices/retire/testdata/vertex-model-versions.html b/plugins/notices/retire/testdata/vertex-model-versions.html new file mode 100644 index 0000000..ff7398c --- /dev/null +++ b/plugins/notices/retire/testdata/vertex-model-versions.html @@ -0,0 +1,982 @@ +

Latest available models

+

Models available for at least 12 months after release

+

Gemini models

+

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Model IDRelease dateRetirement dateReplacement model ID
+ + gemini-4-argon + + October 13, 2026 + + October 13, 2027 or later + + + +
+ + gemini-3.8-live + + September 24, 2026 + + September 25, 2027 or later + + + +
+ + gemini-3.8-flash + + September 2, 2026 + + September 2, 2027 or later + + + +
+ + gemini-3.5-flash-lite + + July 21, 2026 + + July 21, 2027 or later + + + +
+ + gemini-3.5-flash + + May 19, 2026 + + May 19, 2027 or later + + + +
+ + gemini-3.1-flash-lite + + May 7, 2026 + + May 7, 2027 or later + + + +
+ + gemini-2.5-pro + + June 17, 2025 + + October 20, 2026 + + + + + gemini-3.8-flash or + gemini-3.5-flash + +
+ + gemini-2.5-flash + + June 17, 2025 + + October 20, 2026 + + + + + gemini-3.8-flash or + gemini-3.5-flash-lite + +
+ + gemini-2.5-flash-lite + + July 22, 2025 + + October 20, 2026 + + + + + gemini-3.8-flash or + gemini-3.5-flash-lite or Gemma 4 + +
+ + gemini-live-2.5-flash-native-audio + + December 12, 2025 + + December 13, 2026 + + + + + gemini-3.8-live + +
+

Gemini image models

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Model IDRelease dateRetirement dateReplacement model ID
+ + gemini-3.1-flash-lite-image + + June 23, 2026 + + June 28, 2027 or later + + + +
+ + gemini-3-pro-image + + May 28, 2026 + + May 28, 2027 or later + + + +
+ + gemini-3.1-flash-image + + May 28, 2026 + + May 28, 2027 or later + + + +
+ + gemini-2.5-flash-image + + October 2, 2025 + + March 15, 2027 + + + + + gemini-3.1-flash-lite-image + +
+

Gemini Omni models

+ + + + + + + + + + + + + + + + + + + + + +
Model IDRelease dateRetirement dateReplacement model ID
+ + gemini-omni-1.2-flash + + November 5, 2026 + + November 5, 2027 or later + + + +
+

Veo models

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Model IDRelease dateRetirement dateReplacement model ID
+ + veo-3.1-generate-001 + + November 17, 2025 + + May 4, 2027 or later + + + + + gemini-omni-1.2-flash + +
+ + veo-3.1-fast-generate-001 + + November 17, 2025 + + May 4, 2027 or later + + + + + gemini-omni-1.2-flash + +
+

Embeddings models

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Model IDRelease dateRetirement dateReplacement model ID
gemini-embedding-2April 22, 2026
gemini-embedding-001May 20, 2025No sooner than May 20, 2028
text-embedding-005November 18, 2024April 1, 2027
text-embedding-004May 14, 2024April 1, 2027
text-multilingual-embedding-002May 14, 2024April 1, 2027
multimodalembedding@001February 12, 2024April 1, 2027

+

Models available for shorter availability periods

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Model IDRelease dateRetirement dateReplacement model ID
+ + gemini-4-neon + + November 18, 2026 + + No retirement date announced + + + +
+ + gemini-4-hydrogen + + November 12, 2026 + + No retirement date announced + + + +
+ + gemini-4-carbon + + November 10, 2026 + + No retirement date announced + + + +
+ + gemini-4-carbon-cyber-permissive + + November 10, 2026 + + No retirement date announced + + + +
+ + gemini-4-argon-cyber-permissive + + October 13, 2026 + + No retirement date announced + + + +
+ + gemini-3.8-flash-cyber + + September 16, 2026 + + No retirement date announced + + + +
+ + gemini-3.7-flash + + August 13, 2026 + + January 28, 2027 + + + + + gemini-4-hydrogen + +
+ + gemini-3.6-flash + + July 21, 2026 + + January 28, 2027 + + + + + gemini-4-hydrogen + +
+ + gemini-nano-banana-2.1 + + October 6, 2026 + + No retirement date announced + + + +
+

Retired models

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Model IDRelease dateRetirement dateRecommended upgrade
veo-3.0-generate-001July 29, 2025June 30, 2026veo-3.1-generate-001
veo-3.0-fast-generate-001July 29, 2025June 30, 2026veo-3.1-fast-generate-001
veo-2.0-generate-001May 27, 2025June 30, 2026veo-3.1-generate-001
imagen-4.0-generate-001August 14, 2025June 30, 2026gemini-2.5-flash-image
imagen-4.0-ultra-generate-001August 14, 2025June 30, 2026gemini-2.5-flash-image
imagen-3.0-generate-002January 29, 2025June 30, 2026gemini-2.5-flash-image
imagen-3.0-generate-001December 10, 2024June 30, 2026gemini-2.5-flash-image
imagegeneration@006March 27, 2024June 30, 2026gemini-2.5-flash-image
imagegeneration@005November 22, 2023June 30, 2026gemini-2.5-flash-image
imagegeneration@004June 30, 2026gemini-2.5-flash-image
imagegeneration@003June 30, 2026gemini-2.5-flash-image
imagegeneration@002August 17, 2023June 30, 2026gemini-2.5-flash-image
gemini-2.0-flashFebruary 5, 2025June 1, 2026gemini-3.5-flash-lite
gemini-2.0-flash-liteFebruary 25, 2025June 1, 2026gemini-3.5-flash-lite
gemini-1.5-pro-001May 24, 2024May 24, 2025gemini-2.5-flash
gemini-1.5-pro-002September 24, 2024September 24, 2025gemini-2.5-flash
gemini-1.5-flash-001May 24, 2024May 24, 2025gemini-2.5-flash-lite
gemini-1.5-flash-002September 24, 2024September 24, 2025gemini-2.5-flash-lite
textembedding-gecko@003*December 12, 2023May 24, 2025gemini-embedding-001
textembedding-gecko-multilingual@001November 2, 2023May 24, 2025gemini-embedding-001
gemini-1.0-pro-001February 15, 2024April 21, 2025gemini-2.5-flash
gemini-1.0-pro-002April 9, 2024April 21, 2025gemini-2.5-flash
gemini-1.0-pro-vision-001February 15, 2024April 21, 2025gemini-2.5-flash
text-bisonMay 2023April 21, 2025gemini-2.5-flash-lite
chat-bisonMay 2023April 21, 2025gemini-2.5-flash-lite
code-geckoMay 2023April 21, 2025gemini-2.5-flash-lite
textembedding-gecko@002November 2, 2023April 21, 2025gemini-embedding-001
textembedding-gecko@001June 7, 2023April 21, 2025gemini-embedding-001
imagetextJune 7, 2023September 24, 2025gemini-2.5-flash-image
+

Migrate to a latest available model

+

What's next

+ + + + diff --git a/plugins/notices/retirements_golden_test.go b/plugins/notices/retirements_golden_test.go index 1bfaa74..28b3d25 100644 --- a/plugins/notices/retirements_golden_test.go +++ b/plugins/notices/retirements_golden_test.go @@ -8,13 +8,16 @@ import ( "github.com/patch-it-dev/patch-it-plugins/plugins/notices/retire" ) -// Both providers' saved pages (2026-10-13) in, every event out. The archive +// Each provider's saved page (OpenAI's and Anthropic's 2026-10-13, Google's +// 2026-11-21) in, every event out. The archive // serves the same copy as the snapshot, so the events cite it; a second read // of the unchanged page asks for no snapshot. func TestRetirementsGolden(t *testing.T) { for file, page := range map[string]retire.Page{ - "openai-deprecations.md": retire.OpenAI, - "anthropic-deprecations.md": retire.Anthropic, + "openai-deprecations.md": retire.OpenAI, + "anthropic-deprecations.md": retire.Anthropic, + "gemini-deprecations.md": retire.Gemini, + "vertex-model-versions.html": retire.Vertex, } { t.Run(page.API, func(t *testing.T) { saved := kittest.Pages{page.URL: "retire/testdata/" + file} diff --git a/plugins/notices/retirements_registered_test.go b/plugins/notices/retirements_registered_test.go index 42cee34..7d020eb 100644 --- a/plugins/notices/retirements_registered_test.go +++ b/plugins/notices/retirements_registered_test.go @@ -8,7 +8,7 @@ import ( ) func TestRetirementsRegisterThemselves(t *testing.T) { - for _, p := range []retire.Page{retire.OpenAI, retire.Anthropic} { + for _, p := range []retire.Page{retire.OpenAI, retire.Anthropic, retire.Gemini, retire.Vertex} { kittest.Registered(t, Plugin{Page: p}) } } diff --git a/plugins/notices/testdata/golden/google-gemini-models.json b/plugins/notices/testdata/golden/google-gemini-models.json new file mode 100644 index 0000000..99aaa17 --- /dev/null +++ b/plugins/notices/testdata/golden/google-gemini-models.json @@ -0,0 +1,1072 @@ +[ + { + "id": 1, + "fingerprint": "sha256:caea2393099a2cf5bdbb0fbc226f25dfe2dfce8afb3267eec5faf86162821f2c", + "api": "google/gemini-models", + "version": "2027-05-07", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-3.1-flash-lite", + "replacement": "gemini-3.5-flash-lite" + }, + "description": "Model \"gemini-3.1-flash-lite\" can be shut down from 2027-05-07, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.5-flash-lite` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "## Gemini 3 models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-3.1-flash-lite` | May 7, 2026 | May 7, 2027 | `gemini-3.5-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:8858145e5f4653df2466841a60dc2868c6f426c5af9150f55afc1fda77513773", + "api": "google/gemini-models", + "version": "2026-12-18", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-3.1-flash-tts-preview" + }, + "description": "Model \"gemini-3.1-flash-tts-preview\" can be shut down from 2026-12-18, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Preview models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-3.1-flash-tts-preview` | February 26, 2026 | December 18, 2026 | `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:0cac57f7a4434d25aae59532745358c6f44758d0c4ddf897a2927a170b6dbf28", + "api": "google/gemini-models", + "version": "2026-03-09", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-3-pro-preview", + "replacement": "gemini-3.1-pro-preview" + }, + "description": "Model \"gemini-3-pro-preview\" can be shut down from 2026-03-09, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.1-pro-preview` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-3-pro-preview` | November 18, 2025 | March 9, 2026 | `gemini-3.1-pro-preview` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:3f4158206697b71cbe0dbbe74a52310d52e6f44033349189349d8d8128e59336", + "api": "google/gemini-models", + "version": "2026-05-25", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-3.1-flash-lite-preview", + "replacement": "gemini-3.5-flash-lite" + }, + "description": "Model \"gemini-3.1-flash-lite-preview\" can be shut down from 2026-05-25, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-3.1-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-3.1-flash-lite-preview` | March 3, 2026 | May 25, 2026 | `gemini-3.1-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:871f6f3d545e0f3bf03421077213fe06548c79e9e8ddf9954d79b95e15adc17d", + "api": "google/gemini-models", + "version": "2026-12-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-pro" + }, + "description": "Model \"gemini-2.5-pro\" can be shut down from 2026-12-01, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-flash` (`gemini-2.5-pro` is no longer available in Google AI Studio; effective December 1, 2026, API requests to `gemini-2.5-pro` will automatically route to `gemini-3.8-flash`) instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "## Gemini 2.5 Pro models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-pro` | June 17, 2025 | December 1, 2026 | `gemini-3.8-flash` (`gemini-2.5-pro` is no longer available in Google AI Studio; effective December 1, 2026, API requests to `gemini-2.5-pro` will automatically route to `gemini-3.8-flash`) |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:c02264b3e06bca3097caafa91d4a6dada49368e16d087f58ff1debbffc121a43", + "api": "google/gemini-models", + "version": "2026-07-28", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-computer-use-preview-10-2025", + "replacement": "gemini-3.8-flash" + }, + "description": "Model \"gemini-2.5-computer-use-preview-10-2025\" can be shut down from 2026-07-28, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-computer-use-preview-10-2025` | October 7, 2025 | July 28, 2026 | `gemini-3.8-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:2adc7a8dfc6a692ee12da231f25be750326a077e9b3cd26aa82764f23aa6acd2", + "api": "google/gemini-models", + "version": "2025-12-02", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-pro-preview-03-25", + "replacement": "gemini-3.8-flash" + }, + "description": "Model \"gemini-2.5-pro-preview-03-25\" can be shut down from 2025-12-02, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-pro-preview-03-25` | March 3, 2025 | December 2, 2025 | `gemini-3.8-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 8, + "fingerprint": "sha256:b225c413ec1d91b929eb2d7124814f928b9b04e18a9f08611c5fbfcf08e0a0e0", + "api": "google/gemini-models", + "version": "2025-12-02", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-pro-preview-05-06", + "replacement": "gemini-3.8-flash" + }, + "description": "Model \"gemini-2.5-pro-preview-05-06\" can be shut down from 2025-12-02, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-pro-preview-05-06` | May 6, 2025 | December 2, 2025 | `gemini-3.8-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 9, + "fingerprint": "sha256:4c2be4641bb22e1ae2d4c3b95da03ca363cd5e488a394cca4bc001f8915a835b", + "api": "google/gemini-models", + "version": "2025-12-02", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-pro-preview-06-05", + "replacement": "gemini-3.8-flash" + }, + "description": "Model \"gemini-2.5-pro-preview-06-05\" can be shut down from 2025-12-02, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-pro-preview-06-05` | June 5, 2025 | December 2, 2025 | `gemini-3.8-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 10, + "fingerprint": "sha256:60b751f9d3e759c519bbcabec3139c1de457129e71ed1ed966711f60af5374e1", + "api": "google/gemini-models", + "version": "2026-12-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash" + }, + "description": "Model \"gemini-2.5-flash\" can be shut down from 2026-12-01, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.5-flash-lite` (`gemini-2.5-flash` is no longer available in Google AI Studio; effective December 1, 2026, API requests to `gemini-2.5-flash` will automatically route to `gemini-3.5-flash-lite`) instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "## Gemini 2.5 Flash models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-flash` | June 17, 2025 | December 1, 2026 | `gemini-3.5-flash-lite` (`gemini-2.5-flash` is no longer available in Google AI Studio; effective December 1, 2026, API requests to `gemini-2.5-flash` will automatically route to `gemini-3.5-flash-lite`) |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 11, + "fingerprint": "sha256:b6d458a69ba2b51781274669929bebda33e4bebcf1927c1f63e23022386b265a", + "api": "google/gemini-models", + "version": "2026-03-31", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash-lite-preview-09-2025", + "replacement": "gemini-3.5-flash-lite" + }, + "description": "Model \"gemini-2.5-flash-lite-preview-09-2025\" can be shut down from 2026-03-31, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-3.1-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-flash-lite-preview-09-2025` | September 25, 2025 | March 31, 2026 | `gemini-3.1-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 12, + "fingerprint": "sha256:b81dc7696b0da57fbd358d29f47d03a65f8ae9260049cf302d1bd6b4a7098bf3", + "api": "google/gemini-models", + "version": "2025-11-18", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash-preview-05-20", + "replacement": "gemini-3.6-flash" + }, + "description": "Model \"gemini-2.5-flash-preview-05-20\" can be shut down from 2025-11-18, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.6-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-flash-preview-05-20` | May 20, 2025 | November 18, 2025 | `gemini-3.6-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 13, + "fingerprint": "sha256:8571eb750e46025a2b5ae4d0d645c01e1db00df8ffaa3ffae4a10a1f163d96b6", + "api": "google/gemini-models", + "version": "2026-02-17", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash-preview-09-2025", + "replacement": "gemini-3.6-flash" + }, + "description": "Model \"gemini-2.5-flash-preview-09-2025\" can be shut down from 2026-02-17, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.6-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-flash-preview-09-2025` | September 25, 2025 | February 17, 2026 | `gemini-3.6-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 14, + "fingerprint": "sha256:856205baa026aae1af080949fbba2a7272d91ad3467927e12bc533e6d318fe3e", + "api": "google/gemini-models", + "version": "2026-06-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.0-flash", + "replacement": "gemini-3.6-flash" + }, + "description": "Model \"gemini-2.0-flash\" can be shut down from 2026-06-01, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.6-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.0-flash` | February 5, 2025 | June 1, 2026 | `gemini-3.6-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 15, + "fingerprint": "sha256:83b2140ac7dce78acb6a4338e680fefed3069e978f060b707b965b078746b345", + "api": "google/gemini-models", + "version": "2026-06-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.0-flash-001", + "replacement": "gemini-3.6-flash" + }, + "description": "Model \"gemini-2.0-flash-001\" can be shut down from 2026-06-01, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.6-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.0-flash-001` | February 5, 2025 | June 1, 2026 | `gemini-3.6-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 16, + "fingerprint": "sha256:606afbea818c0aa70a918ce8a161373fc742c491a4c591180ce32e582e7271a6", + "api": "google/gemini-models", + "version": "2026-06-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.0-flash-lite", + "replacement": "gemini-3.5-flash-lite" + }, + "description": "Model \"gemini-2.0-flash-lite\" can be shut down from 2026-06-01, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-3.1-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.0-flash-lite` | February 25, 2025 | June 1, 2026 | `gemini-3.1-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 17, + "fingerprint": "sha256:c46f075bda7582cef7ad8fb25fda10b4412029124b68f67aa3aae129cb26fb54", + "api": "google/gemini-models", + "version": "2026-06-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.0-flash-lite-001", + "replacement": "gemini-3.5-flash-lite" + }, + "description": "Model \"gemini-2.0-flash-lite-001\" can be shut down from 2026-06-01, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-3.1-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.0-flash-lite-001` | February 25, 2025 | June 1, 2026 | `gemini-3.1-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 18, + "fingerprint": "sha256:f33c6d97b86cb936d566061674c549260c611d3084532190e53ede81a667cb64", + "api": "google/gemini-models", + "version": "2025-12-09", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.0-flash-lite-preview", + "replacement": "gemini-3.5-flash-lite" + }, + "description": "Model \"gemini-2.0-flash-lite-preview\" can be shut down from 2025-12-09, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-3.1-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.0-flash-lite-preview` | February 5, 2025 | December 9, 2025 | `gemini-3.1-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 19, + "fingerprint": "sha256:1905e464a0c97bc4e0adc0812fe8f9e578f239fe86d263dbd8ea112ecd669cf8", + "api": "google/gemini-models", + "version": "2025-12-09", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.0-flash-lite-preview-02-05", + "replacement": "gemini-3.5-flash-lite" + }, + "description": "Model \"gemini-2.0-flash-lite-preview-02-05\" can be shut down from 2025-12-09, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-3.1-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.0-flash-lite-preview-02-05` | February 5, 2025 | December 9, 2025 | `gemini-3.1-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 20, + "fingerprint": "sha256:7b91dbf1e5b957702a1f2e048ff346070c9765f96ec23c6cf018562a7391c15f", + "api": "google/gemini-models", + "version": "2027-03-31", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash-native-audio-preview-12-2025", + "replacement": "gemini-3.8-live" + }, + "description": "Model \"gemini-2.5-flash-native-audio-preview-12-2025\" can be shut down from 2027-03-31, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-live` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Preview models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-flash-native-audio-preview-12-2025` | December 12, 2025 | March 31, 2027 | `gemini-3.8-live` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 21, + "fingerprint": "sha256:b3d90322199ab4367fc8eba144f8cd88b5a5c3b786a7374d159a2332d9f5244c", + "api": "google/gemini-models", + "version": "2025-12-09", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-live-2.5-flash-preview", + "replacement": "gemini-3.8-live" + }, + "description": "Model \"gemini-live-2.5-flash-preview\" can be shut down from 2025-12-09, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-live` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-live-2.5-flash-preview` | June 17, 2025 | December 9, 2025 | `gemini-3.8-live` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 22, + "fingerprint": "sha256:840b70b0db6e2eb215e8266fe0105f25a0855d32aba42a776523c0fd0d8a4e52", + "api": "google/gemini-models", + "version": "2025-12-09", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.0-flash-live-001", + "replacement": "gemini-3.8-live" + }, + "description": "Model \"gemini-2.0-flash-live-001\" can be shut down from 2025-12-09, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-live` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.0-flash-live-001` | April 9, 2025 | December 9, 2025 | `gemini-3.8-live` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 23, + "fingerprint": "sha256:a6a20dbe9b625f444a1644e3c8ccbce9a63ebfa4e039393c75633c8ca4b13974", + "api": "google/gemini-models", + "version": "2026-12-18", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash-preview-tts" + }, + "description": "Model \"gemini-2.5-flash-preview-tts\" can be shut down from 2026-12-18, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Preview models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-flash-preview-tts` | May 20, 2025 | December 18, 2026 | `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 24, + "fingerprint": "sha256:8bc72c3cc1260e614977f305a2c61bee114dd67ec702fff60f09a036232e2a97", + "api": "google/gemini-models", + "version": "2026-12-18", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-pro-preview-tts" + }, + "description": "Model \"gemini-2.5-pro-preview-tts\" can be shut down from 2026-12-18, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Preview models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-pro-preview-tts` | May 20, 2025 | December 18, 2026 | `gemini-3.8-flash-tts` or `gemini-3.8-flash-lite-tts` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 25, + "fingerprint": "sha256:6c676c8e23b7b1d9db5de5e998a741c6fbac7dc2c2bf1929b647e7f6cf680542", + "api": "google/gemini-models", + "version": "2028-05-14", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-embedding-001", + "replacement": "gemini-embedding-2" + }, + "description": "Model \"gemini-embedding-001\" can be shut down from 2028-05-14, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-embedding-2` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "## Embedding models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-embedding-001` | July 14, 2025 | May 14, 2028 | `gemini-embedding-2` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 26, + "fingerprint": "sha256:f78e21e24ec4d3f9122c2631190b6b92736ec1bd89010b63b209bf2507daf953", + "api": "google/gemini-models", + "version": "2026-11-06", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-embedding-2-preview" + }, + "description": "Model \"gemini-embedding-2-preview\" can be shut down from 2026-11-06, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-embedding-2` (effective November 6, 2026, API requests to `gemini-embedding-2-preview` route to `gemini-embedding-2`) instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-embedding-2-preview` | March 10, 2026 | November 6, 2026 | `gemini-embedding-2` (effective November 6, 2026, API requests to `gemini-embedding-2-preview` route to `gemini-embedding-2`) |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 27, + "fingerprint": "sha256:0a968f052281aeb0c8cd71d3a92db497be8040686f23c3d592f6406aea39d68f", + "api": "google/gemini-models", + "version": "2026-01-14", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "text-embedding-004", + "replacement": "gemini-embedding-2" + }, + "description": "Model \"text-embedding-004\" can be shut down from 2026-01-14, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-embedding-2` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `text-embedding-004` | April 9, 2024 | January 14, 2026 | `gemini-embedding-2` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 28, + "fingerprint": "sha256:d1332b877be37336a413687d6be1480cf66dcfb3369101147a88c216a58e0736", + "api": "google/gemini-models", + "version": "2025-10-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "embedding-001", + "replacement": "gemini-embedding-2" + }, + "description": "Model \"embedding-001\" can be shut down from 2025-10-30, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-embedding-2` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `embedding-001` | April 9, 2024 | October 30, 2025 | `gemini-embedding-2` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 29, + "fingerprint": "sha256:9961f36c881a0bdf2d339315acd7895323e3b4672b0957436987f3b1c8296b2f", + "api": "google/gemini-models", + "version": "2025-10-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "embedding-gecko-001", + "replacement": "gemini-embedding-2" + }, + "description": "Model \"embedding-gecko-001\" can be shut down from 2025-10-30, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-embedding-2` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `embedding-gecko-001` | | October 30, 2025 | `gemini-embedding-2` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 30, + "fingerprint": "sha256:49b126de93982f83c2ee88f884ad720f1d0921206dae42f5826227db76af68ee", + "api": "google/gemini-models", + "version": "2025-10-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-embedding-exp", + "replacement": "gemini-embedding-2" + }, + "description": "Model \"gemini-embedding-exp\" can be shut down from 2025-10-30, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-embedding-2` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-embedding-exp` | | October 30, 2025 | `gemini-embedding-2` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 31, + "fingerprint": "sha256:ef27905e81e0ee48ec07d4669a42ea6ce0dd785a7f85033d7e1d34d7bf411b94", + "api": "google/gemini-models", + "version": "2025-10-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-embedding-exp-03-07", + "replacement": "gemini-embedding-2" + }, + "description": "Model \"gemini-embedding-exp-03-07\" can be shut down from 2025-10-30, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-embedding-2` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-embedding-exp-03-07` | | October 30, 2025 | `gemini-embedding-2` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 32, + "fingerprint": "sha256:acc61a0a44b398c42fb63c271aa2163a03749d76b12932f561f303c4981ae96e", + "api": "google/gemini-models", + "version": "2027-03-15", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash-image", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"gemini-2.5-flash-image\" can be shut down from 2027-03-15, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "## Nano Banana models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-flash-image` | October 2, 2025 | March 15, 2027 | `gemini-3.1-flash-lite-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 33, + "fingerprint": "sha256:352f204e72c7ab36bb05cb742c9edee87f1589930ece2bc90ffbb851c443aba7", + "api": "google/gemini-models", + "version": "2026-06-25", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-3.1-flash-image-preview", + "replacement": "gemini-nano-banana-2.1" + }, + "description": "Model \"gemini-3.1-flash-image-preview\" can be shut down from 2026-06-25, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-nano-banana-2.1` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-3.1-flash-image-preview` | February 26, 2026 | June 25, 2026 | `gemini-nano-banana-2.1` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 34, + "fingerprint": "sha256:1d09afffb5768ce989c65f94befc597bdba8a13131ad7c2cc139741a1b39bf56", + "api": "google/gemini-models", + "version": "2026-06-25", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-3-pro-image-preview", + "replacement": "gemini-3-pro-image" + }, + "description": "Model \"gemini-3-pro-image-preview\" can be shut down from 2026-06-25, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-3-pro-image` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-3-pro-image-preview` | November 20, 2025 | June 25, 2026 | `gemini-3-pro-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 35, + "fingerprint": "sha256:9132c7b110d46a16200f6541ece38bcbe0748e75d36c1bd3586eab10398fbe37", + "api": "google/gemini-models", + "version": "2026-01-15", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash-image-preview", + "replacement": "gemini-nano-banana-2.1" + }, + "description": "Model \"gemini-2.5-flash-image-preview\" can be shut down from 2026-01-15, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-nano-banana-2.1` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.5-flash-image-preview` | May 7, 2025 | January 15, 2026 | `gemini-nano-banana-2.1` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 36, + "fingerprint": "sha256:c42e560875145b4013adeac0199e6ee63421d16e345ee97c023565710c4f3215", + "api": "google/gemini-models", + "version": "2025-11-14", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.0-flash-preview-image-generation", + "replacement": "gemini-nano-banana-2.1" + }, + "description": "Model \"gemini-2.0-flash-preview-image-generation\" can be shut down from 2025-11-14, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-nano-banana-2.1` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-2.0-flash-preview-image-generation` | May 7, 2025 | November 14, 2025 | `gemini-nano-banana-2.1` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 37, + "fingerprint": "sha256:c889c0a9533b444eda90a0d8d057d30a837941242dfaa095a5378027d6579654", + "api": "google/gemini-models", + "version": "2026-08-17", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagen-4.0-generate-001", + "replacement": "gemini-nano-banana-2.1" + }, + "description": "Model \"imagen-4.0-generate-001\" can be shut down from 2026-08-17, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-nano-banana-2.1` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `imagen-4.0-generate-001` | June 24, 2025 | August 17, 2026 | `gemini-nano-banana-2.1` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 38, + "fingerprint": "sha256:b65d181909243d2cfdbcf4a81fea4fa279eacdb61e776b235685042b1d273da4", + "api": "google/gemini-models", + "version": "2026-08-17", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagen-4.0-ultra-generate-001", + "replacement": "gemini-nano-banana-2.1" + }, + "description": "Model \"imagen-4.0-ultra-generate-001\" can be shut down from 2026-08-17, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-nano-banana-2.1` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `imagen-4.0-ultra-generate-001` | June 24, 2025 | August 17, 2026 | `gemini-nano-banana-2.1` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 39, + "fingerprint": "sha256:8a703192637bc96b8f7a341b9ef30531bd5bb58dd26c89e4fd938dd9834daaa4", + "api": "google/gemini-models", + "version": "2026-08-17", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagen-4.0-fast-generate-001", + "replacement": "gemini-nano-banana-2.1" + }, + "description": "Model \"imagen-4.0-fast-generate-001\" can be shut down from 2026-08-17, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-nano-banana-2.1` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `imagen-4.0-fast-generate-001` | June 24, 2025 | August 17, 2026 | `gemini-nano-banana-2.1` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 40, + "fingerprint": "sha256:03f79598c1d1c60b2390af7583c7346dc18c2cacc9116a52d1d1e4f575c6d070", + "api": "google/gemini-models", + "version": "2026-02-17", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagen-4.0-generate-preview-06-06", + "replacement": "gemini-nano-banana-2.1" + }, + "description": "Model \"imagen-4.0-generate-preview-06-06\" can be shut down from 2026-02-17, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-nano-banana-2.1` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `imagen-4.0-generate-preview-06-06` | June 24, 2025 | February 17, 2026 | `gemini-nano-banana-2.1` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 41, + "fingerprint": "sha256:4e1ece623c8fc9d8f782fc8b9c1bc5c27904204d0cffa5e5369098ba245124e1", + "api": "google/gemini-models", + "version": "2026-02-17", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagen-4.0-ultra-generate-preview-06-06", + "replacement": "gemini-nano-banana-2.1" + }, + "description": "Model \"imagen-4.0-ultra-generate-preview-06-06\" can be shut down from 2026-02-17, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-nano-banana-2.1` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `imagen-4.0-ultra-generate-preview-06-06` | June 24, 2025 | February 17, 2026 | `gemini-nano-banana-2.1` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 42, + "fingerprint": "sha256:7855e31da95e666c348f96b9ccfbc5e353c3c0c0713553ddbae260d29ebded13", + "api": "google/gemini-models", + "version": "2025-11-10", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagen-3.0-generate-002", + "replacement": "gemini-nano-banana-2.1" + }, + "description": "Model \"imagen-3.0-generate-002\" can be shut down from 2025-11-10, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-nano-banana-2.1` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `imagen-3.0-generate-002` | February 6, 2025 | November 10, 2025 | `gemini-nano-banana-2.1` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 43, + "fingerprint": "sha256:f4406ae5b26f233d65b6f39e0a4c99868f125bbea55dc703938ca776d8ec633b", + "api": "google/gemini-models", + "version": "2026-10-22", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-3.1-lite-generate-preview", + "replacement": "gemini-omni-1.2-flash" + }, + "description": "Model \"veo-3.1-lite-generate-preview\" can be shut down from 2026-10-22, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-omni-1.2-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `veo-3.1-lite-generate-preview` | March 31, 2026 | October 22, 2026 | `gemini-omni-1.2-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 44, + "fingerprint": "sha256:8554aabbaf268ea7946f6a3e686c1157fbff2a57997d35773f1fbf46bec5afc0", + "api": "google/gemini-models", + "version": "2026-10-22", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-3.1-generate-preview", + "replacement": "gemini-omni-1.2-flash" + }, + "description": "Model \"veo-3.1-generate-preview\" can be shut down from 2026-10-22, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-omni-1.2-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `veo-3.1-generate-preview` | October 15, 2025 | October 22, 2026 | `gemini-omni-1.2-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 45, + "fingerprint": "sha256:0a83cb678a880fb7254c61aec5e1b0e0ba19aa5435d956156d5459eddbe9be4c", + "api": "google/gemini-models", + "version": "2026-10-22", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-3.1-fast-generate-preview", + "replacement": "gemini-omni-1.2-flash" + }, + "description": "Model \"veo-3.1-fast-generate-preview\" can be shut down from 2026-10-22, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-omni-1.2-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `veo-3.1-fast-generate-preview` | October 15, 2025 | October 22, 2026 | `gemini-omni-1.2-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 46, + "fingerprint": "sha256:9ae0db34527de17bb0383edde0172525ec9032cf2a5cdac0df7af07f7c303668", + "api": "google/gemini-models", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-3.0-generate-001" + }, + "description": "Model \"veo-3.0-generate-001\" can be shut down from 2026-06-30, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-omni-1.2-flash` or the GA models on the [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/veo/3-1-generate) instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `veo-3.0-generate-001` | September 9, 2025 | June 30, 2026 | `gemini-omni-1.2-flash` or the GA models on the [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/veo/3-1-generate) |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 47, + "fingerprint": "sha256:3a692dac54bbd0875feefbf6a8135be447fa904017da920eb1dc6d30e0f1d86a", + "api": "google/gemini-models", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-3.0-fast-generate-001" + }, + "description": "Model \"veo-3.0-fast-generate-001\" can be shut down from 2026-06-30, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-omni-1.2-flash` or the GA models on the [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/veo/3-1-generate) instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `veo-3.0-fast-generate-001` | September 9, 2025 | June 30, 2026 | `gemini-omni-1.2-flash` or the GA models on the [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/veo/3-1-generate) |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 48, + "fingerprint": "sha256:a394fe9fdeeb5a404f2c0b561439c7236477e7fc837927962ab3aa5db1f896d5", + "api": "google/gemini-models", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-2.0-generate-001" + }, + "description": "Model \"veo-2.0-generate-001\" can be shut down from 2026-06-30, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-omni-1.2-flash` or the GA models on the [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/veo/3-1-generate) instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `veo-2.0-generate-001` | April 9, 2025 | June 30, 2026 | `gemini-omni-1.2-flash` or the GA models on the [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/veo/3-1-generate) |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 49, + "fingerprint": "sha256:ab74adbe95ffded3bd489bbd60695d9d94948d636f8e60daac190561b6474a19", + "api": "google/gemini-models", + "version": "2025-11-12", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-3.0-generate-preview", + "replacement": "gemini-omni-1.2-flash" + }, + "description": "Model \"veo-3.0-generate-preview\" can be shut down from 2025-11-12, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-omni-1.2-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `veo-3.0-generate-preview` | July 31, 2025 | November 12, 2025 | `gemini-omni-1.2-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 50, + "fingerprint": "sha256:0f5636525a0226794daa38aa43146d185121082d0eac106e9d875b8b991d1b91", + "api": "google/gemini-models", + "version": "2025-11-12", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-3.0-fast-generate-preview", + "replacement": "gemini-omni-1.2-flash" + }, + "description": "Model \"veo-3.0-fast-generate-preview\" can be shut down from 2025-11-12, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-omni-1.2-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `veo-3.0-fast-generate-preview` | July 31, 2025 | November 12, 2025 | `gemini-omni-1.2-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 51, + "fingerprint": "sha256:32849db67ffe3564cf53e5d5b56a8536949a7fd3aa6cb28223c0bd8656ee4e7e", + "api": "google/gemini-models", + "version": "2026-12-03", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-omni-1.1-flash" + }, + "description": "Model \"gemini-omni-1.1-flash\" can be shut down from 2026-12-03, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-omni-1.2-flash` (Effective December 3, 2026, the endpoint is automatically routing API requests to `gemini-omni-1.2-flash`) instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "## Gemini Omni Flash models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-omni-1.1-flash` | August 27, 2026 | December 3, 2026 | `gemini-omni-1.2-flash` (Effective December 3, 2026, the endpoint is automatically routing API requests to `gemini-omni-1.2-flash`) |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 52, + "fingerprint": "sha256:6b6d10f0220a8da62121f3ed15db742d6f8bbdd987db4671ee04709957275efc", + "api": "google/gemini-models", + "version": "2026-10-22", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-omni-flash-preview", + "replacement": "gemini-omni-1.2-flash" + }, + "description": "Model \"gemini-omni-flash-preview\" can be shut down from 2026-10-22, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-omni-1.2-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-omni-flash-preview` | June 30, 2026 | October 22, 2026 | `gemini-omni-1.2-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 53, + "fingerprint": "sha256:54a233efe659c23ad8898c69d4d211f7e48aa36acbd16fadb14a3547a6f3daf4", + "api": "google/gemini-models", + "version": "2026-08-31", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-robotics-er-1.6-preview", + "replacement": "gemini-robotics-er-2-preview" + }, + "description": "Model \"gemini-robotics-er-1.6-preview\" can be shut down from 2026-08-31, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-robotics-er-2-preview` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-robotics-er-1.6-preview` | April 14, 2026 | August 31, 2026 | `gemini-robotics-er-2-preview` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 54, + "fingerprint": "sha256:0a9481a7ed1278252e1175f2555423a03b83d4680e42f075558914f3ef3e2e5b", + "api": "google/gemini-models", + "version": "2026-04-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-robotics-er-1.5-preview", + "replacement": "gemini-robotics-er-2-preview" + }, + "description": "Model \"gemini-robotics-er-1.5-preview\" can be shut down from 2026-04-30, the earliest date Google gives: Google requests naming it fail once it is.", + "migration_hint": "Use `gemini-robotics-er-2-preview` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://aistudio.google.com/docs/deprecations", + "source_excerpt": "### Deprecated models\n| Model | Release date | Shutdown date | Recommended replacement |\n| `gemini-robotics-er-1.5-preview` | September 25, 2025 | April 30, 2026 | `gemini-robotics-er-2-preview` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/notices/testdata/golden/google-vertex-model-retirements.json b/plugins/notices/testdata/golden/google-vertex-model-retirements.json new file mode 100644 index 0000000..6f6fc8d --- /dev/null +++ b/plugins/notices/testdata/golden/google-vertex-model-retirements.json @@ -0,0 +1,765 @@ +[ + { + "id": 1, + "fingerprint": "sha256:ef43ad5bf96238c1c0f4c9e81332efaa8e9e859831388779052f805d89d4babb", + "api": "google/vertex-model-retirements", + "version": "2026-10-20", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-pro" + }, + "description": "Model \"gemini-2.5-pro\" is shut down on 2026-10-20: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Gemini models\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `gemini-2.5-pro` | June 17, 2025 | October 20, 2026 | `gemini-3.8-flash` or `gemini-3.5-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:599e4f28d4387bf45611fdd8781d9a46b553fd4e8607eb1212b4bd9684f88982", + "api": "google/vertex-model-retirements", + "version": "2026-10-20", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash" + }, + "description": "Model \"gemini-2.5-flash\" is shut down on 2026-10-20: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Gemini models\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `gemini-2.5-flash` | June 17, 2025 | October 20, 2026 | `gemini-3.8-flash` or `gemini-3.5-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:8627eb166cc0481d849b3f4a6a41df8dcacfb3cfb780b78907421cbc9916a8ce", + "api": "google/vertex-model-retirements", + "version": "2026-10-20", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash-lite" + }, + "description": "Model \"gemini-2.5-flash-lite\" is shut down on 2026-10-20: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` or Gemma 4 instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Gemini models\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `gemini-2.5-flash-lite` | July 22, 2025 | October 20, 2026 | `gemini-3.8-flash` or `gemini-3.5-flash-lite` or Gemma 4 |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 4, + "fingerprint": "sha256:616b469e2bd6dee6f2a2a02d7e8e575e7bb1bc940ff8ed740a0c092be3ca3bf1", + "api": "google/vertex-model-retirements", + "version": "2026-12-13", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-live-2.5-flash-native-audio", + "replacement": "gemini-3.8-live" + }, + "description": "Model \"gemini-live-2.5-flash-native-audio\" is shut down on 2026-12-13: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-live` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Gemini models\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `gemini-live-2.5-flash-native-audio` | December 12, 2025 | December 13, 2026 | `gemini-3.8-live` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 5, + "fingerprint": "sha256:925571477afb104ac207094b15e93155a25d6f98baf62c651aedf0801415ad39", + "api": "google/vertex-model-retirements", + "version": "2027-03-15", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.5-flash-image", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"gemini-2.5-flash-image\" is shut down on 2027-03-15: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Gemini image models\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `gemini-2.5-flash-image` | October 2, 2025 | March 15, 2027 | `gemini-3.1-flash-lite-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 6, + "fingerprint": "sha256:fd4cc7a2c302199b382abe71f33cf4c81a018d9489eec9194a0bfc6151351791", + "api": "google/vertex-model-retirements", + "version": "2027-04-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "text-embedding-005" + }, + "description": "Model \"text-embedding-005\" is shut down on 2027-04-01: Google requests naming it fail from that date.", + "migration_hint": "Google names no replacement model.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Embeddings models\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `text-embedding-005` | November 18, 2024 | April 1, 2027 | |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 7, + "fingerprint": "sha256:174bced505f842a3e620a58fc0cb37092aa503454ab1dbdf37f74a6e2d3294e9", + "api": "google/vertex-model-retirements", + "version": "2027-04-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "text-embedding-004" + }, + "description": "Model \"text-embedding-004\" is shut down on 2027-04-01: Google requests naming it fail from that date.", + "migration_hint": "Google names no replacement model.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Embeddings models\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `text-embedding-004` | May 14, 2024 | April 1, 2027 | |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 8, + "fingerprint": "sha256:25ba7181945e0eacf132a86af6f7b1f52ad9c0284173544164e064fe3d27eb2b", + "api": "google/vertex-model-retirements", + "version": "2027-04-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "text-multilingual-embedding-002" + }, + "description": "Model \"text-multilingual-embedding-002\" is shut down on 2027-04-01: Google requests naming it fail from that date.", + "migration_hint": "Google names no replacement model.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Embeddings models\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `text-multilingual-embedding-002` | May 14, 2024 | April 1, 2027 | |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 9, + "fingerprint": "sha256:f82b985b94b11005f52d4ea0e58d68759bd90f1d175405558677772deed5f7cf", + "api": "google/vertex-model-retirements", + "version": "2027-04-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "multimodalembedding@001" + }, + "description": "Model \"multimodalembedding@001\" is shut down on 2027-04-01: Google requests naming it fail from that date.", + "migration_hint": "Google names no replacement model.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Embeddings models\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `multimodalembedding@001` | February 12, 2024 | April 1, 2027 | |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 10, + "fingerprint": "sha256:cdcfd1e991b4ace4ae24b878b08f912cc8c8c94d0e92ee797fb7c5ebb205266b", + "api": "google/vertex-model-retirements", + "version": "2027-01-28", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-3.7-flash", + "replacement": "gemini-4-hydrogen" + }, + "description": "Model \"gemini-3.7-flash\" is shut down on 2027-01-28: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-4-hydrogen` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Models available for shorter availability periods\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `gemini-3.7-flash` | August 13, 2026 | January 28, 2027 | `gemini-4-hydrogen` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 11, + "fingerprint": "sha256:6d64ac7272ecbadb5aa9226e29334db0d4d06aae6edd1f60e12c971f901570c1", + "api": "google/vertex-model-retirements", + "version": "2027-01-28", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-3.6-flash", + "replacement": "gemini-4-hydrogen" + }, + "description": "Model \"gemini-3.6-flash\" is shut down on 2027-01-28: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-4-hydrogen` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Models available for shorter availability periods\n| Model ID | Release date | Retirement date | Replacement model ID |\n| `gemini-3.6-flash` | July 21, 2026 | January 28, 2027 | `gemini-4-hydrogen` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 12, + "fingerprint": "sha256:1bb244ddd4fb2ba43a99d295282f8dc123f8c8a010aa81bfcc0076bf3952b456", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-3.0-generate-001", + "replacement": "veo-3.1-generate-001" + }, + "description": "Model \"veo-3.0-generate-001\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `veo-3.1-generate-001` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `veo-3.0-generate-001` | July 29, 2025 | June 30, 2026 | `veo-3.1-generate-001` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 13, + "fingerprint": "sha256:a2bfd320cabd411f16c081f877c3cffc6a1569a66dc65d75e948d8fc0661bf35", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-3.0-fast-generate-001", + "replacement": "veo-3.1-fast-generate-001" + }, + "description": "Model \"veo-3.0-fast-generate-001\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `veo-3.1-fast-generate-001` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `veo-3.0-fast-generate-001` | July 29, 2025 | June 30, 2026 | `veo-3.1-fast-generate-001` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 14, + "fingerprint": "sha256:27b0426581ee7f389c1da65c919535f0bf24c0cae3fc0d87c5aed8d34b7a306c", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "veo-2.0-generate-001", + "replacement": "veo-3.1-generate-001" + }, + "description": "Model \"veo-2.0-generate-001\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `veo-3.1-generate-001` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `veo-2.0-generate-001` | May 27, 2025 | June 30, 2026 | `veo-3.1-generate-001` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 15, + "fingerprint": "sha256:09e4fe7cdc44387c7264a44d655992bd5a27288d6773fd8250a95c12f1d15660", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagen-4.0-generate-001", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"imagen-4.0-generate-001\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement. (Google first named gemini-2.5-flash-image, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `imagen-4.0-generate-001` | August 14, 2025 | June 30, 2026 | `gemini-2.5-flash-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 16, + "fingerprint": "sha256:01e19784f716e18e6de20e5d29b92dc5f693a218ac80a85a6f7faed847df05b2", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagen-4.0-ultra-generate-001", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"imagen-4.0-ultra-generate-001\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement. (Google first named gemini-2.5-flash-image, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `imagen-4.0-ultra-generate-001` | August 14, 2025 | June 30, 2026 | `gemini-2.5-flash-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 17, + "fingerprint": "sha256:457cfeb1eeb477b6ccd703bf5f2aeaa2d50853ec7dece2bd73dae2cb640cb233", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagen-3.0-generate-002", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"imagen-3.0-generate-002\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement. (Google first named gemini-2.5-flash-image, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `imagen-3.0-generate-002` | January 29, 2025 | June 30, 2026 | `gemini-2.5-flash-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 18, + "fingerprint": "sha256:cabfde9da3d23eefa156b740e713fd626a53db013a21c3e1b1bc1a4c318c4e17", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagen-3.0-generate-001", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"imagen-3.0-generate-001\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement. (Google first named gemini-2.5-flash-image, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `imagen-3.0-generate-001` | December 10, 2024 | June 30, 2026 | `gemini-2.5-flash-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 19, + "fingerprint": "sha256:f41ec12b39318c08224fe8faebc6867cfb378bf16e064d9eff2c136d2eaf7020", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagegeneration@006", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"imagegeneration@006\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement. (Google first named gemini-2.5-flash-image, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `imagegeneration@006` | March 27, 2024 | June 30, 2026 | `gemini-2.5-flash-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 20, + "fingerprint": "sha256:856947b84587c850754d47d7f80372527e166991d16dd24de3f80699f89d4ce7", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagegeneration@005", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"imagegeneration@005\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement. (Google first named gemini-2.5-flash-image, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `imagegeneration@005` | November 22, 2023 | June 30, 2026 | `gemini-2.5-flash-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 21, + "fingerprint": "sha256:0ab8d6f6b400873d7eac52fc6f8227a0c46060458d768d10856b0a51e83f30c9", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagegeneration@004", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"imagegeneration@004\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement. (Google first named gemini-2.5-flash-image, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `imagegeneration@004` | | June 30, 2026 | `gemini-2.5-flash-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 22, + "fingerprint": "sha256:fe51a0b57bf9d769cc3d90777822bb63cd7d09aab044be8d8509a9ccb22c3362", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagegeneration@003", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"imagegeneration@003\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement. (Google first named gemini-2.5-flash-image, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `imagegeneration@003` | | June 30, 2026 | `gemini-2.5-flash-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 23, + "fingerprint": "sha256:1310723d3a98db1fb0e54de57834d0a34d98d0f40919b1de6eee68400ffe34d0", + "api": "google/vertex-model-retirements", + "version": "2026-06-30", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagegeneration@002", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"imagegeneration@002\" is shut down on 2026-06-30: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement. (Google first named gemini-2.5-flash-image, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `imagegeneration@002` | August 17, 2023 | June 30, 2026 | `gemini-2.5-flash-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 24, + "fingerprint": "sha256:3fb712cf39ecd4e39fadd64006be677c77fa26c1b0290c0ef1fdbe3c75f77432", + "api": "google/vertex-model-retirements", + "version": "2026-06-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.0-flash", + "replacement": "gemini-3.5-flash-lite" + }, + "description": "Model \"gemini-2.0-flash\" is shut down on 2026-06-01: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.5-flash-lite` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `gemini-2.0-flash` | February 5, 2025 | June 1, 2026 | `gemini-3.5-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 25, + "fingerprint": "sha256:a296a4a21570b7f914e1b77779b91aa200915f8a53a92cc1330e916c6b8ff664", + "api": "google/vertex-model-retirements", + "version": "2026-06-01", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-2.0-flash-lite", + "replacement": "gemini-3.5-flash-lite" + }, + "description": "Model \"gemini-2.0-flash-lite\" is shut down on 2026-06-01: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.5-flash-lite` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `gemini-2.0-flash-lite` | February 25, 2025 | June 1, 2026 | `gemini-3.5-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 26, + "fingerprint": "sha256:28254077d822afb2858f2d40445980c945755d305b5506cde2524c2639c4c52f", + "api": "google/vertex-model-retirements", + "version": "2025-05-24", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-1.5-pro-001" + }, + "description": "Model \"gemini-1.5-pro-001\" is shut down on 2025-05-24: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-2.5-flash, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `gemini-1.5-pro-001` | May 24, 2024 | May 24, 2025 | `gemini-2.5-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 27, + "fingerprint": "sha256:236a1810846de81794735a1b9c73a40d4a4d0ccdccbb77db09a320f53f25f052", + "api": "google/vertex-model-retirements", + "version": "2025-09-24", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-1.5-pro-002" + }, + "description": "Model \"gemini-1.5-pro-002\" is shut down on 2025-09-24: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-2.5-flash, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `gemini-1.5-pro-002` | September 24, 2024 | September 24, 2025 | `gemini-2.5-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 28, + "fingerprint": "sha256:3a54f4a8eb835367ab091e3c8b4fd3cb3b4ab61e713716affbf05adcf18e5648", + "api": "google/vertex-model-retirements", + "version": "2025-05-24", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-1.5-flash-001" + }, + "description": "Model \"gemini-1.5-flash-001\" is shut down on 2025-05-24: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` or Gemma 4 instead: Google's recommended replacement. (Google first named gemini-2.5-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `gemini-1.5-flash-001` | May 24, 2024 | May 24, 2025 | `gemini-2.5-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 29, + "fingerprint": "sha256:64da17ec012eb0d5d98ad9abec413d450998e11e2dcd25823d67d8c3a791a389", + "api": "google/vertex-model-retirements", + "version": "2025-09-24", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-1.5-flash-002" + }, + "description": "Model \"gemini-1.5-flash-002\" is shut down on 2025-09-24: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` or Gemma 4 instead: Google's recommended replacement. (Google first named gemini-2.5-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `gemini-1.5-flash-002` | September 24, 2024 | September 24, 2025 | `gemini-2.5-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 30, + "fingerprint": "sha256:ae5f88ca2317ecabd2ac01b82f6f931deb5adf0015c376b4499f6ea739caf66f", + "api": "google/vertex-model-retirements", + "version": "2025-05-24", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "textembedding-gecko-multilingual@001", + "replacement": "gemini-embedding-001" + }, + "description": "Model \"textembedding-gecko-multilingual@001\" is shut down on 2025-05-24: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-embedding-001` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `textembedding-gecko-multilingual@001` | November 2, 2023 | May 24, 2025 | `gemini-embedding-001` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 31, + "fingerprint": "sha256:643b42a3e2f9609a6a6c922e875cbe1a505c24c98e14f984fff4661dd1c4326a", + "api": "google/vertex-model-retirements", + "version": "2025-04-21", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-1.0-pro-001" + }, + "description": "Model \"gemini-1.0-pro-001\" is shut down on 2025-04-21: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-2.5-flash, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `gemini-1.0-pro-001` | February 15, 2024 | April 21, 2025 | `gemini-2.5-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 32, + "fingerprint": "sha256:de0b474847a57fa37c32bcd2dc877d5ee8d701e04da3021ffbd5a4c0e6cc133b", + "api": "google/vertex-model-retirements", + "version": "2025-04-21", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-1.0-pro-002" + }, + "description": "Model \"gemini-1.0-pro-002\" is shut down on 2025-04-21: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-2.5-flash, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `gemini-1.0-pro-002` | April 9, 2024 | April 21, 2025 | `gemini-2.5-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 33, + "fingerprint": "sha256:71a047e6aa5973d29fb5c14cbad6f3d6d867b44ca1c23708001571ff2defe05f", + "api": "google/vertex-model-retirements", + "version": "2025-04-21", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "gemini-1.0-pro-vision-001" + }, + "description": "Model \"gemini-1.0-pro-vision-001\" is shut down on 2025-04-21: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` instead: Google's recommended replacement. (Google first named gemini-2.5-flash, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `gemini-1.0-pro-vision-001` | February 15, 2024 | April 21, 2025 | `gemini-2.5-flash` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 34, + "fingerprint": "sha256:6ccf6a6ea1e5e02053b07007fd71bc07e2aa55ec01bba21a480316faae823278", + "api": "google/vertex-model-retirements", + "version": "2025-04-21", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "text-bison" + }, + "description": "Model \"text-bison\" is shut down on 2025-04-21: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` or Gemma 4 instead: Google's recommended replacement. (Google first named gemini-2.5-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `text-bison` | May 2023 | April 21, 2025 | `gemini-2.5-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 35, + "fingerprint": "sha256:02b2b6b0d29d49017b545b77d4907cbd03136b1b77d1c8eb7337e9e1eb738607", + "api": "google/vertex-model-retirements", + "version": "2025-04-21", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "chat-bison" + }, + "description": "Model \"chat-bison\" is shut down on 2025-04-21: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` or Gemma 4 instead: Google's recommended replacement. (Google first named gemini-2.5-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `chat-bison` | May 2023 | April 21, 2025 | `gemini-2.5-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 36, + "fingerprint": "sha256:2fc76102654a56b32be0dd835a9d862cfa95f2cafd0afff75334f99cace0db82", + "api": "google/vertex-model-retirements", + "version": "2025-04-21", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "code-gecko" + }, + "description": "Model \"code-gecko\" is shut down on 2025-04-21: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.8-flash` or `gemini-3.5-flash-lite` or Gemma 4 instead: Google's recommended replacement. (Google first named gemini-2.5-flash-lite, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `code-gecko` | May 2023 | April 21, 2025 | `gemini-2.5-flash-lite` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 37, + "fingerprint": "sha256:a9a0bfbedd63c0022a969ca211e7db7045ff9f305110511f22e8a96edb2d809e", + "api": "google/vertex-model-retirements", + "version": "2025-04-21", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "textembedding-gecko@002", + "replacement": "gemini-embedding-001" + }, + "description": "Model \"textembedding-gecko@002\" is shut down on 2025-04-21: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-embedding-001` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `textembedding-gecko@002` | November 2, 2023 | April 21, 2025 | `gemini-embedding-001` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 38, + "fingerprint": "sha256:5ab1b9bb58a2e1bc39a07e87308bfd8b616dab5514f50826beebad3619341215", + "api": "google/vertex-model-retirements", + "version": "2025-04-21", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "textembedding-gecko@001", + "replacement": "gemini-embedding-001" + }, + "description": "Model \"textembedding-gecko@001\" is shut down on 2025-04-21: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-embedding-001` instead: Google's recommended replacement.", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `textembedding-gecko@001` | June 7, 2023 | April 21, 2025 | `gemini-embedding-001` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 39, + "fingerprint": "sha256:e78fa1f0b47b02780b33bdb22a95a9cff1a7635f3e5de8c61bd1d3fc87f7b239", + "api": "google/vertex-model-retirements", + "version": "2025-09-24", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "model", + "provider": "google", + "name": "imagetext", + "replacement": "gemini-3.1-flash-lite-image" + }, + "description": "Model \"imagetext\" is shut down on 2025-09-24: Google requests naming it fail from that date.", + "migration_hint": "Use `gemini-3.1-flash-lite-image` instead: Google's recommended replacement. (Google first named gemini-2.5-flash-image, which is itself retired.)", + "source_url": "https://web.archive.org/web/20261114120000/https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions", + "source_excerpt": "### Retired models\n| Model ID | Release date | Retirement date | Recommended upgrade |\n| `imagetext` | June 7, 2023 | September 24, 2025 | `gemini-2.5-flash-image` |", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/openapi/adapter/cloudflare.go b/plugins/openapi/adapter/cloudflare.go new file mode 100644 index 0000000..e30a1e6 --- /dev/null +++ b/plugins/openapi/adapter/cloudflare.go @@ -0,0 +1,92 @@ +package adapter + +import ( + "context" + "encoding/json" + "fmt" + + "github.com/patch-it-dev/patch-it-plugins/core/fetch" + "github.com/patch-it-dev/patch-it-plugins/core/github" + "github.com/patch-it-dev/patch-it-plugins/core/plugin" +) + +// Variables, not constants, only so tests can point them at a local server. +var ( + cloudflareRepo = "cloudflare/api-schemas" + cloudflarePath = "openapi.json" + // cloudflareCommitsURL lists the commits that changed the spec, newest + // first; with per_page=1, the newest. + cloudflareCommitsURL = "https://api.github.com/repos/cloudflare/api-schemas/commits?path=openapi.json&per_page=1" + // cloudflareCommitURL is one commit, for its date. + cloudflareCommitURL = "https://api.github.com/repos/cloudflare/api-schemas/commits/%s" + // cloudflareSpecURLTemplate is the OpenAPI description of the whole + // Cloudflare API (api.cloudflare.com/client/v4) at one commit of + // cloudflare/api-schemas (BSD-3-Clause), the spec Cloudflare's SDKs and + // Terraform provider are generated from. A bot commits it as "Update + // schema: openapi.json" several times a day and the repo has no tags + // (checked 2026-11-21), so the commits are the versions. About 30 MB; + // openapi.yaml beside it is the same spec. + cloudflareSpecURLTemplate = "https://raw.githubusercontent.com/cloudflare/api-schemas/%s/openapi.json" +) + +// Cloudflare adapts the Cloudflare API's spec in cloudflare/api-schemas for +// the openapi plugin. A tag here is a commit SHA. +type Cloudflare struct{} + +var _ Adapter = Cloudflare{} + +func (Cloudflare) API() string { return "cloudflare/api-spec" } + +// LatestTag is the SHA of the newest commit that changed the spec. +func (Cloudflare) LatestTag(ctx context.Context) (string, error) { + sha, err := github.LatestCommit(ctx, github.Get, cloudflareCommitsURL) + if err != nil { + return "", fmt.Errorf("looking up cloudflare's latest spec commit: %w", err) + } + return sha, nil +} + +// Versions are the days the spec changed, each read at that day's last +// commit (Daily). +func (Cloudflare) Versions(ctx context.Context) ([]plugin.Version, error) { + return commits(ctx, cloudflareRepo, cloudflarePath) +} + +// Fetch downloads the spec at commit sha and moves the server's /client/v4 +// into the paths: see ServerBasePath. Version is the commit's date +// (YYYY-MM-DD): info.version is a fixed "4.0.0" (checked 2026-11-21). +func (Cloudflare) Fetch(ctx context.Context, sha string) (Spec, error) { + fullSHA, date, err := github.Commit(ctx, github.Get, fmt.Sprintf(cloudflareCommitURL, sha)) + if err != nil { + return Spec{}, fmt.Errorf("looking up cloudflare spec commit %s: %w", sha, err) + } + if fullSHA == "" { + return Spec{}, fmt.Errorf("github commit %s has no sha", sha) + } + url := fmt.Sprintf(cloudflareSpecURLTemplate, fullSHA) + body, err := fetch.Get(ctx, url, nil) // raw.githubusercontent.com needs no auth + if err != nil { + return Spec{}, fmt.Errorf("fetching cloudflare spec %s: %w", sha, err) + } + if !json.Valid(body) { + return Spec{}, fmt.Errorf("cloudflare spec %s is not valid json", sha) + } + // The one server is "https://api.cloudflare.com/client/v4" and the + // paths don't repeat it: moved, an operation is named by the path a + // caller sends. + content, err := ServerBasePath(body) + if err != nil { + return Spec{}, fmt.Errorf("cloudflare spec %s: %w", sha, err) + } + return Spec{Content: content, Version: date.UTC().Format("2006-01-02"), SourceURL: url}, nil +} + +// SourcePointer: see BasePathPointer. +func (Cloudflare) SourcePointer(content []byte) func(string) string { + return BasePathPointer(content) +} + +var ( + _ Reshaper = Cloudflare{} + _ Lister = Cloudflare{} +) diff --git a/plugins/openapi/adapter/convex.go b/plugins/openapi/adapter/convex.go index 75ca537..a66d74d 100644 --- a/plugins/openapi/adapter/convex.go +++ b/plugins/openapi/adapter/convex.go @@ -12,19 +12,19 @@ import ( // Variables, not constants, only so tests can point them at a local server. var ( // convexCommitsURL lists the commits that changed the Deployment API - // spec in get-convex/convex-backend, newest first; with per_page=1, the + // spec in convex/convex-backend, newest first; with per_page=1, the // newest. - convexCommitsURL = "https://api.github.com/repos/get-convex/convex-backend/commits?path=npm-packages/@convex-dev/platform/deployment-openapi.json&per_page=1" + convexCommitsURL = "https://api.github.com/repos/convex/convex-backend/commits?path=npm-packages/@convex-dev/platform/deployment-openapi.json&per_page=1" // convexCommitURL is one commit, for its date. - convexCommitURL = "https://api.github.com/repos/get-convex/convex-backend/commits/%s" + convexCommitURL = "https://api.github.com/repos/convex/convex-backend/commits/%s" // convexSpecURLTemplate is the Deployment API spec at one commit: 68 // commits from 2025-08-19 to 2026-11-16 (checked 2026-11-19), and a // commit never changes. - convexSpecURLTemplate = "https://raw.githubusercontent.com/get-convex/convex-backend/%s/npm-packages/@convex-dev/platform/deployment-openapi.json" + convexSpecURLTemplate = "https://raw.githubusercontent.com/convex/convex-backend/%s/npm-packages/@convex-dev/platform/deployment-openapi.json" ) // Convex adapts the Convex Deployment API spec (`{deployment-url}/api/v1`) -// in get-convex/convex-backend for the openapi plugin. A tag here is the +// in convex/convex-backend for the openapi plugin. A tag here is the // commit that last changed the spec, as for Supabase. // // The repo does tag releases, `precompiled-YYYY-MM-DD-` (1,213 of diff --git a/plugins/openapi/adapter/mongodb.go b/plugins/openapi/adapter/mongodb.go new file mode 100644 index 0000000..586d261 --- /dev/null +++ b/plugins/openapi/adapter/mongodb.go @@ -0,0 +1,78 @@ +package adapter + +import ( + "context" + "encoding/json" + "fmt" + + "github.com/patch-it-dev/patch-it-plugins/core/fetch" + "github.com/patch-it-dev/patch-it-plugins/core/github" + "github.com/patch-it-dev/patch-it-plugins/core/plugin" +) + +// Variables, not constants, only so tests can point them at a local server. +var ( + atlasRepo = "mongodb/openapi" + atlasPath = "openapi/v2.json" + // atlasCommitsURL lists the commits that changed the spec, newest first; + // with per_page=1, the newest. + atlasCommitsURL = "https://api.github.com/repos/mongodb/openapi/commits?path=openapi/v2.json&per_page=1" + // atlasCommitURL is one commit, for its date. + atlasCommitURL = "https://api.github.com/repos/mongodb/openapi/commits/%s" + // atlasSpecURLTemplate is the OpenAPI description of the MongoDB Atlas + // Administration API v2 at one commit of mongodb/openapi: every + // operation with every resource version it serves. MongoDB's release + // workflow commits it ("ci(prod): Release OpenAPI Spec") a few times a + // week, 768 commits from 2024-07-25 to 2026-11-19 (checked 2026-11-21); + // the repo's v0.0.N tags mark tooling releases, not the spec. + atlasSpecURLTemplate = "https://raw.githubusercontent.com/mongodb/openapi/%s/openapi/v2.json" +) + +// MongoDBAtlas adapts the Atlas Administration API's spec in mongodb/openapi +// for the openapi plugin. A tag here is a commit SHA. +type MongoDBAtlas struct{} + +var _ Adapter = MongoDBAtlas{} + +func (MongoDBAtlas) API() string { return "mongodb/atlas-admin-spec" } + +// LatestTag is the SHA of the newest commit that changed the spec. +func (MongoDBAtlas) LatestTag(ctx context.Context) (string, error) { + sha, err := github.LatestCommit(ctx, github.Get, atlasCommitsURL) + if err != nil { + return "", fmt.Errorf("looking up mongodb atlas's latest spec commit: %w", err) + } + return sha, nil +} + +// Versions are the days the spec changed, each read at that day's last +// commit (Daily). +func (MongoDBAtlas) Versions(ctx context.Context) ([]plugin.Version, error) { + return commits(ctx, atlasRepo, atlasPath) +} + +// Fetch downloads the spec at commit sha. Version is the commit's date +// (YYYY-MM-DD): info.version is a fixed "2.0", and the resource versions +// (application/vnd.atlas.2025-03-12+json) are per operation, several in one +// spec. The server is https://cloud.mongodb.com with no path: the paths are +// already what a caller sends (/api/atlas/v2/...). +func (MongoDBAtlas) Fetch(ctx context.Context, sha string) (Spec, error) { + fullSHA, date, err := github.Commit(ctx, github.Get, fmt.Sprintf(atlasCommitURL, sha)) + if err != nil { + return Spec{}, fmt.Errorf("looking up mongodb atlas spec commit %s: %w", sha, err) + } + if fullSHA == "" { + return Spec{}, fmt.Errorf("github commit %s has no sha", sha) + } + url := fmt.Sprintf(atlasSpecURLTemplate, fullSHA) + body, err := fetch.Get(ctx, url, nil) // raw.githubusercontent.com needs no auth + if err != nil { + return Spec{}, fmt.Errorf("fetching mongodb atlas spec %s: %w", sha, err) + } + if !json.Valid(body) { + return Spec{}, fmt.Errorf("mongodb atlas spec %s is not valid json", sha) + } + return Spec{Content: body, Version: date.UTC().Format("2006-01-02"), SourceURL: url}, nil +} + +var _ Lister = MongoDBAtlas{} diff --git a/plugins/openapi/adapter/openai.go b/plugins/openapi/adapter/openai.go new file mode 100644 index 0000000..05e14c5 --- /dev/null +++ b/plugins/openapi/adapter/openai.go @@ -0,0 +1,105 @@ +package adapter + +import ( + "context" + "encoding/json" + "fmt" + + "github.com/patch-it-dev/patch-it-plugins/core/fetch" + "github.com/patch-it-dev/patch-it-plugins/core/github" + "github.com/patch-it-dev/patch-it-plugins/core/plugin" + "gopkg.in/yaml.v3" +) + +// Variables, not constants, only so tests can point them at a local server. +var ( + openaiRepo = "openai/openai-openapi" + openaiPath = "openapi.yaml" + // openaiCommitsURL lists the commits that changed the spec, newest + // first; with per_page=1, the newest. + openaiCommitsURL = "https://api.github.com/repos/openai/openai-openapi/commits?path=openapi.yaml&per_page=1" + // openaiCommitURL is one commit, for its date. + openaiCommitURL = "https://api.github.com/repos/openai/openai-openapi/commits/%s" + // openaiSpecURLTemplate is the OpenAPI description of the OpenAI API at + // one commit of openai/openai-openapi (MIT), the spec OpenAI's own SDKs + // are generated from. The repo commits it several times a day (589 + // commits that changed openapi.yaml from 2022-01-19 to 2026-11-21, + // checked 2026-11-21) and tags it seldom (1.3.0, 2.0.0), so the commits + // are the versions. openapi.json beside it only exists from 2026-07-16: + // the YAML has the whole history. + openaiSpecURLTemplate = "https://raw.githubusercontent.com/openai/openai-openapi/%s/openapi.yaml" +) + +// OpenAI adapts the OpenAI API's spec in openai/openai-openapi for the +// openapi plugin. A tag here is a commit SHA. +type OpenAI struct{} + +var _ Adapter = OpenAI{} + +func (OpenAI) API() string { return "openai/api" } + +// LatestTag is the SHA of the newest commit that changed the spec. +func (OpenAI) LatestTag(ctx context.Context) (string, error) { + sha, err := github.LatestCommit(ctx, github.Get, openaiCommitsURL) + if err != nil { + return "", fmt.Errorf("looking up openai's latest spec commit: %w", err) + } + return sha, nil +} + +// Versions are the days the spec changed, each read at that day's last +// commit (Daily): several commits a day is the norm here, and a day is the +// version a caller can name. +func (OpenAI) Versions(ctx context.Context) ([]plugin.Version, error) { + return commits(ctx, openaiRepo, openaiPath) +} + +// Fetch downloads the spec at commit sha, converts it from YAML to JSON (what +// diff.Parse reads) and moves the server's /v1 into the paths: see +// ServerBasePath. Version is the commit's date (YYYY-MM-DD): info.version +// ("2.3.0") isn't bumped with each change, and the API has no dated versions +// of its own. +func (OpenAI) Fetch(ctx context.Context, sha string) (Spec, error) { + fullSHA, date, err := github.Commit(ctx, github.Get, fmt.Sprintf(openaiCommitURL, sha)) + if err != nil { + return Spec{}, fmt.Errorf("looking up openai spec commit %s: %w", sha, err) + } + if fullSHA == "" { + return Spec{}, fmt.Errorf("github commit %s has no sha", sha) + } + url := fmt.Sprintf(openaiSpecURLTemplate, fullSHA) + body, err := fetch.Get(ctx, url, nil) // raw.githubusercontent.com needs no auth + if err != nil { + return Spec{}, fmt.Errorf("fetching openai spec %s: %w", sha, err) + } + content, err := YAMLToJSON(body) + if err != nil { + return Spec{}, fmt.Errorf("openai spec %s: %w", sha, err) + } + // The server is "https://api.openai.com/v1" and the paths don't repeat + // /v1 (checked 2026-11-21): moved, an operation is named by the path a + // caller sends ("POST /v1/audio/translations"). + if content, err = ServerBasePath(content); err != nil { + return Spec{}, fmt.Errorf("openai spec %s: %w", sha, err) + } + return Spec{Content: content, Version: date.UTC().Format("2006-01-02"), SourceURL: url}, nil +} + +// SourcePointer: see BasePathPointer. +func (OpenAI) SourcePointer(content []byte) func(string) string { return BasePathPointer(content) } + +var ( + _ Reshaper = OpenAI{} + _ Lister = OpenAI{} +) + +// YAMLToJSON converts a YAML spec to JSON: diff.Parse reads JSON only, and +// normalize quotes the node it cites re-serialized, never the original bytes, +// so nothing quoted changes. +func YAMLToJSON(body []byte) ([]byte, error) { + var doc any + if err := yaml.Unmarshal(body, &doc); err != nil { + return nil, fmt.Errorf("parsing yaml: %w", err) + } + return json.Marshal(doc) +} diff --git a/plugins/openapi/adapter/versions.go b/plugins/openapi/adapter/versions.go index dd2f0af..966b34e 100644 --- a/plugins/openapi/adapter/versions.go +++ b/plugins/openapi/adapter/versions.go @@ -26,8 +26,14 @@ func releases(ctx context.Context, repo string, keep func(string) bool) ([]plugi return versions.GitHubReleases(ctx, github.Get, repo, keep) } +// commits are the days a file changed, each read at the day's last commit +// (Daily). func commits(ctx context.Context, repo, path string) ([]plugin.Version, error) { - return versions.GitHubCommits(ctx, github.Get, repo, path) + vs, err := versions.GitHubCommits(ctx, github.Get, repo, path) + if err != nil { + return nil, err + } + return Daily(vs), nil } // Versions are stripe/openapi's releases. @@ -62,7 +68,7 @@ func (Neon) Versions(ctx context.Context) ([]plugin.Version, error) { // Versions are the commits that changed Convex's deployment API spec. func (Convex) Versions(ctx context.Context) ([]plugin.Version, error) { - return commits(ctx, "get-convex/convex-backend", "npm-packages/@convex-dev/platform/deployment-openapi.json") + return commits(ctx, "convex/convex-backend", "npm-packages/@convex-dev/platform/deployment-openapi.json") } // Versions are the commits that changed PlanetScale's spec. @@ -233,9 +239,9 @@ func (a Algolia) Versions(ctx context.Context) ([]plugin.Version, error) { return out, nil } -// Versions are the commits on appwrite/specs' default branch that changed -// specs/, oldest first: the ID is the commit's date (Fetch's Version), the -// Ref its SHA, read at the newest minor's directory. +// Versions are the days appwrite/specs' default branch changed specs/, +// oldest first, each at the day's last commit (Daily): the ID is the date +// (Fetch's Version), the Ref the SHA, read at the newest minor's directory. func (a Appwrite) Versions(ctx context.Context) ([]plugin.Version, error) { cs, err := versions.GitHubPages[struct { SHA string `json:"sha"` @@ -258,7 +264,7 @@ func (a Appwrite) Versions(ctx context.Context) ([]plugin.Version, error) { out = append(out, plugin.Version{ID: at.Format(time.DateOnly), Released: at, Ref: c.SHA, URL: c.URL}) } slices.SortStableFunc(out, func(a, b plugin.Version) int { return a.Released.Compare(b.Released) }) - return out, nil + return Daily(out), nil } var ( @@ -269,3 +275,18 @@ var ( _ Lister = Algolia{} _ Lister = Appwrite{} ) + +// Daily keeps one version per day of vs (oldest first, IDs dates, as +// versions.GitHubCommits lists them): the day's last commit, so a spec +// committed several times a day has one version per day, each ID once. +func Daily(vs []plugin.Version) []plugin.Version { + var out []plugin.Version + for _, v := range vs { + if n := len(out); n > 0 && out[n-1].ID == v.ID { + out[n-1] = v + continue + } + out = append(out, v) + } + return out +} diff --git a/plugins/openapi/adapter/versions_test.go b/plugins/openapi/adapter/versions_test.go index 98f10e5..c6be6c3 100644 --- a/plugins/openapi/adapter/versions_test.go +++ b/plugins/openapi/adapter/versions_test.go @@ -151,19 +151,32 @@ func TestAlgoliaListsEveryReleaseTag(t *testing.T) { } } -// Every commit that changed specs/, oldest first, dated. +// Every day specs/ changed, oldest first, at the day's last commit: the 40 +// commits saved fall on 16 days, and a version ID (the date) is named once. func TestAppwriteListsEverySpecCommit(t *testing.T) { srv := recorded(t, map[string]string{"/repos/appwrite/specs/commits?path=specs&per_page=100&page=1": "appwrite-commits.json"}) vs, err := Appwrite{APIBase: srv.URL}.Versions(context.Background()) if err != nil { t.Fatal(err) } - if len(vs) != 40 { - t.Fatalf("%d versions, want 40", len(vs)) + if len(vs) != 16 { + t.Fatalf("%d versions, want 16", len(vs)) } for i := 1; i < len(vs); i++ { - if vs[i].Released.Before(vs[i-1].Released) || len(vs[i].Ref) != 40 { + if !vs[i].Released.After(vs[i-1].Released) || vs[i].ID == vs[i-1].ID || len(vs[i].Ref) != 40 { t.Errorf("%v after %v", vs[i], vs[i-1]) } } } + +// Daily keeps each day's last commit, in order. +func TestDailyKeepsEachDaysLastCommit(t *testing.T) { + in := []plugin.Version{{ID: "2026-10-27", Ref: "a"}, {ID: "2026-10-28", Ref: "b"}, {ID: "2026-10-28", Ref: "c"}, {ID: "2026-10-30", Ref: "d"}} + var got []string + for _, v := range Daily(in) { + got = append(got, v.ID+" "+v.Ref) + } + if want := "2026-10-27 a,2026-10-28 c,2026-10-30 d"; strings.Join(got, ",") != want { + t.Errorf("got %v, want %s", got, want) + } +} diff --git a/plugins/openapi/cloudflare.go b/plugins/openapi/cloudflare.go new file mode 100644 index 0000000..1a1a364 --- /dev/null +++ b/plugins/openapi/cloudflare.go @@ -0,0 +1,39 @@ +package openapi + +import ( + "regexp" + + "github.com/patch-it-dev/patch-it-plugins/core/diff" +) + +// cloudflareDiff is how Cloudflare's spec says what it says: +// +// - Most deprecations use the `deprecated` flag (329 operations in the spec +// of 2026-11-20), and a few only the summary, written as Vercel's are: "List +// datasets (deprecated)", "Deprecated: Retrieve legacy embed code HTML" +// (11 of them). Other summaries and descriptions that say "deprecated" +// are about a parameter or a model, not the operation, so the +// description isn't read. +// - Path parameters are renamed without the URL changing: +// /zones/{zone_identifier}/analytics/dashboard became +// /zones/{zone_id}/analytics/dashboard on 2026-10-30. Matching by path +// template keeps that from reading as a removal. +var cloudflareDiff = diff.Options{PathTemplates: true, QuoteDeprecatedOperation: true, DeprecatedSummary: cloudflareDeprecatedSummary} + +// cloudflareDeprecatedWords: a summary that starts "Deprecated:" or ends +// "(deprecated)". Not "deprecat" anywhere ("Omitting `datasetId` is +// deprecated" is about a parameter). +var cloudflareDeprecatedWords = regexp.MustCompile(`(?i)^deprecated:|\(deprecated\)\s*$`) + +func cloudflareDeprecatedSummary(summary string) bool { + return cloudflareDeprecatedWords.MatchString(summary) +} + +// cloudflareKeep keeps operation deprecations, and removals of operations the +// old spec had marked deprecated. Everything else is dropped: a bot commits +// the 30 MB spec several times a day, and an operation can leave it without +// leaving the API or without notice (between 2026-10-29 and 2026-10-30 POST +// /accounts/move and four GET /tenants/{tenant_id} operations left it, never +// marked deprecated: the drop test), while property changes in the +// generated schemas are mostly the generator's. +var cloudflareKeep = deprecationsOnly(cloudflareDiff) diff --git a/plugins/openapi/cloudflare_test.go b/plugins/openapi/cloudflare_test.go new file mode 100644 index 0000000..807619c --- /dev/null +++ b/plugins/openapi/cloudflare_test.go @@ -0,0 +1,102 @@ +package openapi + +import ( + "context" + "fmt" + "os" + "slices" + "testing" + + "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" + "github.com/patch-it-dev/patch-it-plugins/plugins/openapi/adapter" +) + +// cloudflareDays are the saved excerpts of cloudflare/api-schemas's +// openapi.json (testdata/README.md): day -> the day's last commit. +var cloudflareDays = map[string]string{ + "2026-10-29": "46a48d5eba1d8a839cd8cc5712d2b9368e21e654", + "2026-10-30": "319dc756af2a642b3122b4db7e3b79ac1fbec7d8", +} + +func cloudflareURL(day string) string { + return "https://raw.githubusercontent.com/cloudflare/api-schemas/" + cloudflareDays[day] + "/openapi.json" +} + +// fakeCloudflareAdapter serves the saved excerpts, cited by the real URL each +// was copied from and reshaped as adapter.Cloudflare.Fetch does. +type fakeCloudflareAdapter struct{} + +func (fakeCloudflareAdapter) API() string { return "cloudflare/api-spec" } + +func (fakeCloudflareAdapter) LatestTag(context.Context) (string, error) { return "2026-10-30", nil } + +func (fakeCloudflareAdapter) Fetch(_ context.Context, day string) (adapter.Spec, error) { + if _, ok := cloudflareDays[day]; !ok { + return adapter.Spec{}, fmt.Errorf("no saved copy for %s", day) + } + body, err := os.ReadFile("testdata/cloudflare-" + day + ".json") + if err != nil { + return adapter.Spec{}, err + } + content, err := adapter.ServerBasePath(body) + if err != nil { + return adapter.Spec{}, err + } + return adapter.Spec{Content: content, Version: day, SourceURL: cloudflareURL(day)}, nil +} + +func (fakeCloudflareAdapter) SourcePointer(content []byte) func(string) string { + return adapter.BasePathPointer(content) +} + +func TestCloudflareRegistersItself(t *testing.T) { + kittest.Registered(t, Plugin{Adapter: adapter.Cloudflare{}}) +} + +// cloudflarePair stores the 2026-10-29 -> 2026-10-30 pair: the three +// Registrar domains operations, marked deprecated, left the spec, as did POST +// /accounts/move and GET /tenants/{tenant_id}, never marked. +func cloudflarePair(t *testing.T) []event.Event { + t.Helper() + ctx := context.Background() + s := openStore(t) + p := Plugin{Adapter: fakeCloudflareAdapter{}, Diff: cloudflareDiff, Keep: cloudflareKeep} + if rejected, err := kittest.Pair(ctx, vercelEnv(s), s, p, "2026-10-29", "2026-10-30"); err != nil || rejected { + t.Fatalf("pair: rejected=%v err=%v", rejected, err) + } + return kittest.Stored(t, s) +} + +// The golden test: the removal of the deprecated Registrar domains +// operations, superseded by /registrar/registrations. +func TestCloudflareGolden(t *testing.T) { + events := cloudflarePair(t) + var ops []string + for _, e := range events { + ops = append(ops, e.Subject.Operation) + if e.ChangeType != event.ChangeTypeBreaking || e.Version != "2026-10-30" || e.PreviousVersion != "2026-10-29" || e.SourceURL != cloudflareURL("2026-10-29") { + t.Errorf("%s: %s %s<-%s cites %s", e.Subject.Operation, e.ChangeType, e.Version, e.PreviousVersion, e.SourceURL) + } + } + slices.Sort(ops) + want := []string{ + "GET /client/v4/accounts/{account_id}/registrar/domains", + "GET /client/v4/accounts/{account_id}/registrar/domains/{domain_name}", + "PUT /client/v4/accounts/{account_id}/registrar/domains/{domain_name}", + } + if !slices.Equal(ops, want) { + t.Errorf("operations %v, want %v", ops, want) + } + kittest.Golden(t, "testdata/golden/cloudflare-api-spec.json", events) +} + +// The pinned drop test: POST /accounts/move and GET /tenants/{tenant_id} left +// the same spec without ever being marked deprecated: no event names them. +func TestCloudflareDropsRemovalsThatWerentDeprecated(t *testing.T) { + for _, e := range cloudflarePair(t) { + if e.Subject.Operation == "POST /client/v4/accounts/move" || e.Subject.Operation == "GET /client/v4/tenants/{tenant_id}" { + t.Errorf("event for %s, never deprecated", e.Subject.Operation) + } + } +} diff --git a/plugins/openapi/convex_test.go b/plugins/openapi/convex_test.go index 0d3afcb..f84525f 100644 --- a/plugins/openapi/convex_test.go +++ b/plugins/openapi/convex_test.go @@ -55,7 +55,7 @@ func (fakeConvexAdapter) SourcePointer(content []byte) func(string) string { func convexFile(tag string) string { return "testdata/convex-" + tag + ".json" } func convexURL(tag string) string { - return "https://raw.githubusercontent.com/get-convex/convex-backend/" + convexCommits[tag][0] + "/npm-packages/@convex-dev/platform/deployment-openapi.json" + return "https://raw.githubusercontent.com/convex/convex-backend/" + convexCommits[tag][0] + "/npm-packages/@convex-dev/platform/deployment-openapi.json" } // convexPlugin is the plugin exactly as registered, over the saved copies. diff --git a/plugins/openapi/mongodb.go b/plugins/openapi/mongodb.go new file mode 100644 index 0000000..70e1657 --- /dev/null +++ b/plugins/openapi/mongodb.go @@ -0,0 +1,24 @@ +package openapi + +import "github.com/patch-it-dev/patch-it-plugins/core/diff" + +// atlasDiff is how the Atlas Administration API's spec says what it says: +// +// - Deprecations use the `deprecated` flag (53 operations on 2026-11-19). +// Fourteen operations mention "deprecated" in their description without +// it, each about the deprecated invitation flow ("This resource cannot +// be used to view details about users invited via the deprecated +// Invite One MongoDB Cloud User to Join One Project endpoint"), not the +// operation itself, so the description isn't read. +// - Matching by path template keeps a renamed path parameter from reading +// as a removal. +var atlasDiff = diff.Options{PathTemplates: true, QuoteDeprecatedOperation: true} + +// atlasKeep keeps operation deprecations, and removals of operations the old +// spec had marked deprecated (the tenant backup operations, deprecated and +// then gone between 2025-10 and 2026-11). Everything else is dropped: +// operations that leave the spec unmarked (GET /rest/unauth/version on +// 2024-08-07: the drop test), and schema and property changes, which the +// API's own changelog (mongodb/atlas-admin-api, kind changelog) reports per +// resource version. +var atlasKeep = deprecationsOnly(atlasDiff) diff --git a/plugins/openapi/mongodb_test.go b/plugins/openapi/mongodb_test.go new file mode 100644 index 0000000..3314cea --- /dev/null +++ b/plugins/openapi/mongodb_test.go @@ -0,0 +1,93 @@ +package openapi + +import ( + "context" + "fmt" + "os" + "slices" + "strings" + "testing" + + "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" + "github.com/patch-it-dev/patch-it-plugins/plugins/openapi/adapter" +) + +// atlasDays are the saved excerpts of mongodb/openapi's openapi/v2.json +// (testdata/README.md): day -> the day's last commit. +var atlasDays = map[string]string{ + "2024-07-25": "6ae1e79533409017d2c3251e645aae28aa54bd8b", + "2024-08-07": "96b0555285636db831afeb5a0e9b2dfddbfab2c6", + "2025-02-18": "f7b9298adb18b804230c8516cb533196538a8db9", + "2025-02-20": "28b2c6fc35a44b3272d7afbcaae380e1d28f0e45", +} + +func atlasURL(day string) string { + return "https://raw.githubusercontent.com/mongodb/openapi/" + atlasDays[day] + "/openapi/v2.json" +} + +// fakeAtlasAdapter serves the saved excerpts, cited by the real URL each was +// copied from, as adapter.MongoDBAtlas.Fetch does. +type fakeAtlasAdapter struct{} + +func (fakeAtlasAdapter) API() string { return "mongodb/atlas-admin-spec" } + +func (fakeAtlasAdapter) LatestTag(context.Context) (string, error) { return "2025-02-20", nil } + +func (fakeAtlasAdapter) Fetch(_ context.Context, day string) (adapter.Spec, error) { + if _, ok := atlasDays[day]; !ok { + return adapter.Spec{}, fmt.Errorf("no saved copy for %s", day) + } + body, err := os.ReadFile("testdata/mongodb-atlas-" + day + ".json") + if err != nil { + return adapter.Spec{}, err + } + return adapter.Spec{Content: body, Version: day, SourceURL: atlasURL(day)}, nil +} + +func atlasPlugin() Plugin { + return Plugin{Adapter: fakeAtlasAdapter{}, Diff: atlasDiff, Keep: atlasKeep} +} + +func TestMongoDBAtlasRegistersItself(t *testing.T) { + kittest.Registered(t, Plugin{Adapter: adapter.MongoDBAtlas{}}) +} + +// The golden test: on 2025-02-20 Atlas deprecated 14 user-management +// operations at once, for the move to per-organization and per-project user +// endpoints. Three are saved (POST /users, GET /users/{userId}, GET +// /users/byName/{userName}), with GET /orgs/{orgId}/users, unchanged. +func TestMongoDBAtlasGolden(t *testing.T) { + ctx := context.Background() + s := openStore(t) + if rejected, err := kittest.Pair(ctx, vercelEnv(s), s, atlasPlugin(), "2025-02-18", "2025-02-20"); err != nil || rejected { + t.Fatalf("pair: rejected=%v err=%v", rejected, err) + } + events := kittest.Stored(t, s) + var ops []string + for _, e := range events { + ops = append(ops, e.Subject.Operation) + if e.ChangeType != event.ChangeTypeDeprecation || e.Version != "2025-02-20" || e.PreviousVersion != "2025-02-18" || e.SourceURL != atlasURL("2025-02-20") || !strings.Contains(e.SourceExcerpt, `"deprecated":true`) { + t.Errorf("%s: %s %s<-%s cites %s", e.Subject.Operation, e.ChangeType, e.Version, e.PreviousVersion, e.SourceURL) + } + } + slices.Sort(ops) + want := []string{"GET /api/atlas/v2/users/byName/{userName}", "GET /api/atlas/v2/users/{userId}", "POST /api/atlas/v2/users"} + if !slices.Equal(ops, want) { + t.Errorf("operations %v, want %v", ops, want) + } + kittest.Golden(t, "testdata/golden/mongodb-atlas-admin-spec.json", events) +} + +// The pinned drop test: GET /rest/unauth/version left the spec on 2024-08-07 +// without ever being marked deprecated. No event. +func TestMongoDBAtlasDropsRemovalsThatWerentDeprecated(t *testing.T) { + ctx := context.Background() + s := openStore(t) + if _, err := kittest.Pair(ctx, vercelEnv(s), s, atlasPlugin(), "2024-07-25", "2024-08-07"); err != nil { + t.Fatal(err) + } + if events := kittest.Stored(t, s); len(events) != 0 { + t.Fatalf("stored %d events, want none", len(events)) + } +} diff --git a/plugins/openapi/openai.go b/plugins/openapi/openai.go new file mode 100644 index 0000000..6ece003 --- /dev/null +++ b/plugins/openapi/openai.go @@ -0,0 +1,24 @@ +package openapi + +import "github.com/patch-it-dev/patch-it-plugins/core/diff" + +// openaiDiff is how OpenAI's spec says what it says: +// +// - Deprecations use the `deprecated` flag: in the spec of 2026-11-21, 17 +// operations carry it and none is called deprecated only in its summary +// or description (one description mentions deprecated models, not the +// operation). A flagged operation's description says why and when ("The +// endpoint and model are deprecated and scheduled to shut down on +// February 26, 2027"), so the event quotes the whole operation. +// - Path parameters could be renamed without the URL changing; matching by +// path template keeps a rename from reading as a removal. +var openaiDiff = diff.Options{PathTemplates: true, QuoteDeprecatedOperation: true} + +// openaiKeep keeps operation deprecations, and removals of operations the old +// spec had marked deprecated. Everything else is dropped: the spec is +// committed several times a day, and most of what changes is the spec's own +// shape, not the API (enum lists rewritten as const, schemas regenerated), +// or work in progress pulled the day after it was added (the session +// spending-limit schemas, added on 2026-11-17 and gone on 2026-11-18: the +// drop test). New operations aren't something to fix either. +var openaiKeep = deprecationsOnly(openaiDiff) diff --git a/plugins/openapi/openai_test.go b/plugins/openapi/openai_test.go new file mode 100644 index 0000000..0d307f9 --- /dev/null +++ b/plugins/openapi/openai_test.go @@ -0,0 +1,116 @@ +package openapi + +import ( + "context" + "fmt" + "os" + "strings" + "testing" + + "github.com/patch-it-dev/patch-it-plugins/core/event" + "github.com/patch-it-dev/patch-it-plugins/core/kit/kittest" + "github.com/patch-it-dev/patch-it-plugins/plugins/openapi/adapter" +) + +// openaiDays are the saved excerpts of openai/openai-openapi's openapi.yaml +// (testdata/README.md): day -> the day's last commit, the one Daily reads. +var openaiDays = map[string]string{ + "2026-10-27": "54640e1ce5465c6f2e597ac4b030f9b92ba6d044", + "2026-10-28": "aa880040fa7b23c8a7e3618b5ca757ecec71de95", + "2026-11-17": "b2fe5a5d9eb3a580da5aed1d3ff2a03b3853e4f8", + "2026-11-18": "d4eae433ac22ac1b1f9af8ecfdbd529d6cea082e", +} + +func openaiURL(day string) string { + return "https://raw.githubusercontent.com/openai/openai-openapi/" + openaiDays[day] + "/openapi.yaml" +} + +// fakeOpenAIAdapter serves the saved excerpts, cited by the real URL each was +// copied from and converted and reshaped as adapter.OpenAI.Fetch does. +type fakeOpenAIAdapter struct{} + +func (fakeOpenAIAdapter) API() string { return "openai/api" } + +func (fakeOpenAIAdapter) LatestTag(context.Context) (string, error) { return "2026-11-18", nil } + +func (fakeOpenAIAdapter) Fetch(_ context.Context, day string) (adapter.Spec, error) { + if _, ok := openaiDays[day]; !ok { + return adapter.Spec{}, fmt.Errorf("no saved copy for %s", day) + } + body, err := os.ReadFile("testdata/openai-" + day + ".yaml") + if err != nil { + return adapter.Spec{}, err + } + content, err := adapter.YAMLToJSON(body) + if err != nil { + return adapter.Spec{}, err + } + if content, err = adapter.ServerBasePath(content); err != nil { + return adapter.Spec{}, err + } + return adapter.Spec{Content: content, Version: day, SourceURL: openaiURL(day)}, nil +} + +func (fakeOpenAIAdapter) SourcePointer(content []byte) func(string) string { + return adapter.BasePathPointer(content) +} + +func openaiPlugin() Plugin { + return Plugin{Adapter: fakeOpenAIAdapter{}, Diff: openaiDiff, Keep: openaiKeep} +} + +func TestOpenAIRegistersItself(t *testing.T) { + kittest.Registered(t, Plugin{Adapter: adapter.OpenAI{}}) +} + +// The golden test: on 2026-10-28 ("Mark /audio/translations endpoint as +// deprecated", ff80a233) POST /audio/translations gained the flag and "The +// endpoint and model are deprecated and scheduled to shut down on February +// 26, 2027". The same day added GET and POST /organization/external_keys +// (dropped: new) and left /audio/transcriptions as it was. +func TestOpenAIGolden(t *testing.T) { + ctx := context.Background() + s := openStore(t) + if rejected, err := kittest.Pair(ctx, vercelEnv(s), s, openaiPlugin(), "2026-10-27", "2026-10-28"); err != nil || rejected { + t.Fatalf("pair: rejected=%v err=%v", rejected, err) + } + events := kittest.Stored(t, s) + if len(events) != 1 { + t.Fatalf("stored %d events, want 1", len(events)) + } + e := events[0] + if e.Subject.Operation != "POST /v1/audio/translations" || e.ChangeType != event.ChangeTypeDeprecation || e.Version != "2026-10-28" || e.PreviousVersion != "2026-10-27" { + t.Errorf("got %s %s %s (after %s)", e.ChangeType, e.Subject.Operation, e.Version, e.PreviousVersion) + } + if e.SourceURL != openaiURL("2026-10-28") || e.SourcePointer != "/paths/~1audio~1translations/post" { + t.Errorf("cites %s#%s", e.SourceURL, e.SourcePointer) + } + if !strings.Contains(e.SourceExcerpt, "scheduled to shut down on February 26, 2027") { + t.Errorf("excerpt lacks the shutdown date: %.300s", e.SourceExcerpt) + } + kittest.Golden(t, "testdata/golden/openai-api.json", events) +} + +// The pinned drop test: the session spending-limit schemas added on +// 2026-11-17 were gone on 2026-11-18 ("Remove session spending limit +// features"), never released as anything callers relied on. Three schema +// removals unfiltered, no event. +func TestOpenAIDropsWorkInProgressPulledBack(t *testing.T) { + ctx := context.Background() + s := openStore(t) + if _, err := kittest.Pair(ctx, vercelEnv(s), s, openaiPlugin(), "2026-11-17", "2026-11-18"); err != nil { + t.Fatal(err) + } + if events := kittest.Stored(t, s); len(events) != 0 { + t.Fatalf("stored %d events, want none", len(events)) + } + s = openStore(t) + p := openaiPlugin() + p.Keep = nil + if _, err := kittest.Pair(ctx, vercelEnv(s), s, p, "2026-11-17", "2026-11-18"); err != nil { + t.Fatal(err) + } + if n := len(kittest.Stored(t, s)); n != 3 { + t.Errorf("unfiltered: %d events, want the 3 schema removals", n) + } +} diff --git a/plugins/openapi/openapi.go b/plugins/openapi/openapi.go index 9cb97ef..b38d25e 100644 --- a/plugins/openapi/openapi.go +++ b/plugins/openapi/openapi.go @@ -1,10 +1,8 @@ -// Package openapi is the source plugin for an API that publishes an OpenAPI -// spec per release (Stripe, Datadog, GitLab, GitHub, Vercel, Supabase, -// Algolia, Elasticsearch, Sentry, Neon, Convex, PlanetScale, Appwrite): fetch -// the newest spec, diff it against the last one seen, normalize the changes -// into events, and attach migration hints from the API's changelog when it -// has one. Every release is listed and each consecutive pair diffed -// (ListVersions, ReadAt, Extract). +// Package openapi is the kind for an API that publishes an OpenAPI spec per +// release (a tag, a release, or the commits that changed the spec): every +// release is listed, each consecutive pair diffed (ListVersions, ReadAt, +// Extract), the changes normalized into events, and migration hints +// attached from the API's changelog when it has one. package openapi import ( @@ -145,7 +143,7 @@ func init() { Sources: []plugin.Source{{ ID: "deployment-api", Layer: plugin.LayerAPI, Page: "providers/convex.md", Watches: "Deployment API operations deprecated, and deprecated operations removed, between commits of the spec", - URLs: []string{"https://github.com/get-convex/convex-backend"}, + URLs: []string{"https://github.com/convex/convex-backend"}, Plugin: Plugin{Adapter: adapter.Convex{}, Diff: convexDiff, Keep: convexKeep}, }}, }) @@ -188,6 +186,43 @@ func init() { Plugin: Plugin{Adapter: adapter.Flagsmith{}, Keep: requestSide}, }}, }) + // No Hints: OpenAI's changelog is product news, not keyed by operation. + // Only operation deprecations and removals: see openai.go. + plugin.RegisterProvider(plugin.Provider{ + ID: "openai", Name: "OpenAI", Category: plugin.CategoryAI, Homepage: "https://openai.com", + Sources: []plugin.Source{{ + ID: "api", Layer: plugin.LayerAPI, Page: "providers/openai-api.md", + Watches: "REST API operations deprecated, and deprecated operations removed, day by day in the spec OpenAI's SDKs are generated from", + URLs: []string{"https://github.com/openai/openai-openapi/blob/main/openapi.yaml"}, + Packages: []string{"pypi:openai", "npm:openai"}, + Plugin: Plugin{Adapter: adapter.OpenAI{}, Diff: openaiDiff, Keep: openaiKeep}, + }}, + }) + // No Hints: Cloudflare's changelog is product news, not keyed by + // operation. Only operation deprecations and removals: see cloudflare.go. + // (cloudflare/api is the deprecations feed, registered by plugins/notices.) + plugin.RegisterProvider(plugin.Provider{ + ID: "cloudflare", Name: "Cloudflare", Category: plugin.CategoryInfrastructure, Homepage: "https://www.cloudflare.com", + Sources: []plugin.Source{{ + ID: "api-spec", Layer: plugin.LayerAPI, Page: "providers/cloudflare-api-spec.md", + Watches: "API operations deprecated, and deprecated operations removed, day by day in the spec Cloudflare's SDKs and Terraform provider are generated from", + URLs: []string{"https://github.com/cloudflare/api-schemas/blob/main/openapi.json"}, + Packages: []string{"pypi:cloudflare", "npm:cloudflare"}, + Plugin: Plugin{Adapter: adapter.Cloudflare{}, Diff: cloudflareDiff, Keep: cloudflareKeep}, + }}, + }) + // No Hints: the Atlas changelog is its own source (mongodb/atlas-admin-api, + // kind changelog). Only operation deprecations and removals: see + // mongodb.go. + plugin.RegisterProvider(plugin.Provider{ + ID: "mongodb", Name: "MongoDB", Category: plugin.CategoryDatabases, Homepage: "https://www.mongodb.com", + Sources: []plugin.Source{{ + ID: "atlas-admin-spec", Layer: plugin.LayerAPI, Page: "providers/mongodb-atlas-admin-spec.md", + Watches: "Atlas Administration API v2 operations deprecated, and deprecated operations removed, day by day in MongoDB's published spec", + URLs: []string{"https://github.com/mongodb/openapi/blob/main/openapi/v2.json"}, + Plugin: Plugin{Adapter: adapter.MongoDBAtlas{}, Diff: atlasDiff, Keep: atlasKeep}, + }}, + }) } // requestSide keeps the changes to what callers send. GitLab's response diff --git a/plugins/openapi/registered_test.go b/plugins/openapi/registered_test.go index 489b0c1..f4f07f5 100644 --- a/plugins/openapi/registered_test.go +++ b/plugins/openapi/registered_test.go @@ -8,7 +8,7 @@ import ( ) func TestRegistersItself(t *testing.T) { - for _, a := range []adapter.Adapter{adapter.Stripe{}, adapter.Datadog{}, adapter.GitLab{}, adapter.GitHub{}, adapter.Vercel{}, adapter.Supabase{}, adapter.Algolia{Spec: "search"}, adapter.Algolia{Spec: "ingestion"}, adapter.Algolia{Spec: "recommend"}, adapter.Elasticsearch{}, adapter.Sentry{}, adapter.Neon{}, adapter.Convex{}, adapter.PlanetScale{}, adapter.Appwrite{}} { + for _, a := range []adapter.Adapter{adapter.Stripe{}, adapter.Datadog{}, adapter.GitLab{}, adapter.GitHub{}, adapter.Vercel{}, adapter.Supabase{}, adapter.Algolia{Spec: "search"}, adapter.Algolia{Spec: "ingestion"}, adapter.Algolia{Spec: "recommend"}, adapter.Elasticsearch{}, adapter.Sentry{}, adapter.Neon{}, adapter.Convex{}, adapter.PlanetScale{}, adapter.Appwrite{}, adapter.OpenAI{}, adapter.Cloudflare{}, adapter.MongoDBAtlas{}} { kittest.Registered(t, Plugin{Adapter: a}) } } diff --git a/plugins/openapi/testdata/README.md b/plugins/openapi/testdata/README.md index 2e5210d..c544076 100644 --- a/plugins/openapi/testdata/README.md +++ b/plugins/openapi/testdata/README.md @@ -31,8 +31,8 @@ Each pair is a real breaking change between two releases of a provider's own spe | `neon-5c57d009.json`, `neon-93b93dc9.json` | https://raw.githubusercontent.com/neondatabase/neon-pkgs/5c57d0095a9a4594a3c8b09d499b132902e7c42e/packages/sdk/spec/neon-openapi.json (and `93b93dc9e4d1b4ab48dac6c8ccba76b35541b476`) | 2026-11-19 | Excerpt for testing; © Neon. neondatabase/neon-pkgs is Apache-2.0, but the spec's own `info.license` says "Proprietary" | "Deprecated: to test a branch's already-saved configuration, use `sendNeonAuthEmailProviderTest`" (`POST /projects/{project_id}/branches/{branch_id}/auth/send_test_email`, new in `93b93dc9`) | | `neon-4c6b3be4.json`, `neon-4497de89.json` | https://raw.githubusercontent.com/neondatabase/neon-pkgs/4c6b3be46b1b333e7f910db51218ad144de27179/packages/sdk/spec/neon-openapi.json (and `4497de89a5e84b38956fde686d271f99317b8fdb`) | 2026-11-19 | Excerpt for testing; © Neon. neondatabase/neon-pkgs is Apache-2.0, but the spec's own `info.license` says "Proprietary" | `"/projects/{project_id}/branches/{branch_id}/recover": {` (in `4c6b3be4`, gone in `4497de89` without being deprecated): the drop test | | `neon-api-client-2.7.2.yaml`, `neon-api-client-2.7.3.yaml` | `public-v2-for-users.gen.yaml` in https://registry.npmjs.org/@neondatabase/api-client/-/api-client-2.7.2.tgz (and `api-client-2.7.3.tgz`) | 2026-11-19 | Excerpt for testing; © Neon. The package is MIT, but the spec's own `info.license` says "Proprietary" | "**Deprecated.** Use `GET /consumption_history/projects` (`getConsumptionHistoryPerProject`)" (`GET /consumption_history/account`, in 2.7.2, gone in 2.7.3) | -| `convex-f35879bb.json`, `convex-5e5159cb.json` | https://raw.githubusercontent.com/get-convex/convex-backend/f35879bb396491942bf8ecbc8ef5e4280499f89f/npm-packages/@convex-dev/platform/deployment-openapi.json (and `5e5159cbea5188e9da5400febda1b031a233eea0`) | 2026-11-19 | FSL-1.1-Apache-2.0 (get-convex/convex-backend `LICENSE.md`; the spec's own `info.license` is `LicenseRef-FSL-1.1-Apache-2.0`): excerpt for testing, © Convex, Inc.; maintainers, please confirm | "Deprecated: use `GET /integrations` instead." (`GET /list_log_streams`, and five more log stream operations, new in `5e5159cb`) | -| `convex-3f6edf7a.json`, `convex-3ead9091.json` | https://raw.githubusercontent.com/get-convex/convex-backend/3f6edf7ab8f3f98e027f317633246a19348eabcc/npm-packages/@convex-dev/platform/deployment-openapi.json (and `3ead909103b7f5897f529c031e80991ad174b07e`) | 2026-11-19 | FSL-1.1-Apache-2.0 (get-convex/convex-backend `LICENSE.md`; the spec's own `info.license` is `LicenseRef-FSL-1.1-Apache-2.0`): excerpt for testing, © Convex, Inc.; maintainers, please confirm | `"name": {` in `UsageLimitConfigRequest` and `UsageLimitConfigResponse` (in `3f6edf7a`, gone in `3ead9091` without being deprecated): the drop test | +| `convex-f35879bb.json`, `convex-5e5159cb.json` | https://raw.githubusercontent.com/convex/convex-backend/f35879bb396491942bf8ecbc8ef5e4280499f89f/npm-packages/@convex-dev/platform/deployment-openapi.json (and `5e5159cbea5188e9da5400febda1b031a233eea0`) | 2026-11-19 | FSL-1.1-Apache-2.0 (convex/convex-backend `LICENSE.md`; the spec's own `info.license` is `LicenseRef-FSL-1.1-Apache-2.0`): excerpt for testing, © Convex, Inc.; maintainers, please confirm | "Deprecated: use `GET /integrations` instead." (`GET /list_log_streams`, and five more log stream operations, new in `5e5159cb`) | +| `convex-3f6edf7a.json`, `convex-3ead9091.json` | https://raw.githubusercontent.com/convex/convex-backend/3f6edf7ab8f3f98e027f317633246a19348eabcc/npm-packages/@convex-dev/platform/deployment-openapi.json (and `3ead909103b7f5897f529c031e80991ad174b07e`) | 2026-11-19 | FSL-1.1-Apache-2.0 (convex/convex-backend `LICENSE.md`; the spec's own `info.license` is `LicenseRef-FSL-1.1-Apache-2.0`): excerpt for testing, © Convex, Inc.; maintainers, please confirm | `"name": {` in `UsageLimitConfigRequest` and `UsageLimitConfigResponse` (in `3f6edf7a`, gone in `3ead9091` without being deprecated): the drop test | | `planetscale-e631095a.yaml`, `planetscale-fc13e09d.yaml` | https://raw.githubusercontent.com/planetscale/terraform-provider-planetscale/e631095aa649a6797578a1d51d861b91e0568aa1/schemas/openapi.yaml (and `fc13e09d0c18b893aabd3e02d175d13957bba677`) | 2026-11-19 | none stated for the file (its `info` says "© 2026 PlanetScale, Inc."); the repo, planetscale/terraform-provider-planetscale, is Apache-2.0. Excerpt for testing; © PlanetScale | "Deprecated. Use GET /organizations/:organization/databases/:database/branches/:branch/change-requests instead." (`GET .../neki-changes`, new in `fc13e09d`) | | `planetscale-b49c3540.yaml`, `planetscale-f6d6ad4d.yaml` | https://raw.githubusercontent.com/planetscale/terraform-provider-planetscale/b49c354080667638b79781801f0517ae07bc55b8/schemas/openapi.yaml (and `f6d6ad4d3929f6c1ef021eb13c1541ba31f72107`) | 2026-11-19 | none stated for the file (its `info` says "© 2026 PlanetScale, Inc."); the repo, planetscale/terraform-provider-planetscale, is Apache-2.0. Excerpt for testing; © PlanetScale | `/organizations/{organization}/databases/{database}/branches/{branch}/read-only-replicas:` (in `b49c3540`, never deprecated, gone in `f6d6ad4d`, where `.../dedicated-read-replicas:` is): the drop test | | `appwrite-1.9.x-8c00ba35-server.json`, `appwrite-1.9.x-7d74bf9f-server.json` | https://raw.githubusercontent.com/appwrite/specs/8c00ba356b01d43fbc6c88c60fb2a4fc99e04b40/specs/1.9.x/open-api3-1.9.x-server.json (and `7d74bf9f3c0c990745e822f5935bcfaca310fd06`) | 2026-11-19 | BSD-3-Clause (appwrite/specs) | `"replaceWith": "tablesDB.createTransaction"` (`x-appwrite.deprecated` of `POST /databases/transactions`, flagged in `7d74bf9f` with 13 more) | @@ -58,3 +58,8 @@ The Appwrite copies keep `openapi`, `info`, `servers` and the path items involve Stripe's spec isn't saved here: its tests use small specs written inline. The Flagsmith copies are trimmed by lines: `openapi`, `info` and `servers`, then the path items involved (`paths: {}` where none remain, the one line in `v2.287.0.yaml` that isn't in the original) and, under `components: schemas:`, every schema those paths' request bodies reach, transitively, whole and in original order, every line copied unchanged; `tags` and `security` left out. `FeatureValue`, `FeatureValueTypeEnum` and `MultivariateValue` are kept unchanged in both files because the real spec still has them at `v2.287.0` (other, unremoved operations use them too); every other schema the removed paths reached (`DeleteSegmentOverride`, `EnvironmentDefault`, `FeatureIdentifier`, `FeatureUpdateSegmentData`, `SegmentIdentifier`, `SegmentOverride`, `UpdateFlag`, `UpdateFlagV2`) really is gone in `v2.287.0`, confirmed against the full file. The drop-test pair is two commits, not tags, kept whole but for the same trim (`TokenExchangeResponse` and the `Master API Key` security scheme, the only two places that commit touched `openapi.yaml`). +| `openai-2026-10-27.yaml`, `openai-2026-10-28.yaml` | https://raw.githubusercontent.com/openai/openai-openapi/54640e1ce5465c6f2e597ac4b030f9b92ba6d044/openapi.yaml (and `aa880040fa7b23c8a7e3618b5ca757ecec71de95`), the last commits of 2026-10-27 and 2026-10-28; trimmed to `info`, `servers` and the paths `/audio/translations`, `/audio/transcriptions` (and `/organization/external_keys`, new on 2026-10-28) | 2026-11-21 | MIT (openai/openai-openapi) | "The endpoint and model are deprecated and scheduled to shut down on February 26, 2027." (`POST /audio/translations`, flagged on 2026-10-28) | +| `openai-2026-11-17.yaml`, `openai-2026-11-18.yaml` | https://raw.githubusercontent.com/openai/openai-openapi/b2fe5a5d9eb3a580da5aed1d3ff2a03b3853e4f8/openapi.yaml (and `d4eae433ac22ac1b1f9af8ecfdbd529d6cea082e`); trimmed to `info`, `servers` and the schemas `SessionBudgetControlParams`, `SessionBudgetControlResource`, `SessionEventAgentSessionBudgetReached` | 2026-11-21 | MIT (openai/openai-openapi) | `SessionBudgetControlParams:` (in 2026-11-17, gone in 2026-11-18, "Remove session spending limit features"): the drop test | +| `cloudflare-2026-10-29.json`, `cloudflare-2026-10-30.json` | https://raw.githubusercontent.com/cloudflare/api-schemas/46a48d5eba1d8a839cd8cc5712d2b9368e21e654/openapi.json (and `319dc756af2a642b3122b4db7e3b79ac1fbec7d8`), the last commits of 2026-10-29 and 2026-10-30; trimmed to `openapi`, `info`, `servers` and five paths, re-indented as published (2 spaces) | 2026-11-21 | BSD-3-Clause (cloudflare/api-schemas) | "This operation is deprecated and will reach end of life on September 27, 2026." (`GET /accounts/{account_id}/registrar/domains`, in 2026-10-29, gone in 2026-10-30) | +| `mongodb-atlas-2025-02-18.json`, `mongodb-atlas-2025-02-20.json` | https://raw.githubusercontent.com/mongodb/openapi/f7b9298adb18b804230c8516cb533196538a8db9/openapi/v2.json (and `28b2c6fc35a44b3272d7afbcaae380e1d28f0e45`), the last commits of 2025-02-18 and 2025-02-20; trimmed to `openapi`, `info`, `servers` and four `/api/atlas/v2/users` and `/orgs/{orgId}/users` paths | 2026-11-21 | Excerpt for testing; © MongoDB, CC BY-NC-SA 3.0 US (the spec's `info.license`) | `"deprecated": true` (`GET /api/atlas/v2/users/byName/{userName}`, new in 2025-02-20) | +| `mongodb-atlas-2024-07-25.json`, `mongodb-atlas-2024-08-07.json` | https://raw.githubusercontent.com/mongodb/openapi/6ae1e79533409017d2c3251e645aae28aa54bd8b/openapi/v2.json (and `96b0555285636db831afeb5a0e9b2dfddbfab2c6`); trimmed to `openapi`, `info`, `servers` and the paths `/rest/unauth/version`, `/api/atlas/v2` | 2026-11-21 | Excerpt for testing; © MongoDB, CC BY-NC-SA 3.0 US | `"/rest/unauth/version": {` (in 2024-07-25, gone in 2024-08-07, never deprecated): the drop test | diff --git a/plugins/openapi/testdata/cloudflare-2026-10-29.json b/plugins/openapi/testdata/cloudflare-2026-10-29.json new file mode 100644 index 0000000..f26670f --- /dev/null +++ b/plugins/openapi/testdata/cloudflare-2026-10-29.json @@ -0,0 +1,1200 @@ +{ + "openapi": "3.0.3", + "info": { + "description": "Welcome to Cloudflare's API documentation site. We are experimenting with an updated version of our API documentation - check out [developers.cloudflare.com/api-next/](https://developers.cloudflare.com/api-next/) to test out the new experience.\n\nTo get started using Cloudflare's products and services via the API, refer to [how to interact with Cloudflare](https://developers.cloudflare.com/fundamentals/basic-tasks/interact-with-cloudflare/), which covers using tools like [Terraform](https://developers.cloudflare.com/terraform/#cloudflare-terraform) and the [official SDKs](https://developers.cloudflare.com/fundamentals/api/reference/sdks/) to maintain your Cloudflare resources.\n\nUsing the Cloudflare API requires authentication so that Cloudflare knows who is making requests and what permissions you have. Create an API token to grant access to the API to perform actions. You can also authenticate with [API keys](https://developers.cloudflare.com/fundamentals/api/get-started/keys/), but these keys have [several limitations](https://developers.cloudflare.com/fundamentals/api/get-started/keys/#limitations) that make them less secure than API tokens. Whenever possible, use API tokens to interact with the Cloudflare API.\n\nTo create an API token, from the Cloudflare dashboard, go to My Profile > API Tokens and select Create Token. For more information on how to create and troubleshoot API tokens, refer to\nour [API fundamentals](https://developers.cloudflare.com/fundamentals/api/).\n\nFor information regarding rate limits, refer to our [API Rate Limits](https://developers.cloudflare.com/cloudflare-for-platforms/workers-for-platforms/platform/limits/#api-rate-limits).\n\nTotally new to Cloudflare? [Start here](https://developers.cloudflare.com/fundamentals/get-started/).", + "license": { + "name": "BSD-3-Clause", + "url": "https://opensource.org/licenses/BSD-3-Clause" + }, + "title": "Cloudflare API", + "version": "4.0.0" + }, + "servers": [ + { + "description": "Client API", + "url": "https://api.cloudflare.com/client/v4" + } + ], + "paths": { + "/accounts/move": { + "post": { + "operationId": "Accounts_batchMoveAccounts", + "summary": "Batch move accounts", + "description": "Batch move a collection of accounts to a specific organization. ⚠️ Not implemented.", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "account_ids": { + "description": "Move these accounts to the destination organization.", + "type": "array", + "items": { + "type": "string" + } + }, + "destination_organization_id": { + "description": "Move accounts to this organization ID.", + "type": "string" + } + }, + "required": [ + "account_ids", + "destination_organization_id" + ] + } + } + } + }, + "responses": { + "200": { + "description": "The request has succeeded.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "object" + }, + "maxItems": 0 + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organizations-api_V4Message" + } + }, + "result": { + "$ref": "#/components/schemas/organizations-api_BatchAccountMoveResponse" + }, + "success": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "required": [ + "success", + "errors", + "messages", + "result" + ] + } + } + } + }, + "4XX": { + "description": "An unexpected error response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organizations-api_V4ErrorResponse" + } + } + } + } + }, + "security": [ + { + "api_email": [], + "api_key": [] + } + ], + "tags": [ + "Accounts" + ], + "x-fern-availability": "alpha", + "x-fern-ignore": true, + "x-fern-sdk-group-name": "accounts.batch", + "x-fern-sdk-method-name": "move" + } + }, + "/accounts/{account_id}/registrar/domains": { + "get": { + "operationId": "registrar-domains-list-domains", + "summary": "List domains", + "description": "Lists domains handled by Registrar.", + "parameters": [ + { + "name": "account_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/registrar-api_identifier" + } + } + ], + "responses": { + "200": { + "description": "List domains response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/registrar-api_domain_response_collection" + } + } + } + }, + "4XX": { + "description": "List domains response failure.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/registrar-api_api-response-common-failure" + } + } + } + } + }, + "deprecated": true, + "security": [ + { + "api_email": [], + "api_key": [], + "api_token": [] + } + ], + "tags": [ + "Registrar Domains" + ], + "x-api-token-group": null, + "x-fern-ignore": true, + "x-fern-sdk-group-name": "registrar.legacy", + "x-fern-sdk-method-name": "list-domains", + "x-stainless-deprecation-message": "This operation is deprecated and will reach end of life on September 27, 2026. Use the new Registrar API endpoints (domain-search, domain-check, registrations) instead. Refer to https://developers.cloudflare.com/fundamentals/api/reference/deprecations/ for details." + } + }, + "/accounts/{account_id}/registrar/domains/{domain_name}": { + "get": { + "operationId": "registrar-domains-get-domain", + "summary": "Get domain", + "description": "Show individual domain.", + "parameters": [ + { + "name": "domain_name", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/registrar-api_domain_name" + } + }, + { + "name": "account_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/registrar-api_identifier" + } + } + ], + "responses": { + "200": { + "description": "Get domain response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/registrar-api_domain_response_single" + } + } + } + }, + "4XX": { + "description": "Get domain response failure.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/registrar-api_api-response-common-failure" + } + } + } + } + }, + "deprecated": true, + "security": [ + { + "api_email": [], + "api_key": [], + "api_token": [] + } + ], + "tags": [ + "Registrar Domains" + ], + "x-api-token-group": null, + "x-fern-ignore": true, + "x-fern-sdk-group-name": "registrar.legacy", + "x-fern-sdk-method-name": "get-domain", + "x-stainless-deprecation-message": "This operation is deprecated and will reach end of life on September 27, 2026. Use the new Registrar API endpoints (domain-search, domain-check, registrations) instead. Refer to https://developers.cloudflare.com/fundamentals/api/reference/deprecations/ for details." + }, + "put": { + "operationId": "registrar-domains-update-domain", + "summary": "Update domain", + "description": "Updates an individual domain.", + "parameters": [ + { + "name": "domain_name", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/registrar-api_domain_name" + } + }, + { + "name": "account_id", + "in": "path", + "required": true, + "schema": { + "$ref": "#/components/schemas/registrar-api_identifier" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/registrar-api_domain_update_properties" + } + } + } + }, + "responses": { + "200": { + "description": "Update domain response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/registrar-api_domain_response_single" + } + } + } + }, + "4XX": { + "description": "Update domain response failure.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/registrar-api_api-response-common-failure" + } + } + } + } + }, + "deprecated": true, + "security": [ + { + "api_email": [], + "api_key": [], + "api_token": [] + } + ], + "tags": [ + "Registrar Domains" + ], + "x-api-token-group": null, + "x-fern-ignore": true, + "x-fern-sdk-group-name": "registrar.legacy", + "x-fern-sdk-method-name": "update-domain", + "x-stainless-deprecation-message": "This operation is deprecated and will reach end of life on September 27, 2026. Use the new Registrar API endpoints (domain-search, domain-check, registrations) instead. Refer to https://developers.cloudflare.com/fundamentals/api/reference/deprecations/ for details." + } + }, + "/accounts/{account_id}/registrar/registrations": { + "get": { + "operationId": "registrar-domain-registration-list", + "summary": "List Registrations", + "description": "Returns a paginated list of domain registrations owned by the account.\n\nThis endpoint uses cursor-based pagination. Results are ordered by registration\ndate by default. To fetch the next page, pass the `cursor` value from the\n`result_info` object in the response as the `cursor` query parameter in\nyour next request. An empty `cursor` string indicates there are no more\npages.\n", + "parameters": [ + { + "name": "account_id", + "in": "path", + "description": "Cloudflare account ID.", + "required": true, + "schema": { + "$ref": "#/components/schemas/registrar-api_identifier" + } + }, + { + "$ref": "#/components/parameters/registrar-api_cursor_pagination_cursor" + }, + { + "$ref": "#/components/parameters/registrar-api_cursor_pagination_per_page" + }, + { + "$ref": "#/components/parameters/registrar-api_cursor_pagination_direction" + }, + { + "name": "sort_by", + "in": "query", + "description": "Column to sort results by. Defaults to registration date (`registry_created_at`) when omitted.", + "schema": { + "type": "string", + "default": "registry_created_at", + "enum": [ + "registry_created_at", + "registry_expires_at", + "name" + ] + } + } + ], + "responses": { + "200": { + "description": "List of registrations for the account.", + "content": { + "application/json": { + "examples": { + "empty_account": { + "summary": "Account with no registrations", + "value": { + "errors": [], + "messages": [], + "result": [], + "result_info": { + "count": 0, + "cursor": "", + "per_page": 20 + }, + "success": true + } + }, + "multiple_domains": { + "summary": "Account with multiple domains", + "value": { + "errors": [], + "messages": [], + "result": [ + { + "auto_renew": true, + "created_at": "2025-01-15T10:00:00Z", + "domain_name": "example.com", + "expires_at": "2026-01-15T10:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2025-03-20T14:30:00Z", + "domain_name": "mybrand.dev", + "expires_at": "2026-03-20T14:30:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + } + ], + "result_info": { + "count": 2, + "cursor": "", + "per_page": 20 + }, + "success": true + } + }, + "next_page": { + "description": "Response when fetching the next page by passing the cursor from a previous response. The empty cursor indicates this is the last page.", + "summary": "Next page of results (last page)", + "value": { + "errors": [], + "messages": [], + "result": [ + { + "auto_renew": true, + "created_at": "2025-04-01T09:00:00Z", + "domain_name": "charlie.org", + "expires_at": "2026-04-01T09:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + } + ], + "result_info": { + "count": 1, + "cursor": "", + "per_page": 20 + }, + "success": true + } + }, + "paginated": { + "summary": "First page with more results available", + "value": { + "errors": [], + "messages": [], + "result": [ + { + "auto_renew": true, + "created_at": "2024-01-15T09:30:00Z", + "domain_name": "acmecorp.com", + "expires_at": "2026-01-15T09:30:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-02-20T14:00:00Z", + "domain_name": "brightwave.net", + "expires_at": "2026-02-20T14:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-03-05T11:15:00Z", + "domain_name": "cloudpeak.org", + "expires_at": "2026-03-05T11:15:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-03-22T08:45:00Z", + "domain_name": "solarpanel.io", + "expires_at": "2026-03-22T08:45:00Z", + "locked": true, + "privacy_mode": "off", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2024-04-10T16:00:00Z", + "domain_name": "greenleaf.dev", + "expires_at": "2026-04-10T16:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-05-03T10:30:00Z", + "domain_name": "swiftrunner.app", + "expires_at": "2026-05-03T10:30:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2024-05-18T13:00:00Z", + "domain_name": "northerntrail.co", + "expires_at": "2025-05-18T13:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "expired" + }, + { + "auto_renew": true, + "created_at": "2024-06-01T07:20:00Z", + "domain_name": "pixelforge.xyz", + "expires_at": "2026-06-01T07:20:00Z", + "locked": false, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-06-25T15:45:00Z", + "domain_name": "oceandrift.com", + "expires_at": "2026-06-25T15:45:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-07-12T09:00:00Z", + "domain_name": "rocketlaunch.net", + "expires_at": "2026-07-12T09:00:00Z", + "locked": true, + "privacy_mode": "off", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2024-08-08T12:30:00Z", + "domain_name": "blueprintlab.io", + "expires_at": "2026-08-08T12:30:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-09-01T18:00:00Z", + "domain_name": "maplewood.org", + "expires_at": "2026-09-01T18:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2024-09-20T10:15:00Z", + "domain_name": "thunderbolt.dev", + "expires_at": "2025-09-20T10:15:00Z", + "locked": false, + "privacy_mode": "off", + "status": "expired" + }, + { + "auto_renew": true, + "created_at": "2024-10-05T14:45:00Z", + "domain_name": "silverbranch.app", + "expires_at": "2026-10-05T14:45:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-11-11T08:00:00Z", + "domain_name": "nightowl.co", + "expires_at": "2026-11-11T08:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-12-01T11:30:00Z", + "domain_name": "crimsongate.com", + "expires_at": "2026-12-01T11:30:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2025-01-07T16:20:00Z", + "domain_name": "frostedpine.net", + "expires_at": "2027-01-07T16:20:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2025-01-25T09:50:00Z", + "domain_name": "horizonline.xyz", + "expires_at": "2027-01-25T09:50:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2025-02-14T13:00:00Z", + "domain_name": "coppervine.io", + "expires_at": "2027-02-14T13:00:00Z", + "locked": true, + "privacy_mode": "off", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2025-03-02T07:40:00Z", + "domain_name": "starlitpath.org", + "expires_at": "2027-03-02T07:40:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + } + ], + "result_info": { + "count": 20, + "cursor": "eyJ0IjoiMjAyNS0wNi0xNVQxMjowMDowMC4wMDAwMDBaIiwibiI6ImJyYXZvLm5ldCJ9", + "per_page": 20 + }, + "success": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_registration-response-collection" + } + } + } + }, + "4XX": { + "description": "List registrations failure.", + "content": { + "application/json": { + "examples": { + "invalid_cursor": { + "summary": "Invalid cursor", + "value": { + "errors": [ + { + "code": 10000, + "message": "Invalid pagination cursor" + } + ], + "messages": [], + "result": null, + "success": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_api-response-common-failure" + } + } + } + } + }, + "security": [ + { + "api_token": [] + }, + { + "api_email": [], + "api_key": [] + } + ], + "tags": [ + "Registrar Registration" + ], + "x-fern-availability": "generally-available", + "x-fern-sdk-group-name": "registrar.registrations", + "x-fern-sdk-method-name": "list" + }, + "post": { + "operationId": "registrar-domain-registration-create", + "summary": "Create Registration", + "description": "Starts a domain registration workflow. This is a billable operation — successful\nregistration charges the account's default payment method. All successful\ndomain registrations are non-refundable — once the workflow completes with\n`state: succeeded`, the charge cannot be reversed.\n\n### Prerequisites\n- The account must have a billing profile with a valid default payment method.\n Set this up at `https://dash.cloudflare.com/{account_id}/billing/payment-info`.\n- The account must not already be at the maximum supported domain limit.\n A single account may own up to 500 domains in total across registrations\n created through either the dashboard or this API.\n- The domain must be on a supported extension for programmatic registration.\n- Use `POST /domain-check` immediately before calling this endpoint to confirm\n real-time availability and pricing.\n\n### Supported extensions\n\nThis API supports programmatic registration for all extensions supported by\nthe dashboard experience, with the following exceptions:\n\n`giving`, `mom`, `inc`, `lol`, `sh`, `link`, `cc`, `new`\n\nCloudflare Registrar supports 400+ extensions in the dashboard. Extensions\nlisted above can be registered at\n`https://dash.cloudflare.com/{account_id}/domains/registrations`.\n\n### Express mode\nThe only required field is `domain_name`. If `contacts` is omitted, the system\nuses the account's default address book entry as the registrant. If no default\nexists and no contact is provided, the request fails. Set up a default address\nbook entry and accept the required agreement at\n`https://dash.cloudflare.com/{account_id}/domains/registrations`.\n\n### Defaults\n- `years`: defaults to the extension's minimum registration period (1 year for\n most extensions, but varies — for example, `.ai` (if supported) requires a minimum of 2 years).\n- `auto_renew`: defaults to `false`. Setting it to `true` is an explicit\n opt-in authorizing Cloudflare to charge the account's default payment\n method up to 30 days before domain expiry to renew the registration.\n Renewal pricing may change over time based on registry pricing.\n- `privacy_mode`: defaults to `redaction`.\n\n### Premium domains\nPremium domain registration is not currently supported by this API.\nIf `POST /domain-check` returns `tier: premium`, do not call this\nendpoint for that domain.\n\n### Response behavior\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the registration completes. Most registrations finish\nwithin this window and return `201 Created` with a completed workflow status.\n\nIf the registration is still processing after this synchronous wait window,\nthe server returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.\n", + "parameters": [ + { + "name": "account_id", + "in": "path", + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "required": true, + "schema": { + "$ref": "#/components/schemas/registrar-api_identifier" + } + }, + { + "name": "Prefer", + "in": "header", + "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n\nThe header may be combined with other preferences using standard\ncomma-separated syntax.\n", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "examples": { + "ca_with_contact_extensions": { + "description": "CA registrations require a registrant legal type.\nProvide the required value in `contact_extensions` as described\nby the live .ca registration schema.\n", + "summary": "Register a .ca domain with legal type", + "value": { + "auto_renew": false, + "contact_extensions": { + "ca_legal_type": "CCT" + }, + "contacts": { + "registrant": { + "email": "ada@example.ca", + "phone": "+1.6135550100", + "postal_info": { + "address": { + "city": "Ottawa", + "country_code": "CA", + "postal_code": "K1A 0B1", + "state": true, + "street": "123 Queen St" + }, + "name": "Ada Lovelace", + "organization": "Example Canada Inc" + } + } + }, + "domain_name": "my-brand-example.ca", + "years": 1 + } + }, + "io_with_role_contacts": { + "description": "Some extension schemas accept additional standard contact roles such as `technical`, `administrator`, and `billing`. When these roles are provided explicitly, Cloudflare preserves the supplied role-specific contact data instead of deriving it from `contacts.registrant`.", + "summary": "Register with explicit role contacts", + "value": { + "auto_renew": false, + "contacts": { + "administrator": { + "email": "katherine@example.io", + "phone": "+1.5555550102", + "postal_info": { + "address": { + "city": "San Francisco", + "country_code": "US", + "postal_code": "94103", + "state": "CA", + "street": "789 Mission St" + }, + "name": "Katherine Johnson", + "organization": "Example Admin Inc" + } + }, + "billing": { + "email": "dorothy@example.io", + "phone": "+1.5555550103", + "postal_info": { + "address": { + "city": "San Francisco", + "country_code": "US", + "postal_code": "94105", + "state": "CA", + "street": "101 Howard St" + }, + "name": "Dorothy Vaughan", + "organization": "Example Billing Inc" + } + }, + "registrant": { + "email": "ada@example.io", + "phone": "+1.5555555555", + "postal_info": { + "address": { + "city": "Austin", + "country_code": "US", + "postal_code": "78701", + "state": "TX", + "street": "123 Main St" + }, + "name": "Ada Lovelace", + "organization": "Example Inc" + } + }, + "technical": { + "email": "grace@example.io", + "phone": "+1.5555550101", + "postal_info": { + "address": { + "city": "San Francisco", + "country_code": "US", + "postal_code": "94105", + "state": "CA", + "street": "456 Market St" + }, + "name": "Grace Hopper", + "organization": "Example Technical Inc" + } + } + }, + "domain_name": "my-brand-example.io", + "years": 1 + } + }, + "minimal": { + "description": "The simplest registration request uses the following defaults.\n- `years` defaults to the extension's minimum registration period (typically 1 year).\n- `auto_renew` defaults to `false`.\n- `privacy_mode` defaults to `redaction`.\n- Registrant contact falls back to the account's default address book entry.\n", + "summary": "Minimal registration — just a domain name", + "value": { + "domain_name": "my-new-startup.com" + } + }, + "multi_year": { + "description": "Register a domain for 3 years.", + "summary": "Register for multiple years", + "value": { + "domain_name": "longterm-project.dev", + "years": 3 + } + }, + "uk_with_contact_extensions": { + "description": ".uk registrations can require registrant type information. For\norganization registrants, include the company number when the\nlive registration schema requires it.\n", + "summary": "Register a .uk domain with registrant type", + "value": { + "auto_renew": false, + "contact_extensions": { + "company_number": "12345678", + "registrant_type": "LTD" + }, + "contacts": { + "registrant": { + "email": "ada@example.co.uk", + "phone": "+44.2071234567", + "postal_info": { + "address": { + "city": "London", + "country_code": "GB", + "postal_code": "SW1A 1AA", + "state": "London", + "street": "1 Example Street" + }, + "name": "Ada Lovelace", + "organization": "Example UK Ltd" + } + } + }, + "domain_name": "my-brand-example.uk", + "years": 1 + } + }, + "us_with_contact_extensions": { + "description": "Some extensions require registry-specific contact extension\nvalues in addition to the standard registrant contact. The\nextension discovery endpoint is authoritative for the required\nkeys and allowed values.\n", + "summary": "Register a .us domain with contact extensions", + "value": { + "auto_renew": false, + "contact_extensions": { + "application_purpose": "P3", + "nexus_category": "C11" + }, + "contacts": { + "registrant": { + "email": "ada@example.com", + "phone": "+1.5555555555", + "postal_info": { + "address": { + "city": "Austin", + "country_code": "US", + "postal_code": "78701", + "state": "TX", + "street": "123 Main St" + }, + "name": "Ada Lovelace", + "organization": "Example Inc" + } + } + }, + "domain_name": "my-brand-example.us", + "years": 1 + } + }, + "with_contact": { + "description": "Provide registrant contact data inline if the account does not have\na default address book entry, or to override it for this registration.\n`postal_info.name` is the complete contact name in one field.\nSome registries require a complete personal name, including a\nfamily or last name where applicable, but this API does not\naccept separate first-name and last-name fields.\n", + "summary": "Register with explicit registrant contact", + "value": { + "auto_renew": true, + "contacts": { + "registrant": { + "email": "ada@example.com", + "phone": "+1.5555555555", + "postal_info": { + "address": { + "city": "Austin", + "country_code": "US", + "postal_code": "78701", + "state": "TX", + "street": "123 Main St" + }, + "name": "Ada Lovelace", + "organization": "Example Inc" + } + } + }, + "domain_name": "example.com", + "years": 1 + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_registration_create_request" + } + } + } + }, + "responses": { + "201": { + "description": "Registration completed successfully within the synchronous wait window.\nThe workflow status will have `state: succeeded` and `completed: true`.\n", + "headers": { + "Preference-Applied": { + "description": "Echoed when the server honored a `Prefer` header.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "examples": { + "completed": { + "summary": "Registration completed within timeout (most common)", + "value": { + "errors": [], + "messages": [], + "result": { + "completed": true, + "context": { + "domain_name": "example.com", + "registration": { + "auto_renew": true, + "created_at": "2025-10-27T10:00:00Z", + "domain_name": "example.com", + "expires_at": "2026-10-27T10:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + } + }, + "created_at": "2025-10-27T10:00:00Z", + "links": { + "resource": "/accounts/abc/registrar/registrations/example.com", + "self": "/accounts/abc/registrar/registrations/example.com/registration-status" + }, + "state": "succeeded", + "updated_at": "2025-10-27T10:00:03Z" + }, + "success": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_workflow-status-response-single" + } + } + } + }, + "202": { + "description": "Registration is still processing. This occurs when the operation did\nnot complete within the synchronous wait window, or when `Prefer: respond-async`\nwas sent. Poll the URL in `links.self` to track progress.\n", + "headers": { + "Location": { + "description": "URL of the workflow status resource (same as `links.self`).", + "schema": { + "type": "string" + } + }, + "Preference-Applied": { + "description": "Set to `respond-async` when the server honored the preference.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "examples": { + "still_processing": { + "summary": "Registration still in progress", + "value": { + "errors": [], + "messages": [], + "result": { + "completed": false, + "context": { + "domain_name": "example.com" + }, + "created_at": "2025-10-27T10:00:00Z", + "links": { + "resource": "/accounts/abc/registrar/registrations/example.com", + "self": "/accounts/abc/registrar/registrations/example.com/registration-status" + }, + "state": "in_progress", + "updated_at": "2025-10-27T10:00:10Z" + }, + "success": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_workflow-status-response-single" + } + } + } + }, + "4XX": { + "description": "Create registration failure.", + "content": { + "application/json": { + "examples": { + "account_domain_limit_exceeded": { + "description": "The account already owns the maximum supported number of domains.\nDomains created through either the dashboard or this API count\ntoward the same account-wide limit.\n", + "summary": "Account has reached the domain limit", + "value": { + "errors": [ + { + "code": 10000, + "message": "Domain limit reached: you cannot register more than 500 domains.", + "source": { + "pointer": "/domain_name" + } + } + ], + "messages": [], + "result": null, + "success": false + } + }, + "domain_name_required": { + "description": "The required `domain_name` field was not provided.", + "summary": "Missing domain name", + "value": { + "errors": [ + { + "code": 10000, + "message": "domain_name is required", + "source": { + "pointer": "/domain_name" + } + } + ], + "messages": [], + "result": null, + "success": false + } + }, + "invalid_auto_renew": { + "description": "The `auto_renew` field must be a boolean if present.", + "summary": "Invalid auto_renew value", + "value": { + "errors": [ + { + "code": 10000, + "message": "Must be a boolean", + "source": { + "pointer": "/auto_renew" + } + } + ], + "messages": [], + "result": null, + "success": false + } + }, + "missing_contact": { + "description": "The request did not include a registrant contact, and the account\nhas no default address book entry to fall back to. Either provide\ncontacts.registrant in the request or set up a default address\nbook entry at `https://dash.cloudflare.com/{account_id}/domains/registrations`.\n", + "summary": "No registrant contact and no default address book entry", + "value": { + "errors": [ + { + "code": 10000, + "message": "No registrant contact provided and no default address book entry found for this account." + } + ], + "messages": [], + "result": null, + "success": false + } + }, + "registration_not_supported": { + "description": "The extension is not supported for registration through this API.\nThis includes extensions that are unsupported by the API or do\nnot support the required registration contact flow.\n", + "summary": "Registration not supported for extension", + "value": { + "errors": [ + { + "code": 10000, + "message": "Registration is not supported for this extension" + } + ], + "messages": [], + "result": null, + "success": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_api-response-common-failure" + } + } + } + } + }, + "security": [ + { + "api_token": [] + }, + { + "api_email": [], + "api_key": [] + } + ], + "tags": [ + "Registrar Registration" + ], + "x-fern-availability": "generally-available", + "x-fern-sdk-group-name": "registrar.registrations", + "x-fern-sdk-method-name": "create" + } + }, + "/tenants/{tenant_id}": { + "get": { + "operationId": "Tenants_retrieveTenant", + "summary": "Get tenant details", + "description": "Retrieves a tenant's identity, status, metadata, contacts, and organizational units.", + "parameters": [ + { + "name": "tenant_id", + "in": "path", + "description": "The ID of the tenant to retrieve.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "type": "object" + }, + "maxItems": 0 + }, + "messages": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organizations-api_V4Message" + } + }, + "result": { + "$ref": "#/components/schemas/organizations-api_Tenant" + }, + "success": { + "type": "boolean", + "enum": [ + true + ] + } + }, + "required": [ + "success", + "errors", + "messages", + "result" + ] + } + } + } + }, + "4XX": { + "description": "An unexpected error response.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organizations-api_V4ErrorResponse" + } + } + } + } + }, + "security": [ + { + "api_email": [], + "api_key": [] + } + ], + "tags": [ + "Tenants" + ], + "x-fern-availability": "generally-available", + "x-fern-sdk-group-name": "tenant", + "x-fern-sdk-method-name": "get" + } + } + } +} diff --git a/plugins/openapi/testdata/cloudflare-2026-10-30.json b/plugins/openapi/testdata/cloudflare-2026-10-30.json new file mode 100644 index 0000000..a1f2ad5 --- /dev/null +++ b/plugins/openapi/testdata/cloudflare-2026-10-30.json @@ -0,0 +1,830 @@ +{ + "openapi": "3.0.3", + "info": { + "description": "Welcome to Cloudflare's API documentation site. We are experimenting with an updated version of our API documentation - check out [developers.cloudflare.com/api-next/](https://developers.cloudflare.com/api-next/) to test out the new experience.\n\nTo get started using Cloudflare's products and services via the API, refer to [how to interact with Cloudflare](https://developers.cloudflare.com/fundamentals/basic-tasks/interact-with-cloudflare/), which covers using tools like [Terraform](https://developers.cloudflare.com/terraform/#cloudflare-terraform) and the [official SDKs](https://developers.cloudflare.com/fundamentals/api/reference/sdks/) to maintain your Cloudflare resources.\n\nUsing the Cloudflare API requires authentication so that Cloudflare knows who is making requests and what permissions you have. Create an API token to grant access to the API to perform actions. You can also authenticate with [API keys](https://developers.cloudflare.com/fundamentals/api/get-started/keys/), but these keys have [several limitations](https://developers.cloudflare.com/fundamentals/api/get-started/keys/#limitations) that make them less secure than API tokens. Whenever possible, use API tokens to interact with the Cloudflare API.\n\nTo create an API token, from the Cloudflare dashboard, go to My Profile > API Tokens and select Create Token. For more information on how to create and troubleshoot API tokens, refer to\nour [API fundamentals](https://developers.cloudflare.com/fundamentals/api/).\n\nFor information regarding rate limits, refer to our [API Rate Limits](https://developers.cloudflare.com/cloudflare-for-platforms/workers-for-platforms/platform/limits/#api-rate-limits).\n\nTotally new to Cloudflare? [Start here](https://developers.cloudflare.com/fundamentals/get-started/).", + "license": { + "name": "BSD-3-Clause", + "url": "https://opensource.org/licenses/BSD-3-Clause" + }, + "title": "Cloudflare API", + "version": "4.0.0" + }, + "servers": [ + { + "description": "Client API", + "url": "https://api.cloudflare.com/client/v4" + } + ], + "paths": { + "/accounts/{account_id}/registrar/registrations": { + "get": { + "operationId": "registrar-domain-registration-list", + "summary": "List Registrations", + "description": "Returns a paginated list of domain registrations owned by the account.\n\nThis endpoint uses cursor-based pagination. Results are ordered by registration\ndate by default. To fetch the next page, pass the `cursor` value from the\n`result_info` object in the response as the `cursor` query parameter in\nyour next request. An empty `cursor` string indicates there are no more\npages.\n", + "parameters": [ + { + "name": "account_id", + "in": "path", + "description": "Cloudflare account ID.", + "required": true, + "schema": { + "$ref": "#/components/schemas/registrar-api_identifier" + } + }, + { + "$ref": "#/components/parameters/registrar-api_cursor_pagination_cursor" + }, + { + "$ref": "#/components/parameters/registrar-api_cursor_pagination_per_page" + }, + { + "$ref": "#/components/parameters/registrar-api_cursor_pagination_direction" + }, + { + "name": "sort_by", + "in": "query", + "description": "Column to sort results by. Defaults to registration date (`registry_created_at`) when omitted.", + "schema": { + "type": "string", + "default": "registry_created_at", + "enum": [ + "registry_created_at", + "registry_expires_at", + "name" + ] + } + } + ], + "responses": { + "200": { + "description": "List of registrations for the account.", + "content": { + "application/json": { + "examples": { + "empty_account": { + "summary": "Account with no registrations", + "value": { + "errors": [], + "messages": [], + "result": [], + "result_info": { + "count": 0, + "cursor": "", + "per_page": 20 + }, + "success": true + } + }, + "multiple_domains": { + "summary": "Account with multiple domains", + "value": { + "errors": [], + "messages": [], + "result": [ + { + "auto_renew": true, + "created_at": "2025-01-15T10:00:00Z", + "domain_name": "example.com", + "expires_at": "2026-01-15T10:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2025-03-20T14:30:00Z", + "domain_name": "mybrand.dev", + "expires_at": "2026-03-20T14:30:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + } + ], + "result_info": { + "count": 2, + "cursor": "", + "per_page": 20 + }, + "success": true + } + }, + "next_page": { + "description": "Response when fetching the next page by passing the cursor from a previous response. The empty cursor indicates this is the last page.", + "summary": "Next page of results (last page)", + "value": { + "errors": [], + "messages": [], + "result": [ + { + "auto_renew": true, + "created_at": "2025-04-01T09:00:00Z", + "domain_name": "charlie.org", + "expires_at": "2026-04-01T09:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + } + ], + "result_info": { + "count": 1, + "cursor": "", + "per_page": 20 + }, + "success": true + } + }, + "paginated": { + "summary": "First page with more results available", + "value": { + "errors": [], + "messages": [], + "result": [ + { + "auto_renew": true, + "created_at": "2024-01-15T09:30:00Z", + "domain_name": "acmecorp.com", + "expires_at": "2026-01-15T09:30:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-02-20T14:00:00Z", + "domain_name": "brightwave.net", + "expires_at": "2026-02-20T14:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-03-05T11:15:00Z", + "domain_name": "cloudpeak.org", + "expires_at": "2026-03-05T11:15:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-03-22T08:45:00Z", + "domain_name": "solarpanel.io", + "expires_at": "2026-03-22T08:45:00Z", + "locked": true, + "privacy_mode": "off", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2024-04-10T16:00:00Z", + "domain_name": "greenleaf.dev", + "expires_at": "2026-04-10T16:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-05-03T10:30:00Z", + "domain_name": "swiftrunner.app", + "expires_at": "2026-05-03T10:30:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2024-05-18T13:00:00Z", + "domain_name": "northerntrail.co", + "expires_at": "2025-05-18T13:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "expired" + }, + { + "auto_renew": true, + "created_at": "2024-06-01T07:20:00Z", + "domain_name": "pixelforge.xyz", + "expires_at": "2026-06-01T07:20:00Z", + "locked": false, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-06-25T15:45:00Z", + "domain_name": "oceandrift.com", + "expires_at": "2026-06-25T15:45:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-07-12T09:00:00Z", + "domain_name": "rocketlaunch.net", + "expires_at": "2026-07-12T09:00:00Z", + "locked": true, + "privacy_mode": "off", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2024-08-08T12:30:00Z", + "domain_name": "blueprintlab.io", + "expires_at": "2026-08-08T12:30:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-09-01T18:00:00Z", + "domain_name": "maplewood.org", + "expires_at": "2026-09-01T18:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2024-09-20T10:15:00Z", + "domain_name": "thunderbolt.dev", + "expires_at": "2025-09-20T10:15:00Z", + "locked": false, + "privacy_mode": "off", + "status": "expired" + }, + { + "auto_renew": true, + "created_at": "2024-10-05T14:45:00Z", + "domain_name": "silverbranch.app", + "expires_at": "2026-10-05T14:45:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-11-11T08:00:00Z", + "domain_name": "nightowl.co", + "expires_at": "2026-11-11T08:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2024-12-01T11:30:00Z", + "domain_name": "crimsongate.com", + "expires_at": "2026-12-01T11:30:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": false, + "created_at": "2025-01-07T16:20:00Z", + "domain_name": "frostedpine.net", + "expires_at": "2027-01-07T16:20:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2025-01-25T09:50:00Z", + "domain_name": "horizonline.xyz", + "expires_at": "2027-01-25T09:50:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2025-02-14T13:00:00Z", + "domain_name": "coppervine.io", + "expires_at": "2027-02-14T13:00:00Z", + "locked": true, + "privacy_mode": "off", + "status": "active" + }, + { + "auto_renew": true, + "created_at": "2025-03-02T07:40:00Z", + "domain_name": "starlitpath.org", + "expires_at": "2027-03-02T07:40:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + } + ], + "result_info": { + "count": 20, + "cursor": "eyJ0IjoiMjAyNS0wNi0xNVQxMjowMDowMC4wMDAwMDBaIiwibiI6ImJyYXZvLm5ldCJ9", + "per_page": 20 + }, + "success": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_registration-response-collection" + } + } + } + }, + "4XX": { + "description": "List registrations failure.", + "content": { + "application/json": { + "examples": { + "invalid_cursor": { + "summary": "Invalid cursor", + "value": { + "errors": [ + { + "code": 10000, + "message": "Invalid pagination cursor" + } + ], + "messages": [], + "result": null, + "success": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_api-response-common-failure" + } + } + } + } + }, + "security": [ + { + "api_token": [] + }, + { + "api_email": [], + "api_key": [] + } + ], + "tags": [ + "Registrar Registration" + ], + "x-fern-availability": "generally-available", + "x-fern-sdk-group-name": "registrar.registrations", + "x-fern-sdk-method-name": "list" + }, + "post": { + "operationId": "registrar-domain-registration-create", + "summary": "Create Registration", + "description": "Starts a domain registration workflow. This is a billable operation — successful\nregistration charges the account's default payment method. All successful\ndomain registrations are non-refundable — once the workflow completes with\n`state: succeeded`, the charge cannot be reversed.\n\n### Prerequisites\n- The account must have a billing profile with a valid default payment method.\n Set this up at `https://dash.cloudflare.com/{account_id}/billing/payment-info`.\n- The account must not already be at the maximum supported domain limit.\n A single account may own up to 500 domains in total across registrations\n created through either the dashboard or this API.\n- The domain must be on a supported extension for programmatic registration.\n- Use `POST /domain-check` immediately before calling this endpoint to confirm\n real-time availability and pricing.\n\n### Supported extensions\n\nThis API supports programmatic registration for all extensions supported by\nthe dashboard experience, with the following exceptions:\n\n`giving`, `mom`, `inc`, `lol`, `sh`, `link`, `cc`, `new`\n\nCloudflare Registrar supports 400+ extensions in the dashboard. Extensions\nlisted above can be registered at\n`https://dash.cloudflare.com/{account_id}/domains/registrations`.\n\n### Express mode\nThe only required field is `domain_name`. If `contacts` is omitted, the system\nuses the account's default address book entry as the registrant. If no default\nexists and no contact is provided, the request fails. Set up a default address\nbook entry and accept the required agreement at\n`https://dash.cloudflare.com/{account_id}/domains/registrations`.\n\n### Defaults\n- `years`: defaults to the extension's minimum registration period (1 year for\n most extensions, but varies — for example, `.ai` (if supported) requires a minimum of 2 years).\n- `auto_renew`: defaults to `false`. Setting it to `true` is an explicit\n opt-in authorizing Cloudflare to charge the account's default payment\n method up to 30 days before domain expiry to renew the registration.\n Renewal pricing may change over time based on registry pricing.\n- `privacy_mode`: defaults to `redaction`.\n\n### Premium domains\nPremium domain registration is not currently supported by this API.\nIf `POST /domain-check` returns `tier: premium`, do not call this\nendpoint for that domain.\n\n### Response behavior\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the registration completes. Most registrations finish\nwithin this window and return `201 Created` with a completed workflow status.\n\nIf the registration is still processing after this synchronous wait window,\nthe server returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.\n", + "parameters": [ + { + "name": "account_id", + "in": "path", + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "required": true, + "schema": { + "$ref": "#/components/schemas/registrar-api_identifier" + } + }, + { + "name": "Prefer", + "in": "header", + "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n\nThe header may be combined with other preferences using standard\ncomma-separated syntax.\n", + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "examples": { + "ca_with_contact_extensions": { + "description": "CA registrations require a registrant legal type.\nProvide the required value in `contact_extensions` as described\nby the live .ca registration schema.\n", + "summary": "Register a .ca domain with legal type", + "value": { + "auto_renew": false, + "contact_extensions": { + "ca_legal_type": "CCT" + }, + "contacts": { + "registrant": { + "email": "ada@example.ca", + "phone": "+1.6135550100", + "postal_info": { + "address": { + "city": "Ottawa", + "country_code": "CA", + "postal_code": "K1A 0B1", + "state": true, + "street": "123 Queen St" + }, + "name": "Ada Lovelace", + "organization": "Example Canada Inc" + } + } + }, + "domain_name": "my-brand-example.ca", + "years": 1 + } + }, + "io_with_role_contacts": { + "description": "Some extension schemas accept additional standard contact roles such as `technical`, `administrator`, and `billing`. When these roles are provided explicitly, Cloudflare preserves the supplied role-specific contact data instead of deriving it from `contacts.registrant`.", + "summary": "Register with explicit role contacts", + "value": { + "auto_renew": false, + "contacts": { + "administrator": { + "email": "katherine@example.io", + "phone": "+1.5555550102", + "postal_info": { + "address": { + "city": "San Francisco", + "country_code": "US", + "postal_code": "94103", + "state": "CA", + "street": "789 Mission St" + }, + "name": "Katherine Johnson", + "organization": "Example Admin Inc" + } + }, + "billing": { + "email": "dorothy@example.io", + "phone": "+1.5555550103", + "postal_info": { + "address": { + "city": "San Francisco", + "country_code": "US", + "postal_code": "94105", + "state": "CA", + "street": "101 Howard St" + }, + "name": "Dorothy Vaughan", + "organization": "Example Billing Inc" + } + }, + "registrant": { + "email": "ada@example.io", + "phone": "+1.5555555555", + "postal_info": { + "address": { + "city": "Austin", + "country_code": "US", + "postal_code": "78701", + "state": "TX", + "street": "123 Main St" + }, + "name": "Ada Lovelace", + "organization": "Example Inc" + } + }, + "technical": { + "email": "grace@example.io", + "phone": "+1.5555550101", + "postal_info": { + "address": { + "city": "San Francisco", + "country_code": "US", + "postal_code": "94105", + "state": "CA", + "street": "456 Market St" + }, + "name": "Grace Hopper", + "organization": "Example Technical Inc" + } + } + }, + "domain_name": "my-brand-example.io", + "years": 1 + } + }, + "minimal": { + "description": "The simplest registration request uses the following defaults.\n- `years` defaults to the extension's minimum registration period (typically 1 year).\n- `auto_renew` defaults to `false`.\n- `privacy_mode` defaults to `redaction`.\n- Registrant contact falls back to the account's default address book entry.\n", + "summary": "Minimal registration — just a domain name", + "value": { + "domain_name": "my-new-startup.com" + } + }, + "multi_year": { + "description": "Register a domain for 3 years.", + "summary": "Register for multiple years", + "value": { + "domain_name": "longterm-project.dev", + "years": 3 + } + }, + "uk_with_contact_extensions": { + "description": ".uk registrations can require registrant type information. For\norganization registrants, include the company number when the\nlive registration schema requires it.\n", + "summary": "Register a .uk domain with registrant type", + "value": { + "auto_renew": false, + "contact_extensions": { + "company_number": "12345678", + "registrant_type": "LTD" + }, + "contacts": { + "registrant": { + "email": "ada@example.co.uk", + "phone": "+44.2071234567", + "postal_info": { + "address": { + "city": "London", + "country_code": "GB", + "postal_code": "SW1A 1AA", + "state": "London", + "street": "1 Example Street" + }, + "name": "Ada Lovelace", + "organization": "Example UK Ltd" + } + } + }, + "domain_name": "my-brand-example.uk", + "years": 1 + } + }, + "us_with_contact_extensions": { + "description": "Some extensions require registry-specific contact extension\nvalues in addition to the standard registrant contact. The\nextension discovery endpoint is authoritative for the required\nkeys and allowed values.\n", + "summary": "Register a .us domain with contact extensions", + "value": { + "auto_renew": false, + "contact_extensions": { + "application_purpose": "P3", + "nexus_category": "C11" + }, + "contacts": { + "registrant": { + "email": "ada@example.com", + "phone": "+1.5555555555", + "postal_info": { + "address": { + "city": "Austin", + "country_code": "US", + "postal_code": "78701", + "state": "TX", + "street": "123 Main St" + }, + "name": "Ada Lovelace", + "organization": "Example Inc" + } + } + }, + "domain_name": "my-brand-example.us", + "years": 1 + } + }, + "with_contact": { + "description": "Provide registrant contact data inline if the account does not have\na default address book entry, or to override it for this registration.\n`postal_info.name` is the complete contact name in one field.\nSome registries require a complete personal name, including a\nfamily or last name where applicable, but this API does not\naccept separate first-name and last-name fields.\n", + "summary": "Register with explicit registrant contact", + "value": { + "auto_renew": true, + "contacts": { + "registrant": { + "email": "ada@example.com", + "phone": "+1.5555555555", + "postal_info": { + "address": { + "city": "Austin", + "country_code": "US", + "postal_code": "78701", + "state": "TX", + "street": "123 Main St" + }, + "name": "Ada Lovelace", + "organization": "Example Inc" + } + } + }, + "domain_name": "example.com", + "years": 1 + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_registration_create_request" + } + } + } + }, + "responses": { + "201": { + "description": "Registration completed successfully within the synchronous wait window.\nThe workflow status will have `state: succeeded` and `completed: true`.\n", + "headers": { + "Preference-Applied": { + "description": "Echoed when the server honored a `Prefer` header.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "examples": { + "completed": { + "summary": "Registration completed within timeout (most common)", + "value": { + "errors": [], + "messages": [], + "result": { + "completed": true, + "context": { + "domain_name": "example.com", + "registration": { + "auto_renew": true, + "created_at": "2025-10-27T10:00:00Z", + "domain_name": "example.com", + "expires_at": "2026-10-27T10:00:00Z", + "locked": true, + "privacy_mode": "redaction", + "status": "active" + } + }, + "created_at": "2025-10-27T10:00:00Z", + "links": { + "resource": "/accounts/abc/registrar/registrations/example.com", + "self": "/accounts/abc/registrar/registrations/example.com/registration-status" + }, + "state": "succeeded", + "updated_at": "2025-10-27T10:00:03Z" + }, + "success": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_workflow-status-response-single" + } + } + } + }, + "202": { + "description": "Registration is still processing. This occurs when the operation did\nnot complete within the synchronous wait window, or when `Prefer: respond-async`\nwas sent. Poll the URL in `links.self` to track progress.\n", + "headers": { + "Location": { + "description": "URL of the workflow status resource (same as `links.self`).", + "schema": { + "type": "string" + } + }, + "Preference-Applied": { + "description": "Set to `respond-async` when the server honored the preference.", + "schema": { + "type": "string" + } + } + }, + "content": { + "application/json": { + "examples": { + "still_processing": { + "summary": "Registration still in progress", + "value": { + "errors": [], + "messages": [], + "result": { + "completed": false, + "context": { + "domain_name": "example.com" + }, + "created_at": "2025-10-27T10:00:00Z", + "links": { + "resource": "/accounts/abc/registrar/registrations/example.com", + "self": "/accounts/abc/registrar/registrations/example.com/registration-status" + }, + "state": "in_progress", + "updated_at": "2025-10-27T10:00:10Z" + }, + "success": true + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_workflow-status-response-single" + } + } + } + }, + "4XX": { + "description": "Create registration failure.", + "content": { + "application/json": { + "examples": { + "account_domain_limit_exceeded": { + "description": "The account already owns the maximum supported number of domains.\nDomains created through either the dashboard or this API count\ntoward the same account-wide limit.\n", + "summary": "Account has reached the domain limit", + "value": { + "errors": [ + { + "code": 10000, + "message": "Domain limit reached: you cannot register more than 500 domains.", + "source": { + "pointer": "/domain_name" + } + } + ], + "messages": [], + "result": null, + "success": false + } + }, + "domain_name_required": { + "description": "The required `domain_name` field was not provided.", + "summary": "Missing domain name", + "value": { + "errors": [ + { + "code": 10000, + "message": "domain_name is required", + "source": { + "pointer": "/domain_name" + } + } + ], + "messages": [], + "result": null, + "success": false + } + }, + "invalid_auto_renew": { + "description": "The `auto_renew` field must be a boolean if present.", + "summary": "Invalid auto_renew value", + "value": { + "errors": [ + { + "code": 10000, + "message": "Must be a boolean", + "source": { + "pointer": "/auto_renew" + } + } + ], + "messages": [], + "result": null, + "success": false + } + }, + "missing_contact": { + "description": "The request did not include a registrant contact, and the account\nhas no default address book entry to fall back to. Either provide\ncontacts.registrant in the request or set up a default address\nbook entry at `https://dash.cloudflare.com/{account_id}/domains/registrations`.\n", + "summary": "No registrant contact and no default address book entry", + "value": { + "errors": [ + { + "code": 10000, + "message": "No registrant contact provided and no default address book entry found for this account." + } + ], + "messages": [], + "result": null, + "success": false + } + }, + "registration_not_supported": { + "description": "The extension is not supported for registration through this API.\nThis includes extensions that are unsupported by the API or do\nnot support the required registration contact flow.\n", + "summary": "Registration not supported for extension", + "value": { + "errors": [ + { + "code": 10000, + "message": "Registration is not supported for this extension" + } + ], + "messages": [], + "result": null, + "success": false + } + } + }, + "schema": { + "$ref": "#/components/schemas/registrar-api_api-response-common-failure" + } + } + } + } + }, + "security": [ + { + "api_token": [] + }, + { + "api_email": [], + "api_key": [] + } + ], + "tags": [ + "Registrar Registration" + ], + "x-fern-availability": "generally-available", + "x-fern-sdk-group-name": "registrar.registrations", + "x-fern-sdk-method-name": "create" + } + } + } +} diff --git a/plugins/openapi/testdata/golden/cloudflare-api-spec.json b/plugins/openapi/testdata/golden/cloudflare-api-spec.json new file mode 100644 index 0000000..4838ef6 --- /dev/null +++ b/plugins/openapi/testdata/golden/cloudflare-api-spec.json @@ -0,0 +1,65 @@ +[ + { + "id": 1, + "fingerprint": "sha256:9ae82e58fc8968d19a7177ff87875316b2988bf188b7d4a1e2aa036ba1864720", + "api": "cloudflare/api-spec", + "version": "2026-10-30", + "previous_version": "2026-10-29", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "api_operation", + "kind": "operation", + "side": "request", + "operation": "GET /client/v4/accounts/{account_id}/registrar/domains" + }, + "description": "Operation GET /client/v4/accounts/{account_id}/registrar/domains removed.", + "source_url": "https://raw.githubusercontent.com/cloudflare/api-schemas/46a48d5eba1d8a839cd8cc5712d2b9368e21e654/openapi.json", + "source_pointer": "/paths/~1accounts~1{account_id}~1registrar~1domains/get", + "source_excerpt": "{\"deprecated\":true,\"description\":\"Lists domains handled by Registrar.\",\"operationId\":\"registrar-domains-list-domains\",\"parameters\":[{\"in\":\"path\",\"name\":\"account_id\",\"required\":true,\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_identifier\"}}],\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_domain_response_collection\"}}},\"description\":\"List domains response.\"},\"4XX\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_api-response-common-failure\"}}},\"description\":\"List domains response failure.\"}},\"security\":[{\"api_email\":[],\"api_key\":[],\"api_token\":[]}],\"summary\":\"List domains\",\"tags\":[\"Registrar Domains\"],\"x-api-token-group\":null,\"x-fern-ignore\":true,\"x-fern-sdk-group-name\":\"registrar.legacy\",\"x-fern-sdk-method-name\":\"list-domains\",\"x-stainless-deprecation-message\":\"This operation is deprecated and will reach end of life on September 27, 2026. Use the new Registrar API endpoints (domain-search, domain-check, registrations) instead. Refer to https://developers.cloudflare.com/fundamentals/api/reference/deprecations/ for details.\"}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:9cde00a0f01a8aa044725ce3ff49ab6d6ac313cc87d406ccff97588046adeeb0", + "api": "cloudflare/api-spec", + "version": "2026-10-30", + "previous_version": "2026-10-29", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "api_operation", + "kind": "operation", + "side": "request", + "operation": "GET /client/v4/accounts/{account_id}/registrar/domains/{domain_name}" + }, + "description": "Operation GET /client/v4/accounts/{account_id}/registrar/domains/{domain_name} removed.", + "source_url": "https://raw.githubusercontent.com/cloudflare/api-schemas/46a48d5eba1d8a839cd8cc5712d2b9368e21e654/openapi.json", + "source_pointer": "/paths/~1accounts~1{account_id}~1registrar~1domains~1{domain_name}/get", + "source_excerpt": "{\"deprecated\":true,\"description\":\"Show individual domain.\",\"operationId\":\"registrar-domains-get-domain\",\"parameters\":[{\"in\":\"path\",\"name\":\"domain_name\",\"required\":true,\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_domain_name\"}},{\"in\":\"path\",\"name\":\"account_id\",\"required\":true,\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_identifier\"}}],\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_domain_response_single\"}}},\"description\":\"Get domain response.\"},\"4XX\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_api-response-common-failure\"}}},\"description\":\"Get domain response failure.\"}},\"security\":[{\"api_email\":[],\"api_key\":[],\"api_token\":[]}],\"summary\":\"Get domain\",\"tags\":[\"Registrar Domains\"],\"x-api-token-group\":null,\"x-fern-ignore\":true,\"x-fern-sdk-group-name\":\"registrar.legacy\",\"x-fern-sdk-method-name\":\"get-domain\",\"x-stainless-deprecation-message\":\"This operation is deprecated and will reach end of life on September 27, 2026. Use the new Registrar API endpoints (domain-search, domain-check, registrations) instead. Refer to https://developers.cloudflare.com/fundamentals/api/reference/deprecations/ for details.\"}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:dfc96b1305887adc93c67c27aaff84d606242b16b68852b7d32f612848fe4eb6", + "api": "cloudflare/api-spec", + "version": "2026-10-30", + "previous_version": "2026-10-29", + "change_type": "breaking", + "breaking": true, + "subject": { + "type": "api_operation", + "kind": "operation", + "side": "request", + "operation": "PUT /client/v4/accounts/{account_id}/registrar/domains/{domain_name}" + }, + "description": "Operation PUT /client/v4/accounts/{account_id}/registrar/domains/{domain_name} removed.", + "source_url": "https://raw.githubusercontent.com/cloudflare/api-schemas/46a48d5eba1d8a839cd8cc5712d2b9368e21e654/openapi.json", + "source_pointer": "/paths/~1accounts~1{account_id}~1registrar~1domains~1{domain_name}/put", + "source_excerpt": "{\"deprecated\":true,\"description\":\"Updates an individual domain.\",\"operationId\":\"registrar-domains-update-domain\",\"parameters\":[{\"in\":\"path\",\"name\":\"domain_name\",\"required\":true,\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_domain_name\"}},{\"in\":\"path\",\"name\":\"account_id\",\"required\":true,\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_identifier\"}}],\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_domain_update_properties\"}}},\"required\":true},\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_domain_response_single\"}}},\"description\":\"Update domain response.\"},\"4XX\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/registrar-api_api-response-common-failure\"}}},\"description\":\"Update domain response failure.\"}},\"security\":[{\"api_email\":[],\"api_key\":[],\"api_token\":[]}],\"summary\":\"Update domain\",\"tags\":[\"Registrar Domains\"],\"x-api-token-group\":null,\"x-fern-ignore\":true,\"x-fern-sdk-group-name\":\"registrar.legacy\",\"x-fern-sdk-method-name\":\"update-domain\",\"x-stainless-deprecation-message\":\"This operation is deprecated and will reach end of life on September 27, 2026. Use the new Registrar API endpoints (domain-search, domain-check, registrations) instead. Refer to https://developers.cloudflare.com/fundamentals/api/reference/deprecations/ for details.\"}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/openapi/testdata/golden/convex.json b/plugins/openapi/testdata/golden/convex.json index fbb46cc..8cc1077 100644 --- a/plugins/openapi/testdata/golden/convex.json +++ b/plugins/openapi/testdata/golden/convex.json @@ -14,7 +14,7 @@ "operation": "POST /api/v1/create_log_stream" }, "description": "Operation POST /api/v1/create_log_stream marked deprecated.", - "source_url": "https://raw.githubusercontent.com/get-convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", + "source_url": "https://raw.githubusercontent.com/convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", "source_pointer": "/paths/~1create_log_stream/post", "source_excerpt": "{\"deprecated\":true,\"description\":\"Create a new log stream for the deployment. Errors if a log stream of the\\ngiven type already exists.\\n\\nDeprecated: use `POST /integrations` instead.\",\"operationId\":\"create_log_stream\",\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/CreateLogStreamArgs\"}}},\"required\":true},\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/CreateLogStreamResponse\"}}},\"description\":\"\"}},\"security\":[{\"Deploy Key\":[]},{\"OAuth Team Token\":[]},{\"Team Token\":[]},{\"OAuth Project Token\":[]}],\"summary\":\"Create log stream\",\"tags\":[\"Log Streams\"]}", "confidence": 1, @@ -35,7 +35,7 @@ "operation": "POST /api/v1/delete_log_stream/{id}" }, "description": "Operation POST /api/v1/delete_log_stream/{id} marked deprecated.", - "source_url": "https://raw.githubusercontent.com/get-convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", + "source_url": "https://raw.githubusercontent.com/convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", "source_pointer": "/paths/~1delete_log_stream~1{id}/post", "source_excerpt": "{\"deprecated\":true,\"description\":\"Delete the deployment's log stream with the given id.\\n\\nDeprecated: use `DELETE /integrations/{id}` instead.\",\"operationId\":\"delete_log_stream\",\"parameters\":[{\"description\":\"id of the log stream to delete\",\"in\":\"path\",\"name\":\"id\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"description\":\"\"}},\"security\":[{\"Deploy Key\":[]},{\"OAuth Team Token\":[]},{\"Team Token\":[]},{\"OAuth Project Token\":[]}],\"summary\":\"Delete log stream\",\"tags\":[\"Log Streams\"]}", "confidence": 1, @@ -56,7 +56,7 @@ "operation": "GET /api/v1/get_log_stream/{id}" }, "description": "Operation GET /api/v1/get_log_stream/{id} marked deprecated.", - "source_url": "https://raw.githubusercontent.com/get-convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", + "source_url": "https://raw.githubusercontent.com/convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", "source_pointer": "/paths/~1get_log_stream~1{id}/get", "source_excerpt": "{\"deprecated\":true,\"description\":\"Get the config for a specific log stream by id.\\n\\nDeprecated: use `GET /integrations/{id}` instead.\",\"operationId\":\"get_log_stream\",\"parameters\":[{\"description\":\"id of the log stream to retrieve\",\"in\":\"path\",\"name\":\"id\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/LogStreamConfig\"}}},\"description\":\"\"}},\"security\":[{\"Deploy Key\":[]},{\"OAuth Team Token\":[]},{\"Team Token\":[]},{\"OAuth Project Token\":[]}],\"summary\":\"Get log stream\",\"tags\":[\"Log Streams\"]}", "confidence": 1, @@ -77,7 +77,7 @@ "operation": "GET /api/v1/list_log_streams" }, "description": "Operation GET /api/v1/list_log_streams marked deprecated.", - "source_url": "https://raw.githubusercontent.com/get-convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", + "source_url": "https://raw.githubusercontent.com/convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", "source_pointer": "/paths/~1list_log_streams/get", "source_excerpt": "{\"deprecated\":true,\"description\":\"List configs for all existing log streams in a deployment.\\n\\nDeprecated: use `GET /integrations` instead.\",\"operationId\":\"list_log_streams\",\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"items\":{\"$ref\":\"#/components/schemas/LogStreamConfig\"},\"type\":\"array\"}}},\"description\":\"\"}},\"security\":[{\"Deploy Key\":[]},{\"OAuth Team Token\":[]},{\"Team Token\":[]},{\"OAuth Project Token\":[]}],\"summary\":\"List log streams\",\"tags\":[\"Log Streams\"]}", "confidence": 1, @@ -98,7 +98,7 @@ "operation": "POST /api/v1/rotate_webhook_secret/{id}" }, "description": "Operation POST /api/v1/rotate_webhook_secret/{id} marked deprecated.", - "source_url": "https://raw.githubusercontent.com/get-convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", + "source_url": "https://raw.githubusercontent.com/convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", "source_pointer": "/paths/~1rotate_webhook_secret~1{id}/post", "source_excerpt": "{\"deprecated\":true,\"description\":\"Rotate the secret for the webhook log stream.\\n\\nDeprecated: use `POST /integrations/{id}/rotate_webhook_secret` instead.\",\"operationId\":\"rotate_webhook_secret\",\"parameters\":[{\"description\":\"id of the webhook log stream for which to rotate the secret\",\"in\":\"path\",\"name\":\"id\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/RotateLogStreamSecretResponse\"}}},\"description\":\"\"}},\"security\":[{\"Deploy Key\":[]},{\"OAuth Team Token\":[]},{\"Team Token\":[]},{\"OAuth Project Token\":[]}],\"summary\":\"Rotate webhook log stream secret\",\"tags\":[\"Log Streams\"]}", "confidence": 1, @@ -119,7 +119,7 @@ "operation": "POST /api/v1/update_log_stream/{id}" }, "description": "Operation POST /api/v1/update_log_stream/{id} marked deprecated.", - "source_url": "https://raw.githubusercontent.com/get-convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", + "source_url": "https://raw.githubusercontent.com/convex/convex-backend/5e5159cbea5188e9da5400febda1b031a233eea0/npm-packages/@convex-dev/platform/deployment-openapi.json", "source_pointer": "/paths/~1update_log_stream~1{id}/post", "source_excerpt": "{\"deprecated\":true,\"description\":\"Update an existing log stream for the deployment. Omit a field to keep the\\nexisting value, and use `null` to unset a field.\\n\\nDeprecated: use `PATCH /integrations/{id}` instead.\",\"operationId\":\"update_log_stream\",\"parameters\":[{\"description\":\"id of the log stream to update\",\"in\":\"path\",\"name\":\"id\",\"required\":true,\"schema\":{\"type\":\"string\"}}],\"requestBody\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/UpdateLogStreamArgs\"}}},\"required\":true},\"responses\":{\"200\":{\"description\":\"\"}},\"security\":[{\"Deploy Key\":[]},{\"OAuth Team Token\":[]},{\"Team Token\":[]},{\"OAuth Project Token\":[]}],\"summary\":\"Update log stream\",\"tags\":[\"Log Streams\"]}", "confidence": 1, diff --git a/plugins/openapi/testdata/golden/mongodb-atlas-admin-spec.json b/plugins/openapi/testdata/golden/mongodb-atlas-admin-spec.json new file mode 100644 index 0000000..7df2296 --- /dev/null +++ b/plugins/openapi/testdata/golden/mongodb-atlas-admin-spec.json @@ -0,0 +1,65 @@ +[ + { + "id": 1, + "fingerprint": "sha256:bf859db9c8dc9bc0989b717158e6c8da3c33a351ddcd06320d39d164399983a1", + "api": "mongodb/atlas-admin-spec", + "version": "2025-02-20", + "previous_version": "2025-02-18", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "api_operation", + "kind": "operation", + "side": "request", + "operation": "POST /api/atlas/v2/users" + }, + "description": "Operation POST /api/atlas/v2/users marked deprecated.", + "source_url": "https://raw.githubusercontent.com/mongodb/openapi/28b2c6fc35a44b3272d7afbcaae380e1d28f0e45/openapi/v2.json", + "source_pointer": "/paths/~1api~1atlas~1v2~1users/post", + "source_excerpt": "{\"deprecated\":true,\"description\":\"Creates one MongoDB Cloud user account. A MongoDB Cloud user account grants access to only the MongoDB Cloud application. To grant database access, create a database user. MongoDB Cloud sends an email to the users you specify, inviting them to join the project. Invited users don't have access to the project until they accept the invitation. Invitations expire after 30 days.\\n\\n MongoDB Cloud limits MongoDB Cloud user membership to a maximum of 250 MongoDB Cloud users per team. MongoDB Cloud limits MongoDB Cloud user membership to 500 MongoDB Cloud users per project and 500 MongoDB Cloud users per organization, which includes the combined membership of all projects in the organization. MongoDB Cloud raises an error if an operation exceeds these limits. For example, if you have an organization with five projects, and each project has 100 MongoDB Cloud users, and each MongoDB Cloud user belongs to only one project, you can't add any MongoDB Cloud users to this organization without first removing existing MongoDB Cloud users from the organization.\\n\\n To use this resource, the requesting API Key can have any role.\",\"operationId\":\"createUser\",\"parameters\":[{\"$ref\":\"#/components/parameters/envelope\"},{\"$ref\":\"#/components/parameters/pretty\"}],\"requestBody\":{\"content\":{\"application/vnd.atlas.2023-01-01+json\":{\"schema\":{\"$ref\":\"#/components/schemas/CloudAppUser\"}}},\"description\":\"MongoDB Cloud user account to create.\",\"required\":true},\"responses\":{\"200\":{\"content\":{\"application/vnd.atlas.2023-01-01+json\":{\"schema\":{\"$ref\":\"#/components/schemas/CloudAppUser\"},\"x-sunset\":\"2026-07-31\",\"x-xgen-version\":\"2023-01-01\"}},\"description\":\"OK\"},\"401\":{\"$ref\":\"#/components/responses/unauthorized\"},\"404\":{\"$ref\":\"#/components/responses/notFound\"},\"500\":{\"$ref\":\"#/components/responses/internalServerError\"}},\"summary\":\"Create One MongoDB Cloud User\",\"tags\":[\"MongoDB Cloud Users\"],\"x-xgen-docs-url\":\"https://mongodb.com/docs/atlas/reference/api-resources-sp…", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 2, + "fingerprint": "sha256:a3aa3511e381f1383080ebb27a53c93e640767f1fae251996ed22cf82886f4e3", + "api": "mongodb/atlas-admin-spec", + "version": "2025-02-20", + "previous_version": "2025-02-18", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "api_operation", + "kind": "operation", + "side": "request", + "operation": "GET /api/atlas/v2/users/byName/{userName}" + }, + "description": "Operation GET /api/atlas/v2/users/byName/{userName} marked deprecated.", + "source_url": "https://raw.githubusercontent.com/mongodb/openapi/28b2c6fc35a44b3272d7afbcaae380e1d28f0e45/openapi/v2.json", + "source_pointer": "/paths/~1api~1atlas~1v2~1users~1byName~1{userName}/get", + "source_excerpt": "{\"deprecated\":true,\"description\":\"Returns the details for one MongoDB Cloud user account with the specified username. You can't use this endpoint to return information about an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. To use this resource, the requesting API Key can have any role.\",\"operationId\":\"getUserByUsername\",\"parameters\":[{\"$ref\":\"#/components/parameters/envelope\"},{\"$ref\":\"#/components/parameters/pretty\"},{\"description\":\"Email address that belongs to the MongoDB Cloud user account. You cannot modify this address after creating the user.\",\"in\":\"path\",\"name\":\"userName\",\"required\":true,\"schema\":{\"pattern\":\"^[a-z0-9!#$%\\u0026'*+/=?^_`{|}~-]+(?:\\\\.[a-z0-9!#$%\\u0026'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$\",\"type\":\"string\"}}],\"responses\":{\"200\":{\"content\":{\"application/vnd.atlas.2023-01-01+json\":{\"schema\":{\"$ref\":\"#/components/schemas/CloudAppUser\"},\"x-sunset\":\"2026-07-31\",\"x-xgen-version\":\"2023-01-01\"}},\"description\":\"OK\"},\"401\":{\"$ref\":\"#/components/responses/unauthorized\"},\"404\":{\"$ref\":\"#/components/responses/notFound\"},\"500\":{\"$ref\":\"#/components/responses/internalServerError\"}},\"summary\":\"Return One MongoDB Cloud User using Their Username\",\"tags\":[\"MongoDB Cloud Users\"],\"x-xgen-docs-url\":\"https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername\",\"x-xgen-owner-team\":\"IAM\"}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + }, + { + "id": 3, + "fingerprint": "sha256:7cde782926abc9ce73653bdf74193a84217753231a334852e60ab894674a0bbb", + "api": "mongodb/atlas-admin-spec", + "version": "2025-02-20", + "previous_version": "2025-02-18", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "api_operation", + "kind": "operation", + "side": "request", + "operation": "GET /api/atlas/v2/users/{userId}" + }, + "description": "Operation GET /api/atlas/v2/users/{userId} marked deprecated.", + "source_url": "https://raw.githubusercontent.com/mongodb/openapi/28b2c6fc35a44b3272d7afbcaae380e1d28f0e45/openapi/v2.json", + "source_pointer": "/paths/~1api~1atlas~1v2~1users~1{userId}/get", + "source_excerpt": "{\"deprecated\":true,\"description\":\"Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project. To use this resource, the requesting API Key can have any role.\",\"operationId\":\"getUser\",\"parameters\":[{\"$ref\":\"#/components/parameters/envelope\"},{\"$ref\":\"#/components/parameters/pretty\"},{\"description\":\"Unique 24-hexadecimal digit string that identifies this user.\",\"in\":\"path\",\"name\":\"userId\",\"required\":true,\"schema\":{\"pattern\":\"^([a-f0-9]{24})$\",\"type\":\"string\"}}],\"responses\":{\"200\":{\"content\":{\"application/vnd.atlas.2023-01-01+json\":{\"schema\":{\"$ref\":\"#/components/schemas/CloudAppUser\"},\"x-sunset\":\"2044-01-01\",\"x-xgen-version\":\"2023-01-01\"}},\"description\":\"OK\"},\"401\":{\"$ref\":\"#/components/responses/unauthorized\"},\"404\":{\"$ref\":\"#/components/responses/notFound\"},\"500\":{\"$ref\":\"#/components/responses/internalServerError\"}},\"summary\":\"Return One MongoDB Cloud User using Its ID\",\"tags\":[\"MongoDB Cloud Users\"],\"x-xgen-docs-url\":\"https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser\",\"x-xgen-owner-team\":\"IAM\"}", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/openapi/testdata/golden/openai-api.json b/plugins/openapi/testdata/golden/openai-api.json new file mode 100644 index 0000000..528229f --- /dev/null +++ b/plugins/openapi/testdata/golden/openai-api.json @@ -0,0 +1,23 @@ +[ + { + "id": 1, + "fingerprint": "sha256:fe20f958f779ea71cf22a7ab8f02ed3c6b50d393e95dc617b3d6fac6371f41f2", + "api": "openai/api", + "version": "2026-10-28", + "previous_version": "2026-10-27", + "change_type": "deprecation", + "breaking": false, + "subject": { + "type": "api_operation", + "kind": "operation", + "side": "request", + "operation": "POST /v1/audio/translations" + }, + "description": "Operation POST /v1/audio/translations marked deprecated.", + "source_url": "https://raw.githubusercontent.com/openai/openai-openapi/aa880040fa7b23c8a7e3618b5ca757ecec71de95/openapi.yaml", + "source_pointer": "/paths/~1audio~1translations/post", + "source_excerpt": "{\"deprecated\":true,\"description\":\"Translates audio into English.\\n\\nThis endpoint supports only `whisper-1`. The endpoint and model are deprecated\\nand scheduled to shut down on February 26, 2027. Migrate to\\n`/v1/realtime/translations`, which requires a separate integration. See the\\n[deprecation schedule](https://developers.openai.com/api/docs/deprecations)\\nfor details.\\n\",\"operationId\":\"createTranslation\",\"requestBody\":{\"content\":{\"multipart/form-data\":{\"schema\":{\"$ref\":\"#/components/schemas/CreateTranslationRequest\"}}},\"required\":true},\"responses\":{\"200\":{\"content\":{\"application/json\":{\"schema\":{\"oneOf\":[{\"$ref\":\"#/components/schemas/CreateTranslationResponseJson\"},{\"$ref\":\"#/components/schemas/CreateTranslationResponseVerboseJson\"}]}},\"text/plain\":{\"schema\":{\"type\":\"string\"}}},\"description\":\"OK\"},\"400\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/ErrorResponse\"}}},\"description\":\"Invalid audio input or request parameters.\"},\"401\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/ErrorResponse\"}},\"text/plain\":{\"schema\":{\"description\":\"JSON-encoded error text containing an error object and the HTTP status.\",\"type\":\"string\"}}},\"description\":\"Authentication failed because the API key is missing or revoked, or the client IP is not authorized.\"},\"403\":{\"content\":{\"text/plain\":{\"schema\":{\"description\":\"JSON-encoded error text containing an error object and the HTTP status.\",\"type\":\"string\"}}},\"description\":\"Access to a personal API organization is blocked by the organization policy.\"},\"413\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/ErrorResponse\"}}},\"description\":\"The audio request exceeds the supported size limit.\"},\"429\":{\"$ref\":\"#/components/responses/InferenceRateLimited\"},\"500\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/schemas/ErrorResponse\"}}},\"description\":\"The audio could not be processed.\"},\"502\":{\"content\":{\"application/json\":{\"schema\":{\"$ref\":\"#/components/sche…", + "confidence": 1, + "detected_at": "2026-11-14T12:00:00Z" + } +] diff --git a/plugins/openapi/testdata/mongodb-atlas-2024-07-25.json b/plugins/openapi/testdata/mongodb-atlas-2024-07-25.json new file mode 100644 index 0000000..dfd2e89 --- /dev/null +++ b/plugins/openapi/testdata/mongodb-atlas-2024-07-25.json @@ -0,0 +1,105 @@ +{ + "openapi": "3.0.1", + "info": { + "description": "The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.\n\nThe Atlas Administration API uses HTTP Digest Authentication to authenticate requests. Provide a programmatic API public key and corresponding private key as the username and password when constructing the HTTP request. For example, to [return database access history](#tag/Access-Tracking/operation/listAccessLogsByClusterName) with [cURL](https://en.wikipedia.org/wiki/CURL), run the following command in the terminal:\n\n```\ncurl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"\n```\n\nTo learn more, see [Get Started with the Atlas Administration API](https://www.mongodb.com/docs/atlas/configure-api-access/). For support, see [MongoDB Support](https://www.mongodb.com/support/get-started).", + "license": { + "name": "CC BY-NC-SA 3.0 US", + "url": "https://creativecommons.org/licenses/by-nc-sa/3.0/us/" + }, + "termsOfService": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions", + "title": "MongoDB Atlas Administration API", + "version": "2.0" + }, + "servers": [ + { + "url": "https://cloud.mongodb.com" + } + ], + "paths": { + "/rest/unauth/version": { + "get": { + "description": "This resource returns the deployed gitSHA for the service.", + "operationId": "getVersion", + "parameters": [ + { + "$ref": "#/components/parameters/pretty" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VersionView" + } + } + }, + "description": "OK" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "security": [ + { + "DigestAuth": [] + } + ], + "summary": "Return the deployed gitSHA.", + "tags": [ + "Internal" + ] + } + }, + "/api/atlas/v2": { + "get": { + "description": "This resource returns information about the MongoDB application along with API key meta data.", + "operationId": "getSystemStatus", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/pretty" + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/SystemStatus" + }, + "x-xgen-version": "2023-01-01" + } + }, + "description": "OK" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiError" + } + } + }, + "description": "Unauthorized." + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "security": [ + { + "DigestAuth": [] + } + ], + "summary": "Return the status of this MongoDB application", + "tags": [ + "Root" + ], + "x-xgen-owner-team": "apix" + } + } + } +} diff --git a/plugins/openapi/testdata/mongodb-atlas-2024-08-07.json b/plugins/openapi/testdata/mongodb-atlas-2024-08-07.json new file mode 100644 index 0000000..cfa9635 --- /dev/null +++ b/plugins/openapi/testdata/mongodb-atlas-2024-08-07.json @@ -0,0 +1,70 @@ +{ + "openapi": "3.0.1", + "info": { + "description": "The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.\n\nThe Atlas Administration API uses HTTP Digest Authentication to authenticate requests. Provide a programmatic API public key and corresponding private key as the username and password when constructing the HTTP request. For example, to [return database access history](#tag/Access-Tracking/operation/listAccessLogsByClusterName) with [cURL](https://en.wikipedia.org/wiki/CURL), run the following command in the terminal:\n\n```\ncurl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2025-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"\n```\n\nTo learn more, see [Get Started with the Atlas Administration API](https://www.mongodb.com/docs/atlas/configure-api-access/). For support, see [MongoDB Support](https://www.mongodb.com/support/get-started).", + "license": { + "name": "CC BY-NC-SA 3.0 US", + "url": "https://creativecommons.org/licenses/by-nc-sa/3.0/us/" + }, + "termsOfService": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions", + "title": "MongoDB Atlas Administration API", + "version": "2.0" + }, + "servers": [ + { + "url": "https://cloud.mongodb.com" + } + ], + "paths": { + "/api/atlas/v2": { + "get": { + "description": "This resource returns information about the MongoDB application along with API key meta data.", + "operationId": "getSystemStatus", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/pretty" + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/SystemStatus" + }, + "x-xgen-version": "2023-01-01" + } + }, + "description": "OK" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiError" + } + } + }, + "description": "Unauthorized." + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "security": [ + { + "DigestAuth": [] + } + ], + "summary": "Return the status of this MongoDB application", + "tags": [ + "Root" + ], + "x-xgen-owner-team": "apix" + } + } + } +} diff --git a/plugins/openapi/testdata/mongodb-atlas-2025-02-18.json b/plugins/openapi/testdata/mongodb-atlas-2025-02-18.json new file mode 100644 index 0000000..562a265 --- /dev/null +++ b/plugins/openapi/testdata/mongodb-atlas-2025-02-18.json @@ -0,0 +1,314 @@ +{ + "openapi": "3.0.1", + "info": { + "description": "The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.\n\nThe Atlas Administration API uses HTTP Digest Authentication to authenticate requests. Provide a programmatic API public key and corresponding private key as the username and password when constructing the HTTP request. For example, to [return database access history](#tag/Access-Tracking/operation/listAccessLogsByClusterName) with [cURL](https://en.wikipedia.org/wiki/CURL), run the following command in the terminal:\n\n```\ncurl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2043-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"\n```\n\nTo learn more, see [Get Started with the Atlas Administration API](https://www.mongodb.com/docs/atlas/configure-api-access/). For support, see [MongoDB Support](https://www.mongodb.com/support/get-started).\n\nYou can also explore the various endpoints available through the Atlas Administration API in MongoDB's [Postman workspace](https://www.postman.com/mongodb-devrel/workspace/mongodb-atlas-administration-apis/).", + "license": { + "name": "CC BY-NC-SA 3.0 US", + "url": "https://creativecommons.org/licenses/by-nc-sa/3.0/us/" + }, + "termsOfService": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions", + "title": "MongoDB Atlas Administration API", + "version": "2.0", + "x-xgen-sha": "41da74ec79da4a8e39fd83a99bb8fa302e5c02d1" + }, + "servers": [ + { + "url": "https://cloud.mongodb.com" + } + ], + "paths": { + "/api/atlas/v2/users": { + "post": { + "description": "Creates one MongoDB Cloud user account. A MongoDB Cloud user account grants access to only the MongoDB Cloud application. To grant database access, create a database user. MongoDB Cloud sends an email to the users you specify, inviting them to join the project. Invited users don't have access to the project until they accept the invitation. Invitations expire after 30 days.\n\n MongoDB Cloud limits MongoDB Cloud user membership to a maximum of 250 MongoDB Cloud users per team. MongoDB Cloud limits MongoDB Cloud user membership to 500 MongoDB Cloud users per project and 500 MongoDB Cloud users per organization, which includes the combined membership of all projects in the organization. MongoDB Cloud raises an error if an operation exceeds these limits. For example, if you have an organization with five projects, and each project has 100 MongoDB Cloud users, and each MongoDB Cloud user belongs to only one project, you can't add any MongoDB Cloud users to this organization without first removing existing MongoDB Cloud users from the organization.\n\n To use this resource, the requesting API Key can have any role.", + "operationId": "createUser", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/pretty" + } + ], + "requestBody": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/CloudAppUser" + } + } + }, + "description": "MongoDB Cloud user account to create.", + "required": true + }, + "responses": { + "200": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/CloudAppUser" + }, + "x-xgen-version": "2023-01-01" + } + }, + "description": "OK" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "404": { + "$ref": "#/components/responses/notFound" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Create One MongoDB Cloud User", + "tags": [ + "MongoDB Cloud Users" + ], + "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser", + "x-xgen-owner-team": "IAM" + } + }, + "/api/atlas/v2/users/byName/{userName}": { + "get": { + "description": "Returns the details for one MongoDB Cloud user account with the specified username. You can't use this endpoint to return information about an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. To use this resource, the requesting API Key can have any role.", + "operationId": "getUserByUsername", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/pretty" + }, + { + "description": "Email address that belongs to the MongoDB Cloud user account. You cannot modify this address after creating the user.", + "in": "path", + "name": "userName", + "required": true, + "schema": { + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/CloudAppUser" + }, + "x-xgen-version": "2023-01-01" + } + }, + "description": "OK" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "404": { + "$ref": "#/components/responses/notFound" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Return One MongoDB Cloud User using Their Username", + "tags": [ + "MongoDB Cloud Users" + ], + "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername", + "x-xgen-owner-team": "IAM" + }, + "x-xgen-IPA-exception": { + "xgen-IPA-102-path-alternate-resource-name-path-param": "API predates IPA validation" + } + }, + "/api/atlas/v2/users/{userId}": { + "get": { + "description": "Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project. To use this resource, the requesting API Key can have any role.", + "operationId": "getUser", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/pretty" + }, + { + "description": "Unique 24-hexadecimal digit string that identifies this user.", + "in": "path", + "name": "userId", + "required": true, + "schema": { + "pattern": "^([a-f0-9]{24})$", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/CloudAppUser" + }, + "x-xgen-version": "2023-01-01" + } + }, + "description": "OK" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "404": { + "$ref": "#/components/responses/notFound" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Return One MongoDB Cloud User using Its ID", + "tags": [ + "MongoDB Cloud Users" + ], + "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser", + "x-xgen-owner-team": "IAM" + } + }, + "/api/atlas/v2/orgs/{orgId}/users": { + "get": { + "description": "Returns details about the MongoDB Cloud users associated with the specified organization. Each MongoDB Cloud user returned must belong to the specified organization or to a project within the specified organization. To use this resource, the requesting API Key must have the Organization Member role.", + "operationId": "listOrganizationUsers", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/orgId" + }, + { + "$ref": "#/components/parameters/pretty" + }, + { + "$ref": "#/components/parameters/includeCount" + }, + { + "$ref": "#/components/parameters/itemsPerPage" + }, + { + "$ref": "#/components/parameters/pageNum" + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/PaginatedAppUserView" + }, + "x-sunset": "2044-01-01", + "x-xgen-version": "2023-01-01" + }, + "application/vnd.atlas.2043-01-01+json": { + "schema": { + "$ref": "#/components/schemas/PaginatedOrgUserView" + }, + "x-xgen-hidden-env": { + "envs": "qa,stage,prod" + }, + "x-xgen-version": "2043-01-01" + } + }, + "description": "OK" + }, + "400": { + "$ref": "#/components/responses/badRequest" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "404": { + "$ref": "#/components/responses/notFound" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Return All MongoDB Cloud Users in One Organization", + "tags": [ + "Organizations" + ], + "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrganizationUsers", + "x-xgen-owner-team": "IAM" + }, + "post": { + "description": "Invites one new or existing MongoDB Cloud user to join the organization. The invitation to join the organization will be sent to the username provided and must be accepted within 30 days. To use this resource, the requesting API Key must have the Organization Owner role.\n\n**Note**: If the user does not have an existing MongoDB Cloud account, they will be prompted to finish setting up an account upon accepting the invitation. If the user already has an account, they will still receive an invitation to access the organization.", + "operationId": "createOrganizationUser", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/orgId" + }, + { + "$ref": "#/components/parameters/pretty" + } + ], + "requestBody": { + "content": { + "application/vnd.atlas.2043-01-01+json": { + "schema": { + "$ref": "#/components/schemas/OrgUserRequest" + } + } + }, + "description": "Represents the MongoDB Cloud user to be created within the organization.", + "required": true + }, + "responses": { + "201": { + "content": { + "application/vnd.atlas.2043-01-01+json": { + "schema": { + "$ref": "#/components/schemas/OrgUserResponse" + }, + "x-xgen-version": "2043-01-01" + } + }, + "description": "Created" + }, + "400": { + "$ref": "#/components/responses/badRequest" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/notFound" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Add One MongoDB Cloud User to One Organization", + "tags": [ + "MongoDB Cloud Users" + ], + "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createOrganizationUser", + "x-xgen-hidden-env": { + "envs": "qa,stage,prod" + }, + "x-xgen-owner-team": "IAM" + } + } + } +} diff --git a/plugins/openapi/testdata/mongodb-atlas-2025-02-20.json b/plugins/openapi/testdata/mongodb-atlas-2025-02-20.json new file mode 100644 index 0000000..ed0abea --- /dev/null +++ b/plugins/openapi/testdata/mongodb-atlas-2025-02-20.json @@ -0,0 +1,332 @@ +{ + "openapi": "3.0.1", + "info": { + "description": "The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas.\n\nThe Atlas Administration API uses HTTP Digest Authentication to authenticate requests. Provide a programmatic API public key and corresponding private key as the username and password when constructing the HTTP request. For example, to [return database access history](#tag/Access-Tracking/operation/listAccessLogsByClusterName) with [cURL](https://en.wikipedia.org/wiki/CURL), run the following command in the terminal:\n\n```\ncurl --user \"{PUBLIC-KEY}:{PRIVATE-KEY}\" \\\n --digest \\\n --header \"Accept: application/vnd.atlas.2043-01-01+json\" \\\n -X GET \"https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/dbAccessHistory/clusters/{clusterName}?pretty=true\"\n```\n\nTo learn more, see [Get Started with the Atlas Administration API](https://www.mongodb.com/docs/atlas/configure-api-access/). For support, see [MongoDB Support](https://www.mongodb.com/support/get-started).\n\nYou can also explore the various endpoints available through the Atlas Administration API in MongoDB's [Postman workspace](https://www.postman.com/mongodb-devrel/workspace/mongodb-atlas-administration-apis/).", + "license": { + "name": "CC BY-NC-SA 3.0 US", + "url": "https://creativecommons.org/licenses/by-nc-sa/3.0/us/" + }, + "termsOfService": "https://www.mongodb.com/mongodb-management-service-terms-and-conditions", + "title": "MongoDB Atlas Administration API", + "version": "2.0", + "x-xgen-sha": "252f0a9d10c85c536952b8d919ea5d54f054ec13" + }, + "servers": [ + { + "url": "https://cloud.mongodb.com" + } + ], + "paths": { + "/api/atlas/v2/users": { + "post": { + "deprecated": true, + "description": "Creates one MongoDB Cloud user account. A MongoDB Cloud user account grants access to only the MongoDB Cloud application. To grant database access, create a database user. MongoDB Cloud sends an email to the users you specify, inviting them to join the project. Invited users don't have access to the project until they accept the invitation. Invitations expire after 30 days.\n\n MongoDB Cloud limits MongoDB Cloud user membership to a maximum of 250 MongoDB Cloud users per team. MongoDB Cloud limits MongoDB Cloud user membership to 500 MongoDB Cloud users per project and 500 MongoDB Cloud users per organization, which includes the combined membership of all projects in the organization. MongoDB Cloud raises an error if an operation exceeds these limits. For example, if you have an organization with five projects, and each project has 100 MongoDB Cloud users, and each MongoDB Cloud user belongs to only one project, you can't add any MongoDB Cloud users to this organization without first removing existing MongoDB Cloud users from the organization.\n\n To use this resource, the requesting API Key can have any role.", + "operationId": "createUser", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/pretty" + } + ], + "requestBody": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/CloudAppUser" + } + } + }, + "description": "MongoDB Cloud user account to create.", + "required": true + }, + "responses": { + "200": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/CloudAppUser" + }, + "x-sunset": "2026-07-31", + "x-xgen-version": "2023-01-01" + } + }, + "description": "OK" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "404": { + "$ref": "#/components/responses/notFound" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Create One MongoDB Cloud User", + "tags": [ + "MongoDB Cloud Users" + ], + "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser", + "x-xgen-owner-team": "IAM" + } + }, + "/api/atlas/v2/users/byName/{userName}": { + "get": { + "deprecated": true, + "description": "Returns the details for one MongoDB Cloud user account with the specified username. You can't use this endpoint to return information about an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. To use this resource, the requesting API Key can have any role.", + "operationId": "getUserByUsername", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/pretty" + }, + { + "description": "Email address that belongs to the MongoDB Cloud user account. You cannot modify this address after creating the user.", + "in": "path", + "name": "userName", + "required": true, + "schema": { + "pattern": "^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/CloudAppUser" + }, + "x-sunset": "2026-07-31", + "x-xgen-version": "2023-01-01" + } + }, + "description": "OK" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "404": { + "$ref": "#/components/responses/notFound" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Return One MongoDB Cloud User using Their Username", + "tags": [ + "MongoDB Cloud Users" + ], + "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByUsername", + "x-xgen-owner-team": "IAM" + }, + "x-xgen-IPA-exception": { + "xgen-IPA-102-path-alternate-resource-name-path-param": "API predates IPA validation" + } + }, + "/api/atlas/v2/users/{userId}": { + "get": { + "deprecated": true, + "description": "Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the [Return One Organization](#tag/Organizations/operation/getOrganization) API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project. To use this resource, the requesting API Key can have any role.", + "operationId": "getUser", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/pretty" + }, + { + "description": "Unique 24-hexadecimal digit string that identifies this user.", + "in": "path", + "name": "userId", + "required": true, + "schema": { + "pattern": "^([a-f0-9]{24})$", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/CloudAppUser" + }, + "x-sunset": "2044-01-01", + "x-xgen-version": "2023-01-01" + } + }, + "description": "OK" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "404": { + "$ref": "#/components/responses/notFound" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Return One MongoDB Cloud User using Its ID", + "tags": [ + "MongoDB Cloud Users" + ], + "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser", + "x-xgen-owner-team": "IAM" + } + }, + "/api/atlas/v2/orgs/{orgId}/users": { + "get": { + "description": "Returns details about the pending and active MongoDB Cloud users associated with the specified organization. To use this resource, the requesting API Key must have the Organization Member role.\n\n**Note**: This resource cannot be used to view details about users invited via the deprecated [Invite One MongoDB Cloud User to Join One Project](#tag/Projects/operation/createProjectInvitation) endpoint.\n\n**Note**: If using a deprecated version, only active users will be returned.", + "operationId": "listOrganizationUsers", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/orgId" + }, + { + "$ref": "#/components/parameters/pretty" + }, + { + "$ref": "#/components/parameters/includeCount" + }, + { + "$ref": "#/components/parameters/itemsPerPage" + }, + { + "$ref": "#/components/parameters/pageNum" + }, + { + "description": "Email address to filter users by. Not supported in deprecated versions.", + "in": "query", + "name": "username", + "schema": { + "format": "email", + "type": "string" + } + }, + { + "description": "Organization membership status to filter users by. If you exclude this parameter, this resource returns both pending and active users. Not supported in deprecated versions.", + "in": "query", + "name": "orgMembershipStatus", + "schema": { + "example": "ACTIVE", + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/vnd.atlas.2023-01-01+json": { + "schema": { + "$ref": "#/components/schemas/PaginatedAppUserView" + }, + "x-sunset": "2026-07-31", + "x-xgen-version": "2023-01-01" + }, + "application/vnd.atlas.2025-02-19+json": { + "schema": { + "$ref": "#/components/schemas/PaginatedOrgUserView" + }, + "x-xgen-version": "2025-02-19" + } + }, + "description": "OK" + }, + "400": { + "$ref": "#/components/responses/badRequest" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "404": { + "$ref": "#/components/responses/notFound" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Return All MongoDB Cloud Users in One Organization", + "tags": [ + "MongoDB Cloud Users" + ], + "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/listOrganizationUsers", + "x-xgen-owner-team": "IAM" + }, + "post": { + "description": "Invites one new or existing MongoDB Cloud user to join the organization. The invitation to join the organization will be sent to the username provided and must be accepted within 30 days. To use this resource, the requesting API Key must have the Organization Owner role.\n\n**Note**: If the user does not have an existing MongoDB Cloud account, they will be prompted to finish setting up an account upon accepting the invitation. If the user already has an account, they will still receive an invitation to access the organization.", + "operationId": "createOrganizationUser", + "parameters": [ + { + "$ref": "#/components/parameters/envelope" + }, + { + "$ref": "#/components/parameters/orgId" + }, + { + "$ref": "#/components/parameters/pretty" + } + ], + "requestBody": { + "content": { + "application/vnd.atlas.2025-02-19+json": { + "schema": { + "$ref": "#/components/schemas/OrgUserRequest" + } + } + }, + "description": "Represents the MongoDB Cloud user to be created within the organization.", + "required": true + }, + "responses": { + "201": { + "content": { + "application/vnd.atlas.2025-02-19+json": { + "schema": { + "$ref": "#/components/schemas/OrgUserResponse" + }, + "x-xgen-version": "2025-02-19" + } + }, + "description": "Created" + }, + "400": { + "$ref": "#/components/responses/badRequest" + }, + "401": { + "$ref": "#/components/responses/unauthorized" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/notFound" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Add One MongoDB Cloud User to One Organization", + "tags": [ + "MongoDB Cloud Users" + ], + "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createOrganizationUser", + "x-xgen-owner-team": "IAM" + } + } + } +} diff --git a/plugins/openapi/testdata/openai-2026-10-27.yaml b/plugins/openapi/testdata/openai-2026-10-27.yaml new file mode 100644 index 0000000..9802edc --- /dev/null +++ b/plugins/openapi/testdata/openai-2026-10-27.yaml @@ -0,0 +1,801 @@ +openapi: 3.1.0 +info: + title: OpenAI API + description: The OpenAI REST API. Please see + https://platform.openai.com/docs/api-reference for more details. + version: 2.3.0 + termsOfService: https://openai.com/policies/terms-of-use + contact: + name: OpenAI Support + url: https://help.openai.com/ + license: + name: MIT + identifier: MIT +servers: + - url: https://api.openai.com/v1 +paths: + /audio/translations: + post: + operationId: createTranslation + tags: + - Audio + summary: Create translation + description: Translates audio into English. + requestBody: + required: true + content: + multipart/form-data: + schema: + $ref: "#/components/schemas/CreateTranslationRequest" + responses: + "200": + description: OK + content: + application/json: + schema: + oneOf: + - $ref: "#/components/schemas/CreateTranslationResponseJson" + - $ref: "#/components/schemas/CreateTranslationResponseVerboseJson" + text/plain: + schema: + type: string + "400": + description: Invalid audio input or request parameters. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "401": + description: Authentication failed because the API key is missing or revoked, or + the client IP is not authorized. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP + status. + "403": + description: Access to a personal API organization is blocked by the + organization policy. + content: + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP + status. + "413": + description: The audio request exceeds the supported size limit. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "429": + $ref: "#/components/responses/InferenceRateLimited" + "500": + description: The audio could not be processed. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "502": + description: The upstream audio service connection failed. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "503": + $ref: "#/components/responses/InferenceServiceUnavailable" + x-oaiMeta: + group: audio + examples: + request: + curl: | + curl https://api.openai.com/v1/audio/translations \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/german.m4a" \ + -F model="whisper-1" + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + transcript = client.audio.translations.create( + model="whisper-1", + file=audio_file + ) + javascript: | + import fs from "fs"; + import OpenAI from "openai"; + + const openai = new OpenAI(); + + async function main() { + const translation = await openai.audio.translations.create({ + file: fs.createReadStream("speech.mp3"), + model: "whisper-1", + }); + + console.log(translation.text); + } + main(); + csharp: > + using System; + + + using OpenAI.Audio; + + + string audioFilePath = "audio.mp3"; + + + AudioClient client = new( + model: "whisper-1", + apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY") + ); + + + AudioTranscription transcription = + client.TranscribeAudio(audioFilePath); + + + Console.WriteLine($"{transcription.Text}"); + response: > + { + "text": "Hello, my name is Wolfgang and I come from Germany. Where are you heading today?" + } + /audio/transcriptions: + post: + operationId: createTranscription + tags: + - Audio + summary: Create transcription + description: > + Transcribes audio into the input language. + + + Returns a transcription object in `json`, `diarized_json`, or + `verbose_json` + + format, plain text in `text`, `srt`, or `vtt` format, or a stream of + + transcript events. Supported formats depend on the model. + requestBody: + required: true + content: + multipart/form-data: + schema: + $ref: "#/components/schemas/CreateTranscriptionRequest" + responses: + "200": + description: OK + content: + application/json: + schema: + anyOf: + - $ref: "#/components/schemas/CreateTranscriptionResponseJson" + - $ref: "#/components/schemas/CreateTranscriptionResponseDiarizedJson" + - $ref: "#/components/schemas/CreateTranscriptionResponseVerboseJson" + text/plain: + schema: + type: string + text/event-stream: + schema: + $ref: "#/components/schemas/CreateTranscriptionResponseStreamEvent" + "400": + description: Invalid audio input or request parameters. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "401": + description: Authentication failed because the API key is missing or revoked, or + the client IP is not authorized. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP + status. + "403": + description: Access to a personal API organization is blocked by the + organization policy. + content: + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP + status. + "413": + description: The audio request exceeds the supported size limit. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "429": + $ref: "#/components/responses/InferenceRateLimited" + "500": + description: The audio could not be processed. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "502": + description: The upstream audio service connection failed. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "503": + $ref: "#/components/responses/InferenceServiceUnavailable" + x-oaiMeta: + group: audio + examples: + - title: Default + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/audio.mp3" \ + -F model="gpt-4o-transcribe" + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + transcript = client.audio.transcriptions.create( + model="gpt-4o-transcribe", + file=audio_file + ) + javascript: > + import fs from "fs"; + + import OpenAI from "openai"; + + + const openai = new OpenAI(); + + + async function main() { + const transcription = await openai.audio.transcriptions.create({ + file: fs.createReadStream("audio.mp3"), + model: "gpt-4o-transcribe", + }); + + console.log(transcription.text); + } + + main(); + csharp: > + using System; + + + using OpenAI.Audio; + + string audioFilePath = "audio.mp3"; + + + AudioClient client = new( + model: "gpt-4o-transcribe", + apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY") + ); + + + AudioTranscription transcription = + client.TranscribeAudio(audioFilePath); + + + Console.WriteLine($"{transcription.Text}"); + response: > + { + "text": "Imagine the wildest idea that you've ever had, and you're curious about how it might scale to something that's a 100, a 1,000 times bigger. This is a place where you can get to do that.", + "usage": { + "type": "tokens", + "input_tokens": 14, + "input_token_details": { + "text_tokens": 0, + "audio_tokens": 14 + }, + "output_tokens": 45, + "total_tokens": 59 + } + } + - title: Diarization + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/meeting.wav" \ + -F model="gpt-4o-transcribe-diarize" \ + -F response_format="diarized_json" \ + -F chunking_strategy=auto \ + -F 'known_speaker_names[]=agent' \ + -F 'known_speaker_references[]=data:audio/wav;base64,AAA...' + python: > + import base64 + + from openai import OpenAI + + + client = OpenAI() + + + def to_data_url(path: str) -> str: + with open(path, "rb") as fh: + return "data:audio/wav;base64," + base64.b64encode(fh.read()).decode("utf-8") + + with open("meeting.wav", "rb") as audio_file: + transcript = client.audio.transcriptions.create( + model="gpt-4o-transcribe-diarize", + file=audio_file, + response_format="diarized_json", + chunking_strategy="auto", + extra_body={ + "known_speaker_names": ["agent"], + "known_speaker_references": [to_data_url("agent.wav")], + }, + ) + + print(transcript.segments) + javascript: > + import fs from "fs"; + + import OpenAI from "openai"; + + + const openai = new OpenAI(); + + + const speakerRef = + fs.readFileSync("agent.wav").toString("base64"); + + + const transcript = await openai.audio.transcriptions.create({ + file: fs.createReadStream("meeting.wav"), + model: "gpt-4o-transcribe-diarize", + response_format: "diarized_json", + chunking_strategy: "auto", + extra_body: { + known_speaker_names: ["agent"], + known_speaker_references: [`data:audio/wav;base64,${speakerRef}`], + }, + }); + + + console.log(transcript.segments); + response: > + { + "task": "transcribe", + "duration": 27.4, + "text": "Agent: Thanks for calling OpenAI support.\nA: Hi, I'm trying to enable diarization.\nAgent: Happy to walk you through the steps.", + "segments": [ + { + "type": "transcript.text.segment", + "id": "seg_001", + "start": 0.0, + "end": 4.7, + "text": "Thanks for calling OpenAI support.", + "speaker": "agent" + }, + { + "type": "transcript.text.segment", + "id": "seg_002", + "start": 4.7, + "end": 11.8, + "text": "Hi, I'm trying to enable diarization.", + "speaker": "A" + }, + { + "type": "transcript.text.segment", + "id": "seg_003", + "start": 12.1, + "end": 18.5, + "text": "Happy to walk you through the steps.", + "speaker": "agent" + } + ], + "usage": { + "type": "duration", + "seconds": 27 + } + } + - title: Streaming + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/audio.mp3" \ + -F model="gpt-4o-mini-transcribe" \ + -F stream=true + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + stream = client.audio.transcriptions.create( + file=audio_file, + model="gpt-4o-mini-transcribe", + stream=True + ) + + for event in stream: + print(event) + javascript: | + import fs from "fs"; + import OpenAI from "openai"; + + const openai = new OpenAI(); + + const stream = await openai.audio.transcriptions.create({ + file: fs.createReadStream("audio.mp3"), + model: "gpt-4o-mini-transcribe", + stream: true, + }); + + for await (const event of stream) { + console.log(event); + } + response: | + data: {"type":"transcript.text.delta","delta":"I","logprobs":[{"token":"I","logprob":-0.00007588794,"bytes":[73]}]} + + data: {"type":"transcript.text.delta","delta":" see","logprobs":[{"token":" see","logprob":-3.1281633e-7,"bytes":[32,115,101,101]}]} + + data: {"type":"transcript.text.delta","delta":" skies","logprobs":[{"token":" skies","logprob":-2.3392786e-6,"bytes":[32,115,107,105,101,115]}]} + + data: {"type":"transcript.text.delta","delta":" of","logprobs":[{"token":" of","logprob":-3.1281633e-7,"bytes":[32,111,102]}]} + + data: {"type":"transcript.text.delta","delta":" blue","logprobs":[{"token":" blue","logprob":-1.0280384e-6,"bytes":[32,98,108,117,101]}]} + + data: {"type":"transcript.text.delta","delta":" and","logprobs":[{"token":" and","logprob":-0.0005108566,"bytes":[32,97,110,100]}]} + + data: {"type":"transcript.text.delta","delta":" clouds","logprobs":[{"token":" clouds","logprob":-1.9361265e-7,"bytes":[32,99,108,111,117,100,115]}]} + + data: {"type":"transcript.text.delta","delta":" of","logprobs":[{"token":" of","logprob":-1.9361265e-7,"bytes":[32,111,102]}]} + + data: {"type":"transcript.text.delta","delta":" white","logprobs":[{"token":" white","logprob":-7.89631e-7,"bytes":[32,119,104,105,116,101]}]} + + data: {"type":"transcript.text.delta","delta":",","logprobs":[{"token":",","logprob":-0.0014890312,"bytes":[44]}]} + + data: {"type":"transcript.text.delta","delta":" the","logprobs":[{"token":" the","logprob":-0.0110956915,"bytes":[32,116,104,101]}]} + + data: {"type":"transcript.text.delta","delta":" bright","logprobs":[{"token":" bright","logprob":0.0,"bytes":[32,98,114,105,103,104,116]}]} + + data: {"type":"transcript.text.delta","delta":" blessed","logprobs":[{"token":" blessed","logprob":-0.000045848617,"bytes":[32,98,108,101,115,115,101,100]}]} + + data: {"type":"transcript.text.delta","delta":" days","logprobs":[{"token":" days","logprob":-0.000010802739,"bytes":[32,100,97,121,115]}]} + + data: {"type":"transcript.text.delta","delta":",","logprobs":[{"token":",","logprob":-0.00001700133,"bytes":[44]}]} + + data: {"type":"transcript.text.delta","delta":" the","logprobs":[{"token":" the","logprob":-0.0000118755715,"bytes":[32,116,104,101]}]} + + data: {"type":"transcript.text.delta","delta":" dark","logprobs":[{"token":" dark","logprob":-5.5122365e-7,"bytes":[32,100,97,114,107]}]} + + data: {"type":"transcript.text.delta","delta":" sacred","logprobs":[{"token":" sacred","logprob":-5.4385737e-6,"bytes":[32,115,97,99,114,101,100]}]} + + data: {"type":"transcript.text.delta","delta":" nights","logprobs":[{"token":" nights","logprob":-4.00813e-6,"bytes":[32,110,105,103,104,116,115]}]} + + data: {"type":"transcript.text.delta","delta":",","logprobs":[{"token":",","logprob":-0.0036910512,"bytes":[44]}]} + + data: {"type":"transcript.text.delta","delta":" and","logprobs":[{"token":" and","logprob":-0.0031903093,"bytes":[32,97,110,100]}]} + + data: {"type":"transcript.text.delta","delta":" I","logprobs":[{"token":" I","logprob":-1.504853e-6,"bytes":[32,73]}]} + + data: {"type":"transcript.text.delta","delta":" think","logprobs":[{"token":" think","logprob":-4.3202e-7,"bytes":[32,116,104,105,110,107]}]} + + data: {"type":"transcript.text.delta","delta":" to","logprobs":[{"token":" to","logprob":-1.9361265e-7,"bytes":[32,116,111]}]} + + data: {"type":"transcript.text.delta","delta":" myself","logprobs":[{"token":" myself","logprob":-1.7432603e-6,"bytes":[32,109,121,115,101,108,102]}]} + + data: {"type":"transcript.text.delta","delta":",","logprobs":[{"token":",","logprob":-0.29254505,"bytes":[44]}]} + + data: {"type":"transcript.text.delta","delta":" what","logprobs":[{"token":" what","logprob":-0.016815351,"bytes":[32,119,104,97,116]}]} + + data: {"type":"transcript.text.delta","delta":" a","logprobs":[{"token":" a","logprob":-3.1281633e-7,"bytes":[32,97]}]} + + data: {"type":"transcript.text.delta","delta":" wonderful","logprobs":[{"token":" wonderful","logprob":-2.1008714e-6,"bytes":[32,119,111,110,100,101,114,102,117,108]}]} + + data: {"type":"transcript.text.delta","delta":" world","logprobs":[{"token":" world","logprob":-8.180258e-6,"bytes":[32,119,111,114,108,100]}]} + + data: {"type":"transcript.text.delta","delta":".","logprobs":[{"token":".","logprob":-0.014231676,"bytes":[46]}]} + + data: {"type":"transcript.text.done","text":"I see skies of blue and clouds of white, the bright blessed days, the dark sacred nights, and I think to myself, what a wonderful world.","logprobs":[{"token":"I","logprob":-0.00007588794,"bytes":[73]},{"token":" see","logprob":-3.1281633e-7,"bytes":[32,115,101,101]},{"token":" skies","logprob":-2.3392786e-6,"bytes":[32,115,107,105,101,115]},{"token":" of","logprob":-3.1281633e-7,"bytes":[32,111,102]},{"token":" blue","logprob":-1.0280384e-6,"bytes":[32,98,108,117,101]},{"token":" and","logprob":-0.0005108566,"bytes":[32,97,110,100]},{"token":" clouds","logprob":-1.9361265e-7,"bytes":[32,99,108,111,117,100,115]},{"token":" of","logprob":-1.9361265e-7,"bytes":[32,111,102]},{"token":" white","logprob":-7.89631e-7,"bytes":[32,119,104,105,116,101]},{"token":",","logprob":-0.0014890312,"bytes":[44]},{"token":" the","logprob":-0.0110956915,"bytes":[32,116,104,101]},{"token":" bright","logprob":0.0,"bytes":[32,98,114,105,103,104,116]},{"token":" blessed","logprob":-0.000045848617,"bytes":[32,98,108,101,115,115,101,100]},{"token":" days","logprob":-0.000010802739,"bytes":[32,100,97,121,115]},{"token":",","logprob":-0.00001700133,"bytes":[44]},{"token":" the","logprob":-0.0000118755715,"bytes":[32,116,104,101]},{"token":" dark","logprob":-5.5122365e-7,"bytes":[32,100,97,114,107]},{"token":" sacred","logprob":-5.4385737e-6,"bytes":[32,115,97,99,114,101,100]},{"token":" nights","logprob":-4.00813e-6,"bytes":[32,110,105,103,104,116,115]},{"token":",","logprob":-0.0036910512,"bytes":[44]},{"token":" and","logprob":-0.0031903093,"bytes":[32,97,110,100]},{"token":" I","logprob":-1.504853e-6,"bytes":[32,73]},{"token":" think","logprob":-4.3202e-7,"bytes":[32,116,104,105,110,107]},{"token":" to","logprob":-1.9361265e-7,"bytes":[32,116,111]},{"token":" myself","logprob":-1.7432603e-6,"bytes":[32,109,121,115,101,108,102]},{"token":",","logprob":-0.29254505,"bytes":[44]},{"token":" what","logprob":-0.016815351,"bytes":[32,119,104,97,116]},{"token":" a","logprob":-3.1281633e-7,"bytes":[32,97]},{"token":" wonderful","logprob":-2.1008714e-6,"bytes":[32,119,111,110,100,101,114,102,117,108]},{"token":" world","logprob":-8.180258e-6,"bytes":[32,119,111,114,108,100]},{"token":".","logprob":-0.014231676,"bytes":[46]}],"usage":{"input_tokens":14,"input_token_details":{"text_tokens":0,"audio_tokens":14},"output_tokens":45,"total_tokens":59}} + - title: Logprobs + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/audio.mp3" \ + -F "include[]=logprobs" \ + -F model="gpt-4o-transcribe" \ + -F response_format="json" + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + transcript = client.audio.transcriptions.create( + file=audio_file, + model="gpt-4o-transcribe", + response_format="json", + include=["logprobs"] + ) + + print(transcript) + javascript: > + import fs from "fs"; + + import OpenAI from "openai"; + + + const openai = new OpenAI(); + + + async function main() { + const transcription = await openai.audio.transcriptions.create({ + file: fs.createReadStream("audio.mp3"), + model: "gpt-4o-transcribe", + response_format: "json", + include: ["logprobs"] + }); + + console.log(transcription); + } + + main(); + response: > + { + "text": "Hey, my knee is hurting and I want to see the doctor tomorrow ideally.", + "logprobs": [ + { "token": "Hey", "logprob": -1.0415299, "bytes": [72, 101, 121] }, + { "token": ",", "logprob": -9.805982e-5, "bytes": [44] }, + { "token": " my", "logprob": -0.00229799, "bytes": [32, 109, 121] }, + { + "token": " knee", + "logprob": -4.7159858e-5, + "bytes": [32, 107, 110, 101, 101] + }, + { "token": " is", "logprob": -0.043909557, "bytes": [32, 105, 115] }, + { + "token": " hurting", + "logprob": -1.1041146e-5, + "bytes": [32, 104, 117, 114, 116, 105, 110, 103] + }, + { "token": " and", "logprob": -0.011076359, "bytes": [32, 97, 110, 100] }, + { "token": " I", "logprob": -5.3193703e-6, "bytes": [32, 73] }, + { + "token": " want", + "logprob": -0.0017156356, + "bytes": [32, 119, 97, 110, 116] + }, + { "token": " to", "logprob": -7.89631e-7, "bytes": [32, 116, 111] }, + { "token": " see", "logprob": -5.5122365e-7, "bytes": [32, 115, 101, 101] }, + { "token": " the", "logprob": -0.0040786397, "bytes": [32, 116, 104, 101] }, + { + "token": " doctor", + "logprob": -2.3392786e-6, + "bytes": [32, 100, 111, 99, 116, 111, 114] + }, + { + "token": " tomorrow", + "logprob": -7.89631e-7, + "bytes": [32, 116, 111, 109, 111, 114, 114, 111, 119] + }, + { + "token": " ideally", + "logprob": -0.5800861, + "bytes": [32, 105, 100, 101, 97, 108, 108, 121] + }, + { "token": ".", "logprob": -0.00011093382, "bytes": [46] } + ], + "usage": { + "type": "tokens", + "input_tokens": 14, + "input_token_details": { + "text_tokens": 0, + "audio_tokens": 14 + }, + "output_tokens": 45, + "total_tokens": 59 + } + } + - title: Word timestamps + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/audio.mp3" \ + -F "timestamp_granularities[]=word" \ + -F model="whisper-1" \ + -F response_format="verbose_json" + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + transcript = client.audio.transcriptions.create( + file=audio_file, + model="whisper-1", + response_format="verbose_json", + timestamp_granularities=["word"] + ) + + print(transcript.words) + javascript: > + import fs from "fs"; + + import OpenAI from "openai"; + + + const openai = new OpenAI(); + + + async function main() { + const transcription = await openai.audio.transcriptions.create({ + file: fs.createReadStream("audio.mp3"), + model: "whisper-1", + response_format: "verbose_json", + timestamp_granularities: ["word"] + }); + + console.log(transcription.text); + } + + main(); + csharp: > + using System; + + + using OpenAI.Audio; + + + string audioFilePath = "audio.mp3"; + + + AudioClient client = new( + model: "whisper-1", + apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY") + ); + + + AudioTranscriptionOptions options = new() + + { + ResponseFormat = AudioTranscriptionFormat.Verbose, + TimestampGranularities = AudioTimestampGranularities.Word, + }; + + + AudioTranscription transcription = + client.TranscribeAudio(audioFilePath, options); + + + Console.WriteLine($"{transcription.Text}"); + response: | + { + "task": "transcribe", + "language": "english", + "duration": 0.5, + "text": "Hello.", + "words": [ + { + "word": "Hello", + "start": 0.0, + "end": 0.5 + } + ], + "usage": { + "type": "duration", + "seconds": 1 + } + } + - title: Segment timestamps + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/audio.mp3" \ + -F "timestamp_granularities[]=segment" \ + -F model="whisper-1" \ + -F response_format="verbose_json" + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + transcript = client.audio.transcriptions.create( + file=audio_file, + model="whisper-1", + response_format="verbose_json", + timestamp_granularities=["segment"] + ) + + print(transcript.words) + javascript: > + import fs from "fs"; + + import OpenAI from "openai"; + + + const openai = new OpenAI(); + + + async function main() { + const transcription = await openai.audio.transcriptions.create({ + file: fs.createReadStream("audio.mp3"), + model: "whisper-1", + response_format: "verbose_json", + timestamp_granularities: ["segment"] + }); + + console.log(transcription.text); + } + + main(); + csharp: > + using System; + + + using OpenAI.Audio; + + + string audioFilePath = "audio.mp3"; + + + AudioClient client = new( + model: "whisper-1", + apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY") + ); + + + AudioTranscriptionOptions options = new() + + { + ResponseFormat = AudioTranscriptionFormat.Verbose, + TimestampGranularities = AudioTimestampGranularities.Segment, + }; + + + AudioTranscription transcription = + client.TranscribeAudio(audioFilePath, options); + + + Console.WriteLine($"{transcription.Text}"); + response: > + { + "task": "transcribe", + "language": "english", + "duration": 3.32, + "text": "The beach was a popular spot on a hot summer day.", + "segments": [ + { + "id": 0, + "seek": 0, + "start": 0.0, + "end": 3.319999933242798, + "text": " The beach was a popular spot on a hot summer day.", + "tokens": [ + 50364, 440, 7534, 390, 257, 3743, 4008, 322, 257, 2368, 4266, 786, 13, 50530 + ], + "temperature": 0.0, + "avg_logprob": -0.2860786020755768, + "compression_ratio": 1.2363636493682861, + "no_speech_prob": 0.00985979475080967 + } + ], + "usage": { + "type": "duration", + "seconds": 4 + } + } diff --git a/plugins/openapi/testdata/openai-2026-10-28.yaml b/plugins/openapi/testdata/openai-2026-10-28.yaml new file mode 100644 index 0000000..ea34adc --- /dev/null +++ b/plugins/openapi/testdata/openai-2026-10-28.yaml @@ -0,0 +1,877 @@ +openapi: 3.1.0 +info: + title: OpenAI API + description: The OpenAI REST API. Please see + https://platform.openai.com/docs/api-reference for more details. + version: 2.3.0 + termsOfService: https://openai.com/policies/terms-of-use + contact: + name: OpenAI Support + url: https://help.openai.com/ + license: + name: MIT + identifier: MIT +servers: + - url: https://api.openai.com/v1 +paths: + /audio/translations: + post: + operationId: createTranslation + deprecated: true + tags: + - Audio + summary: Create translation + description: > + Translates audio into English. + + + This endpoint supports only `whisper-1`. The endpoint and model are + deprecated + + and scheduled to shut down on February 26, 2027. Migrate to + + `/v1/realtime/translations`, which requires a separate integration. See + the + + [deprecation + schedule](https://developers.openai.com/api/docs/deprecations) + + for details. + requestBody: + required: true + content: + multipart/form-data: + schema: + $ref: "#/components/schemas/CreateTranslationRequest" + responses: + "200": + description: OK + content: + application/json: + schema: + oneOf: + - $ref: "#/components/schemas/CreateTranslationResponseJson" + - $ref: "#/components/schemas/CreateTranslationResponseVerboseJson" + text/plain: + schema: + type: string + "400": + description: Invalid audio input or request parameters. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "401": + description: Authentication failed because the API key is missing or revoked, or + the client IP is not authorized. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP + status. + "403": + description: Access to a personal API organization is blocked by the + organization policy. + content: + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP + status. + "413": + description: The audio request exceeds the supported size limit. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "429": + $ref: "#/components/responses/InferenceRateLimited" + "500": + description: The audio could not be processed. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "502": + description: The upstream audio service connection failed. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "503": + $ref: "#/components/responses/InferenceServiceUnavailable" + x-oaiMeta: + group: audio + examples: + request: + curl: | + curl https://api.openai.com/v1/audio/translations \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/german.m4a" \ + -F model="whisper-1" + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + transcript = client.audio.translations.create( + model="whisper-1", + file=audio_file + ) + javascript: | + import fs from "fs"; + import OpenAI from "openai"; + + const openai = new OpenAI(); + + async function main() { + const translation = await openai.audio.translations.create({ + file: fs.createReadStream("speech.mp3"), + model: "whisper-1", + }); + + console.log(translation.text); + } + main(); + csharp: > + using System; + + + using OpenAI.Audio; + + + string audioFilePath = "audio.mp3"; + + + AudioClient client = new( + model: "whisper-1", + apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY") + ); + + + AudioTranscription transcription = + client.TranscribeAudio(audioFilePath); + + + Console.WriteLine($"{transcription.Text}"); + response: > + { + "text": "Hello, my name is Wolfgang and I come from Germany. Where are you heading today?" + } + /audio/transcriptions: + post: + operationId: createTranscription + tags: + - Audio + summary: Create transcription + description: > + Transcribes audio into the input language. + + + Returns a transcription object in `json`, `diarized_json`, or + `verbose_json` + + format, plain text in `text`, `srt`, or `vtt` format, or a stream of + + transcript events. Supported formats depend on the model. + requestBody: + required: true + content: + multipart/form-data: + schema: + $ref: "#/components/schemas/CreateTranscriptionRequest" + responses: + "200": + description: OK + content: + application/json: + schema: + anyOf: + - $ref: "#/components/schemas/CreateTranscriptionResponseJson" + - $ref: "#/components/schemas/CreateTranscriptionResponseDiarizedJson" + - $ref: "#/components/schemas/CreateTranscriptionResponseVerboseJson" + text/plain: + schema: + type: string + text/event-stream: + schema: + $ref: "#/components/schemas/CreateTranscriptionResponseStreamEvent" + "400": + description: Invalid audio input or request parameters. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "401": + description: Authentication failed because the API key is missing or revoked, or + the client IP is not authorized. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP + status. + "403": + description: Access to a personal API organization is blocked by the + organization policy. + content: + text/plain: + schema: + type: string + description: JSON-encoded error text containing an error object and the HTTP + status. + "413": + description: The audio request exceeds the supported size limit. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "429": + $ref: "#/components/responses/InferenceRateLimited" + "500": + description: The audio could not be processed. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "502": + description: The upstream audio service connection failed. + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorResponse" + "503": + $ref: "#/components/responses/InferenceServiceUnavailable" + x-oaiMeta: + group: audio + examples: + - title: Default + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/audio.mp3" \ + -F model="gpt-4o-transcribe" + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + transcript = client.audio.transcriptions.create( + model="gpt-4o-transcribe", + file=audio_file + ) + javascript: > + import fs from "fs"; + + import OpenAI from "openai"; + + + const openai = new OpenAI(); + + + async function main() { + const transcription = await openai.audio.transcriptions.create({ + file: fs.createReadStream("audio.mp3"), + model: "gpt-4o-transcribe", + }); + + console.log(transcription.text); + } + + main(); + csharp: > + using System; + + + using OpenAI.Audio; + + string audioFilePath = "audio.mp3"; + + + AudioClient client = new( + model: "gpt-4o-transcribe", + apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY") + ); + + + AudioTranscription transcription = + client.TranscribeAudio(audioFilePath); + + + Console.WriteLine($"{transcription.Text}"); + response: > + { + "text": "Imagine the wildest idea that you've ever had, and you're curious about how it might scale to something that's a 100, a 1,000 times bigger. This is a place where you can get to do that.", + "usage": { + "type": "tokens", + "input_tokens": 14, + "input_token_details": { + "text_tokens": 0, + "audio_tokens": 14 + }, + "output_tokens": 45, + "total_tokens": 59 + } + } + - title: Diarization + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/meeting.wav" \ + -F model="gpt-4o-transcribe-diarize" \ + -F response_format="diarized_json" \ + -F chunking_strategy=auto \ + -F 'known_speaker_names[]=agent' \ + -F 'known_speaker_references[]=data:audio/wav;base64,AAA...' + python: > + import base64 + + from openai import OpenAI + + + client = OpenAI() + + + def to_data_url(path: str) -> str: + with open(path, "rb") as fh: + return "data:audio/wav;base64," + base64.b64encode(fh.read()).decode("utf-8") + + with open("meeting.wav", "rb") as audio_file: + transcript = client.audio.transcriptions.create( + model="gpt-4o-transcribe-diarize", + file=audio_file, + response_format="diarized_json", + chunking_strategy="auto", + extra_body={ + "known_speaker_names": ["agent"], + "known_speaker_references": [to_data_url("agent.wav")], + }, + ) + + print(transcript.segments) + javascript: > + import fs from "fs"; + + import OpenAI from "openai"; + + + const openai = new OpenAI(); + + + const speakerRef = + fs.readFileSync("agent.wav").toString("base64"); + + + const transcript = await openai.audio.transcriptions.create({ + file: fs.createReadStream("meeting.wav"), + model: "gpt-4o-transcribe-diarize", + response_format: "diarized_json", + chunking_strategy: "auto", + extra_body: { + known_speaker_names: ["agent"], + known_speaker_references: [`data:audio/wav;base64,${speakerRef}`], + }, + }); + + + console.log(transcript.segments); + response: > + { + "task": "transcribe", + "duration": 27.4, + "text": "Agent: Thanks for calling OpenAI support.\nA: Hi, I'm trying to enable diarization.\nAgent: Happy to walk you through the steps.", + "segments": [ + { + "type": "transcript.text.segment", + "id": "seg_001", + "start": 0.0, + "end": 4.7, + "text": "Thanks for calling OpenAI support.", + "speaker": "agent" + }, + { + "type": "transcript.text.segment", + "id": "seg_002", + "start": 4.7, + "end": 11.8, + "text": "Hi, I'm trying to enable diarization.", + "speaker": "A" + }, + { + "type": "transcript.text.segment", + "id": "seg_003", + "start": 12.1, + "end": 18.5, + "text": "Happy to walk you through the steps.", + "speaker": "agent" + } + ], + "usage": { + "type": "duration", + "seconds": 27 + } + } + - title: Streaming + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/audio.mp3" \ + -F model="gpt-4o-mini-transcribe" \ + -F stream=true + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + stream = client.audio.transcriptions.create( + file=audio_file, + model="gpt-4o-mini-transcribe", + stream=True + ) + + for event in stream: + print(event) + javascript: | + import fs from "fs"; + import OpenAI from "openai"; + + const openai = new OpenAI(); + + const stream = await openai.audio.transcriptions.create({ + file: fs.createReadStream("audio.mp3"), + model: "gpt-4o-mini-transcribe", + stream: true, + }); + + for await (const event of stream) { + console.log(event); + } + response: | + data: {"type":"transcript.text.delta","delta":"I","logprobs":[{"token":"I","logprob":-0.00007588794,"bytes":[73]}]} + + data: {"type":"transcript.text.delta","delta":" see","logprobs":[{"token":" see","logprob":-3.1281633e-7,"bytes":[32,115,101,101]}]} + + data: {"type":"transcript.text.delta","delta":" skies","logprobs":[{"token":" skies","logprob":-2.3392786e-6,"bytes":[32,115,107,105,101,115]}]} + + data: {"type":"transcript.text.delta","delta":" of","logprobs":[{"token":" of","logprob":-3.1281633e-7,"bytes":[32,111,102]}]} + + data: {"type":"transcript.text.delta","delta":" blue","logprobs":[{"token":" blue","logprob":-1.0280384e-6,"bytes":[32,98,108,117,101]}]} + + data: {"type":"transcript.text.delta","delta":" and","logprobs":[{"token":" and","logprob":-0.0005108566,"bytes":[32,97,110,100]}]} + + data: {"type":"transcript.text.delta","delta":" clouds","logprobs":[{"token":" clouds","logprob":-1.9361265e-7,"bytes":[32,99,108,111,117,100,115]}]} + + data: {"type":"transcript.text.delta","delta":" of","logprobs":[{"token":" of","logprob":-1.9361265e-7,"bytes":[32,111,102]}]} + + data: {"type":"transcript.text.delta","delta":" white","logprobs":[{"token":" white","logprob":-7.89631e-7,"bytes":[32,119,104,105,116,101]}]} + + data: {"type":"transcript.text.delta","delta":",","logprobs":[{"token":",","logprob":-0.0014890312,"bytes":[44]}]} + + data: {"type":"transcript.text.delta","delta":" the","logprobs":[{"token":" the","logprob":-0.0110956915,"bytes":[32,116,104,101]}]} + + data: {"type":"transcript.text.delta","delta":" bright","logprobs":[{"token":" bright","logprob":0.0,"bytes":[32,98,114,105,103,104,116]}]} + + data: {"type":"transcript.text.delta","delta":" blessed","logprobs":[{"token":" blessed","logprob":-0.000045848617,"bytes":[32,98,108,101,115,115,101,100]}]} + + data: {"type":"transcript.text.delta","delta":" days","logprobs":[{"token":" days","logprob":-0.000010802739,"bytes":[32,100,97,121,115]}]} + + data: {"type":"transcript.text.delta","delta":",","logprobs":[{"token":",","logprob":-0.00001700133,"bytes":[44]}]} + + data: {"type":"transcript.text.delta","delta":" the","logprobs":[{"token":" the","logprob":-0.0000118755715,"bytes":[32,116,104,101]}]} + + data: {"type":"transcript.text.delta","delta":" dark","logprobs":[{"token":" dark","logprob":-5.5122365e-7,"bytes":[32,100,97,114,107]}]} + + data: {"type":"transcript.text.delta","delta":" sacred","logprobs":[{"token":" sacred","logprob":-5.4385737e-6,"bytes":[32,115,97,99,114,101,100]}]} + + data: {"type":"transcript.text.delta","delta":" nights","logprobs":[{"token":" nights","logprob":-4.00813e-6,"bytes":[32,110,105,103,104,116,115]}]} + + data: {"type":"transcript.text.delta","delta":",","logprobs":[{"token":",","logprob":-0.0036910512,"bytes":[44]}]} + + data: {"type":"transcript.text.delta","delta":" and","logprobs":[{"token":" and","logprob":-0.0031903093,"bytes":[32,97,110,100]}]} + + data: {"type":"transcript.text.delta","delta":" I","logprobs":[{"token":" I","logprob":-1.504853e-6,"bytes":[32,73]}]} + + data: {"type":"transcript.text.delta","delta":" think","logprobs":[{"token":" think","logprob":-4.3202e-7,"bytes":[32,116,104,105,110,107]}]} + + data: {"type":"transcript.text.delta","delta":" to","logprobs":[{"token":" to","logprob":-1.9361265e-7,"bytes":[32,116,111]}]} + + data: {"type":"transcript.text.delta","delta":" myself","logprobs":[{"token":" myself","logprob":-1.7432603e-6,"bytes":[32,109,121,115,101,108,102]}]} + + data: {"type":"transcript.text.delta","delta":",","logprobs":[{"token":",","logprob":-0.29254505,"bytes":[44]}]} + + data: {"type":"transcript.text.delta","delta":" what","logprobs":[{"token":" what","logprob":-0.016815351,"bytes":[32,119,104,97,116]}]} + + data: {"type":"transcript.text.delta","delta":" a","logprobs":[{"token":" a","logprob":-3.1281633e-7,"bytes":[32,97]}]} + + data: {"type":"transcript.text.delta","delta":" wonderful","logprobs":[{"token":" wonderful","logprob":-2.1008714e-6,"bytes":[32,119,111,110,100,101,114,102,117,108]}]} + + data: {"type":"transcript.text.delta","delta":" world","logprobs":[{"token":" world","logprob":-8.180258e-6,"bytes":[32,119,111,114,108,100]}]} + + data: {"type":"transcript.text.delta","delta":".","logprobs":[{"token":".","logprob":-0.014231676,"bytes":[46]}]} + + data: {"type":"transcript.text.done","text":"I see skies of blue and clouds of white, the bright blessed days, the dark sacred nights, and I think to myself, what a wonderful world.","logprobs":[{"token":"I","logprob":-0.00007588794,"bytes":[73]},{"token":" see","logprob":-3.1281633e-7,"bytes":[32,115,101,101]},{"token":" skies","logprob":-2.3392786e-6,"bytes":[32,115,107,105,101,115]},{"token":" of","logprob":-3.1281633e-7,"bytes":[32,111,102]},{"token":" blue","logprob":-1.0280384e-6,"bytes":[32,98,108,117,101]},{"token":" and","logprob":-0.0005108566,"bytes":[32,97,110,100]},{"token":" clouds","logprob":-1.9361265e-7,"bytes":[32,99,108,111,117,100,115]},{"token":" of","logprob":-1.9361265e-7,"bytes":[32,111,102]},{"token":" white","logprob":-7.89631e-7,"bytes":[32,119,104,105,116,101]},{"token":",","logprob":-0.0014890312,"bytes":[44]},{"token":" the","logprob":-0.0110956915,"bytes":[32,116,104,101]},{"token":" bright","logprob":0.0,"bytes":[32,98,114,105,103,104,116]},{"token":" blessed","logprob":-0.000045848617,"bytes":[32,98,108,101,115,115,101,100]},{"token":" days","logprob":-0.000010802739,"bytes":[32,100,97,121,115]},{"token":",","logprob":-0.00001700133,"bytes":[44]},{"token":" the","logprob":-0.0000118755715,"bytes":[32,116,104,101]},{"token":" dark","logprob":-5.5122365e-7,"bytes":[32,100,97,114,107]},{"token":" sacred","logprob":-5.4385737e-6,"bytes":[32,115,97,99,114,101,100]},{"token":" nights","logprob":-4.00813e-6,"bytes":[32,110,105,103,104,116,115]},{"token":",","logprob":-0.0036910512,"bytes":[44]},{"token":" and","logprob":-0.0031903093,"bytes":[32,97,110,100]},{"token":" I","logprob":-1.504853e-6,"bytes":[32,73]},{"token":" think","logprob":-4.3202e-7,"bytes":[32,116,104,105,110,107]},{"token":" to","logprob":-1.9361265e-7,"bytes":[32,116,111]},{"token":" myself","logprob":-1.7432603e-6,"bytes":[32,109,121,115,101,108,102]},{"token":",","logprob":-0.29254505,"bytes":[44]},{"token":" what","logprob":-0.016815351,"bytes":[32,119,104,97,116]},{"token":" a","logprob":-3.1281633e-7,"bytes":[32,97]},{"token":" wonderful","logprob":-2.1008714e-6,"bytes":[32,119,111,110,100,101,114,102,117,108]},{"token":" world","logprob":-8.180258e-6,"bytes":[32,119,111,114,108,100]},{"token":".","logprob":-0.014231676,"bytes":[46]}],"usage":{"input_tokens":14,"input_token_details":{"text_tokens":0,"audio_tokens":14},"output_tokens":45,"total_tokens":59}} + - title: Logprobs + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/audio.mp3" \ + -F "include[]=logprobs" \ + -F model="gpt-4o-transcribe" \ + -F response_format="json" + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + transcript = client.audio.transcriptions.create( + file=audio_file, + model="gpt-4o-transcribe", + response_format="json", + include=["logprobs"] + ) + + print(transcript) + javascript: > + import fs from "fs"; + + import OpenAI from "openai"; + + + const openai = new OpenAI(); + + + async function main() { + const transcription = await openai.audio.transcriptions.create({ + file: fs.createReadStream("audio.mp3"), + model: "gpt-4o-transcribe", + response_format: "json", + include: ["logprobs"] + }); + + console.log(transcription); + } + + main(); + response: > + { + "text": "Hey, my knee is hurting and I want to see the doctor tomorrow ideally.", + "logprobs": [ + { "token": "Hey", "logprob": -1.0415299, "bytes": [72, 101, 121] }, + { "token": ",", "logprob": -9.805982e-5, "bytes": [44] }, + { "token": " my", "logprob": -0.00229799, "bytes": [32, 109, 121] }, + { + "token": " knee", + "logprob": -4.7159858e-5, + "bytes": [32, 107, 110, 101, 101] + }, + { "token": " is", "logprob": -0.043909557, "bytes": [32, 105, 115] }, + { + "token": " hurting", + "logprob": -1.1041146e-5, + "bytes": [32, 104, 117, 114, 116, 105, 110, 103] + }, + { "token": " and", "logprob": -0.011076359, "bytes": [32, 97, 110, 100] }, + { "token": " I", "logprob": -5.3193703e-6, "bytes": [32, 73] }, + { + "token": " want", + "logprob": -0.0017156356, + "bytes": [32, 119, 97, 110, 116] + }, + { "token": " to", "logprob": -7.89631e-7, "bytes": [32, 116, 111] }, + { "token": " see", "logprob": -5.5122365e-7, "bytes": [32, 115, 101, 101] }, + { "token": " the", "logprob": -0.0040786397, "bytes": [32, 116, 104, 101] }, + { + "token": " doctor", + "logprob": -2.3392786e-6, + "bytes": [32, 100, 111, 99, 116, 111, 114] + }, + { + "token": " tomorrow", + "logprob": -7.89631e-7, + "bytes": [32, 116, 111, 109, 111, 114, 114, 111, 119] + }, + { + "token": " ideally", + "logprob": -0.5800861, + "bytes": [32, 105, 100, 101, 97, 108, 108, 121] + }, + { "token": ".", "logprob": -0.00011093382, "bytes": [46] } + ], + "usage": { + "type": "tokens", + "input_tokens": 14, + "input_token_details": { + "text_tokens": 0, + "audio_tokens": 14 + }, + "output_tokens": 45, + "total_tokens": 59 + } + } + - title: Word timestamps + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/audio.mp3" \ + -F "timestamp_granularities[]=word" \ + -F model="whisper-1" \ + -F response_format="verbose_json" + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + transcript = client.audio.transcriptions.create( + file=audio_file, + model="whisper-1", + response_format="verbose_json", + timestamp_granularities=["word"] + ) + + print(transcript.words) + javascript: > + import fs from "fs"; + + import OpenAI from "openai"; + + + const openai = new OpenAI(); + + + async function main() { + const transcription = await openai.audio.transcriptions.create({ + file: fs.createReadStream("audio.mp3"), + model: "whisper-1", + response_format: "verbose_json", + timestamp_granularities: ["word"] + }); + + console.log(transcription.text); + } + + main(); + csharp: > + using System; + + + using OpenAI.Audio; + + + string audioFilePath = "audio.mp3"; + + + AudioClient client = new( + model: "whisper-1", + apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY") + ); + + + AudioTranscriptionOptions options = new() + + { + ResponseFormat = AudioTranscriptionFormat.Verbose, + TimestampGranularities = AudioTimestampGranularities.Word, + }; + + + AudioTranscription transcription = + client.TranscribeAudio(audioFilePath, options); + + + Console.WriteLine($"{transcription.Text}"); + response: | + { + "task": "transcribe", + "language": "english", + "duration": 0.5, + "text": "Hello.", + "words": [ + { + "word": "Hello", + "start": 0.0, + "end": 0.5 + } + ], + "usage": { + "type": "duration", + "seconds": 1 + } + } + - title: Segment timestamps + request: + curl: | + curl https://api.openai.com/v1/audio/transcriptions \ + -H "Authorization: Bearer $OPENAI_API_KEY" \ + -H "Content-Type: multipart/form-data" \ + -F file="@/path/to/file/audio.mp3" \ + -F "timestamp_granularities[]=segment" \ + -F model="whisper-1" \ + -F response_format="verbose_json" + python: | + from openai import OpenAI + client = OpenAI() + + audio_file = open("speech.mp3", "rb") + transcript = client.audio.transcriptions.create( + file=audio_file, + model="whisper-1", + response_format="verbose_json", + timestamp_granularities=["segment"] + ) + + print(transcript.words) + javascript: > + import fs from "fs"; + + import OpenAI from "openai"; + + + const openai = new OpenAI(); + + + async function main() { + const transcription = await openai.audio.transcriptions.create({ + file: fs.createReadStream("audio.mp3"), + model: "whisper-1", + response_format: "verbose_json", + timestamp_granularities: ["segment"] + }); + + console.log(transcription.text); + } + + main(); + csharp: > + using System; + + + using OpenAI.Audio; + + + string audioFilePath = "audio.mp3"; + + + AudioClient client = new( + model: "whisper-1", + apiKey: Environment.GetEnvironmentVariable("OPENAI_API_KEY") + ); + + + AudioTranscriptionOptions options = new() + + { + ResponseFormat = AudioTranscriptionFormat.Verbose, + TimestampGranularities = AudioTimestampGranularities.Segment, + }; + + + AudioTranscription transcription = + client.TranscribeAudio(audioFilePath, options); + + + Console.WriteLine($"{transcription.Text}"); + response: > + { + "task": "transcribe", + "language": "english", + "duration": 3.32, + "text": "The beach was a popular spot on a hot summer day.", + "segments": [ + { + "id": 0, + "seek": 0, + "start": 0.0, + "end": 3.319999933242798, + "text": " The beach was a popular spot on a hot summer day.", + "tokens": [ + 50364, 440, 7534, 390, 257, 3743, 4008, 322, 257, 2368, 4266, 786, 13, 50530 + ], + "temperature": 0.0, + "avg_logprob": -0.2860786020755768, + "compression_ratio": 1.2363636493682861, + "no_speech_prob": 0.00985979475080967 + } + ], + "usage": { + "type": "duration", + "seconds": 4 + } + } + /organization/external_keys: + post: + summary: Add an external key config for an organization + description: Add an external key config for an organization + operationId: Addanexternalkeyconfigforanorganization + parameters: [] + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/V1OrganizationExternalKeysPostRequest" + required: true + responses: + "200": + description: Success + content: + application/json: + schema: + $ref: "#/components/schemas/ExternalKeyResource" + security: + - AdminApiKeyAuth: [] + get: + summary: List the external key configs registered on the user's organization + description: List the external key configs registered on the user's organization + operationId: Listtheexternalkeyconfigsregisteredontheuser'sorganization + parameters: + - name: limit + in: query + required: false + schema: + type: integer + minimum: 0 + maximum: 100 + - name: order + in: query + required: false + schema: + $ref: "#/components/schemas/OrderEnum" + - name: after + in: query + required: false + schema: + anyOf: + - type: string + - type: "null" + - name: purpose + in: query + description: Filter by key purpose. When omitted, returns keys of all purposes. + required: false + schema: + $ref: "#/components/schemas/ExternalKeyPurpose" + responses: + "200": + description: Success + content: + application/json: + schema: + $ref: "#/components/schemas/ListExternalKeysResource" + security: + - AdminApiKeyAuth: [] diff --git a/plugins/openapi/testdata/openai-2026-11-17.yaml b/plugins/openapi/testdata/openai-2026-11-17.yaml new file mode 100644 index 0000000..886f03c --- /dev/null +++ b/plugins/openapi/testdata/openai-2026-11-17.yaml @@ -0,0 +1,84 @@ +openapi: 3.1.0 +info: + title: OpenAI API + description: The OpenAI REST API. Please see + https://platform.openai.com/docs/api-reference for more details. + version: 2.3.0 + termsOfService: https://openai.com/policies/terms-of-use + contact: + name: OpenAI Support + url: https://help.openai.com/ + license: + name: MIT + identifier: MIT +servers: + - url: https://api.openai.com/v1 +components: + schemas: + SessionBudgetControlParams: + type: object + properties: + limit: + type: + - integer + - "null" + format: int64 + minimum: 1 + maximum: 4503599627370495 + description: Positive USD cents, or null to remove the limit. + required: + - limit + additionalProperties: false + description: Sets the session-wide limit without changing recorded spend. + SessionBudgetControlResource: + type: object + properties: + limit: + type: + - integer + - "null" + format: int64 + minimum: 1 + maximum: 4503599627370495 + description: The configured positive limit in USD cents, or null when unlimited. + consumed: + type: + - integer + - "null" + minimum: 0 + description: Best-effort recorded spend floored to whole USD cents, or null when + unavailable. + required: + - limit + - consumed + additionalProperties: false + description: Session-wide spending limit and best-effort consumption, including + unlimited sessions. + SessionEventAgentSessionBudgetReached: + type: object + properties: + type: + type: string + enum: + - agent.session.budget_reached + default: agent.session.budget_reached + x-stainless-const: true + description: The type of the object. Always `agent.session.budget_reached`. + event_id: + type: string + minLength: 0 + description: The unique ID of the event. + session: + $ref: "#/components/schemas/SessionResource" + description: The paused session. + obfuscation: + type: string + minLength: 0 + description: Random alphanumeric padding. Present when stream obfuscation is + enabled. + required: + - type + - event_id + - session + additionalProperties: false + description: Emitted when a session pauses because its spending limit was reached. diff --git a/plugins/openapi/testdata/openai-2026-11-18.yaml b/plugins/openapi/testdata/openai-2026-11-18.yaml new file mode 100644 index 0000000..900273a --- /dev/null +++ b/plugins/openapi/testdata/openai-2026-11-18.yaml @@ -0,0 +1,17 @@ +openapi: 3.1.0 +info: + title: OpenAI API + description: The OpenAI REST API. Please see + https://platform.openai.com/docs/api-reference for more details. + version: 2.3.0 + termsOfService: https://openai.com/policies/terms-of-use + contact: + name: OpenAI Support + url: https://help.openai.com/ + license: + name: MIT + identifier: MIT +servers: + - url: https://api.openai.com/v1 +components: + schemas: diff --git a/providers/algolia-python-surface.md b/providers/algolia-python-surface.md new file mode 100644 index 0000000..336a5b2 --- /dev/null +++ b/providers/algolia-python-surface.md @@ -0,0 +1,35 @@ +# Algolia Python client (`algolia/python-surface`) + +## What it watches + +The public API of the `algoliasearch` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install algoliasearch==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md; the specs themselves (the HTTP API). +- **Quote:** `class FacetFilters(BaseModel)` (`algoliasearch/recommend/models/facet_filters.py` line 21) at 4.44.1, gone at 4.44.3 (back at 4.44.4). + +## How the provider announces changes + +- The client is generated from Algolia's API specs (the `algolia/*-api` sources) and released every week or two. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `algoliasearch/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. diff --git a/providers/anthropic-python-surface.md b/providers/anthropic-python-surface.md new file mode 100644 index 0000000..5bfe49a --- /dev/null +++ b/providers/anthropic-python-surface.md @@ -0,0 +1,35 @@ +# Anthropic Python SDK (`anthropic/python-surface`) + +## What it watches + +The public API of the `anthropic` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install anthropic==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** the repo's CHANGELOG.md (commit titles, read by the `changelog` kind where registered); the migration guide (`anthropic/python-sdk`, kind `migrationguide`: majors only); there is no public OpenAPI spec. +- **Quote:** `class BetaBillingFrozenError(PermissionDeniedError)` (`anthropic/types/beta/beta_billing_frozen_error.py` line 9) at 2.6.0, gone at 2.7.0. + +## How the provider announces changes + +- The SDK is generated from Anthropic's API definition and released every week or two; beta types come and go with the betas. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `anthropic/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. diff --git a/providers/anthropic-typescript-surface.md b/providers/anthropic-typescript-surface.md new file mode 100644 index 0000000..a4272c7 --- /dev/null +++ b/providers/anthropic-typescript-surface.md @@ -0,0 +1,37 @@ +# Anthropic TypeScript SDK (`anthropic/typescript-surface`) + +## What it watches + +The public API of the `@anthropic-ai/sdk` package on npm, release by release, read from its TypeScript declarations: exported names removed, class members removed, parameters removed, and parameters that are no longer optional. One `package_release` event per change. Every final release is listed from the npm registry (pre-releases and deprecated versions left out), and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the TypeScript declaration reader (`plugins/apisurface/dtsurface`). + +## Why this source + +- **Source:** the release tarballs on the npm registry (), each version's `dist.tarball`, read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the declarations in the tarball are exactly what TypeScript checks a customer's code against after `npm install @anthropic-ai/sdk@`, and what editors show JavaScript users. A published tarball never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md (commit titles); the migration guide (majors only). +- **Quote:** `class BetaBillingFrozenError extends PermissionDeniedError` (`resources/beta/organization/organization.d.mts` line 45) at 1.6.0, gone at 1.7.0. + +## How the provider announces changes + +- Generated from Anthropic's API definition and released every week or two; beta types come and go with the betas. +- **Forced on upgrade**, for a repo whose lockfile reaches the release. + +## What the plugin reads and ignores + +- Reads `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files of each release's tarball from the npm registry, in memory, as text (`plugins/apisurface/dtsurface`): nothing in the package is run, no install script, no TypeScript compiler. The entry points are `package.json`'s `exports` (each subpath, wildcards matched against the files; for each, its `types` condition, else the `import` one), or its `types`/`typings`. +- For each entry point: every exported name (classes, functions, enums, variables, interfaces, type aliases, namespaces, and names re-exported from another package, by name only), and below a class or namespace what it holds: a class's public methods and properties, and its constructor's parameters; a namespace's classes, functions and namespaces. Symbols are named by the import path code writes: `@anthropic-ai/sdk/resources/messages.Messages.create`. +- Parameters compare by position, as TypeScript passes them: a parameter gone off the end (with no rest parameter now) is removed; one optional before and required now is a `changed_default`. A renamed parameter is no change. +- Ignores names marked `@internal`, `private` and `protected` members, `#private` fields, setters, index signatures, interface and object-type members, interfaces and type aliases inside a namespace (an entry point's own are read), entry points under a private path (`_shims`, `internal`, `src`), the `./index` duplicate of the root, and what the default export holds (it's the same declaration as a named one). +- One declaration reachable at several import paths is one event, every path in its `symbols`. +- Drops (and logs) a removal that may not be one: a member of a name now re-exported from another package, now a value, an interface or a type (whose members aren't read); a method gone from a class that extends a class of another package (it may define it); a name an entry point may still get from a package it re-exports wholesale (`export * from "other"`). + +## Known gaps + +- What a property's type holds isn't followed: `client.chat.completions.create` is read as the `Completions` class's `create`, reached through namespaces and entry points, not through the `chat` property's type. +- Type changes (a parameter's type narrowed, a return type changed, an interface's fields) aren't events. +- A package that re-exports another wholesale (`export * from "@scope/core"`) hides that package's API: it's a source of its own, or not read. +- Classes are indexed by name across files to follow a method to its base class: two classes of the same name (in two namespaces) are read as one, which can only turn a removal into a note, never add one. +- A parameter added without being optional is a note (the change-event contract has no subject for it yet). +- The client re-exports every resource through its namespaces, so one removed class has many paths (16 for `BetaBillingFrozenError`), all in one event. diff --git a/providers/appwrite.md b/providers/appwrite.md index 0d5e8e2..8d08aee 100644 --- a/providers/appwrite.md +++ b/providers/appwrite.md @@ -45,6 +45,6 @@ Kind: `openapi` (`plugins/openapi`), with `adapter.Appwrite`. - **Removals aren't events.** The spec doesn't mark them first, so real ones are missed. The SDK changelogs say them ("* Breaking: removed `X`"); a `changelog` plugin per SDK could read them. - **Deprecations from before the plugin's first run aren't events,** nor operations that first appear already flagged. When the newest minor changes, the plugin diffs the new directory against the previous minor's last spec, so an operation that was unflagged there and is flagged in the new one is an event. The Databases to TablesDB deprecations of 1.8.0 can be replayed (`1.7.x@` to ``), and a run never sees them. - **The layout changed once (2.0.x) and may again.** The adapter fails, rather than guess, when a directory has neither file. -- **Spec commits aren't releases.** A deprecation's `version` is the day the spec changed, which can trail the release. Two commits on one day share a `version`. +- **Spec commits aren't releases.** A deprecation's `version` is the day the spec changed, which can trail the release. Two commits on one day are one version, read at the day's last commit. - **Client and console operations aren't watched.** Only what a server SDK can call. - **The patch-it client needs `appwrite` in its list of date-versioned APIs,** as for `neon`, `convex` and `planetscale`. Without it, it reads the date as a package version and drops the event. diff --git a/providers/cloudflare-api-spec.md b/providers/cloudflare-api-spec.md new file mode 100644 index 0000000..fb03c14 --- /dev/null +++ b/providers/cloudflare-api-spec.md @@ -0,0 +1,45 @@ +# Cloudflare (`cloudflare/api-spec`) + +## What it watches + +The Cloudflare API (`api.cloudflare.com/client/v4`): operations Cloudflare marks deprecated, and removals of operations it had marked deprecated, day by day in the OpenAPI spec its SDKs and Terraform provider are generated from. + +Kind: `openapi` (`plugins/openapi`), with `adapter.Cloudflare`. (`cloudflare/api` is Cloudflare's deprecations feed, read by the `notices` kind.) + +## Why this source + +- **Source:** `openapi.json` in [cloudflare/api-schemas](https://github.com/cloudflare/api-schemas) (BSD-3-Clause), pinned to a commit (`https://raw.githubusercontent.com/cloudflare/api-schemas//openapi.json`). The versions come from the GitHub commits API. Checked on 2026-11-21. +- **Why this one:** + - It's Cloudflare's own description of the whole API, published by a bot several times a day ("Update schema: openapi.json"), the input to `cloudflare-python`, `cloudflare-typescript` and the Terraform provider. + - It marks deprecated operations with the `deprecated` flag, and most carry `x-stainless-deprecation-message` with the end-of-life date. + - Every commit can be cited and replayed. +- **Alternatives considered:** + - **`openapi.yaml` beside it:** the same spec as YAML. + - **The [API deprecations page](https://developers.cloudflare.com/fundamentals/api/reference/deprecations/)** and its feed: read by `cloudflare/api` (kind `notices`). It announces end-of-life dates in prose; the spec says which operation, and when it's gone. + - **The changelog:** product news, not keyed by operation. +- **Quote:** "This operation is deprecated and will reach end of life on September 27, 2026. Use the new Registrar API endpoints (domain-search, domain-check, registrations) instead." (`GET /accounts/{account_id}/registrar/domains`, removed from the spec on 2026-10-30) + +## How the provider announces changes + +- **One version per day.** The spec is committed several times a day, there are no tags, and `info.version` is a fixed `4.0.0`, so a version is a day: the day's last commit, its date the event's `version`. +- **Operations are named by the path a caller sends** (`GET /client/v4/accounts/…`): the server is `https://api.cloudflare.com/client/v4`, moved into the paths. +- **Deprecations use the flag** (329 operations on 2026-11-20) **or the summary** (11 more, written "List datasets (deprecated)" or "Deprecated: Retrieve legacy embed code HTML"). Other uses of "deprecated" in summaries and descriptions are about a parameter or a model. +- **Path parameters get renamed** (`{zone_identifier}` to `{zone_id}` on 2026-10-30) without the URL changing. +- **Operations leave the spec without notice too:** POST `/accounts/move` and the `/tenants/{tenant_id}` operations on 2026-10-30, never marked. + +## What the plugin reads and ignores + +- **Reads** every day's spec, diffed against the day before. Two events come out of it: + - **Deprecations:** an operation that gains the flag or a summary saying so. A flagged one quotes the whole operation (its deprecation message included). + - **Removals (breaking):** an operation that leaves the spec after the previous day's spec had marked it deprecated. +- **Matches operations by path template,** so a renamed path parameter isn't a removal. +- **Ignores everything else:** removals of operations never marked deprecated, schema and property changes (mostly the generator's), new operations. +- **The golden test** replays 2026-10-29 → 2026-10-30: the three deprecated Registrar domains operations removed, three events. The drop test is the same pair: POST `/accounts/move` and GET `/tenants/{tenant_id}`, gone unmarked, make none. + +## Known gaps + +- **Deprecated parameters and fields** aren't events: only whole operations are. +- **Removals Cloudflare didn't mark first aren't events.** +- **History:** the GitHub commits API lists at most 1,000 commits, about five months of this spec (back to 2026-06-11 on 2026-11-21); older days aren't listed. +- **Size:** each version is a 30 MB download. +- **The patch-it client needs `cloudflare` in its list of date-versioned APIs** to place the events' date `version`; that list is outside this repo. diff --git a/providers/cloudflare-python-surface.md b/providers/cloudflare-python-surface.md new file mode 100644 index 0000000..f1fde29 --- /dev/null +++ b/providers/cloudflare-python-surface.md @@ -0,0 +1,36 @@ +# Cloudflare Python SDK (`cloudflare/python-surface`) + +## What it watches + +The public API of the `cloudflare` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install cloudflare==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** GitHub release notes and CHANGELOG.md (commit titles); the spec (the HTTP API). +- **Quote:** `class AsyncOAuthScopesResource(AsyncAPIResource)` (`cloudflare/resources/iam/oauth_scopes/oauth_scopes.py` line 68) at 5.3.0, gone at 5.4.0. + +## How the provider announces changes + +- The SDK is generated from Cloudflare's API spec (`cloudflare/api-spec`) and every minor removes generated types and resources with the API: hundreds of events in some releases (1,533 at 5.10.0), each a name that no longer imports. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `cloudflare/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. +- Releases are large (about 60,000 public names); a nested response type removed with its API reads as one event per module that defines it. 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. diff --git a/providers/convex-js-surface.md b/providers/convex-js-surface.md new file mode 100644 index 0000000..bc3d93b --- /dev/null +++ b/providers/convex-js-surface.md @@ -0,0 +1,36 @@ +# Convex JavaScript client (`convex/js-surface`) + +## What it watches + +The public API of the `convex` package on npm, release by release, read from its TypeScript declarations: exported names removed, class members removed, parameters removed, and parameters that are no longer optional. One `package_release` event per change. Every final release is listed from the npm registry (pre-releases and deprecated versions left out), and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the TypeScript declaration reader (`plugins/apisurface/dtsurface`). + +## Why this source + +- **Source:** the release tarballs on the npm registry (), each version's `dist.tarball`, read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the declarations in the tarball are exactly what TypeScript checks a customer's code against after `npm install convex@`, and what editors show JavaScript users. A published tarball never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md. +- **Quote:** `type QueryOptions>` (`dist/esm-types/browser/query_options.d.ts` line 9) at 1.35.0, gone at 1.35.1. + +## How the provider announces changes + +- Has many entry points (`convex/browser`, `convex/react`, `convex/server`, …), released every week or two. +- **Forced on upgrade**, for a repo whose lockfile reaches the release. + +## What the plugin reads and ignores + +- Reads `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files of each release's tarball from the npm registry, in memory, as text (`plugins/apisurface/dtsurface`): nothing in the package is run, no install script, no TypeScript compiler. The entry points are `package.json`'s `exports` (each subpath, wildcards matched against the files; for each, its `types` condition, else the `import` one), or its `types`/`typings`. +- For each entry point: every exported name (classes, functions, enums, variables, interfaces, type aliases, namespaces, and names re-exported from another package, by name only), and below a class or namespace what it holds: a class's public methods and properties, and its constructor's parameters; a namespace's classes, functions and namespaces. Symbols are named by the import path code writes: `convex/react.useQuery`. +- Parameters compare by position, as TypeScript passes them: a parameter gone off the end (with no rest parameter now) is removed; one optional before and required now is a `changed_default`. A renamed parameter is no change. +- Ignores names marked `@internal`, `private` and `protected` members, `#private` fields, setters, index signatures, interface and object-type members, interfaces and type aliases inside a namespace (an entry point's own are read), entry points under a private path (`_shims`, `internal`, `src`), the `./index` duplicate of the root, and what the default export holds (it's the same declaration as a named one). +- One declaration reachable at several import paths is one event, every path in its `symbols`. +- Drops (and logs) a removal that may not be one: a member of a name now re-exported from another package, now a value, an interface or a type (whose members aren't read); a method gone from a class that extends a class of another package (it may define it); a name an entry point may still get from a package it re-exports wholesale (`export * from "other"`). + +## Known gaps + +- What a property's type holds isn't followed: `client.chat.completions.create` is read as the `Completions` class's `create`, reached through namespaces and entry points, not through the `chat` property's type. +- Type changes (a parameter's type narrowed, a return type changed, an interface's fields) aren't events. +- A package that re-exports another wholesale (`export * from "@scope/core"`) hides that package's API: it's a source of its own, or not read. +- Classes are indexed by name across files to follow a method to its base class: two classes of the same name (in two namespaces) are read as one, which can only turn a removal into a note, never add one. +- A parameter added without being optional is a note (the change-event contract has no subject for it yet). diff --git a/providers/convex.md b/providers/convex.md index 1aced5f..6aad30e 100644 --- a/providers/convex.md +++ b/providers/convex.md @@ -8,7 +8,7 @@ Kind: `openapi` (`plugins/openapi`), with `adapter.Convex`. ## Why this source -- **Source:** `npm-packages/@convex-dev/platform/deployment-openapi.json` in [get-convex/convex-backend](https://github.com/get-convex/convex-backend), pinned to the commit that last changed it (`https://raw.githubusercontent.com/get-convex/convex-backend//npm-packages/@convex-dev/platform/deployment-openapi.json`). The newest such commit comes from the GitHub commits API. Checked on 2026-11-19. +- **Source:** `npm-packages/@convex-dev/platform/deployment-openapi.json` in [convex/convex-backend](https://github.com/convex/convex-backend) (the org was `get-convex` until 2026; GitHub redirects the old URLs, checked 2026-11-20), pinned to the commit that last changed it (`https://raw.githubusercontent.com/convex/convex-backend//npm-packages/@convex-dev/platform/deployment-openapi.json`). The newest such commit comes from the GitHub commits API. Checked on 2026-11-19. - **Why a commit, not a release tag:** the repo tags `precompiled-YYYY-MM-DD-` builds (1,213 of them), but those are daily builds of the self-hosted backend, not releases of the API. There are several on some days, ordered only by commit date, and the spec is the same in most of them. The spec at a tag is the spec at the last commit before it that changed the file, so the commits see every version a tag would, and finding the newest takes one call instead of paging through the tags. A commit never changes, so it can be cited and replayed. - **Why this one:** - It's Convex's own description of the API: its docs build renders the API reference from it. @@ -16,7 +16,7 @@ Kind: `openapi` (`plugins/openapi`), with `adapter.Convex`. - There are 68 versions from 2025-08-19, when the spec was added, to 2026-11-16. - **Alternatives considered:** - **The Management API spec** (`management-openapi.json`, next to it: teams, projects, deployments). Its `info.license` is `LicenseRef-Convex`, which nothing in the repo defines, so the plugin neither reads nor saves it. - - **The SDK changelogs** (`convex` on npm, `get-convex/convex-js` `CHANGELOG.md`; `convex-py`). One flat list of bullets per version (95 versions in `convex-js`), with no removed or deprecated sections for the `changelog` plugin to read. + - **The SDK changelogs** (`convex` on npm, `convex/convex-js` `CHANGELOG.md`; `convex-py`). One flat list of bullets per version (95 versions in `convex-js`), with no removed or deprecated sections for the `changelog` plugin to read. - **[Convex News](https://news.convex.dev/)** (RSS at `https://news.convex.dev/rss/`). Product news and announcements, newest post 2026-09-21; it doesn't name API operations. - **The `@convex-dev/platform` npm package** (0.1.11). Its tarball has only `package.json` and the generated client, not the specs. - **Quote:** "Deprecated: use `GET /integrations` instead." (`GET /api/v1/list_log_streams`, deprecated in the spec on 2026-11-05) @@ -44,5 +44,5 @@ Kind: `openapi` (`plugins/openapi`), with `adapter.Convex`. - **Only the Deployment API is covered.** Not the Management API (see above), the client SDKs (`convex` on npm, `convex-py`), or the functions runtime. SDK removals are written as plain bullets in their changelogs, so nothing reads them yet. - **Removals Convex doesn't mark first aren't events,** even if the endpoint really went away. None has happened yet. -- **Two spec commits on one day share a `version`.** It happened on 13 days in the history. The events stay distinct, because the operation is part of the fingerprint, but the second run's `previous_version` equals its `version`. +- **Two spec commits on one day are one version** (13 days in the history), read at the day's last commit: a change made and undone the same day isn't seen. - **The patch-it client can't place these events until `convex` is in its list of date-versioned APIs.** diff --git a/providers/datadog-ddtrace-python-surface.md b/providers/datadog-ddtrace-python-surface.md new file mode 100644 index 0000000..f4f2a7c --- /dev/null +++ b/providers/datadog-ddtrace-python-surface.md @@ -0,0 +1,36 @@ +# Datadog ddtrace (Python) (`datadog/ddtrace-python-surface`) + +## What it watches + +The public API of the `ddtrace` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install ddtrace==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** GitHub release notes; the docs' upgrade notes. +- **Quote:** `def resolve_strands_hook_provider() -> type` (`ddtrace/appsec/ai_guard/integrations/__init__.py` line 67) at 4.12.3, gone at 4.13.0. + +## How the provider announces changes + +- The tracer releases often; most of the package is `ddtrace.internal` and `ddtrace.contrib.internal`, which this source treats as private. Moved APIs keep their old module forwarding names (`__getattr__`) until the next major. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `ddtrace/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. +- Wheels are per platform; the first by file name is read. diff --git a/providers/elastic-python-surface.md b/providers/elastic-python-surface.md new file mode 100644 index 0000000..89253ef --- /dev/null +++ b/providers/elastic-python-surface.md @@ -0,0 +1,35 @@ +# Elasticsearch Python client (`elastic/python-surface`) + +## What it watches + +The public API of the `elasticsearch` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install elasticsearch==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** the docs release notes; the REST spec (`elastic/elasticsearch-api`: the HTTP API). +- **Quote:** `requests_per_second: t.Optional[float] = None,` in `Elasticsearch.delete_by_query_rethrottle` (`elasticsearch/_sync/client/__init__.py`) at 9.1.2; `requests_per_second: float,` at 9.1.3. + +## How the provider announces changes + +- The client is generated from the Elasticsearch specification; a parameter can become required in a patch release. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `elasticsearch/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. diff --git a/providers/github-graphql.md b/providers/github-graphql.md new file mode 100644 index 0000000..134ae57 --- /dev/null +++ b/providers/github-graphql.md @@ -0,0 +1,39 @@ +# GitHub GraphQL API (`github/graphql`) + +## What it watches + +Removals GitHub announces for its GraphQL API: a field, an argument, an input field or an enum value, with the date it goes. One `deprecation` event per newly announced removal, its `version` the removal date. + +Kind: `catalog` (`plugins/catalog`), the `UpcomingChanges` reader (`plugins/catalog/graphql.go`). + +## Why this source + +- **Source:** [`src/graphql/data/fpt/upcoming-changes.json`](https://github.com/github/docs/blob/main/src/graphql/data/fpt/upcoming-changes.json) in github/docs, read at every commit that changed it (listed from GitHub's commits API, `?path=`). It's the file [Breaking changes](https://docs.github.com/en/graphql/overview/breaking-changes) on docs.github.com is built from. Checked on 2026-11-21: 1,291 entries, every one `"criticality": "breaking"`, 29 commits since 2023-05-01. +- **Why this one:** one JSON object keyed by removal date, each entry naming its location (`RepositoryPermission.TRIAGE_PLUS`), what to do and why, from GitHub's own schema tooling. A commit never changes, so the raw file at it is its own citation. +- **Alternatives considered:** + - **The Breaking changes page** (HTML): the same entries, rendered; the JSON is what it's made from. + - **The GraphQL schema** (`schema.docs.graphql`, `@deprecated(reason: "… Removal on 2027-04-01 UTC.")`): the same dates inside a GraphQL SDL, which needs a schema reader no kind has. + - **The GitHub changelog**: announces some of these, in prose, with no location. +- **Quote:** `{"location": "RepositoryPermission.TRIAGE_PLUS", "description": "

TRIAGE_PLUS will be removed. Use MODERATE instead.

", "date": "2027-04-01", "criticality": "breaking"}`. + +## How the provider announces changes + +- GitHub's GraphQL API has no versions: a change is announced here with its removal date, a quarter's first day (`2026-10-01`, `2027-01-01`). +- Announcements come a few at a time (one or two a month in 2026), sometimes in a batch (1,109 entries on 2025-04-14, the audit-log fields). + +## What the plugin reads and ignores + +- Reads every entry of the file at each commit. An entry (location and date) in the newer commit's file that the older one didn't have is a `deprecation` event: `version` the removal date (the API has no versions; the day it breaks is what a gate compares, as a model's shutdown date is), `previous_version` the older commit's date, the hint the entry's description and reason as text. The excerpt is the entry's fields as the file writes them, its `owner` left out. +- Subject (`api_operation`): an input object's field (`AddPullRequestReviewInput.comments`) or a root field's argument (`Query.sponsorables.dependencyEcosystem`) is a `request_parameter` of `POST /graphql`, its `property` the location; any other location (a root field itself, a type's field or its argument, an enum value) is a `schema_property`, its `schema` the type and its `property` the rest (`RepositoryPermission` / `TRIAGE_PLUS`). +- An entry a commit drops while still upcoming and a later commit restores is the same event (same removal date, same fingerprint), so it isn't announced twice. +- Ignores an entry dated before the commit that adds it: a revert putting back a removal already made, not an announcement. On 2026-01-05 the file lost 17 such entries, got them back the next day and lost them again on 2026-01-08: no event (the pinned drop test). +- Ignores an entry leaving the file: the removal shipped, or GitHub withdrew it, and the file doesn't say which. +- A first read, with no commit before it, has nothing to compare: no events. + +## Known gaps + +- `previous_version` (a commit date) to `version` (the removal date) isn't a range of this source's listed versions: the removal date is when the change breaks, as a model's shutdown date is. Whether the feed's coverage logic should treat such a pair differently is for the contract (patch-it) to say. + +- The removal itself (the day it ships) isn't a separate `breaking` event; the deprecation names the date. +- GitHub Enterprise Server's own files (`ghes-*`) aren't read. +- A location GitHub moves to a new date is a new event (a new `version`), alongside the first. diff --git a/providers/github-octokit.md b/providers/github-octokit.md new file mode 100644 index 0000000..d4e06e1 --- /dev/null +++ b/providers/github-octokit.md @@ -0,0 +1,29 @@ +# 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 + +- 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 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. diff --git a/providers/google-gemini-models.md b/providers/google-gemini-models.md new file mode 100644 index 0000000..4f002dd --- /dev/null +++ b/providers/google-gemini-models.md @@ -0,0 +1,33 @@ +# Google Gemini API models (`google/gemini-models`) + +## What it watches + +Gemini API models Google shuts down: every model on Google's own Gemini API deprecations page with a shutdown date, one `model` event per model name, with the replacement Google recommends. Google gives each date as the earliest a model may be shut down; the event says so. + +Kind: `notices` (`plugins/notices`), with the deprecations-table reader (`plugins/notices/retire`, `retire.Gemini`), reading Markdoc tables. + +## Why this source + +- **Source:** [Gemini deprecations](https://ai.google.dev/gemini-api/docs/deprecations), which redirects to `https://aistudio.google.com/docs/deprecations`; that URL serves the page as Markdown (Markdoc `{% table %}` blocks), and the plugin reads it there. Checked on 2026-11-21. +- **Why this one:** it's Google's own table of every Gemini API model with its release date, its shutdown date and the recommended replacement, one table per model family, the shut-down ones kept under "Deprecated models". It's where Google says deprecation dates are tracked: "Deprecation announcements are made on the Release notes page, and the announced earliest shutdown dates are tracked on this page." +- **Alternatives considered:** + - **The Gemini API release notes** (`https://aistudio.google.com/docs/changelog`): the same deprecations, announced in prose, one entry per day. The table is the same facts, already structured. + - **Vertex AI's model versions page** (`google/vertex-model-retirements`): the same models on Google Cloud, with Google Cloud's own retirement dates, which differ from the Gemini API's (gemini-2.5-pro: 2026-10-20 on Vertex AI, 2026-12-01 here). A separate source: a repo reaches one or the other. + - **The Gemini API's models list** (`GET /v1beta/models`): what's served now, with no dates. +- **Quote:** "| `gemini-2.0-flash` | February 5, 2025 | June 1, 2026 | `gemini-3.6-flash` |" (Gemini 2.0 models, Deprecated models), and above the tables: "The shutdown dates listed in the table indicate the earliest possible dates on which a model might be retired". + +## How the provider announces changes + +- Models are named by version (`gemini-2.5-flash`, `gemini-2.5-flash-preview-09-2025`); a preview gets a shutdown date months after its stable model ships, a stable model about a year after its successor. +- A model is announced in the release notes, then its date appears here. Some shut-down models' requests are routed to a successor ("effective December 1, 2026, API requests to `gemini-2.5-pro` will automatically route to `gemini-3.8-flash`"); the replacement cell says so, and the hint quotes it. + +## What the plugin reads and ignores + +- Reads every Markdoc table with a "Shutdown date", a "Model" and a "Recommended replacement" column: one `breaking` `model` event per model name with a date, `version` the date. `replacement` is set when the cell names exactly one plain model; otherwise the hint quotes the cell. +- Ignores a row whose date isn't a date ("No shutdown date announced"), the managed agents' tables (an "Agent" column, not a model), and a cell that isn't a plain model id (a footnote mark). The pinned drop test: the Gemini 4 models and the agents, next to the two shut-down Gemini 3 previews, give only those two events. +- A read with far fewer models than the last one fails (the table changed shape), as do a page with no table and a block page. + +## Known gaps + +- Google's dates are the earliest possible; a later exact date only shows up when Google edits the row, which is then a new event. +- Models served only on Vertex AI are the other source's. diff --git a/providers/google-genai-js-surface.md b/providers/google-genai-js-surface.md new file mode 100644 index 0000000..93d06e0 --- /dev/null +++ b/providers/google-genai-js-surface.md @@ -0,0 +1,37 @@ +# Google Gen AI JavaScript SDK (`google/genai-js-surface`) + +## What it watches + +The public API of the `@google/genai` package on npm, release by release, read from its TypeScript declarations: exported names removed, class members removed, parameters removed, and parameters that are no longer optional. One `package_release` event per change. Every final release is listed from the npm registry (pre-releases and deprecated versions left out), and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the TypeScript declaration reader (`plugins/apisurface/dtsurface`). + +## Why this source + +- **Source:** the release tarballs on the npm registry (), each version's `dist.tarball`, read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the declarations in the tarball are exactly what TypeScript checks a customer's code against after `npm install @google/genai@`, and what editors show JavaScript users. A published tarball never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md (release-please, "⚠ BREAKING CHANGES"). +- **Quote:** `interface LiveMusicSetClientContentParameters` (`dist/genai.d.ts` line 3757) at 0.15.0, gone at 1.0.0. + +## How the provider announces changes + +- Ships every week or two as one bundled declaration file per platform (`dist/genai.d.ts`, `dist/node/node.d.ts`, `dist/web/web.d.ts`). +- **Forced on upgrade**, for a repo whose lockfile reaches the release. + +## What the plugin reads and ignores + +- Reads `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files of each release's tarball from the npm registry, in memory, as text (`plugins/apisurface/dtsurface`): nothing in the package is run, no install script, no TypeScript compiler. The entry points are `package.json`'s `exports` (each subpath, wildcards matched against the files; for each, its `types` condition, else the `import` one), or its `types`/`typings`. +- For each entry point: every exported name (classes, functions, enums, variables, interfaces, type aliases, namespaces, and names re-exported from another package, by name only), and below a class or namespace what it holds: a class's public methods and properties, and its constructor's parameters; a namespace's classes, functions and namespaces. Symbols are named by the import path code writes: `@google/genai.GoogleGenAI`. +- Parameters compare by position, as TypeScript passes them: a parameter gone off the end (with no rest parameter now) is removed; one optional before and required now is a `changed_default`. A renamed parameter is no change. +- Ignores names marked `@internal`, `private` and `protected` members, `#private` fields, setters, index signatures, interface and object-type members, interfaces and type aliases inside a namespace (an entry point's own are read), entry points under a private path (`_shims`, `internal`, `src`), the `./index` duplicate of the root, and what the default export holds (it's the same declaration as a named one). +- One declaration reachable at several import paths is one event, every path in its `symbols`. +- Drops (and logs) a removal that may not be one: a member of a name now re-exported from another package, now a value, an interface or a type (whose members aren't read); a method gone from a class that extends a class of another package (it may define it); a name an entry point may still get from a package it re-exports wholesale (`export * from "other"`). + +## Known gaps + +- What a property's type holds isn't followed: `client.chat.completions.create` is read as the `Completions` class's `create`, reached through namespaces and entry points, not through the `chat` property's type. +- Type changes (a parameter's type narrowed, a return type changed, an interface's fields) aren't events. +- A package that re-exports another wholesale (`export * from "@scope/core"`) hides that package's API: it's a source of its own, or not read. +- Classes are indexed by name across files to follow a method to its base class: two classes of the same name (in two namespaces) are read as one, which can only turn a removal into a note, never add one. +- A parameter added without being optional is a note (the change-event contract has no subject for it yet). +- The node and web entry points are separate bundles: a removal there is one event per bundle. diff --git a/providers/google-genai-python-surface.md b/providers/google-genai-python-surface.md new file mode 100644 index 0000000..c65c82d --- /dev/null +++ b/providers/google-genai-python-surface.md @@ -0,0 +1,36 @@ +# Google Gen AI Python SDK (`google/genai-python-surface`) + +## What it watches + +The public API of the `google-genai` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install google-genai==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md (release-please, "⚠ BREAKING CHANGES"; for the `changelog` kind); the Gemini API Discovery document (the HTTP API). +- **Quote:** `class TuningJobOrOperation(_common.BaseModel)` (`google/genai/types.py` line 5924) at 0.8.0, gone at 1.0.0. + +## How the provider announces changes + +- The SDK ships every week or two; `google.genai.interactions` re-exports a generated client from a private package, so its names are read as still bound when they move. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `google/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. +- Symbols are named from the `google` namespace (`genai.types.Tool`), the import path code writes after `from google import genai`. diff --git a/providers/google-vertex-model-retirements.md b/providers/google-vertex-model-retirements.md new file mode 100644 index 0000000..a9ab1f2 --- /dev/null +++ b/providers/google-vertex-model-retirements.md @@ -0,0 +1,32 @@ +# Google Vertex AI model retirements (`google/vertex-model-retirements`) + +## What it watches + +Generative AI models Google Cloud retires on Vertex AI (now called Gemini Enterprise Agent Platform): every model on Google Cloud's model versions page with a plain retirement date, one `model` event per model id, with the replacement Google names. + +Kind: `notices` (`plugins/notices`), with the deprecations-table reader (`plugins/notices/retire`, `retire.Vertex`), reading HTML tables. + +## Why this source + +- **Source:** [Model versions and lifecycle](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions) (the old `cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions` redirects there). Checked on 2026-11-21. +- **Why this one:** it's Google Cloud's own table of every model id with its release date, its retirement date and its replacement, including the "Retired models" table. The release-notes feed (`google/vertex-ai-models`) only announces some deprecations, in prose; this page is where the dates are kept. +- **Alternatives considered:** + - **The Vertex AI release notes feed**: already a source (`google/vertex-ai-models`), for announcements; not every retirement is announced there with a table of ids. + - **The deprecations page** (`docs.cloud.google.com/vertex-ai/generative-ai/docs/deprecations`): SDK modules and features, not model dates. + - **The Gemini API deprecations page** (`google/gemini-models`): the Gemini API's own dates, which differ. +- **Quote:** "| `veo-3.0-generate-001` | July 29, 2025 | June 30, 2026 | `veo-3.1-generate-001` |" (Retired models). + +## How the provider announces changes + +- A GA model is kept for at least a year, written as a minimum ("October 13, 2027 or later", "No sooner than May 20, 2028"); when Google decides to retire it, the cell becomes a plain date, and the model later moves to "Retired models". + +## What the plugin reads and ignores + +- Reads every table with a "Retirement date", a "Model ID" and a "Replacement model ID" (or "Recommended upgrade") column: one `breaking` `model` event per model id with a plain date, `version` the date. `replacement` is set when the cell names exactly one model. +- Ignores a minimum lifetime ("… or later", "No sooner than …", "No retirement date announced"): it isn't a retirement notice. The pinned drop test: the Gemini image models' table, four rows with such dates and one dated retirement, gives one event. +- Ignores a cell that isn't a plain model id ("textembedding-gecko@003 *", with a footnote mark). + +## Known gaps + +- The page is about 430 KB of HTML; only its headings and tables are read, so a date given only in prose beside a table is missed. +- Partner models (Claude, Llama…) on Vertex AI are on other pages. diff --git a/providers/mongodb-atlas-admin-spec.md b/providers/mongodb-atlas-admin-spec.md new file mode 100644 index 0000000..5a5ef5b --- /dev/null +++ b/providers/mongodb-atlas-admin-spec.md @@ -0,0 +1,42 @@ +# MongoDB (`mongodb/atlas-admin-spec`) + +## What it watches + +The MongoDB Atlas Administration API v2 (`cloud.mongodb.com/api/atlas/v2`): operations MongoDB marks deprecated, and removals of operations it had marked deprecated, day by day in the OpenAPI spec MongoDB publishes for it. + +Kind: `openapi` (`plugins/openapi`), with `adapter.MongoDBAtlas`. The API's own changelog is a separate source, `mongodb/atlas-admin-api` (kind `changelog`). + +## Why this source + +- **Source:** `openapi/v2.json` in [mongodb/openapi](https://github.com/mongodb/openapi), pinned to a commit (`https://raw.githubusercontent.com/mongodb/openapi//openapi/v2.json`). The versions come from the GitHub commits API. Checked on 2026-11-21. +- **Why this one:** + - It's MongoDB's own spec of the whole API, committed by its release workflow ("ci(prod): Release OpenAPI Spec") a few times a week: 768 commits from 2024-07-25 to 2026-11-19. + - It marks deprecated operations with the `deprecated` flag. + - Every commit can be cited and replayed. +- **Alternatives considered:** + - **The repo's `v0.0.N` tags:** they mark the repo's tooling releases, not the spec. + - **The per-resource-version files in `openapi/v2/`:** one file per API resource version; `v2.json` holds every operation with all its versions, which is what a caller of any version sees removed. + - **`changelog/changelog.json`:** read by `mongodb/atlas-admin-api`; it reports changes per resource version, in prose, not removals of whole operations. +- **Quote:** `"deprecated": true` on `GET /api/atlas/v2/users/byName/{userName}` ("Returns the details for one MongoDB Cloud user account with the specified username."), new on 2025-02-20. + +## How the provider announces changes + +- **One version per day,** the day's last commit, its date the event's `version`: `info.version` is a fixed `2.0`, and the dated resource versions (`application/vnd.atlas.2025-03-12+json`) are per operation, several in one spec. +- **Deprecations use the flag** (53 operations on 2026-11-19). Fourteen descriptions mention "deprecated" without it, each about the deprecated invitation flow, not the operation. +- **Deprecated operations do leave:** the tenant backup operations were flagged, then removed between 2025-10 and 2026-11. +- **Operations also leave unmarked:** GET `/rest/unauth/version` on 2024-08-07. + +## What the plugin reads and ignores + +- **Reads** every day's spec, diffed against the day before. Two events come out of it: + - **Deprecations:** an operation that gains the `deprecated` flag, quoting the whole operation. + - **Removals (breaking):** an operation that leaves the spec after the previous day's spec had marked it deprecated. +- **Ignores everything else:** removals of operations never marked deprecated, schema and property changes (the changelog source reports those per resource version), new operations. +- **The golden test** replays 2025-02-18 → 2025-02-20, when 14 user-management operations were deprecated at once; three are saved, three events. **The drop test** replays 2024-07-25 → 2024-08-07: GET `/rest/unauth/version` gone unmarked, no event. + +## Known gaps + +- **Deprecated resource versions** (an operation's `2023-01-01` content type sunset while newer ones stay) aren't events: only whole operations are. The changelog source covers them. +- **Removals MongoDB didn't flag first aren't events.** +- **History starts on 2024-07-25,** when `openapi/v2.json` was first committed. +- **License:** the spec is CC BY-NC-SA 3.0 US; only small excerpts are saved for tests. diff --git a/providers/mongodb-node-surface.md b/providers/mongodb-node-surface.md new file mode 100644 index 0000000..c44b234 --- /dev/null +++ b/providers/mongodb-node-surface.md @@ -0,0 +1,36 @@ +# MongoDB Node.js driver (`mongodb/node-surface`) + +## What it watches + +The public API of the `mongodb` package on npm, release by release, read from its TypeScript declarations: exported names removed, class members removed, parameters removed, and parameters that are no longer optional. One `package_release` event per change. Every final release is listed from the npm registry (pre-releases and deprecated versions left out), and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the TypeScript declaration reader (`plugins/apisurface/dtsurface`). + +## Why this source + +- **Source:** the release tarballs on the npm registry (), each version's `dist.tarball`, read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the declarations in the tarball are exactly what TypeScript checks a customer's code against after `npm install mongodb@`, and what editors show JavaScript users. A published tarball never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** HISTORY.md; the upgrade guides (majors only). +- **Quote:** `interface AsyncDisposable_2` (exported as `AsyncDisposable`, `mongodb.d.ts` line 613) at 6.22.0, gone at 7.0.0. + +## How the provider announces changes + +- The driver ships one declaration file (`mongodb.d.ts`, an API Extractor rollup); majors remove what the previous one deprecated. +- **Forced on upgrade**, for a repo whose lockfile reaches the release. + +## What the plugin reads and ignores + +- Reads `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files of each release's tarball from the npm registry, in memory, as text (`plugins/apisurface/dtsurface`): nothing in the package is run, no install script, no TypeScript compiler. The entry points are `package.json`'s `exports` (each subpath, wildcards matched against the files; for each, its `types` condition, else the `import` one), or its `types`/`typings`. +- For each entry point: every exported name (classes, functions, enums, variables, interfaces, type aliases, namespaces, and names re-exported from another package, by name only), and below a class or namespace what it holds: a class's public methods and properties, and its constructor's parameters; a namespace's classes, functions and namespaces. Symbols are named by the import path code writes: `mongodb.MongoClient.connect`. +- Parameters compare by position, as TypeScript passes them: a parameter gone off the end (with no rest parameter now) is removed; one optional before and required now is a `changed_default`. A renamed parameter is no change. +- Ignores names marked `@internal`, `private` and `protected` members, `#private` fields, setters, index signatures, interface and object-type members, interfaces and type aliases inside a namespace (an entry point's own are read), entry points under a private path (`_shims`, `internal`, `src`), the `./index` duplicate of the root, and what the default export holds (it's the same declaration as a named one). +- One declaration reachable at several import paths is one event, every path in its `symbols`. +- Drops (and logs) a removal that may not be one: a member of a name now re-exported from another package, now a value, an interface or a type (whose members aren't read); a method gone from a class that extends a class of another package (it may define it); a name an entry point may still get from a package it re-exports wholesale (`export * from "other"`). + +## Known gaps + +- What a property's type holds isn't followed: `client.chat.completions.create` is read as the `Completions` class's `create`, reached through namespaces and entry points, not through the `chat` property's type. +- Type changes (a parameter's type narrowed, a return type changed, an interface's fields) aren't events. +- A package that re-exports another wholesale (`export * from "@scope/core"`) hides that package's API: it's a source of its own, or not read. +- Classes are indexed by name across files to follow a method to its base class: two classes of the same name (in two namespaces) are read as one, which can only turn a removal into a note, never add one. +- A parameter added without being optional is a note (the change-event contract has no subject for it yet). diff --git a/providers/mongodb-pymongo-surface.md b/providers/mongodb-pymongo-surface.md new file mode 100644 index 0000000..1ceb59a --- /dev/null +++ b/providers/mongodb-pymongo-surface.md @@ -0,0 +1,36 @@ +# PyMongo (`mongodb/pymongo-surface`) + +## What it watches + +The public API of the `pymongo` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install pymongo==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** the changelog in the docs (`doc/changelog.rst`); the migration guides (majors only). +- **Quote:** `explicit_session: bool = False,` in `AsyncCommandCursor.__init__` (`pymongo/asynchronous/command_cursor.py`) at 4.15.5, gone at 4.16.0. + +## How the provider announces changes + +- The driver releases a minor every few months; constructors' parameters change in minors. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `pymongo/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. +- Wheels are per platform; the first by file name is read (the Python files are the same in each). diff --git a/providers/neon-serverless-surface.md b/providers/neon-serverless-surface.md new file mode 100644 index 0000000..acccd1c --- /dev/null +++ b/providers/neon-serverless-surface.md @@ -0,0 +1,37 @@ +# Neon serverless driver (`neon/serverless-surface`) + +## What it watches + +The public API of the `@neondatabase/serverless` package on npm, release by release, read from its TypeScript declarations: exported names removed, class members removed, parameters removed, and parameters that are no longer optional. One `package_release` event per change. Every final release is listed from the npm registry (pre-releases and deprecated versions left out), and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the TypeScript declaration reader (`plugins/apisurface/dtsurface`). + +## Why this source + +- **Source:** the release tarballs on the npm registry (), each version's `dist.tarball`, read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the declarations in the tarball are exactly what TypeScript checks a customer's code against after `npm install @neondatabase/serverless@`, and what editors show JavaScript users. A published tarball never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md. +- **Quote:** `export { native } from "pg"` (`index.d.mts` line 8) at 0.10.4, gone at 1.0.0. + +## How the provider announces changes + +- The driver is one declaration file per module format; its `Pool` and `Client` extend `pg`'s, whose members aren't read. +- **Forced on upgrade**, for a repo whose lockfile reaches the release. + +## What the plugin reads and ignores + +- Reads `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files of each release's tarball from the npm registry, in memory, as text (`plugins/apisurface/dtsurface`): nothing in the package is run, no install script, no TypeScript compiler. The entry points are `package.json`'s `exports` (each subpath, wildcards matched against the files; for each, its `types` condition, else the `import` one), or its `types`/`typings`. +- For each entry point: every exported name (classes, functions, enums, variables, interfaces, type aliases, namespaces, and names re-exported from another package, by name only), and below a class or namespace what it holds: a class's public methods and properties, and its constructor's parameters; a namespace's classes, functions and namespaces. Symbols are named by the import path code writes: `@neondatabase/serverless.neon`. +- Parameters compare by position, as TypeScript passes them: a parameter gone off the end (with no rest parameter now) is removed; one optional before and required now is a `changed_default`. A renamed parameter is no change. +- Ignores names marked `@internal`, `private` and `protected` members, `#private` fields, setters, index signatures, interface and object-type members, interfaces and type aliases inside a namespace (an entry point's own are read), entry points under a private path (`_shims`, `internal`, `src`), the `./index` duplicate of the root, and what the default export holds (it's the same declaration as a named one). +- One declaration reachable at several import paths is one event, every path in its `symbols`. +- Drops (and logs) a removal that may not be one: a member of a name now re-exported from another package, now a value, an interface or a type (whose members aren't read); a method gone from a class that extends a class of another package (it may define it); a name an entry point may still get from a package it re-exports wholesale (`export * from "other"`). + +## Known gaps + +- What a property's type holds isn't followed: `client.chat.completions.create` is read as the `Completions` class's `create`, reached through namespaces and entry points, not through the `chat` property's type. +- Type changes (a parameter's type narrowed, a return type changed, an interface's fields) aren't events. +- A package that re-exports another wholesale (`export * from "@scope/core"`) hides that package's API: it's a source of its own, or not read. +- Classes are indexed by name across files to follow a method to its base class: two classes of the same name (in two namespaces) are read as one, which can only turn a removal into a note, never add one. +- A parameter added without being optional is a note (the change-event contract has no subject for it yet). +- Members inherited from `pg` aren't read: a method gone from `Pool` is a note (pg may define it). diff --git a/providers/neon.md b/providers/neon.md index 91ffd93..e6e03b1 100644 --- a/providers/neon.md +++ b/providers/neon.md @@ -50,5 +50,5 @@ Kind: `openapi` (`plugins/openapi`), with `adapter.Neon`. - **Lag.** neon-pkgs commits the spec when someone acts on the drift check, days after the live spec changes. On 2026-11-19 the live spec had one operation more than the newest commit. - **History before 2026-06-24** isn't in neon-pkgs, so deprecations and removals before then (`GET /consumption_history/account`, removed by 2026-06-19) aren't replayable from this source. - **Only the management API is covered,** not the serverless driver (`@neondatabase/serverless`) or the Data API. -- **Two spec commits on one day would share a `version`.** It hasn't happened in the history. +- **Two spec commits on one day are one version,** read at the day's last commit: the event's `version` is a day. - **The patch-it client needs `neon` in its list of date-versioned APIs.** The events' `version` is a date (`2026-08-23`), because the API has no version; without the entry, the client reads it as a package version and can't place these events. That list is in the client used by patch-it's hosted ingestion service, not in this repo. diff --git a/providers/newrelic.md b/providers/newrelic.md index 9e87fc3..a014f70 100644 --- a/providers/newrelic.md +++ b/providers/newrelic.md @@ -2,13 +2,13 @@ ## What it watches -Functions and classes removed from New Relic's Python agent (the `newrelic` package) in 11.0.0: `newrelic.agent.record_exception`, `newrelic.agent.add_custom_parameter`, `newrelic.api.log.NewRelicLogHandler`, and others. Code that uses one breaks on the upgrade. The plugin emits one event per member, pinned to that release. +Functions and classes a new major of New Relic's Python agent (the `newrelic` package) removes, from the major's release notes: in 11.0.0, `newrelic.agent.record_exception`, `newrelic.agent.add_custom_parameter`, `newrelic.api.log.NewRelicLogHandler`, and others. Code that uses one breaks on the upgrade. One event per member, with the major's first release as `version` and the release before it on PyPI as `previous_version`. The releases are listed from PyPI (yanked ones included: 11.0.0 is yanked); nothing in the code names a release or a commit. Kind: `migrationguide` (`plugins/migrationguide`), with the removed-members reader (`plugins/migrationguide/members`), reading a Markdown table. ## Why this source -- **Source:** [`python-agent-110000.mdx`](https://github.com/newrelic/docs-website/blob/f0b4f817bf9a7b76a78e26609369a8a7ce764c8e/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-110000.mdx) in newrelic/docs-website at commit `f0b4f817bf9a7b76a78e26609369a8a7ce764c8e` (2026-04-22, the file's latest commit). The plugin reads the raw file at that commit, because the repo has no tags. Checked on 2026-11-19. © New Relic, CC BY-NC-SA 4.0. +- **Source:** `python-agent-0000.mdx` in newrelic/docs-website (9.0.0 to 13.0.0 are there, checked 2026-11-20), for each major's first release. The repo has no tags, so the plugin asks GitHub for the newest commit that changed the note and reads the raw file at that commit. 11.0.0's, [`python-agent-110000.mdx`](https://github.com/newrelic/docs-website/blob/f0b4f817bf9a7b76a78e26609369a8a7ce764c8e/src/content/docs/release-notes/agent-release-notes/python-release-notes/python-agent-110000.mdx) at commit `f0b4f817` (2026-04-22), is the one checked on 2026-11-19. A note with no "Removed features" section, or no note, has nothing to read (the pair is skipped). © New Relic, CC BY-NC-SA 4.0. - **Why this one:** these are New Relic's own release notes for the agent's 11.0.0. Their "Removed features" section has a table of the APIs that 11.0.0 removed, with what to use instead. A commit never changes, so the URL is its own citation. 11.0.0 is a version a repo pins. - **Alternatives considered:** - **The REST API v2 spec**, (OpenAPI 3.0.1, 58 operations on 43 paths, fetched 2026-11-19). New Relic serves it only live and doesn't commit it anywhere, so there's no release to pin or replay. Its deprecations aren't machine-readable: it has 0 `deprecated: true` flags. Instead, 12 operation descriptions say "This endpoint will be deprecated after", 11 of them "2024/01" and 1 "2027/01". New Relic's own end-of-life notice for REST API v2 (below) contradicts those dates for 10 of the 12: it retires them on 2027-07-31. It keeps the other 2, on `/alerts_location_failure_conditions/policies/*`, as "Not impacted". @@ -51,4 +51,6 @@ Kind: `migrationguide` (`plugins/migrationguide`), with the removed-members read - **The same functions reached another way** get no event: the `newrelic.api.transaction` and `newrelic.api.time_trace` definitions, and the methods of the same names on `Transaction` (`add_custom_parameter`, `record_exception`…). All were removed in 11.0.0 too. - **The removed settings** (`ssl`, `error_collector.ignore_errors`, `strip_exception_messages.whitelist`…). They're configuration, not code, and change events have no subject for them. - New Relic's REST API v2 end of life (2027-07-31) and NerdGraph (see above). -- New Relic's other agents, and later majors of the Python agent: each is a new entry in this plugin. +- New Relic's other agents. +- Removals in a minor release: only a major's note is read. +- A later major's table is read with 11.0.0's `Paths` and `DropIns`: a name not in them is written as the table writes it, and only a listed drop-in is a rename. diff --git a/providers/numpy-python-surface.md b/providers/numpy-python-surface.md new file mode 100644 index 0000000..1c9e594 --- /dev/null +++ b/providers/numpy-python-surface.md @@ -0,0 +1,36 @@ +# NumPy (`numpy/python-surface`) + +## What it watches + +The public API of the `numpy` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install numpy==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** the release notes (one file per release; the `numpy/numpy` migration guide source covers 2.0); the deprecation warnings in the code. +- **Quote:** `def row_stack( tup: Sequence[ArrayLike], *, dtype: DTypeLike | None = None, casting: _CastingKind = "same_kind", ) -> NDArray[Any]` (`numpy/lib/_shape_base_impl.pyi` line 129, re-exported as `numpy.row_stack`) at 2.4.6, gone at 2.5.0. + +## How the provider announces changes + +- NumPy deprecates for two releases and then removes; the `.pyi` stubs, read in place of the `.py` files, carry every public signature. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `numpy/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. +- Functions implemented in C appear only through the `.pyi` stubs; one missing from the stubs isn't seen. diff --git a/providers/numpy.md b/providers/numpy.md index 32357a6..b16e8d9 100644 --- a/providers/numpy.md +++ b/providers/numpy.md @@ -2,13 +2,13 @@ ## What it watches -Members removed from or renamed in NumPy's main namespace in 2.0.0 (`np.float_`, `np.NaN`, `np.product` and about fifty more): code using one raises `AttributeError`. One event per member. Pinned to that release. +Members a new major removes from or renames in NumPy's main namespace, from that major's migration guide: in 2.0.0, `np.float_`, `np.NaN`, `np.product` and about fifty more (code using one raises `AttributeError`). One event per member, with the major's first release as `version` and the release before it on PyPI as `previous_version`. The releases are listed from PyPI; the guide is read at each major's first tag (`v.0.0`), so nothing in the code names a release. Kind: `migrationguide` (`plugins/migrationguide`), with the removed-members reader (`plugins/migrationguide/members`). ## Why this source -- **Source:** [`doc/source/numpy_2_0_migration_guide.rst` at v2.0.0](https://github.com/numpy/numpy/blob/v2.0.0/doc/source/numpy_2_0_migration_guide.rst), read raw at the tag. Checked on 2026-11-04. +- **Source:** `doc/source/numpy__0_migration_guide.rst` at tag `v.0.0`, read raw at the tag; the one so far is [2.0's](https://github.com/numpy/numpy/blob/v2.0.0/doc/source/numpy_2_0_migration_guide.rst). A major with no guide at its tag has nothing to read (the pair is skipped). Releases from [PyPI](https://pypi.org/project/numpy/). Checked on 2026-11-04 (2.0) and 2026-11-20 (no other guide yet). - **Why this one:** it's NumPy's own migration guide, with a table of every removed member and its migration guideline. A tag never changes, so the URL is its own citation. - **Alternatives considered:** the 2.0.0 release notes (list the removals in prose, spread over several sections); the rendered guide on numpy.org (the same text as HTML); NEP 52 (the plan, not what shipped). - **Quote:** "The table below provides replacements for the removed members:" (Main namespace), with rows such as "NaN — Use ``np.nan`` instead." @@ -27,4 +27,5 @@ Kind: `migrationguide` (`plugins/migrationguide`), with the removed-members read ## Known gaps - The guide's other tables (`np.lib` members, changed behavior) aren't read. -- Later releases' removals aren't watched. +- Removals in a minor release aren't watched: only a major gets a guide. +- A later major's guide is read with 2.0's rule: a guideline that is exactly "Use ``np.`` instead." is a rename. NumPy 2.0's guide says each such replacement works on 1.x; a later guide might name one that's new, which would make the rename fail on the release before. diff --git a/providers/openai-api.md b/providers/openai-api.md new file mode 100644 index 0000000..decae74 --- /dev/null +++ b/providers/openai-api.md @@ -0,0 +1,44 @@ +# OpenAI (`openai/api`) + +## What it watches + +The OpenAI REST API (`api.openai.com/v1`): operations OpenAI marks deprecated, and removals of operations it had marked deprecated, day by day in the OpenAPI spec its SDKs are generated from. + +Kind: `openapi` (`plugins/openapi`), with `adapter.OpenAI`. + +## Why this source + +- **Source:** `openapi.yaml` in [openai/openai-openapi](https://github.com/openai/openai-openapi) (MIT), pinned to a commit (`https://raw.githubusercontent.com/openai/openai-openapi//openapi.yaml`). The versions come from the GitHub commits API. Checked on 2026-11-21. +- **Why this one:** + - It's OpenAI's own description of the API, the one `openai-python` and `openai-node` are generated from, and it's kept current: 589 commits changed it from 2022-01-19 to 2026-11-21, several on most days. + - It marks deprecated operations with the `deprecated` flag, and the operation's description says until when. + - Every commit can be cited and replayed. +- **Alternatives considered:** + - **The repo's tags** (`1.3.0`, `2.0.0`): too sparse to follow the API. + - **`openapi.json` beside it:** the same spec, but only committed from 2026-07-16 on; the YAML has the whole history. + - **The [deprecations page](https://developers.openai.com/api/docs/deprecations):** read for model shutdowns by `openai/models` (kind `notices`). It announces endpoint shutdowns in prose and tables, not per operation. + - **The changelog:** product news, not keyed by operation. +- **Quote:** "The endpoint and model are deprecated and scheduled to shut down on February 26, 2027." (`POST /audio/translations`, flagged deprecated on 2026-10-28) + +## How the provider announces changes + +- **One version per day.** The spec is committed several times a day, and `info.version` (`2.3.0`) isn't bumped with each change, so a version is a day: the day's last commit, its date the event's `version`. +- **Operations are named by the path a caller sends** (`POST /v1/audio/translations`): the server is `https://api.openai.com/v1` and the paths leave out `/v1`, so the adapter moves it into the paths. +- **Deprecations use the flag.** On 2026-11-21, 17 operations carry it, and none is called deprecated only in words (one description mentions deprecated models, not the operation). Flagged descriptions give the shutdown date. +- **Much of the daily churn is the spec's own shape**: enum lists rewritten as `const`, schemas regenerated, work in progress added and pulled again. + +## What the plugin reads and ignores + +- **Reads** every day's spec, diffed against the day before. Two events come out of it: + - **Deprecations:** an operation that gains the `deprecated` flag. The event quotes the whole operation, so the shutdown date is in the excerpt. + - **Removals (breaking):** an operation that leaves the spec after the previous day's spec had marked it deprecated. +- **Matches operations by path template,** so a renamed path parameter isn't a removal. +- **Ignores everything else:** removals of operations that were never deprecated, schema and property changes, new operations. The drop test replays 2026-11-17 → 2026-11-18, when the session spending-limit schemas added the day before were pulled again: three schema removals, no event. +- **The golden test** replays 2026-10-27 → 2026-10-28: `POST /audio/translations` deprecated, one event; the two new `/organization/external_keys` operations of the same day are dropped. + +## Known gaps + +- **Deprecated parameters, fields and enum values** (`user` in favor of `safety_identifier`, a model in a `model` enum) aren't events: only whole operations are. +- **Removals OpenAI didn't flag first aren't events,** even if the endpoint really went away. +- **History:** the GitHub commits API lists at most 1,000 commits. The spec has 589 (back to 2022-01-19), so all are listed today; at its pace, the oldest will start dropping off in 2027. +- **The patch-it client needs `openai` in its list of date-versioned APIs** to place the events' date `version`; that list is outside this repo. diff --git a/providers/openai-node-surface.md b/providers/openai-node-surface.md new file mode 100644 index 0000000..67e5aa1 --- /dev/null +++ b/providers/openai-node-surface.md @@ -0,0 +1,36 @@ +# OpenAI Node.js SDK (`openai/node-surface`) + +## What it watches + +The public API of the `openai` package on npm, release by release, read from its TypeScript declarations: exported names removed, class members removed, parameters removed, and parameters that are no longer optional. One `package_release` event per change. Every final release is listed from the npm registry (pre-releases and deprecated versions left out), and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the TypeScript declaration reader (`plugins/apisurface/dtsurface`). + +## Why this source + +- **Source:** the release tarballs on the npm registry (), each version's `dist.tarball`, read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the declarations in the tarball are exactly what TypeScript checks a customer's code against after `npm install openai@`, and what editors show JavaScript users. A published tarball never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** the repo's CHANGELOG.md (commit titles); the API spec (`openai/api`: the HTTP API). +- **Quote:** `interface AgentSessionBudgetReachedEvent` (`resources/beta/agents/agents.d.mts` line 1188) at 7.59.0, gone at 7.60.0. + +## How the provider announces changes + +- Generated from the same spec as the Python SDK and released several times a week; types follow the API, so a pulled preview feature removes its types in a minor. +- **Forced on upgrade**, for a repo whose lockfile reaches the release. + +## What the plugin reads and ignores + +- Reads `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files of each release's tarball from the npm registry, in memory, as text (`plugins/apisurface/dtsurface`): nothing in the package is run, no install script, no TypeScript compiler. The entry points are `package.json`'s `exports` (each subpath, wildcards matched against the files; for each, its `types` condition, else the `import` one), or its `types`/`typings`. +- For each entry point: every exported name (classes, functions, enums, variables, interfaces, type aliases, namespaces, and names re-exported from another package, by name only), and below a class or namespace what it holds: a class's public methods and properties, and its constructor's parameters; a namespace's classes, functions and namespaces. Symbols are named by the import path code writes: `openai/resources/chat/completions.Completions.create`. +- Parameters compare by position, as TypeScript passes them: a parameter gone off the end (with no rest parameter now) is removed; one optional before and required now is a `changed_default`. A renamed parameter is no change. +- Ignores names marked `@internal`, `private` and `protected` members, `#private` fields, setters, index signatures, interface and object-type members, interfaces and type aliases inside a namespace (an entry point's own are read), entry points under a private path (`_shims`, `internal`, `src`), the `./index` duplicate of the root, and what the default export holds (it's the same declaration as a named one). +- One declaration reachable at several import paths is one event, every path in its `symbols`. +- Drops (and logs) a removal that may not be one: a member of a name now re-exported from another package, now a value, an interface or a type (whose members aren't read); a method gone from a class that extends a class of another package (it may define it); a name an entry point may still get from a package it re-exports wholesale (`export * from "other"`). + +## Known gaps + +- What a property's type holds isn't followed: `client.chat.completions.create` is read as the `Completions` class's `create`, reached through namespaces and entry points, not through the `chat` property's type. +- Type changes (a parameter's type narrowed, a return type changed, an interface's fields) aren't events. +- A package that re-exports another wholesale (`export * from "@scope/core"`) hides that package's API: it's a source of its own, or not read. +- Classes are indexed by name across files to follow a method to its base class: two classes of the same name (in two namespaces) are read as one, which can only turn a removal into a note, never add one. +- A parameter added without being optional is a note (the change-event contract has no subject for it yet). diff --git a/providers/openai-python-sdk.md b/providers/openai-python-sdk.md deleted file mode 100644 index 4d233f1..0000000 --- a/providers/openai-python-sdk.md +++ /dev/null @@ -1,33 +0,0 @@ -# OpenAI Python SDK (`openai/python-sdk`) - -## What it watches - -The public API of the `openai` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. - -Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). - -## Why this source - -- **Source:** the release files on PyPI (): each release's wheel, `openai--py3-none-any.whl`, read as published. Checked on 2026-11-20. -- **Why this one:** the wheel is exactly what `pip install openai==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. -- **Alternatives considered:** the repo's CHANGELOG.md (generated from commit titles; it says "chore(types): rename" without the old and new names a fix needs); GitHub release notes (the same text); the API's OpenAPI spec (the HTTP API, not the Python names and parameters code uses; the `openai/models` source covers the models). -- **Quote:** `class AsssitantDeleted(BaseModel)`, `openai/types/beta/asssitant_deleted.py` line 10 at 1.1.1, gone at 1.1.2 (renamed `AssistantDeleted`). - -## How the provider announces changes - -- The SDK is generated from OpenAI's API spec and released often (several times a week at times). Type names follow the spec, so a renamed schema renames a class without a deprecation step. -- **Forced on upgrade**, for a repo whose pin reaches the release. - -## What the plugin reads and ignores - -- Reads the `.py` and `.pyi` files under `openai/` as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, and an `__init__`'s re-exports. -- Ignores private names (a leading underscore, a module under a private one, a name left out of `__all__`), classes nested in classes, and tests. -- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). -- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. -- Drops (and logs) a removal that may not be one: a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases (followed through the package's own classes, private ones included) now defines, or which the class now defines as an attribute (`create = _create`, a property made a plain attribute). - -## Known gaps - -- A class with no `__init__` of its own (the generated pydantic types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. -- A method moved to a base class from outside the package (a dependency's class) is still read as removed when the bases themselves didn't change: the dependency's code isn't read. -- Type changes (an annotation narrowed) aren't events. diff --git a/providers/openai-python-surface.md b/providers/openai-python-surface.md new file mode 100644 index 0000000..ec2ec28 --- /dev/null +++ b/providers/openai-python-surface.md @@ -0,0 +1,35 @@ +# OpenAI Python SDK (`openai/python-surface`) + +## What it watches + +The public API of the `openai` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-20. +- **Why this one:** the wheel is exactly what `pip install openai==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** the repo's CHANGELOG.md (generated from commit titles; it says "chore(types): rename" without the old and new names a fix needs); GitHub release notes (the same text); the API's OpenAPI spec (`openai/api`: the HTTP API, not the Python names code uses). +- **Quote:** `class AsssitantDeleted(BaseModel)`, `openai/types/beta/asssitant_deleted.py` line 10 at 1.1.1, gone at 1.1.2 (renamed `AssistantDeleted`). + +## How the provider announces changes + +- The SDK is generated from OpenAI's API spec and released several times a week; type names follow the spec, so a renamed schema renames a class without a deprecation step. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `openai/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. diff --git a/providers/planetscale.md b/providers/planetscale.md index 9a54a6f..e4aabd1 100644 --- a/providers/planetscale.md +++ b/providers/planetscale.md @@ -49,5 +49,5 @@ Kind: `openapi` (`plugins/openapi`), with `adapter.PlanetScale`. - **The repo lags the live spec.** A change arrives when the Monday pull request is merged, not when PlanetScale publishes it: on 2026-11-19 the live spec had 7 operations the repo's newest copy (2026-11-09) didn't, and the history has a three-month gap (2026-02-26 to 2026-06-01). The event's `version` is the commit date, not the day PlanetScale changed the API. - **Some commits are hand edits** to the copy ("Fix type of `planetscale_organization` `invoice_budget_amount`", "Mark `parent_branch` as optional"), so a version can differ from what PlanetScale published. Only 13 of the 33 commits are the workflow's own. - **Only the REST API is covered.** The SDKs and drivers aren't: `@planetscale/database` (database-js) 2.0.0 (2026-09-24) removed parameter interpolation, which this plugin can't see. -- **Two spec commits on one day share a `version`** (it happened on 2025-12-04, 2026-02-24, 2026-08-11 and 2026-09-10). The events stay distinct, because the operation is part of the fingerprint, but the second run's `previous_version` equals its `version`. +- **Two spec commits on one day are one version** (2025-12-04, 2026-02-24, 2026-08-11 and 2026-09-10 in the history), read at the day's last commit: a change made and undone the same day isn't seen. - **The patch-it client can't place these events yet.** Their `version` is a date (`2026-11-09`), because the API has no version. The client keeps a date-versioned API's events only if the API is in its list of date-versioned APIs, so `planetscale` needs an entry there. 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/posthog.md b/providers/posthog.md index 917620c..9e6fc84 100644 --- a/providers/posthog.md +++ b/providers/posthog.md @@ -2,13 +2,13 @@ ## What it watches -Members removed from the `posthog` Python SDK in 8.0.0 (`CaptureMode`, `posthog.capture_v1`, `posthog.capture_v1.CaptureV1Error`, `posthog.request.batch_post`…): code using one breaks on the upgrade. One event per member. Pinned to that release. +Members a new major of the `posthog` Python SDK removes, from that major's migration guide: in 8.0.0, `CaptureMode`, `posthog.capture_v1`, `posthog.capture_v1.CaptureV1Error`, `posthog.request.batch_post`… (code using one breaks on the upgrade). One event per member, with the major's first release as `version` and the release before it on PyPI as `previous_version`. The releases are listed from PyPI; the guide is read at each major's first tag, so nothing in the code names a release. Kind: `migrationguide` (`plugins/migrationguide`), with the removed-members reader (`plugins/migrationguide/members`), reading a Markdown table. ## Why this source -- **Source:** [`docs/migration-7.x-to-8.0.md` at posthog-v8.0.0](https://github.com/PostHog/posthog-python/blob/posthog-v8.0.0/docs/migration-7.x-to-8.0.md) (commit `6edff41425188056e48f6119457dc9bc0669ca99`), read raw at the tag. Checked on 2026-11-19. The guide isn't in the repo at posthog-v7.91.4, the release before, and is the same at posthog-v8.0.2. MIT. +- **Source:** `docs/migration-.x-to-.0.md` at tag `posthog-v.0.0`, read raw at the tag; the one so far is [`docs/migration-7.x-to-8.0.md` at posthog-v8.0.0](https://github.com/PostHog/posthog-python/blob/posthog-v8.0.0/docs/migration-7.x-to-8.0.md) (commit `6edff41425188056e48f6119457dc9bc0669ca99`). A major with no guide at its tag has nothing to read (the pair is skipped). Releases from [PyPI](https://pypi.org/project/posthog/). Checked on 2026-11-19. The guide isn't in the repo at posthog-v7.91.4, the release before, and is the same at posthog-v8.0.2. MIT. - **Why this one:** it's PostHog's own migration guide for the SDK's 8.0.0, and its "Fix removed APIs" section is a table of what 8.0.0 removed and what to use instead. A tag never changes, so the URL is its own citation, and 8.0.0 is a version a repo pins. - **Alternatives considered:** - **`references/public_api_snapshot.txt`** in the same repo: a generated listing of the public API at every tag. Diffing it between two releases gives every removed name with its full path, but no reason, replacement or announcement. The plugin reads the guide, and the listing was used to check the paths of the guide's names. 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. diff --git a/providers/redis-node-redis-surface.md b/providers/redis-node-redis-surface.md new file mode 100644 index 0000000..ce57289 --- /dev/null +++ b/providers/redis-node-redis-surface.md @@ -0,0 +1,37 @@ +# node-redis client (`redis/node-redis-surface`) + +## What it watches + +The public API of the `@redis/client` package on npm, release by release, read from its TypeScript declarations: exported names removed, class members removed, parameters removed, and parameters that are no longer optional. One `package_release` event per change. Every final release is listed from the npm registry (pre-releases and deprecated versions left out), and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the TypeScript declaration reader (`plugins/apisurface/dtsurface`). + +## Why this source + +- **Source:** the release tarballs on the npm registry (), each version's `dist.tarball`, read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the declarations in the tarball are exactly what TypeScript checks a customer's code against after `npm install @redis/client@`, and what editors show JavaScript users. A published tarball never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** GitHub release notes; `docs/v4-to-v5.md` (majors only). +- **Quote:** `enum RedisFlushModes` (`dist/lib/commands/FLUSHALL.d.ts` line 1) at 1.6.1, gone at 5.0.0 (the client went from 1.x to 5.0.0 with redis 5). + +## How the provider announces changes + +- `redis` on npm re-exports `@redis/client` (and the module packages) wholesale; the client's declarations are where its API is, so this source reads `@redis/client` and covers `npm:redis` too. +- **Forced on upgrade**, for a repo whose lockfile reaches the release. + +## What the plugin reads and ignores + +- Reads `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files of each release's tarball from the npm registry, in memory, as text (`plugins/apisurface/dtsurface`): nothing in the package is run, no install script, no TypeScript compiler. The entry points are `package.json`'s `exports` (each subpath, wildcards matched against the files; for each, its `types` condition, else the `import` one), or its `types`/`typings`. +- For each entry point: every exported name (classes, functions, enums, variables, interfaces, type aliases, namespaces, and names re-exported from another package, by name only), and below a class or namespace what it holds: a class's public methods and properties, and its constructor's parameters; a namespace's classes, functions and namespaces. Symbols are named by the import path code writes: `@redis/client.createClient`. +- Parameters compare by position, as TypeScript passes them: a parameter gone off the end (with no rest parameter now) is removed; one optional before and required now is a `changed_default`. A renamed parameter is no change. +- Ignores names marked `@internal`, `private` and `protected` members, `#private` fields, setters, index signatures, interface and object-type members, interfaces and type aliases inside a namespace (an entry point's own are read), entry points under a private path (`_shims`, `internal`, `src`), the `./index` duplicate of the root, and what the default export holds (it's the same declaration as a named one). +- One declaration reachable at several import paths is one event, every path in its `symbols`. +- Drops (and logs) a removal that may not be one: a member of a name now re-exported from another package, now a value, an interface or a type (whose members aren't read); a method gone from a class that extends a class of another package (it may define it); a name an entry point may still get from a package it re-exports wholesale (`export * from "other"`). + +## Known gaps + +- What a property's type holds isn't followed: `client.chat.completions.create` is read as the `Completions` class's `create`, reached through namespaces and entry points, not through the `chat` property's type. +- Type changes (a parameter's type narrowed, a return type changed, an interface's fields) aren't events. +- A package that re-exports another wholesale (`export * from "@scope/core"`) hides that package's API: it's a source of its own, or not read. +- Classes are indexed by name across files to follow a method to its base class: two classes of the same name (in two namespaces) are read as one, which can only turn a removal into a note, never add one. +- A parameter added without being optional is a note (the change-event contract has no subject for it yet). +- `@redis/client`'s versions follow its own numbering; a lockfile's `redis` version maps to the client version it depends on. diff --git a/providers/redis-redis-py-surface.md b/providers/redis-redis-py-surface.md new file mode 100644 index 0000000..9618ff4 --- /dev/null +++ b/providers/redis-redis-py-surface.md @@ -0,0 +1,35 @@ +# redis-py (`redis/redis-py-surface`) + +## What it watches + +The public API of the `redis` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install redis==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** GitHub release notes (the `CHANGES` file stops at 4.0). +- **Quote:** `def get_handler_for_connection(self)` (`OSSMaintNotificationsHandler`, `redis/maint_notifications.py` line 1073) at 8.0.1, gone at 8.1.0. + +## How the provider announces changes + +- The client releases minors every month or two; its newer subsystems (multi-database, maintenance notifications) change shape between minors. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `redis/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. diff --git a/providers/redis.md b/providers/redis.md index fb28c52..a954ff1 100644 --- a/providers/redis.md +++ b/providers/redis.md @@ -2,35 +2,36 @@ ## What it watches -Redis's command surface: commands that disappear entirely from `redis-doc`'s own catalog of every command, between two snapshots of it. +Redis's command surface: commands that disappear entirely between two Redis releases, read from the command definitions in the server's own source (`src/commands/`, one JSON file per command) at each release tag. -Kind: `catalog` (`plugins/catalog`), new in this change — no existing format plugin reads a flat JSON catalog keyed by name; see "Alternatives considered" for the formats checked and ruled out first. +Kind: `catalog` (`plugins/catalog`), the `Commands` reader (`plugins/catalog/redis.go`). ## Why this source -- **Source:** `commands.json` in [redis/redis-doc](https://github.com/redis/redis-doc), fetched at a commit (`https://raw.githubusercontent.com/redis/redis-doc//commands.json`); the newest commit from `GET https://api.github.com/repos/redis/redis-doc/commits/master`. Checked on 2026-11-18. -- **Why this one:** it's the real, machine-readable file redis.io's own command reference is generated from, one JSON object per command (370 of them as checked), each with the metadata (arity, flags, ACL categories, and for a few, `deprecated_since` / `replaced_by`) that drives the docs site. `redis-doc` has no tags, so a commit SHA stands in for a release; that SHA is still a permanent, immutable citation, the same property a tag gives elsewhere. +- **Source:** [`src/commands/`](https://github.com/redis/redis/tree/unstable/src/commands) in redis/redis, read at each final release's tag (`X.Y.Z`, listed from [GitHub releases](https://github.com/redis/redis/releases) and ordered by version). A release is one listing (`GET https://api.github.com/repos/redis/redis/contents/src/commands?ref=`); a file that is gone at the next release is fetched once, at the older tag (`https://raw.githubusercontent.com/redis/redis//src/commands/`), for the command's name and the entry quoted as evidence. Checked on 2026-11-20: 460 files at 8.10.0, the directory there from 7.0.0. +- **Why this one:** it is what the server is built from: `commands.def`, the server's command table, is generated from these files, and so is redis.io's command reference. A release tag maps an event to the server version a team runs, and a tag never changes, so the file's URL is its own citation. - **Alternatives considered:** - - **An OpenAPI spec.** Redis the database has none: it's a binary protocol, not a REST API. (Redis Cloud, the separate hosted-management product, does publish a REST API, but only behind a live Swagger UI at `api.redislabs.com`, not an official, git-pinned spec repo — no stable tag to diff between releases the way Stripe's or GitHub's are.) - - **The official client libraries' changelogs** (`redis-py`'s `CHANGES`, `node-redis`'s `CHANGELOG.md`): both exist, but both stopped being updated once each project moved past its early releases — `CHANGES` says outright "this file contains only the changes history before redis-py version 4.0.0 ... after ... all changes can be found in the Release notes published in GitHub"; `node-redis`'s file stops at v4.0.2 (Jan 2022) while the package itself is past v6. Checked their actual bullets against `plugins/changelog`'s classifier (which needs a plain "Removed `X`" sentence with a backtick'd name): across every version heading in both files, none matched — the prose names JS/Python arguments and config options, not Redis commands, and rarely in backticks. - - **Redis's own deprecations/sunset prose** (`docs.github.com`-style breaking-changes page): Redis has no equivalent single page; deprecation notes live per-command, in the catalog itself (see below). - - **An RSS/Atom feed:** none found for Redis's own release notes; `redis/redis`'s GitHub Releases has an Atom feed (`/releases.atom`), but its entries are prose changelogs with the same shape problem as the client libraries above, not a vendor-labelled "breaking" category the way `feed`'s existing readers (GitHub Actions, Vertex AI) depend on. -- **Quote:** `"FUNCTION INFO"` is in the catalog at commit `cc0427b`; by the very next commit touching the file, it and `FUNCTION CREATE` are gone, replaced by `FUNCTION LOAD` ([PR #1697](https://github.com/redis/redis-doc/pull/1697)). + - **`redis/redis-doc` `commands.json`** (what this source read before, until 2026-11-20): the repo is archived, the file last changed on 2023-10-24, 370 commands, so nothing from Redis 7.4 or 8.x was ever seen. + - **`redis/docs` `data/commands.json`** (redis.io's maintained docs repo, 678 commands on 2026-11-20): one file, but a docs artifact. Its history (5 commits since 2024-02) shows editorial churn that would read as removals: commit `2f513f2` (2024-06-06) dropped 126 module commands (`BF.*`, `CF.*`, `FT.*`…) that Redis never removed, and later commits put them back; commit `9740114` (2026-07-30) deleted the file outright. Its versions are commit dates, not server releases. Every one of those would be a false event, so it isn't read. + - **An OpenAPI spec.** Redis the database has none: it's a binary protocol, not a REST API. + - **The client libraries' changelogs** (`redis-py`'s `CHANGES`, `node-redis`'s `CHANGELOG.md`): both stopped being updated years ago, and their bullets name client arguments, not server commands. +- **Quote:** at tag `8.8-m03`, `src/commands/gcra.json` is `{"GCRA": {"summary": "Rate limit via GCRA (Generic Cell Rate Algorithm).", … "since": "8.8.0", …}}`; at `8.8-rc1` the file is gone, and so is `gcrasetvalue.json`. ## How the provider announces changes -- **No API version at all**: Redis is versioned by server release (`7.0.0`, `8.2.0`...), with no header, path or date scheme the way Stripe or GitHub have. A client picks a server to connect to; there is no "pin an API version" concept to gate against. -- **Commands are deprecated, essentially never removed.** Of the 370 commands in the live catalog, 21 carry `deprecated_since` (e.g. `HMSET` since 4.0.0, replaced by `HSET`); every one of them still works. Checked directly against the real source of truth, [redis/redis](https://github.com/redis/redis)'s own `src/commands/*.json`: diffing the full command file list between the `7.0.0` and `8.2.0` GA tags removed **zero** files. Redis's own backward-compatibility stance means a shipped command keeps working forever. -- **The one real removal found, `FUNCTION CREATE` / `FUNCTION INFO`, never shipped.** They existed only in `redis-doc`'s catalog during the pre-release design of the Functions feature; `src/commands/function-create.json` doesn't exist even at `7.0-rc1`, the first public release candidate, tagged a week *after* the catalog commit that dropped them. So this is a real, verifiable removal in the repo's history, but not one any real user's code could have depended on — unlike Stripe's, Datadog's or GitHub's demo changes, which all broke a real, shipped version. Recorded here rather than smoothed over: Redis's command surface, at least since 7.0 GA, has had no breaking removal to replay instead. +- **No API version**: Redis is versioned by server release (`7.4.0`, `8.10.0`). Several lines are patched at once (7.2.10 shipped after 8.0.0), which is why versions are ordered by number, not by date: a pair across lines would read the older line's missing commands as removals. +- **Commands are deprecated, essentially never removed.** Between every final release from 7.0.0 to 8.10.3, no command file was removed (checked 2026-11-20 across the tags); about twenty commands carry `deprecated_since` and still work. The one removal in that span is between pre-release tags: GCRA and GCRASETVALUE, added in the 8.8 milestone builds, gone at 8.8-rc1. The golden test pins that pair. ## What the plugin reads and ignores -- Reads: `commands.json` at the newest commit, compared with the commit read before it. A name present before and missing after becomes a `breaking` `package_release` event (`change: removed_symbol`); the excerpt quotes the entry's own JSON from the snapshot where it still existed. -- Ignores: everything else about a command (arguments, flags, complexity, ACL categories) — only presence is diffed. A name that's only *added* is not an event. A rename is read as one removal, since nothing in the catalog says a disappearance and an appearance are the same command; guessing that would trade precision for recall. -- The live `deprecated_since` / `replaced_by` fields on still-present commands aren't read yet (see "Known gaps"): they're deprecations, not removals, and every one of them already works forever regardless. -- Reads a historical pair (a version pair, commit `cc0427b` → `06f3598`) and recreates the real removal of `FUNCTION CREATE` and `FUNCTION INFO` (the golden test uses trimmed excerpts of both commits' `commands.json`, alongside `GET`, unchanged, as the drop-test fixture). +- Reads: the list of `*.json` files in `src/commands/` at each release. A file in the older release's list and not in the newer's becomes a `breaking` `package_release` event (`change: removed_symbol`), its symbol the command's name (a subcommand with its container: `CLIENT KILL`), its version the newer release and its `previous_version` the older. The excerpt quotes the file at the older tag. +- Ignores: what a command's file says (arguments, flags, complexity, ACL categories): only presence is compared. An added command is not an event. A file renamed with the same command in it would read as a removal; none was renamed in the span checked. +- A release from before 7.0.0 has no `src/commands/`: nothing to read (the pair is skipped). +- Pre-release tags (`-rc`, `-m`) aren't listed: they aren't releases a team runs. +- The pinned drop test: 8.8.0 → 8.10.0 adds 17 command files and removes none, so no event. ## Known gaps -- The 21 commands already marked `deprecated_since` in the live catalog aren't turned into `deprecation` events: there's no second snapshot showing the moment each one was marked that way conveniently paired with a trimmed fixture, and since none of them is ever actually removed, the user-facing urgency is low. A future change could diff for a command gaining `deprecated_since` between two snapshots the same way this one diffs for removal. -- `node-redis` and `redis-py`'s own breaking changes (argument shapes, defaults, RESP3 becoming the default response protocol) aren't watched: real breaking changes exist in both (checked: `node-redis` v4.0.0's "Breaking Changes" section, `redis-py` v8.0.0's RESP2/RESP3 unification), but neither client writes them as the plain, single-symbol sentences `plugins/changelog` already reads elsewhere. A client-library plugin for Redis would need its own, looser reader, not this one. +- Commands gaining `deprecated_since` between two releases aren't turned into `deprecation` events yet: that needs the changed files' contents, not only the list. +- Module commands (`FT.*`, `JSON.*`, `TS.*`…) live in the modules' own repos, not in `src/commands/`. +- `node-redis` and `redis-py`'s own breaking changes aren't watched here: they're client SDKs, a separate source. diff --git a/providers/salesforce.md b/providers/salesforce.md index 2edf69d..7103ea0 100644 --- a/providers/salesforce.md +++ b/providers/salesforce.md @@ -8,12 +8,13 @@ Kind: `notices` (`plugins/notices`), with the end-of-life reader (`plugins/notic ## Why this source -- **Source:** [API End-of-Life Policy](https://developer.salesforce.com/docs/platform/api-rest/guide/api-rest-eol.html), Salesforce's own table of REST API version ranges and their support status. Checked 2026-11-20: a plain GET of the live page gets a 403 every time, including with a browser `User-Agent`, so `env.Get` always fails here. The Wayback Machine's own save-page-now request succeeds against the same URL anyway (checked the same day), so this plugin falls back to a fresh snapshot when the direct read is blocked, and reads and cites that snapshot directly: unlike `retirements` and `feed`, which read the live page first and only snapshot it afterward to cite, there's no live read here to cite alongside. +- **Source:** [API End-of-Life Policy](https://developer.salesforce.com/docs/platform/api-rest/guide/api-rest-eol.html), Salesforce's own table of REST API version ranges and their support status. Checked 2026-11-20: a plain GET of the live page gets a 403 every time, including with a browser `User-Agent`; on 2026-11-21 its CDN (`server: AkamaiNetStorage`) answered 503 instead, after the fetch layer's retries. So `env.Get` always fails here. The Wayback Machine's own crawler reads the same URL anyway (its capture of 2026-11-20 parses to the same findings), so this plugin falls back to a fresh snapshot when the direct read is blocked (401, 403, or 503), and reads and cites that snapshot directly: unlike `retirements` and `feed`, which read the live page first and only snapshot it afterward to cite, there's no live read here to cite alongside. **A read that can't be made is a failed run, never "nothing changed":** any other status (404, 429, 500…), a snapshot the archive can't take, or a snapshot with no table in it (a block page saved in its place) fails the read, and patch-it's hosted ingestion service records the error. - **Why this one:** it's the only place Salesforce states, in one page, which whole version ranges still work, which are scheduled to stop, and which already have. Salesforce's own policy text above the table: "Salesforce is committed to supporting each API version for a minimum of 3 years from the date of first release... Salesforce notifies customers who use an API version scheduled for deprecation at least 1 year before support for the version ends." - **Alternatives considered:** - **A changelog or RSS/Atom feed.** None found. Salesforce Help's release notes (HTML and PDF, three times a year: Spring, Summer, Winter) cover new features and, inconsistently, "Critical Updates" with their own auto-activation dates, but as prose spread across hundreds of pages per release, not a page or feed keyed by what changed in the API. No official feed of any of this exists. - **An OpenAPI spec.** Salesforce publishes no stable, versioned one. There's a beta, on-demand generator (`POST .../async/specifications/oas3`) for the sObjects REST API only, explicitly "subject to change... Don't build production integrations based on this," generated live per org and not pinned to a release, so there's nothing to diff between two points in time. - **Official Python and JS/TS SDKs for the REST API.** Checked 2026-11-20: Salesforce publishes none. `simple-salesforce` (PyPI) and `jsforce` (npm) are the community-maintained libraries almost everyone actually uses, but they're not Salesforce's own, so a breaking change in either is about the library, not the API; left for a future, separate client-library plugin if either becomes worth watching on its own. Salesforce does maintain its own SDKs for other surfaces (the `sf` CLI, Lightning Web Components), just not a general REST/SOAP API client. + - **The docs site's JSON content API** (`https://developer.salesforce.com/docs/get_document_content/api_rest/api_rest_eol.htm/en-us/`, the older "atlas" REST API Developer Guide; `get_document/atlas.en-us.api_rest.meta` names the newest doc version). It answers a plain GET (checked 2026-11-21), but it lags the live page: its newest version, 262.0 (Summer '26), lists versions 31.0 through 66.0 as supported and has no row for the 31.0–40.0 deprecation the live page announces, so it would miss exactly what this source is for. - **The retirement-detail sub-pages** the main table links to (e.g. "Salesforce Platform API Versions 31.0 through 40.0 Retirement"), each its own Salesforce Help article. The main page already states the same range, status and season; reading only it keeps one source of truth and one snapshot per run. - **Quote:** "As of Summer ’25, these versions are retired and unavailable." (versions 21.0 through 30.0, a real, already-happened retirement) diff --git a/providers/sentry-node-surface.md b/providers/sentry-node-surface.md new file mode 100644 index 0000000..b9e6e8b --- /dev/null +++ b/providers/sentry-node-surface.md @@ -0,0 +1,37 @@ +# Sentry Node.js SDK (`sentry/node-surface`) + +## What it watches + +The public API of the `@sentry/node` package on npm, release by release, read from its TypeScript declarations: exported names removed, class members removed, parameters removed, and parameters that are no longer optional. One `package_release` event per change. Every final release is listed from the npm registry (pre-releases and deprecated versions left out), and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the TypeScript declaration reader (`plugins/apisurface/dtsurface`). + +## Why this source + +- **Source:** the release tarballs on the npm registry (), each version's `dist.tarball`, read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the declarations in the tarball are exactly what TypeScript checks a customer's code against after `npm install @sentry/node@`, and what editors show JavaScript users. A published tarball never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md; MIGRATION.md (majors only). +- **Quote:** `export { systemErrorIntegration } from "@sentry/node-core"` (`build/types/index.d.ts` line 35) at 9.47.2, gone at 10.0.0. + +## How the provider announces changes + +- Releases every week or two; most of what it exports is re-exported from `@sentry/core` and `@sentry/node-core`, read here by name. +- **Forced on upgrade**, for a repo whose lockfile reaches the release. + +## What the plugin reads and ignores + +- Reads `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files of each release's tarball from the npm registry, in memory, as text (`plugins/apisurface/dtsurface`): nothing in the package is run, no install script, no TypeScript compiler. The entry points are `package.json`'s `exports` (each subpath, wildcards matched against the files; for each, its `types` condition, else the `import` one), or its `types`/`typings`. +- For each entry point: every exported name (classes, functions, enums, variables, interfaces, type aliases, namespaces, and names re-exported from another package, by name only), and below a class or namespace what it holds: a class's public methods and properties, and its constructor's parameters; a namespace's classes, functions and namespaces. Symbols are named by the import path code writes: `@sentry/node.init`. +- Parameters compare by position, as TypeScript passes them: a parameter gone off the end (with no rest parameter now) is removed; one optional before and required now is a `changed_default`. A renamed parameter is no change. +- Ignores names marked `@internal`, `private` and `protected` members, `#private` fields, setters, index signatures, interface and object-type members, interfaces and type aliases inside a namespace (an entry point's own are read), entry points under a private path (`_shims`, `internal`, `src`), the `./index` duplicate of the root, and what the default export holds (it's the same declaration as a named one). +- One declaration reachable at several import paths is one event, every path in its `symbols`. +- Drops (and logs) a removal that may not be one: a member of a name now re-exported from another package, now a value, an interface or a type (whose members aren't read); a method gone from a class that extends a class of another package (it may define it); a name an entry point may still get from a package it re-exports wholesale (`export * from "other"`). + +## Known gaps + +- What a property's type holds isn't followed: `client.chat.completions.create` is read as the `Completions` class's `create`, reached through namespaces and entry points, not through the `chat` property's type. +- Type changes (a parameter's type narrowed, a return type changed, an interface's fields) aren't events. +- A package that re-exports another wholesale (`export * from "@scope/core"`) hides that package's API: it's a source of its own, or not read. +- Classes are indexed by name across files to follow a method to its base class: two classes of the same name (in two namespaces) are read as one, which can only turn a removal into a note, never add one. +- A parameter added without being optional is a note (the change-event contract has no subject for it yet). +- Names re-exported from `@sentry/core` are read by name: their signatures are that package's. diff --git a/providers/sentry-python-surface.md b/providers/sentry-python-surface.md new file mode 100644 index 0000000..712f97a --- /dev/null +++ b/providers/sentry-python-surface.md @@ -0,0 +1,36 @@ +# Sentry Python SDK (`sentry/python-surface`) + +## What it watches + +The public API of the `sentry-sdk` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install sentry-sdk==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md; MIGRATION_GUIDE.md (majors only, for the `migrationguide` kind). +- **Quote:** `def to_timestamp(value: "datetime") -> float` (`sentry_sdk/utils.py` line 251) at 2.73.0, gone at 2.74.0. + +## How the provider announces changes + +- The SDK releases every week or two; helpers in public-looking modules (`sentry_sdk.utils`) are removed in minors. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `sentry_sdk/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. +- `sentry_sdk.utils` and similar modules have no leading underscore but are mostly the SDK's own helpers: their removals are events, though few customers call them. 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. diff --git a/providers/stripe-node-surface.md b/providers/stripe-node-surface.md new file mode 100644 index 0000000..e231f2d --- /dev/null +++ b/providers/stripe-node-surface.md @@ -0,0 +1,37 @@ +# Stripe Node.js SDK (`stripe/node-surface`) + +## What it watches + +The public API of the `stripe` package on npm, release by release, read from its TypeScript declarations: exported names removed, class members removed, parameters removed, and parameters that are no longer optional. One `package_release` event per change. Every final release is listed from the npm registry (pre-releases and deprecated versions left out), and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the TypeScript declaration reader (`plugins/apisurface/dtsurface`). + +## Why this source + +- **Source:** the release tarballs on the npm registry (), each version's `dist.tarball`, read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the declarations in the tarball are exactly what TypeScript checks a customer's code against after `npm install stripe@`, and what editors show JavaScript users. A published tarball never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md ("⚠️" on breaking bullets); the API spec (`stripe/api`). +- **Quote:** `namespace ErrorType` (`esm/stripe.esm.node.d.ts` line 482) at 22.6.2, gone at 23.0.0. + +## How the provider announces changes + +- Each major pins a new Stripe API version and removes what that version removed. +- **Forced on upgrade**, for a repo whose lockfile reaches the release. + +## What the plugin reads and ignores + +- Reads `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files of each release's tarball from the npm registry, in memory, as text (`plugins/apisurface/dtsurface`): nothing in the package is run, no install script, no TypeScript compiler. The entry points are `package.json`'s `exports` (each subpath, wildcards matched against the files; for each, its `types` condition, else the `import` one), or its `types`/`typings`. +- For each entry point: every exported name (classes, functions, enums, variables, interfaces, type aliases, namespaces, and names re-exported from another package, by name only), and below a class or namespace what it holds: a class's public methods and properties, and its constructor's parameters; a namespace's classes, functions and namespaces. Symbols are named by the import path code writes: `stripe.Stripe.constructEventWithoutVerification`. +- Parameters compare by position, as TypeScript passes them: a parameter gone off the end (with no rest parameter now) is removed; one optional before and required now is a `changed_default`. A renamed parameter is no change. +- Ignores names marked `@internal`, `private` and `protected` members, `#private` fields, setters, index signatures, interface and object-type members, interfaces and type aliases inside a namespace (an entry point's own are read), entry points under a private path (`_shims`, `internal`, `src`), the `./index` duplicate of the root, and what the default export holds (it's the same declaration as a named one). +- One declaration reachable at several import paths is one event, every path in its `symbols`. +- Drops (and logs) a removal that may not be one: a member of a name now re-exported from another package, now a value, an interface or a type (whose members aren't read); a method gone from a class that extends a class of another package (it may define it); a name an entry point may still get from a package it re-exports wholesale (`export * from "other"`). + +## Known gaps + +- What a property's type holds isn't followed: `client.chat.completions.create` is read as the `Completions` class's `create`, reached through namespaces and entry points, not through the `chat` property's type. +- Type changes (a parameter's type narrowed, a return type changed, an interface's fields) aren't events. +- A package that re-exports another wholesale (`export * from "@scope/core"`) hides that package's API: it's a source of its own, or not read. +- Classes are indexed by name across files to follow a method to its base class: two classes of the same name (in two namespaces) are read as one, which can only turn a removal into a note, never add one. +- A parameter added without being optional is a note (the change-event contract has no subject for it yet). +- The `Stripe` namespace's thousands of resource types are types inside a namespace: not read (the API spec covers the fields). diff --git a/providers/stripe-python-surface.md b/providers/stripe-python-surface.md new file mode 100644 index 0000000..7d0af3e --- /dev/null +++ b/providers/stripe-python-surface.md @@ -0,0 +1,36 @@ +# Stripe Python SDK (`stripe/python-surface`) + +## What it watches + +The public API of the `stripe` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install stripe==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md (prose per release, "⚠️" on breaking bullets); the API spec (`stripe/api`: the HTTP API, not Python names). +- **Quote:** `def request( self, method: Literal["get", "post", "delete"], url: str, params: Optional[Dict[str, Any]] = None, *, base_address: BaseAddress = "api", ) -> "StripeObject"` (`StripeObject`, `stripe/_stripe_object.py` line 452) at 15.6.2, gone at 16.0.0. + +## How the provider announces changes + +- Each major pins a new Stripe API version and removes what that version removed; minors add. `stripe/__init__.py` hands out most names lazily (`__getattr__`), so removals from the top-level namespace are notes, not events. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `stripe/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. +- Most top-level names are lazy (`__getattr__`): a class removed from `stripe` itself is only a note. 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. diff --git a/providers/supabase-js-surface.md b/providers/supabase-js-surface.md new file mode 100644 index 0000000..7cbc99a --- /dev/null +++ b/providers/supabase-js-surface.md @@ -0,0 +1,37 @@ +# Supabase JavaScript client (`supabase/js-surface`) + +## What it watches + +The public API of the `@supabase/supabase-js` package on npm, release by release, read from its TypeScript declarations: exported names removed, class members removed, parameters removed, and parameters that are no longer optional. One `package_release` event per change. Every final release is listed from the npm registry (pre-releases and deprecated versions left out), and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the TypeScript declaration reader (`plugins/apisurface/dtsurface`). + +## Why this source + +- **Source:** the release tarballs on the npm registry (), each version's `dist.tarball`, read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the declarations in the tarball are exactly what TypeScript checks a customer's code against after `npm install @supabase/supabase-js@`, and what editors show JavaScript users. A published tarball never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md; the v2 migration guide. +- **Quote:** `getSubscriptions(): RealtimeSubscription[]` (`SupabaseClient`, `dist/module/SupabaseClient.d.ts` line 100) at 1.35.7, gone at 2.0.0. + +## How the provider announces changes + +- The client is small and wraps separate packages (`@supabase/auth-js`, `@supabase/postgrest-js`, …) whose APIs it re-exports wholesale. +- **Forced on upgrade**, for a repo whose lockfile reaches the release. + +## What the plugin reads and ignores + +- Reads `package.json` and the `.d.ts`, `.d.mts` and `.d.cts` files of each release's tarball from the npm registry, in memory, as text (`plugins/apisurface/dtsurface`): nothing in the package is run, no install script, no TypeScript compiler. The entry points are `package.json`'s `exports` (each subpath, wildcards matched against the files; for each, its `types` condition, else the `import` one), or its `types`/`typings`. +- For each entry point: every exported name (classes, functions, enums, variables, interfaces, type aliases, namespaces, and names re-exported from another package, by name only), and below a class or namespace what it holds: a class's public methods and properties, and its constructor's parameters; a namespace's classes, functions and namespaces. Symbols are named by the import path code writes: `@supabase/supabase-js.SupabaseClient.from`. +- Parameters compare by position, as TypeScript passes them: a parameter gone off the end (with no rest parameter now) is removed; one optional before and required now is a `changed_default`. A renamed parameter is no change. +- Ignores names marked `@internal`, `private` and `protected` members, `#private` fields, setters, index signatures, interface and object-type members, interfaces and type aliases inside a namespace (an entry point's own are read), entry points under a private path (`_shims`, `internal`, `src`), the `./index` duplicate of the root, and what the default export holds (it's the same declaration as a named one). +- One declaration reachable at several import paths is one event, every path in its `symbols`. +- Drops (and logs) a removal that may not be one: a member of a name now re-exported from another package, now a value, an interface or a type (whose members aren't read); a method gone from a class that extends a class of another package (it may define it); a name an entry point may still get from a package it re-exports wholesale (`export * from "other"`). + +## Known gaps + +- What a property's type holds isn't followed: `client.chat.completions.create` is read as the `Completions` class's `create`, reached through namespaces and entry points, not through the `chat` property's type. +- Type changes (a parameter's type narrowed, a return type changed, an interface's fields) aren't events. +- A package that re-exports another wholesale (`export * from "@scope/core"`) hides that package's API: it's a source of its own, or not read. +- Classes are indexed by name across files to follow a method to its base class: two classes of the same name (in two namespaces) are read as one, which can only turn a removal into a note, never add one. +- A parameter added without being optional is a note (the change-event contract has no subject for it yet). +- The packages it wraps are separate packages, not read by this source. diff --git a/providers/supabase-python-surface.md b/providers/supabase-python-surface.md new file mode 100644 index 0000000..a44d6f0 --- /dev/null +++ b/providers/supabase-python-surface.md @@ -0,0 +1,36 @@ +# Supabase Python client (`supabase/python-surface`) + +## What it watches + +The public API of the `supabase` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install supabase==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md (release-please). +- **Quote:** `api: Optional[SyncGoTrueAPI] = None, replace_default_headers: bool = False,` in `SupabaseAuthClient.__init__` (`supabase/lib/auth_client.py`) at 0.7.1, gone at 1.0.0. + +## How the provider announces changes + +- The client is small (about a hundred public names) and wraps separate packages (postgrest, realtime, storage3, supabase_auth) whose own APIs aren't read here. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `supabase/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. +- The packages it wraps (`postgrest`, `supabase_auth`, …) are separate packages, not read by this source. diff --git a/providers/supabase.md b/providers/supabase.md index 70e8387..34d7169 100644 --- a/providers/supabase.md +++ b/providers/supabase.md @@ -42,5 +42,5 @@ Kind: `openapi` (`plugins/openapi`), with `adapter.Supabase`. - **A shutdown said only in words isn't an event.** On 2026-09-30 the `logs.all` description became "This endpoint has been removed and always responds with `410 Gone`", but the operation stayed in the spec. The diff sees no structural change. - **Removals Supabase didn't mark first aren't events,** even if the endpoint really went away. - **Only the Management API is covered.** The APIs most apps call (the Data API through PostgREST, Auth, Storage, Realtime) and the SDKs are not. -- **Two spec commits on one day share a `version`.** It happened on four days in the history. The events stay distinct, because the operation is part of the fingerprint, but the second run's `previous_version` equals its `version`. +- **Two spec commits on one day are one version** (four days in the history), read at the day's last commit: a change made and undone the same day isn't seen. - **The patch-it client can't place these events yet.** Their `version` is a date (`2026-06-29`), because the API has no version. The client's version check reads an `api_operation` version as a package version, so it needs the same rule for date-versioned API events that `cloudflare`'s need. diff --git a/providers/textual-python-surface.md b/providers/textual-python-surface.md new file mode 100644 index 0000000..bf71cac --- /dev/null +++ b/providers/textual-python-surface.md @@ -0,0 +1,35 @@ +# Textual (`textual/python-surface`) + +## What it watches + +The public API of the `textual` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install textual==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGELOG.md (read by `textual/textual`, kind `changelog`). +- **Quote:** `def walk_selectable_widgets( root: DOMNode, bounds: Shape, bounded: set[DOMNode] ) -> Iterable[Widget]` (`textual/walk.py` line 176) at 8.2.5; the third parameter is `containers` at 8.2.6. + +## How the provider announces changes + +- Textual releases often and changes public helpers in patch releases; its changelog (the `textual/textual` source) says so in prose. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `textual/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one. diff --git a/providers/urllib3-python-surface.md b/providers/urllib3-python-surface.md new file mode 100644 index 0000000..365cc20 --- /dev/null +++ b/providers/urllib3-python-surface.md @@ -0,0 +1,35 @@ +# urllib3 (`urllib3/python-surface`) + +## What it watches + +The public API of the `urllib3` package on PyPI, release by release: classes, functions and methods removed or renamed, parameters removed, and parameters that lost their default (callers must now pass them). One `package_release` event per change. Every final release is listed from PyPI, and each consecutive pair is compared. + +Kind: `apisurface` (`plugins/apisurface`), with the Python reader (`plugins/apisurface/pysurface`). + +## Why this source + +- **Source:** the release files on PyPI (), each release's wheel read as published; the code is at . Checked on 2026-11-21. +- **Why this one:** the wheel is exactly what `pip install urllib3==` installs, so its public names and signatures are what a customer's code calls. A published file never changes, so its URL is its own citation, and the line quoted is in it. +- **Alternatives considered:** CHANGES.rst (read by `urllib3/urllib3`, kind `changelog`). +- **Quote:** `def getheader(self, name: str, default: str | None = None) -> str | None` (`BaseHTTPResponse`, `urllib3/response.py` line 552) at 2.5.0, gone at 2.6.0, deprecated since 2.0. + +## How the provider announces changes + +- Urllib3 deprecates for a major and removes in a later minor. +- **Forced on upgrade**, for a repo whose pin reaches the release. + +## What the plugin reads and ignores + +- Reads the `.py` and `.pyi` files under `urllib3/` in the release's wheel (or, when a release has none, its sdist) as text, never importing or running them: module-level classes and functions, the methods of module-level classes, their parameters and defaults, `__all__`, an `__init__`'s re-exports from its own modules, and star imports. A `.pyi` stub is read instead of the `.py` beside it. +- Ignores private names: a leading underscore, a module under a private one or under one named `internal` or `vendor`, a name left out of `__all__`, and tests. Also classes nested in classes, a property's parameters (and its setter), and `self`/`cls` (callers never pass them). +- Drops (and logs): an overloaded function's parameters; a removed parameter when the function now takes `**kwargs`; a new parameter without a default (the change-event contract has no subject for it yet). +- A removal is a rename only when the same scope loses one and gains one of the same kind with identical parameters, at least one of them besides `self`/`cls`; anything less sure is a removal. +- Drops (and logs) a removal that may not be one: a name its module still binds in the newer release (an alias such as `DeadlineExceededError = GatewayTimeoutError`, an import from a private module, a star import from outside the package, a module-level `__getattr__` that hands out old names); a symbol whose file the newer release has too big to read (`MaxFileBytes`); a method whose class is still there but whose bases changed, which one of its bases now defines, or which the class now defines as an attribute. + +## Known gaps + +- A positional parameter renamed reads as the old one removed: a call that passes it by keyword breaks, one that passes it by position doesn't. +- A class with no `__init__` of its own (generated pydantic or dataclass-like types) has no parameters to compare, so its rename reads as a removal of the old name, and its fields aren't compared. +- A module that star-imports from outside the package, or defines `__getattr__`, hides every removal from it: those are notes, not events. +- Type changes (an annotation narrowed, a return type changed) aren't events. +- The wheel read is the first one by file name (a `-none-any` wheel when there is one); a release whose platform wheels differ in their Python files is read from that one.