Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2025

Bumps pywebview from 5.3.2 to 6.1.

Release notes

Sourced from pywebview's releases.

6.1

⚡ Features

  • All New `webview.settings['DRAG_REGION_DIRECT_TARGET_ONLY'] setting to control whether drag region selector matches only direct targets or any element in the event path. Default is False. Thanks @​chrissantamaria
  • EdgeChromium Ability to bundle WebView2 runtime with the application via webview.settings['WEBVIEW2_RUNTIME_PATH']. Thanks @​leovuk
  • Cocoa Support for application menu. Thanks @​camdarley. #1725

🚀 Improvements

  • All Handle new elements in draggable and drag region client logic. Thanks @​chrissantamaria
  • All Improve detection of cyclic structures during serialization from JS to Python. #1708
  • QT Properly handle SIGINT to quit program allowing to close the window with Ctrl+C in terminal. Thanks @​chrissantamaria.
  • Cocoa Add support for 'New Folder' button in FOLDER_DIALOG on macOS. Thanks @​camdarley. #1710
  • Dev Automatic linting and formatting on pre-commit hook installation.

🐞 Bug fixes

  • All Fix state change event not being fired on state change from JS side #1698
  • All Fix state values with special characters not being set properly.
  • All Fix special characters handling in HTML attributes and styles in Element object.
  • Android Fix window.event.closed not being fired
  • Android Improve cleanup on application exit
  • Cocoa Support for partial functions in menu actions #1707
  • Cocoa Add missing pyobjc-framework-UniformTypeIdentifiers dependency. Thanks @​Josef-Haupt.
  • Cocoa module 'objc._objc' has no attribute 'file' after package #1717
  • GTK Fix data not being remove on application quit in private mode #1713
  • Winforms AttributeError: 'Screen' object has no attribute 'X #1704
  • MSHTML Fix MSTML compatibility #1701

6.0

⚡ Features

  • All Shared state management via window.state object. State object is automatically updated between Javascript and Python.
  • All New request_sent and response_received events. The events are fired when a HTTP request is sent and a response is received. Request headers can be modified before sending.
  • All Window specific menu that can be created via webview.create_window(menu=webview.menu.Menu).
  • All Add origin coordinates (x, y) to webview.screen.Screen object
  • All JS API nested classes can now be omitted from serialization by setting _serializable = False class attribute.
  • Cocoa New webview.settings['SHOW_DEFAULT_MENUS'] parameter to omit default menus. True by default. Thanks @​mikeylemmon.
  • Android New Android Kivyless implementation for improved startup time and smaller package size. Thanks @​kengoon.
  • Android Fullscreen mode support #1598. Thanks @​michelle-avery.

🚀 Improvements

  • All BREAKING: webview.SAVE_DIALOG, webview.OPEN_DIALOG and webview.FOLDER_DIALOG constants are deprecated in favor of webview.FileDialog enum with values SAVE, LOAD and FOLDER.
  • All BREAKING: Deprecated functions window.get_element and window.get_elements are removed. Use window.dom.get_element and window.dom.get_elements instead.
  • All BREAKING: webview.DRAG_REGION_SELECTOR is deprecated. Use webview.settings['DRAG_REGION_SELECTOR'] instead.
  • All Modify JS API to use callback instead of setInterval #1607. Thanks @​qaqFei.
  • All When exposing a Window object to JS API, dom, events and state objects are omitted.
  • All Logging level set by PYWEBVIEW_LOG environment level takes precedence over debug parameter.

... (truncated)

Changelog

Sourced from pywebview's changelog.

6.1

Released 21/10/2025

⚡ Features

  • All New `webview.settings['DRAG_REGION_DIRECT_TARGET_ONLY'] setting to control whether drag region selector matches only direct targets or any element in the event path. Default is False. Thanks @​chrissantamaria
  • EdgeChromium Ability to bundle WebView2 runtime with the application via webview.settings['WEBVIEW2_RUNTIME_PATH']. Thanks @​leovuk
  • Cocoa Support for application menu. Thanks @​camdarley. #1725

🚀 Improvements

  • All Handle new elements in draggable and drag region client logic. Thanks @​chrissantamaria
  • All Improve detection of cyclic structures during serialization from JS to Python. #1708
  • QT Properly handle SIGINT to quit program allowing to close the window with Ctrl+C in terminal. Thanks @​chrissantamaria.
  • Cocoa Add support for 'New Folder' button in FOLDER_DIALOG on macOS. Thanks @​camdarley. #1710
  • Dev Automatic linting and formatting on pre-commit hook installation.

🐞 Bug fixes

  • All Fix state change event not being fired on state change from JS side #1698
  • All Fix state values with special characters not being set properly.
  • All Fix special characters handling in HTML attributes and styles in Element object.
  • Android Fix window.event.closed not being fired
  • Android Improve cleanup on application exit
  • Cocoa Support for partial functions in menu actions #1707
  • Cocoa Add missing pyobjc-framework-UniformTypeIdentifiers dependency. Thanks @​Josef-Haupt.
  • Cocoa module 'objc._objc' has no attribute 'file' after package #1717
  • GTK Fix data not being remove on application quit in private mode #1713
  • Winforms AttributeError: 'Screen' object has no attribute 'X #1704
  • MSHTML Fix MSTML compatibility #1701

6.0

Released 08/08/2025

⚡ Features

  • All Shared state management via window.state object. State object is automatically updated between Javascript and Python.
  • All New request_sent and response_received events. The events are fired when a HTTP request is sent and a response is received. Request headers can be modified before sending.
  • All New initialized event that is fired when GUI library / Web is chosen and before the window is created. The first argument is a chosen renderer. If event handler returns False, the window creation will be cancelled and GUI loop will not be started.
  • All Window specific menu that can be created via webview.create_window(menu=webview.menu.Menu).
  • All Add origin coordinates (x, y) to webview.screen.Screen object
  • All JS API nested classes can now be omitted from serialization by setting _serializable = False class attribute.
  • Cocoa New webview.settings['SHOW_DEFAULT_MENUS'] parameter to omit default menus. True by default. Thanks @​mikeylemmon.
  • Android New Android Kivyless implementation for improved startup time and smaller package size. Thanks @​kengoon.
  • Android Fullscreen mode support #1598. Thanks @​michelle-avery.

🚀 Improvements

... (truncated)

Commits
  • 8d5f64d Update docs
  • d04be0c Update docs
  • 8abf182 Add linting documentation
  • 99a3d44 More reformatting
  • e34a792 Add ruff / pre-commit rules. Reformat the project
  • 8ede53f Update changelog
  • 34b8e43 Update todos app buildozer.spec
  • 214dc16 Various Android fixes
  • 320a825 Add support for custom app menu items on macOS (#1736)
  • 366450e Add webview.settings['WEBVIEW2_RUNTIME_PATH'] for custom WebView2 runtime (#1...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Dec 12, 2025
Bumps [pywebview](https://github.com/r0x0r/pywebview) from 5.3.2 to 6.1.
- [Release notes](https://github.com/r0x0r/pywebview/releases)
- [Changelog](https://github.com/r0x0r/pywebview/blob/master/docs/CHANGELOG.md)
- [Commits](r0x0r/pywebview@5.3.2...6.1)

---
updated-dependencies:
- dependency-name: pywebview
  dependency-version: '6.1'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pywebview-6.1 branch from 51b69e9 to 97a8b8f Compare January 4, 2026 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant