1
0

v1.2.0.rst 1.2 KB

123456789101112131415161718192021222324
  1. What's new in PyWebIO 1.2
  2. ==========================
  3. 2021 3/18
  4. -----------
  5. Highlights
  6. ^^^^^^^^^^^
  7. * Support reconnect to server in websocket connection by setting ``reconnect_timeout`` parameter in `start_server() <pywebio.platform.tornado.start_server>`.
  8. * Add `path_deploy() <pywebio.platform.path_deploy>`, `path_deploy_http() <pywebio.platform.path_deploy>` and ``pywebio-path-deploy`` command to deploy PyWebIO applications from a directory.
  9. * All documents and demos are now available in English version.
  10. * Some output-related functions support context manager, see :ref:`output functions list <output_func_list>` .
  11. Detailed changes
  12. ^^^^^^^^^^^^^^^^^
  13. * Add `put_info()`, `put_error()`, `put_warning()`, `put_success()`
  14. * Add `pywebio.utils.pyinstaller_datas()` to get PyWebIO data files when using pyinstaller to bundle PyWebIO application.
  15. * Add documentation for data visualization using pyg2plot.
  16. * The ``reset()``, ``append()``, ``insert()`` of `output() <pywebio.output.output>` accept any type as content.
  17. * Add ``static_dir`` parameter to ``start_server()`` to serve static files.
  18. * Deprecated `pywebio.session.get_info()`, use `pywebio.session.info` instead.
  19. * Alert not supporting message when the user using IE browser.