|
| 1 | +What's new in PyWebIO 1.5 |
| 2 | +========================== |
| 3 | + |
| 4 | +2021/11/20 |
| 5 | +----------- |
| 6 | + |
| 7 | +Highlights |
| 8 | +^^^^^^^^^^^ |
| 9 | +* theme support via :func:`pywebio.config()`, :demo_host:`demo </theme>` |
| 10 | +* deprecate :func:`pywebio.output.output()`, use `pywebio.output.use_scope()` instead (``output()`` still work) |
| 11 | + |
| 12 | +Detailed changes |
| 13 | +^^^^^^^^^^^^^^^^^ |
| 14 | +* enable `lstrip` by default in `put_markdown() <pywebio.output.put_markdown>`, |
| 15 | + and the behavior of `lstrip` is more clever than previous version. Deprecate `strip_indent` since `lstrip` is sufficient. |
| 16 | +* button disabled state support in `pywebio.output.put_buttons()` and `pywebio.output.put_button()`, |
| 17 | + and button value can be any type |
| 18 | +* buttons in `pywebio.input.actions()` support color setting |
| 19 | +* russian language support for frontend labels and messages. Thanks to `@Priler <https://github.com/pywebio/PyWebIO/pull/173>`_. |
| 20 | +* improve default index page of `pywebio.platform.path_deploy()`: improve pywebio app detection and show app title. |
| 21 | +* compatible with latest aiohttp(v3.8) |
| 22 | +* enable `websocket_ping_interval` by default in tornado server to avoid idle connections being close in some |
| 23 | + cloud platform (like heroku) |
| 24 | +* exception traceback will be show in page when enable debug |
| 25 | +* `slider <pywebio.input.slider>` input add indicator to show its current value |
| 26 | + |
| 27 | +Bug fix |
| 28 | +^^^^^^^^^^^^^^^^^ |
| 29 | +* deep copy `options` and `buttons` parameters to avoid potential error - `81d57ba4 <https://github.com/pywebio/PyWebIO/commit/81d57ba46bec2ed2657f944f9cb594da9709d146>`_, `cb5ac8d5 <https://github.com/pywebio/PyWebIO/commit/cb5ac8d512386fc442abf6646621c3ef1e3ab26a>`_ - `e262ea43 <https://github.com/pywebio/PyWebIO/commit/e262ea43dc8a4fe3addd6c84f2fdd4f290a53f20>`_ |
| 30 | +* fix page width exceeding screen width (mostly on mobile devices) - `536d09e3 <https://github.com/pywebio/PyWebIO/commit/536d09e3c432a750b24b9633f076ebf9a1875f79>`_ |
| 31 | +* fix `put_buttons()` issue when buttons have same value - `cb5ac8d5 <https://github.com/pywebio/PyWebIO/commit/cb5ac8d512386fc442abf6646621c3ef1e3ab26a>`_ |
| 32 | +* fix layout issue when use `put_markdown()` - `364059ae <https://github.com/pywebio/PyWebIO/commit/364059ae8ac02e6d77dc031eaa1139863b09a6e3>`_ |
| 33 | +* fix style issue in `put_tabs()` widget - `f056f1ac <https://github.com/pywebio/PyWebIO/commit/f056f1aca3a10d8fe18bd49b21d52e073d08dcdc>`_ |
| 34 | +* fix sibling import issue in `path_deploy()` - `35209a7e <https://github.com/pywebio/PyWebIO/commit/35209a7e79b9ef8d0fdc2b5833576b313830bc93>`_ |
| 35 | +* fix "Address already in use" error when enable remote access in some cases - `8dd9877d <https://github.com/pywebio/PyWebIO/commit/8dd9877d81eba43eadce9c136125ffb08d8fe98a>`_ |
| 36 | + |
0 commit comments