What's new in PyWebIO 1.5 ========================== 2021/11/20 ----------- Highlights ^^^^^^^^^^^ * theme support via :func:`pywebio.config()`, :demo_host:`demo ` * deprecate :func:`pywebio.output.output()`, use `pywebio.output.use_scope()` instead (``output()`` still work) Detailed changes ^^^^^^^^^^^^^^^^^ * enable `lstrip` by default in `put_markdown() `, and the behavior of `lstrip` is more clever than previous version. Deprecate `strip_indent` since `lstrip` is sufficient. * button disabled state support in `pywebio.output.put_buttons()` and `pywebio.output.put_button()`, and button value can be any type * buttons in `pywebio.input.actions()` support color setting * russian 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` and `buttons` parameters to avoid potential error - `81d57ba4 `_, `cb5ac8d5 `_ - `e262ea43 `_ * fix page width exceeding screen width (mostly on mobile devices) - `536d09e3 `_ * fix `put_buttons()` issue when buttons have same value - `cb5ac8d5 `_ * fix layout issue when use `put_markdown()` - `364059ae `_ * fix style issue in `put_tabs()` widget - `f056f1ac `_ * fix sibling import issue in `path_deploy()` - `35209a7e `_ * fix "Address already in use" error when enable remote access in some cases - `8dd9877d `_