Skip to content

Commit

Permalink
release v1.8 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
wang0618 committed Apr 10, 2023
1 parent f534f4b commit 19b4ddc
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Release notes
.. toctree::
:maxdepth: 2

releases/v1.8
releases/v1.7
releases/v1.6
releases/v1.5
Expand Down
32 changes: 32 additions & 0 deletions docs/releases/v1.8.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
What's new in PyWebIO 1.8
==========================

2022/4/10
----------

Highlights
^^^^^^^^^^^
* Add datatable widget (`put_datatable() <pywebio.output.put_datatable>`)
* Build reliable message transmission over HTTP-based backends (Flask and Django)

Backwards-incompatible changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* When use `put_loading() <pywebio.output.put_loading>` as context manager, the output inside the context will also been removed
after the context block exits.

Detailed changes
^^^^^^^^^^^^^^^^^
* Add `put_file_upload() <pywebio.pin.put_file_upload>` pin widget.
* Add WPA support (via `config(manifest) <pywebio.config>`), so PyWebIO apps can be launched like a native app on mobile devices.
* Add type hints to all public functions (`#501 <https://github.com/pywebio/PyWebIO/pull/501>`_, thanks to `叶子 <https://github.com/FHU-yezi>`_)
* Add Uzbek language support for UI labels (`#539 <https://github.com/pywebio/PyWebIO/pull/539>`_, thanks to `Ulugbek <https://github.com/Ulu-pro>`_)
* Remove the `NullHandler()` logging handler added to `pywebio` logger, so the exception log from PyWebIO can be output by default.
* Add ``max_payload_size`` param to ``start_server()`` and ``webio_handler()`` for aiohttp and fastapi backends.
* When ``tdata`` of `put_table()` is list of dict, ``header`` parameter is not mandatory anymore.
* Add pyinstaller hook, so PyWebIO apps can be packaged to executable file with pyinstaller without any extra configuration.
* No traceback expose to user in production environment (``start_server(debug=False)``, the default setting).

Bug fix
^^^^^^^^^^^^^^^^^
* Fix memory leak after close session (`#545 <https://github.com/pywebio/PyWebIO/pull/545>`_)

4 changes: 2 additions & 2 deletions pywebio/__version__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
__package__ = 'pywebio'
__description__ = 'Write interactive web app in script way.'
__url__ = 'https://pywebio.readthedocs.io'
__version__ = "1.7.1"
__version_info__ = (1, 7, 1, 0)
__version__ = "1.8.0"
__version_info__ = (1, 8, 0, 0)
__author__ = 'WangWeimin'
__author_email__ = 'wang0.618@qq.com'
__license__ = 'MIT'

0 comments on commit 19b4ddc

Please sign in to comment.