-
Notifications
You must be signed in to change notification settings - Fork 121
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
Make webdriver a private dependency #139
Conversation
The only failing test seems to be a flaky one. |
Thanks for the PR! Is there something in particular you need from the updated webdriver? I'd rather avoid a breaking release until we have a good reason to do one. |
@jonhoo not really, just outdated crates give some nerves.
Why? The only thing a library user will need to do is to update version in I can also add changelog, describing it clearly. Another option will be to re-export
|
The big reason not to do a breaking release, even if it requires basically no action on the part of consumers, is that it still requires them to realize that the major version has changed and go update their I'm actually not so much worried about dependents having taken dependencies on Any chance you'd be willing to take on the work to get rid of |
@jonhoo well, I've ripped out
That was an "easy-peasy" part. The harder part, where I need your guidance is whether we should to rip out |
Hmm, for errors I'm tempted to type-erase them to |
@jonhoo I don't think the matching on
I somewhat doubt that solves the problem. From some formal point of view - yes, definitely. But for the actual code that may match on So, as I see, either we leave |
That's true, but at least it strongly discourages matching on |
@jonhoo finally, found some time to finish this. The "error ripping" stuff was easier than I though it would be. So now we have Also, ripped out any With all this we can say now that Addiionally:
The CI actually passes, the
While Final commit message for squash merge:
|
ping @jonhoo |
ping @jonhoo |
futures-util = "0.3" | ||
tokio = { version = "1.0", features = ["sync", "rt"] } | ||
hyper = { version = "0.14", features = ["stream", "client", "http1", "http2"] } | ||
cookie = { version = "0.16.0-rc.1", features = ["percent-encode"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very unfortunate dependency given that we expose types from cookie
in the public API, and so when we switch to the non-rc version, that'll arguably be a breaking change. I may end up releasing this change as an rc
as well until cookie
has a full release.
Sorry it took me so long to get back to you — life got in the way :) Thanks (again) for all the work you're putting into this! I left more notes inline. |
I'm sorry, if pings were annoying. I'm just persistent at not allowing things vanishing in time 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM — thanks again!
Published as 0.18.0-beta.1 🎉 |
I've bumped crate version to
0.18.0
, aswebdriver
upgraded from0.43
to0.44
, so it's a breaking change.Also, I've used
0.16.0-rc.1
for cookie as it uses0.3
version oftime
. This doesn't count in public APIs, so transitioning to0.16
should be non-breaking in future.