Pywebview

Latest version: v5.1

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

Scan your dependencies

Page 5 of 12

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.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 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

- `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

3.4

- `New` [Windows] WebView2 Chromium support. Thanks [sbbosco](https://github.com/sbbosco). [#521](https://github.com/r0x0r/pywebview/issues/521).
- `Fix` [All] Exception with HTML checkboxes and `get_elements`. [622](https://github.com/r0x0r/pywebview/issues/622).
- `Fix` [All] pystray compatibility. Thanks [AlexCovizzi](https://github.com/AlexCovizzi). [#486](https://github.com/r0x0r/pywebview/issues/486).
- `Fix` [All] expose methods instead of all callables for JS API objects. Thanks [jgentil](https://github.com/jgentil). [#629](https://github.com/r0x0r/pywebview/issues/629).
- `Fix` [EdgeHTML] Make returning results of `evaluate_js` more robust. Thanks [sbbosco](https://github.com/sbbosco).
- `Fix` [QT] KDE_FULL_SESSION not being used. Thanks [Maltzur](https://github.com/Maltzur).
- `Fix` [Cocoa] Unicode filenames for input files.
- `Improvement` [Cocoa] Only install the specific `pyobjc` packages required. Thanks [Fizzadar](https://github.com/fizzadar).
- `Improvement` [Cocoa] Add support for default document navigation and window handling shortcut keys . Thanks [ikhmyz](https://github.com/ikhmyz) and [Fizzadar](https://github.com/fizzadar)

3.3.5

- `Fix` [EdgeHTML] Server middleware handling
- `Fix` [EdgeHTML] file:// url handling

3.3.4

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

3.3.3

- `Fix` [Cocoa] Save dialog not working [578](https://github.com/r0x0r/pywebview/issues/578).
- `Fix` [Cocoa] Error sound being played when pressing keys on macOS [566](https://github.com/r0x0r/pywebview/issues/566).

Page 5 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.