v1.8.rst 1.9 KB

123456789101112131415161718192021222324252627282930313233343536
  1. What's new in PyWebIO 1.8
  2. ==========================
  3. 2023/4/10
  4. ----------
  5. Highlights
  6. ^^^^^^^^^^^
  7. * Add datatable widget (`put_datatable() <pywebio.output.put_datatable>`)
  8. * Build reliable message transmission over HTTP-based backends (Flask and Django)
  9. Backwards-incompatible changes
  10. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  11. * When use `put_loading() <pywebio.output.put_loading>` as context manager, the output inside the context will also been removed
  12. after the context block exits.
  13. Detailed changes
  14. ^^^^^^^^^^^^^^^^^
  15. * Add `put_file_upload() <pywebio.pin.put_file_upload>` pin widget.
  16. * Add WPA support (via `config(manifest) <pywebio.config>`), so PyWebIO apps can be launched like a native app on mobile devices.
  17. * Add type hints to all public functions (`#501 <https://github.com/pywebio/PyWebIO/pull/501>`_, thanks to `叶子 <https://github.com/FHU-yezi>`_)
  18. * Add Uzbek language support for UI labels (`#539 <https://github.com/pywebio/PyWebIO/pull/539>`_, thanks to `Ulugbek <https://github.com/Ulu-pro>`_)
  19. * Remove the `NullHandler()` logging handler added to `pywebio` logger, so the exception log from PyWebIO can be output by default.
  20. * Add ``max_payload_size`` param to ``start_server()`` and ``webio_handler()`` for aiohttp and fastapi backends.
  21. * When ``tdata`` of `put_table()` is list of dict, ``header`` parameter is not mandatory anymore.
  22. * Add pyinstaller hook, so PyWebIO apps can be packaged to executable file with pyinstaller without any extra configuration.
  23. * No traceback expose to user in production environment (``start_server(debug=False)``, the default setting).
  24. Bug fix
  25. ^^^^^^^^^^^^^^^^^
  26. * Fix memory leak after close session (`#545 <https://github.com/pywebio/PyWebIO/pull/545>`_)
  27. v1.8.1 (2023/4/16)
  28. ---------------------
  29. * fix (`#568 <https://github.com/pywebio/PyWebIO/pull/568>`_) global `config(title)` don't work
  30. * fix (`#569 <https://github.com/pywebio/PyWebIO/pull/569>`_) cell_content_bar shown error