update dependecies and crates, add reload in webview, and add exit on app#22
Merged
twlite merged 12 commits intowebviewjs:mainfrom Jan 9, 2026
Merged
update dependecies and crates, add reload in webview, and add exit on app#22twlite merged 12 commits intowebviewjs:mainfrom
twlite merged 12 commits intowebviewjs:mainfrom
Conversation
- Switch package manager from yarn to bun - Upgrade napi-rs from v2 to v3 with updated native bindings - Update tao from 0.30.8 to 0.34.5 and wry from 0.47.0 to 0.48.0 - Update CI workflows to use bun for installation and caching - Regenerate type definitions and JavaScript bindings for napi-rs v3 - Update development documentation with bun prerequisites - Remove yarn, taplo configurations and add bun-specific ignores - Add new build scripts: build:all, build:prebuilds, clean, check, clippy - Improve native binding loading with better error handling and platform support
Replace yarn with bun across CI/CD workflows, husky hooks, and development scripts. Refactor Rust code to use more idiomatic patterns including unwrap_or_default, map instead of match expressions, and simplified callback handling.
Add new methods for application lifecycle management and window control: - Application.exit() for graceful shutdown with resource cleanup - BrowserWindow.hide() and show() for window visibility control - Webview.reload() for reloading webview content - ApplicationCloseRequested event for handling close events - Application.bind() as an alias for on_event() Updated CI workflow to install required system dependencies for Linux. Added documentation and examples for the new closing functionality.
Add window identification, management methods, and application lifecycle control. Windows now have unique IDs for tracking, with new methods for closing specific windows. The Application can now prevent automatic exit when all windows are closed, requiring explicit exit() call. BREAKING CHANGE: package.json type changed from commonjs to module, affecting import syntax for consumers of this package
This reverts commit 7a4c37e.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Library update and migration from bun to yarn,