-
-
Notifications
You must be signed in to change notification settings - Fork 610
Closed
Labels
Description
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
xianfei, zhdbk3 and tgz-czxianfei and zhdbk3zhdbk3zhdbk3zhdbk3 and NtskwK