zesterer / ariadne

A fancy diagnostics & error reporting crate
https://crates.io/crates/ariadne
MIT License
1.79k stars 78 forks source link

Version 0.4.1 is a breaking change #116

Open Zheoni opened 6 months ago

Zheoni commented 6 months ago

It removed the ariadne::Color::Default variant, so my project fails to compile. It should be a minor release, not a patch one, because cargo will pull the new version even if I depended on 0.4.

01mf02 commented 6 months ago

I have the same issue (see https://github.com/01mf02/jaq/issues/176 and https://github.com/01mf02/jaq/issues/178): yansi 1.0 is a breaking change compared to yansi 0.5, so because ariadne 0.4 exposes types from yansi 0.5, ariadne 0.4.1 cannot depend on yansi 1.0. A solution to this problem would be to yank the 0.4.1 release and publish a 0.5 release instead.

01mf02 commented 6 months ago

@zesterer, may I ask you if there is any update on this? Builds of my application still break due to this issue.

zesterer commented 6 months ago

Argh, this is annoying. Apologies about that. Sorry, I've not had much time to focus on this of late. I'll try to get this resolved over the next few days.

01mf02 commented 6 months ago

Thanks. Btw, to catch this kind of issues in advance, cargo semver-checks can be pretty useful. :)