pywebview v3.2 Release Notes

Release Date: 2020-01-24 // almost 2 years ago
  • ๐Ÿš€ Released 24/01/2020

    • New [All] Window x, y, width and height properties to retrieve coordinates and dimensions of the window. Thanks @Fizzadar
    • New [All] window.expose(func) an ability to expose an arbitrary function to the JS realm, also during the runtime.
    • Improvement [All] JS API methods can now accept an arbitrary number of arguments
    • Improvement [All] Exceptions thrown in a JS API method is now raised in Javascript via its promise.
    • Improvement [All] Exceptions thrown in window event handlers are now caught and logged.
    • Improvement [All] Random port assigned by the built-in HTTP server can be retrieved via webview.http_server.port
    • 0๏ธโƒฃ Improvement [QT] Microphone/webcam are enabled by default. Thanks @dtcooper
    • 0๏ธโƒฃ Improvement [QT] Default debugger port is changed to 8228. Thanks @melvinkcx
    • ๐Ÿ‘€ Improvement [CEF] Ability to pass custom CEF settings via webview.platforms.cef.settings. See example for details.
    • Fix [All] Built-in HTTP server is properly restarted when using window.load_url
    • ๐Ÿšš Fix [Cocoa] New window position is correctly calculated when using window.move
    • Fix [EdgeHTML] window.alert fix