Repository navigation
chore: release schema v2.0.0-beta.4 - #2989
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.
Summary
Releases
schema-v2.0.0-beta.4. The last release (#2979) published the crate (1.22.0) and the v1 schema (1.35.0), but skipped the v2 schema. Two commits changedschema/v2sinceschema-v2.0.0-beta.3and are not in any v2 release:sessionIdandtoolCallIdon the unstablemcp/messagerequestThis PR sets the v2 package to
2.0.0-beta.4, updates itsCargo.lockentry, and adds the changelog section for those two commits. The schema files themselves are already onmain.Why release-plz skipped v2
git_onlypackage, release-plz 0.4.3 finds the latest release with a pattern that only matchesX.Y.Z. A pre-release tag such asschema-v2.0.0-beta.3never matches.schema-v{{ version }}, so the v2 package matched the latest v1 tag instead. The release-pr log for chore: release #2979 says:Latest release of package agent-client-protocol-json-schema-v2: tag schema-v1.34.1 (version 1.34.1).2.0.0-beta.2), saw2.0.0-beta.3onmain, loggedlocal version (2.0.0-beta.3) > registry version (2.0.0-beta.2). Only changelog will be updated., and did not bump.Earlier v2 releases worked because each one shared a commit with a v1 schema release.
2.0.0-beta.3was the first v2-only release.What merging does
The branch name starts with
release-plz-on purpose. The release job only releases a merge whose PR branch has that prefix. On merge it should:schema-v2.0.0-beta.4and create the GitHub pre-releaseschema/v2/*.jsonMerge this before anything else lands on
main. If release-plz has a new release to propose while this PR is open, it closes PRs on its branch prefix that carry someone else's commits.Not fixed here
The cause is still there. After this release, the v2 package will not bump on its own until the next v1 schema release, and a v2 change merged before then is skipped the same way. Once v2 reaches a plain
2.0.0, the v1 package will match the v2 tag instead. That needs a separate change: an upstream fix in release-plz, a CI check on release PRs, or a release workflow of its own for v2.