What's new in PyWebIO 1.4
==========================

2021/10/4
-----------

Highlights
^^^^^^^^^^^
* automatically hold session when needed
* support for binding onclick callback on any output widget

Detailed changes
^^^^^^^^^^^^^^^^^
* migrate to a `open-source <https://github.com/wang0618/localshare>`_ remote access service
* add ``output_max_width`` parameter to `set_env() <pywebio.session.set_env>`
* can use ``Esc``/``F11`` to toggle fullscreen of codemirror textarea
* `pin_wait_change() <pywebio.pin.pin_wait_change>` support `timeout` parameter
* add `pywebio.config() <pywebio.config>`
* add `pywebio.output.put_button() <pywebio.output.put_button>`
* add `pywebio.pin.put_actions() <pywebio.pin.put_actions>`
* rearrange document

Bug fix
^^^^^^^^^^^^^^^^^
* fix(#148): form can't be submit after validation failed - `e262ea43 <https://github.com/pywebio/PyWebIO/commit/e262ea43dc8a4fe3addd6c84f2fdd4f290a53f20>`_
* fix some codemirror issues: codemirror refresh and mode auto load - `b7957891 <https://github.com/pywebio/PyWebIO/commit/b7957891832a20fe47dd3b907e061a4d2b35de73>`_, `50cc41a9 <https://github.com/pywebio/PyWebIO/commit/50cc41a9d35f566ffe4c995165c841c1ae4971c4>`_
* fix: `run_js()` return `None` when empty-value - `89ce352d <https://github.com/pywebio/PyWebIO/commit/89ce352d069eec28f3ccc4e7657892a43374c3fc>`_
* fix: whole output crash when a sub output fail - `31b26d09 <https://github.com/pywebio/PyWebIO/commit/31b26d0985d700633946c750a01d25c96c634eaa>`_