Skip to content

Commit c5f23f8

Browse files
committed
release v1.5 🎉
1 parent ac8332e commit c5f23f8

File tree

3 files changed

+39
-2
lines changed

3 files changed

+39
-2
lines changed

docs/releases.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Release notes
44
.. toctree::
55
:maxdepth: 2
66

7+
releases/v1.5
78
releases/v1.4
89
releases/v1.3.0
910
releases/v1.2.0

docs/releases/v1.5.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+

pywebio/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
__package__ = 'pywebio'
22
__description__ = 'Write interactive web app in script way.'
33
__url__ = 'https://pywebio.readthedocs.io'
4-
__version__ = "1.4.0"
5-
__version_info__ = (1, 4, 0, 0)
4+
__version__ = "1.5.0"
5+
__version_info__ = (1, 5, 0, 0)
66
__author__ = 'WangWeimin'
77
__author_email__ = '[email protected]'
88
__license__ = 'MIT'

0 commit comments

Comments
 (0)