Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0 #1227

Closed
r0x0r opened this issue Sep 29, 2023 · 7 comments
Closed

5.0 #1227

r0x0r opened this issue Sep 29, 2023 · 7 comments
Labels

Comments

@r0x0r
Copy link
Owner

r0x0r commented Sep 29, 2023

The next major release 5.0 will include following features

  • Android support Android support #377
  • Support for DOM manipulation / events DOM support/manipulation #1218
  • BREAKING: window.get_elements returns a list of instances of Element objects.
  • New more powerful JS data serializer capable of handling many data types and detecting circular references New JS API serializer #1217
  • BREAKING: evaluate_js throws a JavascriptException if executed codes raises an error
  • File drag n drop with with full path support DND from / to file explorer #1192
  • webview.settings Additional options that would override default behaviour of pywebview to address popular feature requests. These will include controlling opening target=_blank links in an external browser or opening devtools automatically in debug mode.
settings = {
    'ALLOW_DOWNLOADS': False,
    'OPEN_EXTERNAL_LINKS_IN_BROWSER': True,
    'OPEN_DEVTOOLS_IN_DEBUG': True,
}
  • WebView2 control updated to 1.0.2045.28
  • Support for file downloads. To enable file downloads, set webview.settings['ALLOW_DOWNLOADS'] = True. Disabled by default.

The release progress can be tracked in the 5.0 branch
Target release date is towards the end of this year.

@r0x0r r0x0r added the future label Sep 29, 2023
@r0x0r r0x0r pinned this issue Sep 29, 2023
@r0x0r
Copy link
Owner Author

r0x0r commented Oct 2, 2023

Added support for file downloads. To enable file downloads, set webview.settings['ALLOW_DOWNLOADS'] = True. Disabled by default.

@rinkaaan
Copy link

rinkaaan commented Dec 12, 2023

Can't wait for file drag and drop support!

@paulocoutinhox
Copy link

+1

@r0x0r
Copy link
Owner Author

r0x0r commented Feb 3, 2024

You can use 5.0 already by installing the dev version in the 5.0 branch. It is ready feature wise, but documentation is still missing and there are probably bugs as well. Testing would be much appreciated.

@juanjoselazohoyos
Copy link

Thank you very much, your library solved my life. I will be waiting very patiently for version 5.0

@r0x0r
Copy link
Owner Author

r0x0r commented Mar 2, 2024

Version 5.0.1 is on pypi now

@r0x0r r0x0r closed this as completed Mar 2, 2024
@MominIqbal-1234
Copy link

Please make step by step for android installation code and then build
thanks so much :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants