containerd / ttrpc-rust

Rust implementation of ttrpc (GRPC for low-memory environments)
Apache License 2.0
195 stars 45 forks source link

A new major version 0.6 is preparing #119

Closed Tim-Zhang closed 2 years ago

Tim-Zhang commented 2 years ago

We plan to release a new major version 0.6 to include some incompatible changes, e.g. make some helper methods private, and the incompatible change https://github.com/containerd/ttrpc-rust/pull/116

I have created the branch 0.5.0 for maintain it continuously, and from now on the master branch is belong to version 0.6

@jodh-intel @mxpv @liubin @teawater @lifupan feel free to propose incompatible pr or refactor in this period.

I plan to release the version in this weekend at the beginning of January 2022

jodh-intel commented 2 years ago

We plan to release a new major version 0.6 to include some incompatible changes,

What is the plan here to allow users of this crate to deal with the incompatible API?

Since rust uses semver, bumping from 0.5.x to 0.6 should not change the API in an incompatible manner so strictly we should either:

Tim-Zhang commented 2 years ago

@jodh-intel The version 0.6 is not compatible with 0.5 according to https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#caret-requirements

An update is allowed if the new version number does not modify the left-most non-zero digit in the major, minor, patch grouping

Tim-Zhang commented 2 years ago

After discussed with @liubin the release of 0.6 Will be delayed until early January 2022. Because we have many PR and the Christmas holiday/the New Year's Day holiday is coming soon.