Pin near-openapi-client and near-openapi-types to v0.8.0 commit hash#132
Merged
r-near merged 3 commits intochore/upgrade-openapi-client-v0.8from Mar 4, 2026
Merged
Conversation
3 tasks
Co-authored-by: r-near <163825889+r-near@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Address feedback on upgrading near-openapi-client to v0.8.0
Pin near-openapi-client and near-openapi-types to v0.8.0 tag
Mar 4, 2026
Contributor
|
@copilot I think it's better to pin to a commit hash |
…hash Co-authored-by: r-near <163825889+r-near@users.noreply.github.com>
Contributor
Author
Copilot
AI
changed the title
Pin near-openapi-client and near-openapi-types to v0.8.0 tag
Pin near-openapi-client and near-openapi-types to v0.8.0 commit hash
Mar 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR pins the near-openapi-client and near-openapi-types git dependencies to a specific commit hash (rev = "0b9c46786934edd274a0ae91ab42c13516f50965"), corresponding to the v0.8.0 release. Without a rev, tag, or branch specifier, Cargo resolves git dependencies to the default branch tip, making builds non-reproducible and vulnerable to upstream breaking changes.
Changes:
- Pin both
near-openapi-clientandnear-openapi-typesto a fixed commit hash in the workspaceCargo.toml.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Git dependencies without a
tag/rev/branchresolve to the default branch tip, making builds non-reproducible and susceptible to unexpected breaking changes.Changes
Cargo.toml: Pin bothnear-openapi-clientandnear-openapi-typesto the v0.8.0 release commit hash usingrev =💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.