-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: make protocol version 7 #2376
Conversation
WalkthroughThe changes in this pull request involve updating the versioning system of the platform to incorporate version 7. This includes modifying import statements, constants, and adding a new module for version 7. Specifically, the Changes
Possibly related PRs
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
packages/rs-platform-version/src/version/v7.rs (1)
32-32
: Address the TODO comment for pending changesThere is a TODO comment indicating that changes are yet to be made. Please ensure all necessary modifications are completed before merging.
Would you like assistance in implementing the required changes or generating the necessary code modifications?
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (3)
packages/rs-platform-version/src/version/mod.rs
(2 hunks)packages/rs-platform-version/src/version/protocol_version.rs
(3 hunks)packages/rs-platform-version/src/version/v7.rs
(1 hunks)
🔇 Additional comments (6)
packages/rs-platform-version/src/version/mod.rs (3)
2-2
: Import statement updated to include PROTOCOL_VERSION_7
The import statement correctly includes PROTOCOL_VERSION_7
from the new v7
module.
21-21
: Added new module v7
to the public modules
The line pub mod v7;
appropriately adds the new version module to the list of public modules.
25-25
: Updated LATEST_VERSION
to PROTOCOL_VERSION_7
The LATEST_VERSION
constant has been updated to reference the new protocol version, ensuring the latest version is correctly identified.
packages/rs-platform-version/src/version/protocol_version.rs (3)
24-24
: Importing PLATFORM_V7
for the new platform version
The import statement correctly brings in PLATFORM_V7
from the v7
module, making the new platform version accessible.
47-47
: Added PLATFORM_V7
to PLATFORM_VERSIONS
array
The new platform version PLATFORM_V7
is properly added to the PLATFORM_VERSIONS
array, ensuring it's included in version retrieval mechanisms.
56-56
: Updated LATEST_PLATFORM_VERSION
to reference PLATFORM_V7
The LATEST_PLATFORM_VERSION
constant now appropriately references PLATFORM_V7
, reflecting the latest platform version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
What was done?
Added protocol version 7.
Checklist:
For repository code-owners and collaborators only
Summary by CodeRabbit
New Features
Bug Fixes
Documentation