diff --git a/AGENTS.md b/AGENTS.md index fbf9895..34f671e 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 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..f47a7d9 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{ @@ -541,7 +542,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 +612,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/docs/which-kind.md b/docs/which-kind.md index f2f67c9..41318fd 100644 --- a/docs/which-kind.md +++ b/docs/which-kind.md @@ -13,7 +13,7 @@ Every kind is one of two shapes ([writing-a-plugin.md, step 4](writing-a-plugin. | 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 **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 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..173560c 100644 --- a/docs/writing-a-plugin.md +++ b/docs/writing-a-plugin.md @@ -87,7 +87,7 @@ Write the numbers on the provider page, as `providers/vercel.md` does for its sp | `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/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 @@ -149,7 +149,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. 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/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/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/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..a85fa41 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. @@ -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/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..eab4a15 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 ( @@ -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..3e88f5e 100644 --- a/plugins/openapi/testdata/README.md +++ b/plugins/openapi/testdata/README.md @@ -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/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/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..edad942 100644 --- a/providers/convex.md +++ b/providers/convex.md @@ -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/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/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/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/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/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/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/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/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.