-
Notifications
You must be signed in to change notification settings - Fork 122
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
s2n-quic 1.35 is semver breaking due to rustls
export
#2173
Comments
Thank you Sergio for opening this issue and highlighting the consequences of breaking changes in the Given the ongoing instability of the Our suggestion in the near term is to pin Beyond that, the best way to have a stable interface to integrate with is to use the TLS provider builders (client and server) that wrap the |
@WesleyRosenblum I want to be clear that this issue isn't on your dependent's side, even if it can be mitigated on that side, but rather with Your suggestions seem to pass the blame to your dependents, and if not blame then at least the onus. This feels contrary to your earlier statement of taking backwards compatibility and stability seriously.
This is not a requirement, but you have made it so by reexporting
I would suggest making it possible to depend on
This is not sufficient - your crate will still be breaking when it is not allowed by semver or Cargo. Why reexport it at all if it cannot and should not be used? If you really want to reexport unstable APIs, then the only correct way to do so that I'm aware of is via opt-in |
Thank you for clarifying your perspective. You're correct that re-exporting the
Moving forward, the stable "wrapper" API we provide will be the only way to configure the underlying |
We've yanked I've opened rwf2/Rocket#2768 to perform the migration off of the re-exported |
s2n-quic v1.35
reexportss2n-quic-rustls v0.35.0
which re-exportsrustls v0.23
. Previouslys2n-quic v1.34
reexporteds2n-quic-rustls v0.34.0
which reexportedrustls v0.21
. Sincerustls 0.21
to0.23
is breaking, then so musts2n-quic v1.34
tov1.35
be. As such, a major version bump is required. Minimally,s2n-quic v1.35
should be yanked as soon as possible. (This was detected due to a failing CI job.)For v2, I would suggest removing the re-export entirely and asking the user to depend on
s2n-quic-rustls
directly to avoid such changes from being major breaking changes in the future.The text was updated successfully, but these errors were encountered: