Pywebview

Latest version: v5.3.2

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

Scan your dependencies

Page 7 of 12

3.2

_Released 24/01/2020_

- `New` `All` Window x, y, width and height properties to retrieve coordinates and dimensions of the window. Thanks `Fizzadar`(https://github.com/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`(https://github.com/dtcooper)
- `Improvement` `QT` Default debugger port is changed to 8228. Thanks `melvinkcx`(https://github.com/melvinkcx)
- `Improvement` `CEF` Ability to pass custom CEF settings via ` webview.platforms.cef.settings`. See [example](/examples/cef.md) 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

3.1

3.0.2

_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 occurring in a thread.

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

3.0

_Released 11/07/2019_

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

2.4

_Released 17/02/2019_

- `New` `All` Support for frameless windows.
- `Fix` `Windows` Fix broken installation of v2.3

Page 7 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.