pywebview icon indicating copy to clipboard operation
pywebview copied to clipboard

5.0

Open r0x0r opened this issue 1 year ago • 5 comments

The next major release 5.0 will include following features

  • Android support https://github.com/r0x0r/pywebview/issues/377
  • Support for DOM manipulation / events https://github.com/r0x0r/pywebview/issues/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 https://github.com/r0x0r/pywebview/issues/1217
  • BREAKING: evaluate_js throws a JavascriptException if executed codes raises an error
  • File drag n drop with with full path support https://github.com/r0x0r/pywebview/issues/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 avatar Sep 29 '23 07:09 r0x0r

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

r0x0r avatar Oct 02 '23 09:10 r0x0r

Can't wait for file drag and drop support!

rinkaaan avatar Dec 12 '23 08:12 rinkaaan

+1

paulocoutinhox avatar Feb 02 '24 16:02 paulocoutinhox

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.

r0x0r avatar Feb 03 '24 21:02 r0x0r

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

juanjoselazohoyos avatar Feb 23 '24 09:02 juanjoselazohoyos

Version 5.0.1 is on pypi now

r0x0r avatar Mar 02 '24 13:03 r0x0r

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

MominIqbal-1234 avatar Apr 04 '24 05:04 MominIqbal-1234