Released 11/03/2019
New[All] New API. The API is not compatible with older versions of pywebview. See https://pywebview.flowrl.com for usage details. #272New[All] Built-in HTTP server. #260New[All] Autogenerated CSRF token exposed aswindow.pywebview.token. #316New[All]get_elementsfunction to retrieve DOM nodes. #292New[All] New events system that lets you to subscribe to events.loadedandshownevents are implemented. #201New[Windows] EdgeHTML support. Thanks @heavenvolkoff. #243Fix[Windows] Fullscreen mode. #338Fix[GTK] Better Javascript support for recent version of WebKit2Fix[CEF] Support for PyInstaller in onefile mode
Released 17/02/2019
New[All] Support for frameless windows.Fix[Windows] Fix broken installation of v2.3
Released 12/02/2019
New[All] Ability to resize window after creationwebview.set_window_size(width, height). Thanks @aprowe #274New[Windows] Chrome Embedded Framework (CEF) support #15Improvement[All] pywebview does not interfer with Python's logger configuration #295Fix[All] Empty DOM issues when window is created without a URL #285Improvement[macOS] Web renderer upgraded to WKWebViewImprovement[macOS] Add support for Mojave dark modeFix[macOS] Problem with handling paths containing spaces #283Fix[QT] Better support for QTWebKit and QTWebChannel #304Improvement[QT] Remove support for QT4Fix[GTK] Thrown exception not Python 2 compatible #277
Released 24/10/2018
FixDependency installationNewReintroduce [qt] extra require switch
Released 23/10/2018
NewBrand new documentation at https://pywebview.flowrl.comImprovementSimplify installation. Now pywebview can be installed bypip install pywebview. Dependencies will be resolved and installed automaticallyImprovement[GTK] Update to WebKit2
Released 16/09/2018
New[All] IntroducePYWEBVIEW_GUIenvironment variable andwebview.config.guiproperty. Acceptable values are areqt,gtkandwin32.USE_QTandUSE_WIN32is deprecated.Fix[Cocoa] Closing main window does not result in program terminationFix[All] New main window re-creation after closing. #229Fix[QT] Debug mode #233Fix[Cocoa/Windows] Preserve JS API on page reloadFix[Windows]toggle_fullscreen()function #232. Thanks @lt94Fix[Windows]load_css()function. Thanks @wormius.
Released 16/05/2018
Fix[QT] Fix a deadlock preventing QT implementation from startingFix[QT] QT is set to default on QT-based systems
Released 08/05/2018
Fix[Winforms] Fix installation of dlls
Released 28/04/2018
New[All] Multi-window supportNew[All] Ability to call Python code from Javascript viawindow.pywebview.apiNew[All] Debug mode. Web inspector for Cocoa/GTK/QT and basic debug information for WinForms.New[All] File filter support increate_file_dialogNew[All]target='_blank'links are now opened in an external browserNew[All] Change window title via aset_titlefunction #159New[All]load_cssfunctionNew[All] Support for relative local URLs increate_window/load_html. Linked local resources are resolved as well. #186New[All]todosexample app demonstrating js api and relative local URLs.New[All] Text select in the webview window is disabled by default. Addedtext_selectargument tocreate_windowfunction.New[QT] OpenBSD 6.x support #213. Thanks @hucste.Fix[All]base_uriparameter ofload_htmldefaults to the directory of the entry scriptFix[All] Consistent return types withevaluate_jsacross different platforms #175Fix[All] Various concurrency issues and deadlocksFix[Winforms] HideMessage from webpagewhen usingalertJavascript function #150Fix[Winforms] Support for high DPI #179Fix[QT] Support for QT 5.10 #171. Thanks @adbenitezFix[QT] Deprecate QT4. Starting from this verison new features won't be tested on QT4 and support will be removed in the future.
Released 29/10/2017
- pywebview has the official logo
- @shivaprsdv is now an official maintainer of the project
New[All] Add an ability to run Javascript code usingevaluate_jsfunctionFix[Cocoa] Implement missing webview components (file input dialog, alert()/confirm() JS functions)Fix[Winforms] Fix issue with non-responsive UI when a loading screen background color is usedFix[Winforms] Add support for Del and Ctrl+A keys in input elements.New[QT] QT5 is now prefererred over QT4Fix[QT] Fix return parameters ofcreate_file_dialogto have the same format as on other platformsFix[GTK] Better threading model. Thanks to @jorants #121
Released 08/06/2017
New[All] Add a basic test suite and continuous integration. #88New[All] Add a background_color parameter to create_window, which specifies the default color of the webview window. Refer to examples/loading_indicator.py for example use. Thanks to @shivaprsdv. #90New[Cocoa] Disable backspace navigation. Thanks to @shivaprsdv. #102New[Cocoa] Implementation of window.print() and window.confirm method. Thanks to @shivaprsdv. #97Fix[Cocoa] Fix non-existing localization string in save file dialogNew[Winforms] Disable all the shortcut keys of web navigationFix[Winforms] Fix load_html failing sometimes due thread violationFix[GTK] Implement fall-through to QT, when GTK is present, but not GTK.WebKit.
Released 29/03/2017
New[All] Quit confirmation dialog #31New[All] webview.config can be used using the dot notation (ie. webview.config.use_win32 = True)New[Winforms] Disable context menuFix[Winforms] Application icon is now visible in the application window when frozen with PyInstaller #91Fix[Mac] load_html() is invoked as soon as the webview is ready #93Fix[QT] get_current_url() not working due a typo. Thanks @maroc81. #85Fix[GTK] Better exception handling when GTK is not found #94Fix[GTK] destroy_window() #95
Released 09/02/2017
New[All] toggle_fullscreen function #52New[All] get_current_url function #76New[Winforms] Javascript errors are now suppressedFix[Winforms] Fixed resizable=False not being enforced #73
Released 14/01/2017
New[All] pip installation now supports choosing what dependencies to install. See README for more information. Thanks @josePhoenixNew[All] Localization support. Refer toexamples/localization.pyfor an example useNew[Mac] QT5 supportFix[Windows] File dialogs are now attached to the main windowFix[Windows] Pyinstaller crash issue with an icon in Windows Forms
Released 31/10/2016
New[Cocoa] Added View -> Fullscreen standard menu item. Thanks to @bastula.New[Cocoa] Added About menu item #45. Thanks to @bastula.New[Windows] An application icon for Windows FormsFix[Windows] Removed unnecessary pywin32 dependencies from Windows Forms #60Fix[Linux] Thread violation in load_url in GTK implementation #59
Released 10/10/2016
Fix[All] Python 2 compatibility issue in Flask Example (#52). Thanks to @bastula.Fix[Windows] Python 3 compatibility issue in Windows Forms implementation (#51)Fix[Linux] Resizing width/height: 100% problem on GTK (#53). Thanks to @klausweiss.
Released 29/09/2016
Fix[Linux] GTK window failing to open. Thanks to @lchish. #50
Released 27/09/2016
New[All] Introducedload_htmlfunction that allows dynamic loading of HTML code, instead of a URL. Implemented for all platforms except Win32 (use Windows Forms). Thanks to @ysobolev #39New[All] Added an example of a Flask-based application skeleton. The example can be found inexamples/flask_appNew[Windows] Windows Forms based implementation of webview window. Requires pythonnet.New[Windows] Introduced config["USE_WIN32"] variable that lets you choose between Win32 and Windows Forms. Default to True (Windows Forms will be made as default in the future)Fix[Windows/Linux] Got rid of installation dependencies on Windows and Linux. The dependencies now have to be installed by hand and the choice of dependencies is left to userFix[Linux] Compatibility with Qt 5.5. Thanks to @danidee10. #48
Released 08/06/2016
New[OSX] Add a default application menu #35. Thanks @cuibonoboNew[Linux] GTK is made as default and pypi dependency added. USE_GTK environment variable is also deprecated. To use QT, setwebview.config["USE_QT"] = TrueFix[Windows] Open folder of create_file_dialog now returns Unicode, instead of byte encoding.
Released 19/05/2016
Fix[Windows] Fix a dead-lock that sometimes occurs on a window creation, when used with a HTTP server running in a separate thread.
Released 17/05/2016
Fix[Windows] PyInstaller: Icon not found #29
Released 12/02/2016
New[All] Add an ability to programmatically destroy a webview windowFix[Windows] Fullscreen modeFix[Windows] Change setup.py to use pypiwin32 #22Fix[Windows] Relative import of win32_gen fixed on Python 3 #20. Thanks to @yoavram for the contributionFix[Windows] FileNotFound exception on Windows 2003. Thanks to @jicho for the contributionFix[OSX] Non-SSL URLs are allowed by default on El Capitan. Thanks to @cr0hn for the contribution
Released 27/11/2015
New[All] Right click context menu is disabled #12New[All] Window minimum size constraints #13New[All] Save file dialogNew[All] Addeddirectoryandsave_filenameparameters tocreate_file_dialogNew[All] An option to set a default directory in a file dialogNew[GTK] Introduced USE_GTK environment variable. When set, GTK is preferred over QT.Fix[Windows] Webview scrollbar sizing with a non-resizable windowFix[Windows] Add support for application icon #9Fix[Windows] Disable logging spam for comtypes
Fix[Windows] Invisible scrollbarsFix[Windows] Fullscreen mode
Fixed#10 Underlying browser does not resize with window under windows
Released on 08/10/2015
FixedPressing close window button terminates the whole program on OSX
Released on 06/10/2015
NewSupport for native open file / open folder dialogsFixed#6 FEATURE_BROWSER_EMULATION not in winreg.HKEY_CURRENT_USER. Thanks to @frip for the fix.
Released on 08/04/2015
FixedPython 3 compatibility in Win32 module (thanks @Firnagzen) #3FixedFloating values for window dimensions causing issues on Windows XP (thanks @Firnagzen) #4FixedCorrect IE version registry key on Windows XP (thanks @Firnagzen) #5
Released on 11/02/2015
FixedA problem preventing from creating a window on Windows
Released on 30/11/2014
NewWindows supportNewGTK3 supportNewpip installationNewFullscreen mode
Released on 20/11/2014
- First release
- Linux and OSX support