eyre-rs / eyre

A trait object based error handling type for easy idiomatic error handling and reporting in Rust applications
Apache License 2.0
1.35k stars 63 forks source link

Release 0.6.10 #132

Closed thenorili closed 9 months ago

thenorili commented 9 months ago

Updates changelog and version references for release 0.6.10

qwandor commented 9 months ago

It looks like this was just yanked with no compatible version available, which causes some builds to fail. What's going on? Will there be a 0.6.11 shortly?

yaahc commented 9 months ago

the last version accidentally introduced a breakage: https://github.com/eyre-rs/eyre/pull/95

Tho I'm honestly surprised that yanking that version causes builds to fail. I would have expected it to fall back to 0.6.9, can you link to an example of a broken build so I can understand how yanking it still causes issues? We hadn't realized there was an urgency to get the rerelease back out.

dtolnay commented 9 months ago

Everything that declares a dependency on eyre 0.6.10 will fail. There are 68 results on GitHub: https://github.com/search?q=%2Feyre+%3D+%220.6.10%22%2F&type=code. It will not fall back to 0.6.9.

Unfortunately this is widespread as projects use bots to bump the dependency numbers immediately after releases are made available, even if the projects would otherwise build perfectly fine against the older version. I have not seen any of those bots monitor and correct for yanked crates.

dtolnay commented 9 months ago

Example failure: https://github.com/evenfurther/aoc/actions/runs/7189388139/job/19580870459

error: failed to select a version for the requirement `eyre = "^0.6.10"`
candidate versions found which didn't match: 0.6.9, 0.6.8, 0.6.7, ...
location searched: crates.io index
required by package `aoc v0.1.0 (/home/runner/work/aoc/aoc/aoc)`
if you are looking for the prerelease package it needs to be specified explicitly
    eyre = { version = "0.6.1-rc.1" }
perhaps a crate was updated and forgotten to be re-vendored?
yaahc commented 9 months ago

Unfortunately this is widespread as projects use bots to bump the dependency numbers immediately after releases are made available, even if the projects would otherwise build perfectly fine against the older version. I have not seen any of those bots monitor and correct for yanked crates.

unfortunate indeed, and good to know, thank you. I'll go ahead and expedite getting that re-release out asap.

yaahc commented 9 months ago

should be good now: https://crates.io/crates/eyre/versions