-
Notifications
You must be signed in to change notification settings - Fork 60
Compiler: Bump protobuf to 3.7.2 from 2.27.1 #291
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
Conversation
@Tim-Zhang PTAL |
I think we can bump the ttrpc-compiler's version to 0.8.0, because the parameters's type of gen_and_write was changed, we need a major version bump. |
The commit messages can be more specific such as |
Bump usage of the protobuf and protobuf-codegen crates to 3.7.2. These versions include a fix to the advisory RUSTSEC-2024-0437 Signed-off-by: Jorge Prendes <[email protected]>
Bump crate versions for publishing. The compiler crate needs a major version bump after breaking changes introduced by PR containerd#291 The main crate needs a major version bump after the braking changes introduced by PR containerd#290 Signed-off-by: Jorge Prendes <[email protected]>
59539ad
to
8835cfd
Compare
Bump crate versions for publishing. The compiler crate needs a major version bump after breaking changes introduced by PR containerd#291 The main crate needs a major version bump after the braking changes introduced by PR containerd#290 Signed-off-by: Jorge Prendes <[email protected]>
76a6365
to
2d04934
Compare
Bump crate versions for publishing. The compiler crate needs a major version bump after breaking changes introduced by PR containerd#291 The main crate needs a major version bump after the braking changes introduced by PR containerd#290 Signed-off-by: Jorge Prendes <[email protected]>
Bumping protobuf and protobuf-codegen to 3.7.2 breaks the ttrpc-codegen and ttrpc-compiler crates. Both of these crates were using the 2.27.1 version of the protobuf crates. This commit fixes the breaking changes introduced by the bump in major version. Signed-off-by: Jorge Prendes <[email protected]>
Bump crate versions for publishing. The compiler crate needs a major version bump after breaking changes introduced by PR containerd#291 The main crate needs a major version bump after the braking changes introduced by PR containerd#290 Signed-off-by: Jorge Prendes <[email protected]>
Add net feature to tokio to support UDS Signed-off-by: Jorge Prendes <[email protected]>
move the different functionalities vendored from older protobuf versions into more descriptive modules within the util module. Signed-off-by: Jorge Prendes <[email protected]>
Moving the workspace changes to a new PR. |
I opened #294 for the workspace changes |
Bump crate versions for publishing. The compiler crate needs a major version bump after breaking changes introduced by PR containerd#291 The main crate needs a major version bump after the braking changes introduced by PR containerd#290 Signed-off-by: Jorge Prendes <[email protected]>
Bump crate versions for publishing. The compiler crate needs a major version bump after breaking changes introduced by PR containerd#291 The codegen crate needs a major version bump because it exports an item from the compiler crate. The main crate needs a major version bump after the braking changes introduced by PR containerd#290 Signed-off-by: Jorge Prendes <[email protected]>
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.
LGTM
I've been wanting to upgrade protobuf for ttrpc-compiler for a long time, thanks for finishing it. @jprendes
Bump crate versions for publishing. The compiler crate needs a major version bump after breaking changes introduced by PR containerd#291 The codegen crate needs a major version bump because it exports an item from the compiler crate. The main crate needs a major version bump after the braking changes introduced by PR containerd#290 Signed-off-by: Jorge Prendes <[email protected]>
There is an advisory on the
protobuf
crate: https://rustsec.org/advisories/RUSTSEC-2024-0437This advisory requires bumping
protobuf
to3.7.2
.ttrpc-rust
is using a2.27.1
version ofprotobuf
inttrpc-codegen
andttrpc-compiler
.It looks like there is no intention to fix the advisory in the
2.x
version ofprotobuf
: stepancheg/rust-protobuf#756 (comment)This PR bumps all uses of
protobuf
in the repo to3.7.2
, and fixes the breaking changes introduced by the update from2.27.1 -> 3.7.2
.