pywebview

Build GUI for your Python program with JavaScript, HTML, and CSS

BSD-3-CLAUSE License

Downloads
77.7K
Stars
4.3K
Committers
137

Bot releases are visible (Hide)

pywebview - 3.7

Published by r0x0r almost 2 years ago

⚡ 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
pywebview - 3.6.3

Published by r0x0r over 2 years ago

🐞 Bug fixes

  • [Winforms] Support for Edge Chromium v100. Thanks @greper.
pywebview - 3.6.2

Published by r0x0r over 2 years ago

🐞 Bug fixes

  • [Cocoa] Fix closing window
pywebview - 3.6.1

Published by r0x0r over 2 years ago

  • Fix [CEF] Exception on start
pywebview - 3.6

Published 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.loadedwindow.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 to
  • Improvement [QT] Pyside support via PyQT wrapper. Thanks @tshemeng.
  • Fix [Cocoa] Make Ctrl-C (SIGINT) work on Cocoa when running from the command line
  • Fix [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.
pywebview - 3.5

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. #628
  • Improvement [All] Selected web renderer printed in Python console in debug mode.
  • Improvement [All] JS API serialization logic. Thanks @peter23
  • Improvement [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 @simonrob
  • Fix [EdgeChromium] Change webview component to transparent. Thanks @ODtian
  • Fix [CEF] Fix exception when destroying window
  • Fix [Cocoa] cmd+w bypasses exit confirmation dialogue. #698. Thanks @fizzadar
  • Fix [Cocoa] Fix window coordinate calculation logic when moving a window.
  • Fix [MSHTML] Fix drag_region
  • Fix [MSHTML] Fix window.alert
pywebview - 3.4

Published 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
pywebview - 3.3.5

Published by r0x0r about 4 years ago

  • Fix [EdgeHTML] Server middleware handling
  • Fix [EdgeHTML] file:// url handling
pywebview - 3.3.4

Published by r0x0r about 4 years ago

  • [EdgeHTML] Fix content not displaying with local URLs or local HTTP server
  • [Cocoa] Fix arrow keys not responding in text input fields. Thanks awesomo4000
pywebview - 3.3.3

Published by r0x0r about 4 years ago

  • Fix [Cocoa] Save dialog not working #578.
  • Fix [Cocoa] Error sound being played when pressing keys on macOS #566.
pywebview - 3.3.2

Published by r0x0r about 4 years ago

  • Fix [All] Load html triggers error - resolve_url() missing 1 required positional argument: 'should_serve' #562.
  • Fix [Cocoa/GTK] Access window size on closing #573.
  • Fix [GTK] Save file dialog now returns a string instead of a tuple.
pywebview -

Published by r0x0r over 4 years ago

Fix Unable to start on Windows.

pywebview - 3.3 Detroit Edition

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 PyGObject
  • Fix [QT] Fix opening web inspecting in debug mode
pywebview - 3.2 Humate Edition

Published 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 arguments
  • Improvement [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 fix
pywebview - 3.1: Windows Edition

Published 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.pywebviewreadyDOM 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 the
  • Fix [CEF] High DPI fix resulting in a small window appearing inside the main window
  • Fix [EdgeHTML] Unicode error when loading HTML
  • Fix [MSHTML] get_elements failing
  • Fix [MSHTML] console.log not writing to Python console in debug mode
  • Fix [MSHTML] Forcing MSHTML via gui=mshtml is now possible. ¯\_(ツ)_
pywebview - 3.0.2

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. #352
  • Fix [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.
pywebview - 3.0.1

Published by r0x0r about 5 years ago

3.0.1

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 mode
  • Fix [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 sequence
pywebview - 3.0

Published 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. #272
  • New [All] Built-in HTTP server. #260
  • New [All] Autogenerated CSRF token exposed as window.pywebview.token. #316
  • New [All] get_elements function to retrieve DOM nodes. #292
  • New [All] New event system that lets you to subscribe to events. loaded and shown events are implemented. #201
  • New [Windows] EdgeHTML support. Thanks @heavenvolkoff. #243
  • Fix [Windows] Fullscreen mode. #338
  • Fix [GTK] Better Javascript support for recent version of WebKit2
  • Fix [CEF] Support for PyInstaller in onefile mode
pywebview - 2.4

Published by r0x0r over 5 years ago

  • New [All] Support for frameless windows. #169
  • Fix [Windows] Fix broken installation of v2.3 #314
pywebview - 2.3

Published by r0x0r over 5 years ago

  • New [All] Ability to resize window after creation webview.set_window_size(width, height). Thanks @aprowe #274
  • New [Windows] Chrome Embedded Framework (CEF) support #15
  • Improvement [All] pywebview does not interfer with Python's logger configuration #295
  • Fix [All] Empty DOM issues when window is created without a URL #285
  • Improvement [macOS] Web renderer upgraded to WKWebView
  • Improvement [macOS] Add support for Mojave dark mode
  • Fix [macOS] Problem with handling paths containing spaces #283
  • Fix [QT] Better support for QTWebKit and QTWebChannel #304
  • Improvement [QT] Remove support for QT4
  • Fix [GTK] Thrown exception not Python 2 compatible #277