v1.3.0.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. What's new in PyWebIO 1.3
  2. ==========================
  3. 2021
  4. -----------
  5. Highlights
  6. ^^^^^^^^^^^
  7. * New module :doc:`pin <./pin>` to provide persistent input support.
  8. * Remote access service is added to `start_server()`.
  9. * Add `input_update() <pywebio.input.input_update>`, add ``onchange`` callback in input functions.
  10. * Add support for FastAPI and Starlette.
  11. Backwards-incompatible changes
  12. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  13. [] Stop the compatibility of web framework integration before v1.1.
  14. Detailed changes
  15. ^^^^^^^^^^^^^^^^^
  16. * Mark `style() <pywebio.output.style>` as deprecated, see :ref:`User Guide <style>` for new method.
  17. * Add `wsgi_app()` / `asgi_app()` for Flask/Dgango/FastAPI backend.
  18. * Add `pywebio.output.put_tabs()` to output tabs.
  19. * Add promise support in `eval_js() <pywebio.session.eval_js>`.
  20. * Support config input panel via `set_env()`
  21. * Add ``max_file_upload``/``payload_size_limit``/``upload_size_limit``/``max_payload_size`` parameters to `start_server()`
  22. * Add `group` and `outline` parameters in `put_buttons() <pywebio.output.put_buttons>`
  23. * So many other improvements.
  24. Bug fix
  25. ^^^^^^^^^^^^^^^^^
  26. * Fix table style
  27. * Fix large file uploading error
  28. * Fix server not start when enable `auto_open_webbrowser`
  29. * Fix: file names overflow in file input
  30. * Fix: `put_image()` raise 'unknown file extension' error when use PIL Image as `src`
  31. * Sanitize the returned `filename` of file_upload() to avoid interpreting as path accidentally.