release: 0.9.0 on spec ^0.19.2 - #64
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cuts
0.9.0and fixes the spec dependency range. Two commits, separable:fix(deps)—"@utxorpc/spec": "0.19.0"→"^0.19.2"chore—"version": "0.8.2"→"0.9.0"The pin was an exact version, not a range
"0.19.0"with no range operator is an exact pin in npm. Every other SDK expresses this dependency as a range that accepts patches — rust^0.19.0, python poetry"0.19.2"(caret semantics), dotnet a minimum — so node was the only one that would never pick up0.19.1or0.19.2without a manual edit.^0.19.2resolves to>=0.19.2 <0.20.0, matching the caret semantics the rust SDK already uses for the same dependency.This is why the published
0.8.2sits on spec0.18.1whilemainsaid0.19.0: the pin freezes whatever was written, so drift is silent until someone edits it by hand.No workflow changes needed
release.ymlhas implemented npm trusted publishing since May —permissions: id-token: write, node24.5.0(bundles npm 11.5.1, the minimum for OIDC),registry-urlset,npm publish --access public, and no secret references anywhere in the file. npm's OIDC flow is tokenless, so unlike the NuGet migration there's no login/exchange step to add.The missing half was the trusted publisher policy on npmjs.org, which is now configured. Nothing in this repo needed to change for it.
Evidence the path has never run:
@utxorpc/sdk@0.8.2carries no attestations, i.e. it was published with a classic token.@utxorpc/spec@0.19.2does carry SLSA provenance, so the mechanism is proven for the@utxorpcscope — just not yet for this package. Taggingv0.9.0will be its first exercise, and a successful publish should produce provenance attestations.The leftover
NPM_TOKENsecret on this repo is referenced by nothing and can be revoked.What this closes
@utxorpc/sdkis the last SDK behind the current spec. rust, go, python, dotnet and haskell all now ship against0.19.2; this brings node to the same line.🤖 Generated with Claude Code