release: 0.0.5.0 on spec codegen 0.0.19.2 - #13
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.0.5.0for both packages and moves the pinned spec codegen to the current Hackage release.Two commits, kept separate so they can be reviewed independently:
fix(deps)—stack.yamlextra-deputxorpc-0.0.19.0→0.0.19.2chore—version:inclient/utxorpc-client.cabalandserver/utxorpc-server.cabal,0.0.4.1→0.0.5.0They're in one PR because the release exists for the dependency move — cutting
0.0.5.0while still building against0.0.19.0would ship the drift rather than close it.The codegen pin
utxorpcon Hackage is at0.0.19.2;stack.yamlpinned0.0.19.0. The cabal bounds (utxorpc >= 0.0.19 && < 0.0.20) already admitted the newer patch, so this changes what CI and local builds actually resolve, not what the published package constrains.The pantry hash was computed from Hackage rather than guessed. Method verified against the existing pin first: SHA256 of
utxorpc-0.0.19.0/utxorpc.cabalreproduces564db9f0…,2466exactly as committed, so the same computation for0.0.19.2giving8896938526a85abbc1fa508e10dc7493b8cdd7ea56775644e53f2373deefecb7,2466is trustworthy. (Same byte length is expected — the version strings are equal-length.)Version bump
Both packages must carry the same version —
release.yml's verify job checks the tag against both cabal files and fails if either disagrees.0.0.5.0rather than a patch because the spec dependency moved a minor (0.0.18→0.0.19) in the already-merged #9/#11, which has never been released.Note the release tag must be
v0.0.5.0. The haskell carve-out in the umbrella contract (§3) keeps these packages on independent0.0.xnumbering, and the tag must match the cabal version exactly.Pre-existing issue, deliberately not fixed here
stack.yaml.lockstill recordsutxorpc-0.0.18.1— it was never regenerated when #11 movedstack.yamlto0.0.19.0. So the lock was already stale before this PR and remains so after it; stack detects the mismatch and regenerates at build time, which is why CI stayed green.Left alone because regenerating it needs
stackto actually run, and doing it by hand would mean hand-writing pantry-tree hashes. Worth a follow-up that runsstack buildand commits the result.What this unblocks
Hackage currently serves
utxorpc-client/utxorpc-server0.0.4.1, built against codegen0.0.18. This is the last piece before taggingv0.0.5.0puts both on0.0.19.2— the same spec version rust, go, python and dotnet now ship against.🤖 Generated with Claude Code