Build GUI for your Python program with JavaScript, HTML, and CSS
BSD-3-CLAUSE License
Bot releases are hidden (Show)
Published by r0x0r almost 2 years ago
window.moved
event. Thanks @irtimirThe 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.evaluate_js_async
crash and program termination prevention. Thanks @detritophage.evaluate_js
, so that further script do not get stuck. Thanks @irtimirmaster uid not found
error on startup.Published by r0x0r over 2 years ago
Published by r0x0r over 2 years ago
Published by r0x0r over 2 years ago
Fix
[CEF] Exception on startPublished by r0x0r over 2 years ago
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 own window.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.Published by r0x0r about 3 years ago
New
[All] Get information about available screens via new webview.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.alertPublished by r0x0r almost 4 years ago
New
[Windows] WebView2 Chromium support. Thanks sbbosco. #521.Fix
[All] Exception with HTML checkboxes and get_elements
. #622.Fix
[All] pystray compatibility. Thanks AlexCovizzi. #486.Fix
[All] expose methods instead of all callables for JS API objects. Thanks jgentil. #629.Fix
[EdgeHTML] Make returning results of evaluate_js
more robust. Thanks sbbosco.Fix
[QT] KDE_FULL_SESSION not being used. Thanks Maltzur.Fix
[Cocoa] Unicode filenames for input files.Improvement
[Cocoa] Only install the specific pyobjc
packages required. Thanks Fizzadar.Improvement
[Cocoa] Add support for default document navigation and window handling shortcut keys . Thanks ikhmyz and Fizzadar
Published by r0x0r about 4 years ago
Fix
[EdgeHTML] Server middleware handlingFix
[EdgeHTML] file:// url handlingPublished by r0x0r about 4 years ago
Published by r0x0r over 4 years ago
New
[All] Brand-new WSGI based internal HTTP server. Thanks @astronouth7303.New
[All] Transparent windows. Not available on Windows.New
[All] Allow pywebview window to be on top of other windows.New
[All] Custom window drag region using CSS classes. Thanks @Fizzadar.New
[All] Custom user-agent support. Thanks @tognee.Fix
[All] Python function not triggered using JS #458.Fix
[All] window methods do not work in loaded
event #528.Fix
[Cocoa] Caption bar and window control buttons are now hidden In frameless mode.Fix
[CEF] CEF window resize hang #484.Fix
[MSHTML] Fix easy drag in frameless mode.Fix
[EdgeHTML] Do not show admin prompt for non-local URLs.Fix
[GTK] Fix threading issues with recentish versions of PyGObjectFix
[QT] Fix opening web inspecting in debug modePublished by r0x0r over 4 years ago
Released 24/01/2020
New
[All] Window x, y, width and height properties to retrieve coordinates and dimensions of the window. Thanks @Fizzadar
New
[All] window.expose(func)
an ability to expose an arbitrary function to the JS realm, also during the runtime.Improvement
[All] JS API methods can now accept an arbitrary number of argumentsImprovement
[All] Exceptions thrown in a JS API method is now raised in Javascript via its promise.Improvement
[All] Exceptions thrown in window event handlers are now caught and logged.Improvement
[All] Random port assigned by the built-in HTTP server can be retrieved via webview.http_server.port
Improvement
[QT] Microphone/webcam are enabled by default. Thanks @dtcooper
Improvement
[QT] Default debugger port is changed to 8228. Thanks @melvinkcx
Improvement
[CEF] Ability to pass custom CEF settings via webview.platforms.cef.settings
. See example for details.Fix
[All] Built-in HTTP server is properly restarted when using window.load_url
Fix
[Cocoa] New window position is correctly calculated when using window.move
Fix
[EdgeHTML] window.alert
fixPublished by r0x0r almost 5 years ago
Released 04/11/2019
New
[All] Window minimize/restore functionality. Ability to show window minimized on startup.New
[All] Window hide/show functionality. Ability to show window hidden on startup.New
[All] Window move functionality. Ability to set window coordinates on startup. Thanks @adbenitez.New
[All] New window.pywebviewready
DOM event that is thrown when window.pywebview
is available.New
[All] Links opened via window.open
are opened in a new browser window.Fix
[All] Fix concurrent invocations of JS API functions.Fix
[All] Fix unescaped single quote in JS API calls.Fix
[All] Built-in HTTP server is now multi-threaded. This fixes stalling HTTP requests in some cases.Improvement
[All] window.set_window_size
is deprecated in favour to window.resize
.Improvement
[All] Exceptions are now handled in JS API functions and rerouted to the function promise catch method.Improvement
[All] Suppress built-in HTTP server logging. Logging is active only in the debug mode.Fix
[CEF] Fix deadlock occuring when trying to access window.pywebview
object right after theFix
[CEF] High DPI fix resulting in a small window appearing inside the main windowFix
[EdgeHTML] Unicode error when loading HTMLFix
[MSHTML] get_elements
failingFix
[MSHTML] console.log
not writing to Python console in debug modeFix
[MSHTML] Forcing MSHTML via gui=mshtml
is now possible. ¯\_(ツ)_/¯Published by r0x0r about 5 years ago
Released 17/08/2019
Fix
[All] Prevent JSON like strings being converted to JSON objects when returning JS API calls. #352Fix
[Windows] HTTP server is now used by default for local URLs and HTML for EdgeHTML. This fixes a PermissionDenied error, when the directory the executable is in is not writable.Fix
[Tests] Tests now fail on an exception occuring in a thread.Published by r0x0r about 5 years ago
Released 25/07/2019
Fix
[All] Don't escape line breaks in result of js_bridge_call. Thanks @kvasserman.Fix
[Windows] Support for Pyinstaller noconsole modeFix
[Windows] Fix Windows version detection with frozen executables.Fix
[Windows] Open folder dialog now supports directory
argument.Fix
[QT] Workaround for segmentation fault on closing the main window. Thanks @kvasserman.Fix
[pytest] Fix for pytest warning about invalid escape sequencePublished by r0x0r over 5 years ago
New
[All] New API. The API is not compatible with older versions of pywebview. See https://pywebview.flowrl.com for usage details. #272New
[All] Built-in HTTP server. #260New
[All] Autogenerated CSRF token exposed as window.pywebview.token
. #316New
[All] get_elements
function to retrieve DOM nodes. #292New
[All] New event system that lets you to subscribe to events. loaded
and shown
events are implemented. #201New
[Windows] EdgeHTML support. Thanks @heavenvolkoff. #243Fix
[Windows] Fullscreen mode. #338Fix
[GTK] Better Javascript support for recent version of WebKit2Fix
[CEF] Support for PyInstaller in onefile modePublished by r0x0r over 5 years ago
New
[All] Support for frameless windows. #169Fix
[Windows] Fix broken installation of v2.3 #314Published by r0x0r over 5 years ago
New
[All] Ability to resize window after creation webview.set_window_size(width, height)
. Thanks @aprowe #274New
[Windows] Chrome Embedded Framework (CEF) support #15Improvement
[All] pywebview does not interfer with Python's logger configuration #295Fix
[All] Empty DOM issues when window is created without a URL #285Improvement
[macOS] Web renderer upgraded to WKWebViewImprovement
[macOS] Add support for Mojave dark modeFix
[macOS] Problem with handling paths containing spaces #283Fix
[QT] Better support for QTWebKit and QTWebChannel #304Improvement
[QT] Remove support for QT4Fix
[GTK] Thrown exception not Python 2 compatible #277