Skip to content

refactor(api)!: change window label getters to be async ref #5380#10630

Merged
lucasfernog merged 2 commits intodevfrom
refactor/get-window-async
Aug 15, 2024
Merged

refactor(api)!: change window label getters to be async ref #5380#10630
lucasfernog merged 2 commits intodevfrom
refactor/get-window-async

Conversation

@lucasfernog
Copy link
Member

@lucasfernog lucasfernog commented Aug 14, 2024

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

using initialization scripts to have a dynamic data (available windows) is a bad idea and we should drop that before going v2 stable
@lucasfernog lucasfernog requested a review from a team as a code owner August 14, 2024 23:43
@github-actions
Copy link
Contributor

github-actions bot commented Aug 14, 2024

Package Changes Through 368beed

There 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 Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/api 2.0.0-rc.0 2.0.1-rc.0
tauri-utils 2.0.0-rc.2 2.0.0-rc.3
tauri-bundler 2.0.1-rc.1 2.0.1-rc.2
tauri-runtime 2.0.0-rc.2 2.0.0-rc.3
tauri-runtime-wry 2.0.0-rc.2 2.0.0-rc.3
tauri-codegen 2.0.0-rc.2 2.0.0-rc.3
tauri-macros 2.0.0-rc.2 2.0.0-rc.3
tauri-plugin 2.0.0-rc.2 2.0.0-rc.3
tauri-build 2.0.0-rc.2 2.0.1-rc.0
tauri 2.0.0-rc.2 2.0.0-rc.3
@tauri-apps/cli 2.0.0-rc.3 2.0.0-rc.4
tauri-cli 2.0.0-rc.3 2.0.0-rc.4

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@lucasfernog
Copy link
Member Author

closes #10256

amrbashir
amrbashir previously approved these changes Aug 15, 2024
"@tauri-apps/api": patch:breaking
---

Changed `WebviewWindow.getAll`, `WebviewWindow.getByLabel`, `getAllWebviewWindows`, `WebviewWindow.getFocusedWindow`,
Copy link
Member

Choose a reason for hiding this comment

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

getFocusedWindow is already async

@lucasfernog lucasfernog merged commit b6dca99 into dev Aug 15, 2024
@lucasfernog lucasfernog deleted the refactor/get-window-async branch August 15, 2024 12:12
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.

[bug] WebviewWindow freezes/loads infinite on creation inside js if tauri-plugin-devtools are inside Cargo.toml

2 participants