Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upYank old versions of diesel_codegen #1704
Comments
weiznich
assigned
sgrif
May 18, 2018
This comment has been minimized.
|
@weiznich What if I want to use diesel 0.16 though ? :/ |
This comment has been minimized.
|
An other solution would be to publish a empty version as 0.17 or so that does print an error message saying not to use this crate anymore in compilation with recent diesel versions. |
This comment has been minimized.
|
I'm with @Eijebong on this, I don't think yanking old versions of this crate is a good idea. |
This comment has been minimized.
|
So what's about releasing |
This comment has been minimized.
|
I'm not sure how that's helpful. The issue is people with existing 0.16 projects updating Diesel to 0.99 or 1.0 and leaving |
This comment has been minimized.
|
If there's a way to get the version of diesel used in a build script, we could add one which makes the compilation fail and release 0.16.whatever |
This comment has been minimized.
I'm not sure if that's really the issue. (Let's just ask the next person with that problem
If they are updating diesel I assume they will also update diesel_codegen to the latest version. In that case will releasing a newer version emitting some error message point them into the right direction.
So we just need to parse |
This comment has been minimized.
TBH that actually sounds fairly reasonable |
weiznich
referenced this issue
May 21, 2018
Merged
Check if there is a newer version of diesel in the dependency graph. #1712
This comment has been minimized.
|
Fixed by publishing 0.16.1 of diesel_codegen. |
weiznich commentedMay 18, 2018
We seeing quite periodic questions/bugreports about something broken in diesel that boils down to someone tries to use the old
diesel_codegen.I suggest to yank at least the 0.16 version to indicate that this crate shouldn't be used anymore.