Releases: r0x0r/pywebview
Releases · r0x0r/pywebview
4.0.1
🚀 Improvements
- [All] Suppress HTTP server logging if not in debug mode.
🐞 Bug fixes
- [All] Fix HTTP server starting twice with a single window. Thanks @robb-brown.
4.0
💔 BREAKING CHANGES
- [All] Window events are moved into
window.events
namespace.window.loaded
,window.shown
etc no longer work. - EdgeHTML support is removed.
⚡ Features
- [All] Local homegrown HTTP server is replaced with bottle.py. Thanks @robb-brown for WSGI support.
- [All] Native application menu support. See
examples/menu.py
for usage example. Thanks @sardination - [All]
webview.start(private_mode=True, storage_path=None)
Private mode and persistant storage support in a non-private mode. Private mode is enabled by default. - [All]
webview.create_window(zoomable=False)
Enable / disable zooming on webpage. Disabled by default. - [All]
webview.create_window(draggable=False)
Enable / disable dragging of IMG and A elements. Disabled by default. - [All]
webview.create_confirmation_dialog(title, content)
creates a confirmation (Ok, Cancel) dialog. Thanks @sardination. - [All]
window.get_cookies()
retrieve all the cookies (including HttpOnly) for the current webpage. - [macOS]
webview.create_window(vibancy=False)
Window vibrancy suppport. macOS only. Thanks @CahierX.
🚀 Improvements
- [All] Local relative URLs (eg. src/index.html) are opened using the built-in http server by default. Support for local URLs is still possible using file:// schema
- [Cocoa] Disable Ctrl+click context menu. Thanks @ecpost.
- [EdgeChromium] Improve
evaluate_js
performance. - [GTK] Enable media / audio / WebGL / clipboard related WebKit features
🐞 Bug fixes
- [Cocoa] Fix passing through keyboard events handled by pywebview. Thanks @ecpost.
- [GTK] Fix JS bridge maximum return object size limitation. GTK's JS bridge is implemented via HTTP server.
- [GTK] Fix hanging problem during window closing when JS evaluation is in progress
3.7.2
3.7.1
3.7
⚡ Features
- [All] New
window.moved
event. Thanks @irtimir
🚀 Improvements
- [EdgeChromium] Remove
The system cannot find the file specified - Microsoft Edge WebView2 Runtime Registry path: Computer\HKEY_CURRENT_USER\Microsoft\EdgeUpdate\Clients{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}
error message displayed in debug mode. - [CEF] error.log is no longer deleted when in debug mode.
🐞 Bug fixes
- [All] Fix
evaluate_js_async
crash and program termination prevention. Thanks @detritophage. - [WinForms] Fix form initialization for pythonnet 3. Thanks @irtimir
- [CEF] Fix errorous script execution in
evaluate_js
, so that further script do not get stuck. Thanks @irtimir - [CEF] Fix
master uid not found
error on startup. - [QT] Remove 'Empty key passed' messages. Thanks @TomFryers
- [QT] PySide6 backend not working. Thanks @sbbosco
- [QT] Prevent 'Release of profile requested but WebEnginePage still not deleted. Expect troubles !' message on close. Thanks @sbbosco
3.6.3
3.6.2
3.6.1
3.6
New
[All] Python 3.6 is the minimum supported version from now on.New
[All]minimized
,maximized
,restored
,resized
events. Thanks @BillBridge for sponsorship.New
[All]evaluate_js
async support.evaluate_js(code, callback)
can evaluate promises via an optional callback parameter.New
[All] Events moved to its ownwindow.events
namespace (e.g.window.loaded
→window.events.loaded
). Old events are supported throughout 3.x and will be removed in 4.0.New
[All]window.resize(width, height, fix_point)
has now an optional parameter fix_point that controls in respect to which point the window is resized.New
[All] MSHTML and EdgeHTML are deprecated. No further development will be done on these renderers.New
[Winforms] Focus webview on start or window activate events.New
[EdgeChromium] Custom user agent support.New
[EdgeChromium] Window transparency support. Mouse and keyboards events are not supported in transparent. Thanks @ODtian.New
[CEF] Ability to pass custom CEF browser settings. Thanks @Rolf-MP.Improvement
[EdgeChromium] Support non-elevated installations of WebView2. Thanks @ultrararetoad.Improvement
[EdgeChromium] Better support for Edge Chromium runtime detectiom. Thanks @r-muthu-saravanan.Improvement
[EdgeChromium] WebView2 runtime updated toImprovement
[QT] Pyside support via PyQT wrapper. Thanks @tshemeng.Fix
[Cocoa] Make Ctrl-C (SIGINT) work on Cocoa when running from the command lineFix
[EdgeChromium] Fix `load_html. Thanks @sbbosco.Fix
[Cocoa] Fix cancelling of closing the window in the closing event Thanks @Fizzadar.Fix
[QT] Fix simultaneous calls to JS API.Fix
[GTK] Fix concurrency issues with get_size, get_position and get_current_url.
3.5
New
[All] Get information about available screens via newwebview.screens
property.New
[All] Per window localization. Thanks @Fizzadar.New
[All] Window closing can be cancelled by returning False from a closing event handler. #744.Fix
[All] Debug mode cannot be set under certain conditions. #628Improvement
[All] Selected web renderer printed in Python console in debug mode.Improvement
[All] JS API serialization logic. Thanks @peter23Improvement
[EdgeChromium] Chromium runtime updated to version 1.0.774.44. Thanks @sbbosco.Improvement
[EdgeChromium] Custom user agent support.Fix
[WinForms] Icon handling logic to make pywebview compatible with pystray. #720. Thanks @simonrobFix
[EdgeChromium] Change webview component to transparent. Thanks @ODtianFix
[CEF] Fix exception when destroying windowFix
[Cocoa] cmd+w bypasses exit confirmation dialogue. #698. Thanks @FizzadarFix
[Cocoa] Fix window coordinate calculation logic when moving a window.Fix
[MSHTML] Fix drag_regionFix
[MSHTML] Fix window.alert