Skip to content
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

Remove support for old uuid versions #2268

Merged
merged 2 commits into from
Jan 16, 2020

Conversation

weiznich
Copy link
Member

uuid 0.7.0 was released back in 2018 introducing breaking changes to
API's diesel is using internally. Because we exposed in our public api
we couldn't remove it back then.
The next release will be diesel 2.0, so a breaking change is now
possible. Give the time span since the release of the initial
compatible version I'm in favour of removing support for even older
version, as support for them comes with a lot of code duplication. (As
it turns out this support was already broken in our master branch
because we don't test it anymore...)

@weiznich weiznich requested a review from a team January 15, 2020 09:48
uuid 0.7.0 was released back in 2018 introducing breaking changes to
API's diesel is using internally. Because we exposed in our public api
we couldn't remove it back then.
The next release will be diesel 2.0, so a breaking change is now
possible. Give the time span since the release of the initial
compatible version I'm in favour of removing support for even older
version, as support for them comes with a lot of code duplication. (As
it turns out this support was already broken in our master branch
because we don't test it anymore...)
@JohnTitor
Copy link
Member

Hm, this still has a conflict and CI doesn't run :/

@JohnTitor
Copy link
Member

nightly failures are deprecation warnings, would you include the fix or follow-up later?

@JohnTitor
Copy link
Member

Ah, wait, it's just a warning, overflow occurs, and it's reported on rust-lang/rust.

@weiznich
Copy link
Member Author

Yes nightly failures are because of rust-lang/rust#68264. So if someone approves the change I see no reason not to merge it yet.
(We should probably fix the warnings too, but that should be done in a separate PR.)

Copy link
Member

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, the change looks good!

@weiznich weiznich merged commit bd349ce into diesel-rs:master Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants