-
Notifications
You must be signed in to change notification settings - Fork 24
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
bhttp 0.5.2 contains a breaking change for MSRV 1.63.0 #69
Comments
Another odd break is that
|
bhttp 0.5.2 broke MSRV 1.63.0 See: martinthomson/ohttp#69
bhttp 0.5.2 broke MSRV 1.63.0. I don't think just pinning in the README wouldn't fix this because 0.5.2 contains breaking changes. See: martinthomson/ohttp#69 I noticed all of our CI jobs were breaking and I think this should fix it. I took this opportunity to bring `payjoin-diretory`, the OHTTP Gateway, up to date with the same versions of ohttp and bhttp as `payjoin` too.
Ugh, my bad. I missed that I had those changes staged. It should have been an 0.6 release for the change though. The intent was to make There will be changes for you, which I guess are unavoidable now in any case (sorry again). You'll need to call For now, I'm adding the |
In the future if a patch break is found it'd be nice to have that yanked and replaced with a minor version bump. But like I said, not a huge deal. Sounds like you intended an 0.6 release soon enough. |
d5543a3 included in bhttp 0.5.2 has
bhttp::ControlData::status()
return the new StatusCode type. PreviouslyStatusCode
was an alias foru16
, and now you need to callStatusCode::code()
to get the u16 out of it.Since this was a patch bump this broke CI and broke builds downstream without pinning the old dependency or updating the source to call
StatusCode::code()
. So this change will break my old releases for MSRV 1.63.0 without pinning.I'm not sure why exactly newer versions can do the conversion and the older version can't. Perhaps newer versions of rust are smart enough to deref the inner value but 1.63 is not?
Not a huge deal since this is v0.* software. I figured you'd like to know anyhow. Thanks for maintaining ohttp & bhttp.
The text was updated successfully, but these errors were encountered: