-
Notifications
You must be signed in to change notification settings - Fork 217
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
Breaking Changes v7 #525
Comments
Is there more detailed information about 2 and 3? |
Not much. We introduced poll_intervall_v2 to stay semver compliant, we should change poll_intervall for v7 and thus remove v2. And for thread start, join etc we don't handle errors the same way everywhere. Basic idea is to just decide whether to unwrap or error and do that everywhere. Mainly a list of things to do when hitting v7, so we don't miss our chance for breaking changes. |
So, i checked the 2nd one. It seems poll_interval is returning Duration while poll_interval_v2 is returning Option. So, the intended change is to just change poll_interval to return Option and change calls of poll_interval_v2 back to poll_interval? That seems easy. Or Am I missing something? |
Yep that's the plan for when we actually go for v7. Until then I'd leave it as is (in main), or we'll have a harder time making patch/fix releases. |
So, is there branch for v7? Will work related to this issue be accepted? I would like to do the 2nd one as it's quite easy and I will attempt 1. |
No we normally don't have that, but you can do a PR for these things anyway. |
Can you explain what the first checklist is about? I want to try that. |
List of things to change in v7
poll_interval
signature withpoll_interval_v2
todo:
The text was updated successfully, but these errors were encountered: