Skip to content

v2.0.0-beta.3

Latest

Choose a tag to compare

@ioa747 ioa747 released this 12 Feb 01:38
· 31 commits to main since this release
5394db1

Version 2.0.0-beta.3

Refactoring & Keyboard Logic

  • AcceleratorKeyPressed Expansion:
    • Added PhysicalKeyStatus properties to IWebView2AcceleratorKeyPressedEventArgs: RepeatCount, ScanCode, IsExtendedKey, IsMenuKeyDown, WasKeyDown, IsKeyReleased.
    • Flattened the CoreWebView2PhysicalKeyStatus struct for direct COM/AutoIt access.
  • Code Modularity:
    • Extracted WebView2AcceleratorKeyPressedEventArgs into its own standalone file (WebView2AcceleratorKeyPressedEventArgs.cs).
    • Cleaned up WebViewManager.cs by removing 150+ lines of embedded argument logic.
  • Build & Alignment:
    • Updated .csproj for modular file support.
    • Resolved int-to-bool casting issues for keyboard state fields.

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)

  • .version Property:
    • DispId 224 (WebViewManager)
    • DispId 2 (WebViewBridge)
    • DispId 230 (JsonParser)
    • Allows AutoIt to verify the DLL version at runtime for compatibility checks.
  • AssemblyUtils Detector:
    • New internal utility to retrieve AssemblyInformationalVersion from metadata.
  • Advanced Handle Formatting ([HANDLE:0x...]):
    • Pivoted all handle-returning strings to the [HANDLE:0x...] format for out-of-the-box AutoIt compatibility with WinExists, WinMove, etc.
  • 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.