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.
PR #87 bumped the workspace to
2.0.0for the open-FrameKindbreak (ADR 0011, #92). The version now exists only in the repository: crates.io still serves1.0.0, npm still serves the1.0.0TypeScript SDK, and PyPI still servescontextgraph-sdk 1.0.0.Until the publish happens, the ecosystem is in a state the docs now describe but the registries contradict:
docs/stability.mdtells consumers to depend oncontextgraph-types = "2". That requirement does not resolve.MIGRATION.md§5 tells them to take the bump. They cannot.create-contextgraph-providernow 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
contextgraph-types,contextgraph-host,contextgraph-conformance,contextgraph-traceat2.0.0. Order matters —typesfirst, thenhost, then the two that depend on both, because the>=2.0.0floors cannot resolve until the dependency is up.@contextgraph/sdkandcreate-contextgraph-providerat2.0.0.contextgraph-sdkat2.0.0.Related
Distinct from #84, which is about the
1.0publish and the canary that went red because crates.io served1.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.versionwithout a matching publish, since this is now the second time the repository and the registries have disagreed.