Skip to content

Releases: r0x0r/pywebview

4.0.1

19 Jan 18:17
Compare
Choose a tag to compare

🚀 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

17 Jan 20:48
0150a97
Compare
Choose a tag to compare
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

16 Nov 17:38
Compare
Choose a tag to compare

Released 16/11/2022

🐞 Bug fixes

  • [All] Fix missing libraries from the previous release

🚀 Improvements

  • [Windows / Linux] Devtools is automatically opened in debug mode.
  • [EdgeChromium] Browser shortcut keys are disabled by default

3.7.1

14 Nov 20:50
Compare
Choose a tag to compare

🐞 Bug fixes

  • [Edge Chromium] Better platform detection

🚀 Improvements

  • [Edge Chromium] ARM64 support

3.7

04 Nov 22:03
Compare
Choose a tag to compare
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

05 Apr 20:22
Compare
Choose a tag to compare

🐞 Bug fixes

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

3.6.2

05 Mar 21:14
Compare
Choose a tag to compare

🐞 Bug fixes

  • [Cocoa] Fix closing window

3.6.1

16 Feb 21:02
Compare
Choose a tag to compare
  • Fix [CEF] Exception on start

3.6

16 Feb 15:03
Compare
Choose a tag to compare
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 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.

3.5

02 Aug 10:03
26c9cae
Compare
Choose a tag to compare
3.5
  • 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