Skip to content

Publish the 2.0.0 crates and SDKs: the workspace is on 2.0.0 but crates.io still serves 1.0.0 #97

Description

@macanderson

PR #87 bumped the workspace to 2.0.0 for the open-FrameKind break (ADR 0011, #92). The version now exists only in the repository: crates.io still serves 1.0.0, npm still serves the 1.0.0 TypeScript SDK, and PyPI still serves contextgraph-sdk 1.0.0.

Until the publish happens, the ecosystem is in a state the docs now describe but the registries contradict:

  • docs/stability.md tells consumers to depend on contextgraph-types = "2". That requirement does not resolve.
  • MIGRATION.md §5 tells them to take the bump. They cannot.
  • create-contextgraph-provider now scaffolds against ^2.0.0 / contextgraph-sdk>=2.0.0. A scaffold run outside CI (which overrides both pins with local paths) will fail to install.

What to publish

  • Crates: contextgraph-types, contextgraph-host, contextgraph-conformance, contextgraph-trace at 2.0.0. Order matters — types first, then host, then the two that depend on both, because the >=2.0.0 floors cannot resolve until the dependency is up.
  • npm: @contextgraph/sdk and create-contextgraph-provider at 2.0.0.
  • PyPI: contextgraph-sdk at 2.0.0.

Related

Distinct from #84, which is about the 1.0 publish and the canary that went red because crates.io served 1.0-draft. This is the same class of gap one major later, and #84's remedy should be checked for whether it generalises rather than being repeated by hand.

Worth deciding as part of this: whether the release pipeline should refuse a merge that changes workspace.package.version without a matching publish, since this is now the second time the repository and the registries have disagreed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageAwaiting the triage agent: sizing + priority (SCR-005)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions