-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
0.3.7 build breaks on rust 1.64, there is no 0.3 branch in this repo #1875
Comments
I would prefer to not make a release of the 0.3 line which is over two years old. If there are any active projects still using 0.3, they should consider updating to 0.4 instead. |
It’s really a straightforward fix, the cherry-pick applies cleanly, it only swaps two lines of code. From the perspective of a project maintainer of an “active project” using mdbook 0.3, I agree that the alternative option to upgrade to 0.4 is sufficient. I’m considering users of such crates though, or users of no-longer-really-all-that-active projects, which will simply experience a compilation error that gives no indication as to who’s “at fault”. Any user of such a project will, following the I can understand that maintaining 0.3.x versions of mdbook is not a goal, but this fix is so small that it’s almost no maintenance at all. With this in mind, I am curious as to what kind of reasons for deciding not to release a FYI, I’m only opening this issue because I’m trying to address all (legitimate) regressions that this crater run found (by opening issues or PRs), and some crate that depends on Regarding the usage of crates depending on mdbook 0.3, looking at this list where you can see 3 crates with currently >100 monthly downloads, however… |
I wouldn't suggest a new release :
|
I understand it is a small, straightforward fix. I also understand you are trying to soften the blow of a breaking change. My reasoning is as @Dylan-DPC says. There may also be issues around CI and the deploy scripts. Also, 0.3.7 currently triggers the If mdbook was in a stable release cycle (such as 1.0), then that may be a different story. However, it is intentionally not at this time. |
I'm going to close as I don't think we will make new releases to old versions. I'm sorry that is probably not the answer you wanted to hear. |
No worries. I personally don’t really care too much either way. I just wanted to make sure to allow crate maintainers to avoid potential breakage; ultimately, deciding on what level of support or non-support old crate versions receive is not up to me :-) |
This is to avoid rust-lang/mdBook#1875 Also fix comment nit.
There are still a few crates out there depending on mdbook 0.3. I believe it would make sense to publish a 0.3.8 version that fixes the same build failure (#1860) that #1861 fixed for master.
I have a branch, https://github.com/steffahn/mdBook/tree/fix_0.3.x_builds that cherry-picks the fix, but there’s no 0.3 branch to open a PR against.
If someone could create a
0.3
branch based on thev0.3.7
tag (8e673c9), then I can open a PR.If you want to reproduce the build failure, note that building
0.3.7
directly (git checkout v0.3.7; cargo +beta check
) does not fail due to an olderhandlebars
dependency inCargo.lock
. Trygit checkout v0.3.7; cargo update; cargo +beta check
instead.The text was updated successfully, but these errors were encountered: