What’s new in PyWebIO 1.5¶
2021/11/20¶
Highlights¶
theme support via
pywebio.config()
, demodeprecate
pywebio.output.output()
, usepywebio.output.use_scope()
instead (output()
still work)
Detailed changes¶
enable
lstrip
by default input_markdown()
, and the behavior oflstrip
is more clever than previous version. Deprecatestrip_indent
sincelstrip
is sufficient.button disabled state support in
pywebio.output.put_buttons()
andpywebio.output.put_button()
, and button value can be any typebuttons in
pywebio.input.actions()
support color settingrussian language support for frontend labels and messages. Thanks to @Priler.
improve default index page of
pywebio.platform.path_deploy()
: improve pywebio app detection and show app title.compatible with latest aiohttp(v3.8)
enable
websocket_ping_interval
by default in tornado server to avoid idle connections being close in some cloud platform (like heroku)exception traceback will be show in page when enable debug
slider
input add indicator to show its current value
Bug fix¶
deep copy
options
andbuttons
parameters to avoid potential error - 81d57ba4, cb5ac8d5 - e262ea43fix page width exceeding screen width (mostly on mobile devices) - 536d09e3
fix
put_buttons()
issue when buttons have same value - cb5ac8d5fix layout issue when use
put_markdown()
- 364059aefix style issue in
put_tabs()
widget - f056f1acfix sibling import issue in
path_deploy()
- 35209a7efix “Address already in use” error when enable remote access in some cases - 8dd9877d
v1.5.1 (2021/12/21)¶
fix setitem error of
pin.pin
object - 3f5cf1e5fix thread-based session tot closed properly - 22fbbf86..3bc7d36b>
fix OverflowError on 32-bit Windows - 4ac7f0e5
fix a sample error from cookbook - 99593db4
fix spawn 2 remote access processes when enable debug in flask backed - 073f8ace