You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 🚀 What's New in v2.2.0-alpha - Event Object Refactoring
71
+
## 🚀 What's New in v2.2.1-alpha - UI Responsiveness & Refactoring
71
72
72
73
This release marks a major architectural milestone for the library by introducing **Event Object Refactoring**. Key events have been transitioned from passing raw data (strings) to passing full **COM-visible objects**, granting developers absolute control over the application's navigation flow.
73
74
74
75
### ⚡ Key Features & Enhancements
75
76
76
-
### 1. Advanced Navigation Control (`IWebView2NavigationStartingEventArgs`)
77
+
####1. Advanced Navigation Control (`IWebView2NavigationStartingEventArgs`)
77
78
78
79
Navigation is no longer a passive process. With the new `Args` object, you can programmatically intervene in the navigation lifecycle before it even begins.
79
80
@@ -94,6 +95,14 @@ We are moving away from "Raw Parameter" callbacks toward an **Object-Oriented Ev
94
95
95
96
-**Future-Proofing**: Adding new metadata in future WebView2 updates will no longer break existing user code, as new properties will simply be appended to the existing object.
Following the initial alpha release, we identified and resolved a critical issue where Developer Tools (F12) and Right-Click menus could become unresponsive after navigation.
101
+
102
+
-**Interception-Based Locking**: We moved away from toggling engine-level properties (which caused state lag) to a robust **C# Interception Model**. Features are kept "On" at the engine level but are blocked via the `_isLocked` flag in C#, ensuring the "Inspect" menu item never disappears.
103
+
-**C# Fast Path**: Common actions like F12 are now handled instantly within the C# layer, bypassing the AutoIt COM overhead for maximum performance.
104
+
-**Guaranteed Unlock**: Improved the AutoIt navigation functions (`_NetWebView2_Navigate`) to ensure the browser is always unlocked, even if a navigation times out or fails.
105
+
97
106
98
107
### 🏗️ Architectural Inheritance & Refactoring
99
108
@@ -107,12 +116,13 @@ Building on the foundation of v2.1.0, this version further strengthens the **Eve
107
116
> **Why this matters:** The shift to objects transforms **NetWebView2Lib** from a "simple browser wrapper" into a **Professional-Grade SDK** for AutoIt. It brings low-level control—previously reserved for languages like C# or C++—directly into the hands of the AutoIt developer.
0 commit comments