-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
refactor(api)!: change window label getters to be async ref #5380 #10630
Conversation
using initialization scripts to have a dynamic data (available windows) is a bad idea and we should drop that before going v2 stable
Package Changes Through 368beedThere are 8 changes which include tauri-build with prepatch, tauri-cli with prerelease, @tauri-apps/cli with prerelease, tauri-codegen with prerelease, tauri-utils with prerelease, tauri-bundler with prerelease, tauri with prerelease, @tauri-apps/api with prepatch 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 |
closes #10256 |
.changes/get-window-async.md
Outdated
"@tauri-apps/api": patch:breaking | ||
--- | ||
|
||
Changed `WebviewWindow.getAll`, `WebviewWindow.getByLabel`, `getAllWebviewWindows`, `WebviewWindow.getFocusedWindow`, |
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.
getFocusedWindow
is already async
using initialization scripts to have a dynamic data (available windows) is a bad idea and we should drop that before going v2 stable
closes #10256