What’s new in PyWebIO 1.3¶
2021/6/12¶
Highlights¶
New module pin to provide persistent input support.
Add a remote access service to
start_server()
. See server mode - User Guide for detail.Add
input_update()
, addonchange
callback in input functions.Add support for FastAPI and Starlette.
Detailed changes¶
input module
Add
input_update()
, addonchange
callback in input functions.Add
pywebio.input.slider()
to get range input.
output module
Mark
style()
as deprecated, see style - User Guide for new method.Add
pywebio.output.put_tabs()
to output tabs.put_html()
adds compatibility with ipython rich output.Add
group
andoutline
parameters input_buttons()
.
session module
platform module
Add support for FastAPI and Starlette.
Add
wsgi_app()
/asgi_app()
for Flask/Dgango/FastAPI backend.Add remote access service to
start_server()
Add
max_file_upload
/payload_size_limit
/upload_size_limit
/max_payload_size
parameters tostart_server()
.
So many other improvements.
Bug fix¶
Fix table style.
Fix large file uploading error.
Fix server start error when enabled
auto_open_webbrowser
.Fix file names overflow in file input.
Fix
put_image()
raise ‘unknown file extension’ error when use PIL Image assrc
.Sanitize the returned
filename
offile_upload()
to avoid interpreting as path accidentally.So many other bugs fixed.