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
All A new function for executing Javascript as is window.run_js(code) without returning a result
All New before_load event that is fired right before pywebview code is injected into the page. The event roughly corresponds to DOMContentLoaded DOM event.
AllScreen object now have origin coordinates as screen.x and screen.y
EdgeChromium Add remote debugging support via webview.settings['REMOTE_DEBUGGING_PORT']. Thanks @Lugribossk
🚀 Improvements
All Implement a len method for Event objects to get a number of event subscribers.
All The order of firing of loading events loading, before_load and loaded is standardized across the platforms.
AllWindow objects can now be exposed via JS API
All Make webview.settings key immutable.
GTK'undefined'and 'null' string values are no longer translated to None during JS API serialization.
Cocoa Add support for the download attribute on links. Thanks @maddyaby.
Cocoa Ignore ssl errors for local HTTP server by default
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
⚡ Features
AllA new function for executing Javascript as iswindow.run_js(code)without returning a resultAllNewbefore_loadevent that is fired right before pywebview code is injected into the page. The event roughly corresponds toDOMContentLoadedDOM event.AllScreenobject now have origin coordinates asscreen.xandscreen.yEdgeChromiumAdd remote debugging support viawebview.settings['REMOTE_DEBUGGING_PORT']. Thanks @Lugribossk🚀 Improvements
AllImplement a len method forEventobjects to get a number of event subscribers.AllThe order of firing of loading eventsloading,before_loadandloadedis standardized across the platforms.AllWindowobjects can now be exposed via JS APIAllMakewebview.settingskey immutable.GTK'undefined'and'null'string values are no longer translated to None during JS API serialization.CocoaAdd support for the download attribute on links. Thanks @maddyaby.CocoaIgnore ssl errors for local HTTP server by defaultCocoaNative Color Picker on MacOS is drawn in the wrong place Native Color Picker on MacOS is drawn in the wrong place #1568. Thanks @maddyabyCocoaImproved support for py2app [py2app] window.pywebviewready not firing #1565EdgeChromiumUpdate webview2 binaries to 1.0.2957.106🐞 Bug fixes
HTTPFix loading local urls with a hash served by local HTTP server.EdgeChromiumDelete browser data in private mode on program exitCocoaFix typo inabortModalcall. Thanks @simonrobCocoaFix missing menuCocoaFix window close termination when pressing Cmd+Q. Thanks @mikeylemmon.CocoaFix missingget_active_window. Thanks @sardinationWindowsFix window placing in certain monitor layouts when assigning to a specific monitor.WindowsFix a short blank when closing the window. Thanks @godcopThis discussion was created from the release 5.4.
Beta Was this translation helpful? Give feedback.
All reactions