Version 2.0.0-beta.3
Refactoring & Keyboard Logic
AcceleratorKeyPressedExpansion:- Added
PhysicalKeyStatusproperties toIWebView2AcceleratorKeyPressedEventArgs:RepeatCount,ScanCode,IsExtendedKey,IsMenuKeyDown,WasKeyDown,IsKeyReleased. - Flattened the
CoreWebView2PhysicalKeyStatusstruct for direct COM/AutoIt access.
- Added
- Code Modularity:
- Extracted
WebView2AcceleratorKeyPressedEventArgsinto its own standalone file (WebView2AcceleratorKeyPressedEventArgs.cs). - Cleaned up
WebViewManager.csby removing 150+ lines of embedded argument logic.
- Extracted
- Build & Alignment:
- Updated
.csprojfor modular file support. - Resolved int-to-bool casting issues for keyboard state fields.
- Updated
Version 2.0.0-beta.2
COM Version Exposure & Stabilization
This update focuses on developer productivity by exposing the DLL version directly to COM and establishing a central version utility.
Added (C# Core)
.versionProperty:- DispId 224 (
WebViewManager) - DispId 2 (
WebViewBridge) - DispId 230 (
JsonParser) - Allows AutoIt to verify the DLL version at runtime for compatibility checks.
- DispId 224 (
- AssemblyUtils Detector:
- New internal utility to retrieve
AssemblyInformationalVersionfrom metadata.
- New internal utility to retrieve
- Advanced Handle Formatting (
[HANDLE:0x...]):- Pivoted all handle-returning strings to the
[HANDLE:0x...]format for out-of-the-box AutoIt compatibility withWinExists,WinMove, etc.
- Pivoted all handle-returning strings to the
- New Properties:
ParentWindowHandle(DispId 229): Returns the handle provided during initialization in Advanced format.
- New Events:
OnProcessFailed(DispId 225): Detailed crash/failure reporting.OnBasicAuthenticationRequested(DispId 228): Handles browser-level auth prompts.