Change8

0.12.20

📦 fasthtmlView on GitHub →
3 features🐛 3 fixes🔧 3 symbols

Summary

This release introduces the `set_lifespan` feature, adds a `title` kwarg to `fast_app()`, and enhances attribute handling for Mapping children, while fixing several html2ft attribute bugs and toast placement issues.

✨ New Features

  • Add `set_lifespan` function/method.
  • Add `title=` keyword argument to `fast_app()` constructor.
  • Allow any Mapping children to specify attributes.

🐛 Bug Fixes

  • Correct treatment of empty and boolean attributes in the `html2ft` function.
  • Fix handling of empty attribute in `html2ft`.
  • Fix toasts being inserted at the bottom of the page.

🔧 Affected Symbols

set_lifespanfast_apphtml2ft