Pywebview

Latest version: v5.1

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

Scan your dependencies

Page 6 of 12

3.3.2

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

3.3.1

Fix` Unable to start on Windows.

3.3

- `New` [All] Brand-new WSGI based internal HTTP server. Thanks [astronouth7303](https://github.com/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](https://github.com/Fizzadar).
- `New` [All] Custom user-agent support. Thanks [tognee](https://github.com/tognee).
- `Fix` [All] Python function not triggered using JS [458](https://github.com/r0x0r/pywebview/issues/458).
- `Fix` [All] window methods do not work in `loaded` event [528](https://github.com/r0x0r/pywebview/issues/528).
- `Fix` [Cocoa] Caption bar and window control buttons are now hidden In frameless mode.
- `Fix` [CEF] CEF window resize hang [484](https://github.com/r0x0r/pywebview/issues/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

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

_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.pywebviewready`DOM 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. ¯\\\_(ツ)\_/¯

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

Page 6 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.