Pywebview

Latest version: v5.3.2

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 12

5.3.2

_Released 22/10/2024_

🐞 Bug fixes

- Fix Pyinstaller compatibility for non-Windows platforms 1508
- Error occurs when alert() is called with non-string arguments 1506

5.3.1

_Released 21/10/2024_

🐞 Bug fixes

- Fix Pyinstaller compatibility

5.3

_Released 16/10/2024_

⚡ Features

- `All` Native window object for each platform is now exposed `window.native`. You can use it for example for applying custom appearance to a window. Additionally WebView is exposed via `window.native.webview`
- `All` New `window.events.before_show` event.
- `All` New DomEventHandler `debounce` parameter. It can be used it for solving performance issues with `dragover` and `mouseover` events.
- `GTK/QT` application icon support for GTK and QT platforms `webview.start(icon=<path>)`

🚀 Improvements

- `All` Storage path is now verified for write permissions before application start. An exception is thrown, if path is not writable.
- `All` Refined logic at which point of the startup procedure `shown` event is fired.
- `Cocoa` Better handling of stopping event loop in headless environments.
- `Windows` Fallback to WinForms when QT is forced and not available
- `Windows` Remove white border in a fullscreen window.
- `Windows` Support multiple selection in open folder dialog.

🐞 Bug fixes

- `All` Support for Unicode filenames in drag and drop. Thanks hustshenl
- `Cocoa` Fix open file dialog file type selector and all files filter
- `Cocoa` Fix folder drag and drop. Thanks pythons
- `GTK` Fix multiple file drag and drop on certain Linux distributions. Thanks coffeejunk
- `QT` QT6 compatilibity
- `QT` Release of profile requested but WebEnginePage still not deleted with multiple windows
- `Windows` Graceful handling for `shcore.dll` not being present on Windows 7. Thanks rafael-vasconcellos.
- `Windows` Return result of open folder dialog is fixed to tuple.
- `Edge Chromium` Current url not being updated after a navigation event. Thanks hustshenl

5.2

_Released 17/08/2024_

🚀 Improvements

- `All` Replace print with logging in JS API exception handling.
- `All` Replace ssl.wrap_socket() with SSLContext().wrap_socket(). Thanks lanzz
- `WinForms` Add a modern Vista open folder dialog. Thanks v_yonghliao
- `Winforms` Fallback to Winforms when QT is forced, but not available.
- `EdgeChromium` Replace `window.alert` with a message box implementation.
- `MSHTML` Convert JS API code to ES5 to be compatible with MSHTML.

🐞 Bug fixes

- `All` Add missing return in DOM.body property. Thanks lanzz.
- `All` Use json.dumps to serialise the html template in create_element. Thanks lanzz
- `All` Fix ever-growing main menu bug. Thanks lanzz
- `All` Change on_closing event handlers to be executed synchronously in order to prevent a deadlock when using thread join. 1439
- `All` Fix `TypeError: unhashable type` with certain unhashable object types exposed via JS API. 1442
- `Cocoa` Fix nil pointer dereference during file download. Thanks realityone.
- `EdgeChromium` Support multiple pywebviews at the same time. Thanks huan1936.
- `QT` QT6 compatibility.
- `QT` Fix devtools in PySide6. Thanks TransparentLC
- `QT` Fix user agent.
- `QT` Fix segfault on window close.

5.1

_Released 18/04/2024_

⚡ Features

- `All` Clear all the cookies (including HttpOnly) with `window.clear_cookies()`. Sponsored by [TBS](https://tbsit360.com/)
- `All` pywebview event handler can now have an optional `window` parameter that holds an instance of the `Window` object that triggered the event.

🚀 Improvements

- `Windows` Add window shadow with `webview.create_window(..., shadow=True)`. Thanks yllhwa

🐞 Bug fixes

- `Cocoa` Fix showing window
- `QT` Fix fetching cookies in private mode
- `QT` Fix blank screen in Pop! OS. Thanks ysfchn.
- `GTK` Fix frameless windows having a hard-coded minimum size. Thanks coffeejunk

5.0.5

_Released 07/03/2024_

🐞 Bug fixes

- `All` Prevent infinite recursion in nested JS API 1327
- `CEF` Crash due incorrect settings 1330
- `QT` WebEnginePage not deleted after window is closed 1328
- `QT` Blank screen on certain Linux systems 1325

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.