-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix(tauri): Webview::navigate
unnecessarily borrows &mut self
#12461
base: dev
Are you sure you want to change the base?
Conversation
Package Changes Through 8df2800There are 4 changes which include tauri-cli with patch, @tauri-apps/cli with patch, tauri-bundler with patch, tauri with minor Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
|
Does this really need a major version? What would a user's code look like that works with &mut self but not &self ? I can't think of anything 🤔 From my testing this doesn't even emit check/clippy warnings which would be totally fine. Edit: In comparison switching from In context of #12465 and this: |
TBH, if strictly following semver, I agree more with releasing it as a I chose Anyway, whether |
I plan to release 2.3 for the new webview2-com and windows version relatively soon - (and yes, that's actually a breaking change but we can't have it locked for the whole lifetime of v2). I just want to get a few last patches in before that. |
I withdrew my objection because I tested the cases I had in mind and they turned out to be bogus, do you have an example how this is indeed a breaking change? fn foo<T>(_: &T) {}
fn bar<T>(t: &mut T) {
foo(t)
} Edit: Seems to compile, which I've been reading as proof that this is backwards compatible. |
as i said, no i don't :D I just can't think of any breakage for
|
close #12430
Sorry for opening this PR without permission.
#12430 is blocking me from implementing the Python bindings for
Webview::navigate
. I plan to releasepytauri v0.2
soon, so I hopepytauri
can catch up with this PR.Not sure if my thoughts are correct, feel free to close this PR if I am wrong.