Skip to content

I19.8 · ListVersions, ReadAt and Extract for every kind; no pinned versions #179

Closed

Description

@adssib

Part of #171

Story

As a developer on an older version (openai 17 while the SDK is at 20), I want patch-it to know every change between my version and the newest, so each step of my upgrade is covered, not only the last one.

Subtasks

  • Every source implements ListVersions(ctx) ([]Version, error) (oldest to newest; name, ref, date, where it came from), ReadAt(ctx, Version) and Extract(ctx, a, b Version)
  • Version sources in core: git tags, GitHub releases, PyPI, npm, Go proxy, Maven, feed dates, Wayback at a date (I19.11)
  • Version order per ecosystem (semver, PEP 440, dated versions like Stripe's and GitHub's) in one place in core
  • Remove every pinned tag or version from plugin code; tests pin versions through saved fixtures
  • Events for a pair carry both version and previous_version

Acceptance criteria

  • A test per kind lists the versions of a saved source and extracts three consecutive pairs
  • No release tag or version string is hardcoded in plugin code (a test checks)
  • Every existing golden byte-identical, except the contract PR

Activity

  1. changed the title [-]I19.8 · Version index and "read at version" for every kind[/-] [+]I19.8 · ListVersions, ReadAt and Extract for every kind; no pinned versions[/+] on Nov 20, 2026
  2. adssib commented on Nov 21, 2026

    @adssib
    ContributorAuthor

    Done in #233 (combined #240): no release named in plugin code, checked by TestNoPinnedReleaseInPluginCode; the last pinned guides (NumPy, PostHog, New Relic) are read at every major. Go proxy and Maven version sources aren't added: no registered source reads a Go module or a Maven artifact yet, so they come with the first one that does. Wayback-at-date is I19.11. Closes on merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions