فهرست منبع

release v1.4.0

wangweimin 3 سال پیش
والد
کامیت
5277a15bf2
3فایلهای تغییر یافته به همراه31 افزوده شده و 2 حذف شده
  1. 1 0
      docs/releases.rst
  2. 28 0
      docs/releases/v1.4.rst
  3. 2 2
      pywebio/__version__.py

+ 1 - 0
docs/releases.rst

@@ -4,6 +4,7 @@ Release notes
 .. toctree::
    :maxdepth: 2
 
+   releases/v1.4
    releases/v1.3.0
    releases/v1.2.0
    releases/v1.1.0

+ 28 - 0
docs/releases/v1.4.rst

@@ -0,0 +1,28 @@
+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>`_

+ 2 - 2
pywebio/__version__.py

@@ -1,8 +1,8 @@
 __package__ = 'pywebio'
 __description__ = 'Write interactive web app in script way.'
 __url__ = 'https://pywebio.readthedocs.io'
-__version__ = "1.3.3"
-__version_info__ = (1, 3, 3, 0)
+__version__ = "1.4.0"
+__version_info__ = (1, 4, 0, 0)
 __author__ = 'WangWeimin'
 __author_email__ = 'wang0.618@qq.com'
 __license__ = 'MIT'