v1.3.0.rst 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. What's new in PyWebIO 1.3
  2. ==========================
  3. 2021/6/12
  4. -----------
  5. Highlights
  6. ^^^^^^^^^^^
  7. * New module :doc:`pin </pin>` to provide persistent input support.
  8. * Add a remote access service to `start_server()`. See :ref:`server mode - User Guide <server_mode>` for detail.
  9. * Add `input_update() <pywebio.input.input_update>`, add ``onchange`` callback in input functions.
  10. * Add support for FastAPI and Starlette.
  11. Detailed changes
  12. ^^^^^^^^^^^^^^^^^
  13. * :doc:`input </input>` module
  14. * Add `input_update() <pywebio.input.input_update>`, add ``onchange`` callback in input functions.
  15. * Add `pywebio.input.slider()` to get range input.
  16. * :doc:`output </output>` module
  17. * Mark `style() <pywebio.output.style>` as deprecated, see :ref:`style - User Guide <style>` for new method.
  18. * Add `pywebio.output.put_tabs()` to output tabs.
  19. * `put_html() <pywebio.output.put_html>` adds compatibility with ipython rich output.
  20. * Add `group` and `outline` parameters in `put_buttons() <pywebio.output.put_buttons>`.
  21. * :doc:`session </session>` module
  22. * Add promise support in `eval_js() <pywebio.session.eval_js>`.
  23. * Support config input panel via `set_env() <pywebio.session.set_env>`.
  24. * :doc:`platform </platform>` module
  25. * Add support for FastAPI and Starlette.
  26. * Add `wsgi_app()` / `asgi_app()` for Flask/Dgango/FastAPI backend.
  27. * Add remote access service to `start_server()`
  28. * Add ``max_file_upload``/``payload_size_limit``/``upload_size_limit``/``max_payload_size`` parameters to `start_server()`.
  29. * So many other improvements.
  30. Bug fix
  31. ^^^^^^^^^^^^^^^^^
  32. * Fix table style.
  33. * Fix large file uploading error.
  34. * Fix server start error when enabled ``auto_open_webbrowser``.
  35. * Fix file names overflow in file input.
  36. * Fix `put_image() <pywebio.output.put_image>` raise 'unknown file extension' error when use PIL Image as ``src``.
  37. * Sanitize the returned ``filename`` of `file_upload() <pywebio.input.file_upload>` to avoid interpreting as path accidentally.
  38. * So many other bugs fixed.