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
Version 6.0 development is going along nicely. Release is expected during the summer. Current progress can be tracked in the https://github.com/r0x0r/pywebview/tree/6.0 branch.
Changelog so far is
⚡ Features
All Shared state management via window.state object. The state is automatically updated between Javascript and Python.
All New request_sent and response_received events. The events are fired when a HTTP request is sent and a response is received. Request headers can be modified before sending.
All Window specific menu that can be created via webview.create_window(menu=webview.menu.Menu).
All Add origin coordinates (x, y) to webview.screen.Screen object
All JS API nested classes can now be omitted from serialization by setting _serializable = False class attribute.
Cocoa New webview.settings['SHOW_DEFAULT_MENUS'] parameter to omit default menus. True by default.
All BREAKING: webview.SAVE_DIALOG, webview.OPEN_DIALOG and webview.FOLDER_DIALOG constants are deprecated in favor of webview.FileDialog enum with values SAVE, LOAD and FOLDER.
All BREAKING: Deprecated functions window.get_element and window.get_elements are removed. Use window.dom.get_element and window.dom.get_elements instead.
All BREAKING: webview.DRAG_REGION_SELECTOR is deprecated. Use webview.settings['DRAG_REGION_SELECTOR'] instead.
Version 6.0 development is going along nicely. Release is expected during the summer. Current progress can be tracked in the https://github.com/r0x0r/pywebview/tree/6.0 branch.
Changelog so far is
⚡ Features
AllShared state management viawindow.stateobject. The state is automatically updated between Javascript and Python.AllNewrequest_sentandresponse_receivedevents. The events are fired when a HTTP request is sent and a response is received. Request headers can be modified before sending.AllWindow specific menu that can be created viawebview.create_window(menu=webview.menu.Menu).AllAdd origin coordinates (x, y) towebview.screen.ScreenobjectAllJS API nested classes can now be omitted from serialization by setting_serializable = Falseclass attribute.CocoaNewwebview.settings['SHOW_DEFAULT_MENUS']parameter to omit default menus. True by default.AndroidFullscreen mode support Android fullscreen support #1598.🚀 Improvements
AllBREAKING:webview.SAVE_DIALOG,webview.OPEN_DIALOGandwebview.FOLDER_DIALOGconstants are deprecated in favor ofwebview.FileDialogenum with valuesSAVE,LOADandFOLDER.AllBREAKING: Deprecated functionswindow.get_elementandwindow.get_elementsare removed. Usewindow.dom.get_elementandwindow.dom.get_elementsinstead.AllBREAKING:webview.DRAG_REGION_SELECTORis deprecated. Usewebview.settings['DRAG_REGION_SELECTOR']instead.AllModify JS API to use callback instead of setInterval Modify jsapi to use callback instead of setInterval. #1607.AllWhen exposing aWindowobject to JS API,dom,eventsandstateobjects are omitted.CocoaAdd handler for Javascript prompt/input [Cocoa] Add handler for javascript prompt/input. #1567.WinformsTitle bar theme follows system theme changes [Winforms] Title bar theme follows system theme changes #1595.🐞 Bug fixes
AllBetter duplicate object detection in JS API serialization.AllLoading URLs with a hash served by local HTTP server. support for URL hash #1574AllMultiwindow with local-url setups sets wrong server root (BottleServer).CocoaDon't terminate app if windows shouldn't close [Cocoa] Don't terminate app if windows shouldn't close #1580.CocoaFile filter set via<input type="file">tag.GTKFix Javascript exception handling 一个小问题,gtk.py缺少一个错误引用 #1648.QTFix user agent string.QTFix QWebPage enums. type object 'QWebEnginePage' has no attribute 'MediaAudioCapture' #1639EdgeChromiumFix easy dragEdgeChromiumRemote Debugging Fails When Bothstorage_pathandREMOTE_DEBUGGING_PORTare setEdgeChromiumFix window transparency. Transparent windows can now react to mouse events.WinformsFix window placing on a screen