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
-
⚡ Features
All
A new function for executing Javascript as iswindow.run_js(code)
without returning a resultAll
Newbefore_load
event that is fired right before pywebview code is injected into the page. The event roughly corresponds toDOMContentLoaded
DOM event.All
Screen
object now have origin coordinates asscreen.x
andscreen.y
EdgeChromium
Add remote debugging support viawebview.settings['REMOTE_DEBUGGING_PORT']
. Thanks @Lugribossk🚀 Improvements
All
Implement a len method forEvent
objects to get a number of event subscribers.All
The order of firing of loading eventsloading
,before_load
andloaded
is standardized across the platforms.All
Window
objects can now be exposed via JS APIAll
Makewebview.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 defaultCocoa
Native Color Picker on MacOS is drawn in the wrong place Native Color Picker on MacOS is drawn in the wrong place #1568. Thanks @maddyabyCocoa
Improved support for py2app [py2app] window.pywebviewready not firing #1565EdgeChromium
Update webview2 binaries to 1.0.2957.106🐞 Bug fixes
HTTP
Fix loading local urls with a hash served by local HTTP server.EdgeChromium
Delete browser data in private mode on program exitCocoa
Fix typo inabortModal
call. Thanks @simonrobCocoa
Fix missing menuCocoa
Fix window close termination when pressing Cmd+Q. Thanks @mikeylemmon.Cocoa
Fix missingget_active_window
. Thanks @sardinationWindows
Fix window placing in certain monitor layouts when assigning to a specific monitor.Windows
Fix 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