-
Notifications
You must be signed in to change notification settings - Fork 2.2k
chore(common): script to bump all sub-projects' version #1371
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
base: main
Are you sure you want to change the base?
Conversation
8ddbb9c to
cc42c87
Compare
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.
Pull Request Overview
This PR introduces a comprehensive version management solution for the fhevm monorepo, including a Python script to automate version bumping across all sub-projects and a GitHub Actions workflow to enforce version consistency.
Summary: The PR adds a centralized versioning script (ci/versioning.py) that can check and update versions across multiple sub-projects (Rust and JavaScript/TypeScript) in the monorepo, bumping all versions to 0.10.0.
Key Changes:
- Added Python script for automated version management with check and update commands
- Introduced GitHub Actions workflow to validate version consistency on PRs and releases
- Updated versions across all sub-projects to
0.10.0 - Removed legacy git hooks (commit-msg, pre-push, and installation script)
- Standardized Rust edition to
2024across workspace projects
Reviewed Changes
Copilot reviewed 23 out of 27 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
ci/versioning.py |
New Python script that checks and updates versions across sub-projects using regex patterns for Cargo.toml and JSON manipulation for package.json files |
.github/workflows/versions-check.yml |
New GitHub Actions workflow to validate version consistency on pull requests and releases |
coprocessor/fhevm-engine/Cargo.toml |
Workspace configuration updated with centralized version 0.10.0 and Rust edition 2024 |
coprocessor/fhevm-engine/*/Cargo.toml |
Multiple sub-project Cargo.toml files updated to use version.workspace = true |
gateway-contracts/package.json |
Version bumped from 0.1.0-rc14 to 0.10.0 |
gateway-contracts/rust_bindings/Cargo.toml |
Version bumped from 0.1.0-rc14 to 0.10.0 |
host-contracts/package.json |
Version bumped from 0.9.0-2 to 0.10.0 |
library-solidity/package.json |
Version bumped from 0.9.1 to 0.10.0 |
test-suite/gateway-stress/Cargo.toml |
Version bumped from 0.9.0 to 0.10.0, edition updated to 2024 |
test-suite/e2e/package.json |
Added missing version field set to 0.9.0 |
test-suite/CHANGELOG.md |
Removed outdated changelog content |
.github/hooks/* |
Removed commit-msg, pre-push, and install.sh scripts |
| Lock files | Updated dependency versions in Cargo.lock and package-lock.json files |
Files not reviewed (1)
- gateway-contracts/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cc42c87 to
f1ead58
Compare
f1ead58 to
3e5bd12
Compare
Closes https://github.com/zama-ai/fhevm-internal/issues/625