Change8

0.12.22

📦 fasthtmlView on GitHub →
4 features🐛 1 fixes

Summary

This release introduces dictionary support for WebSocket routes, HTMX toast handling, X-Forwarded-Host based redirects, and a modernized `adv_app` implementation, while fixing OAuth data handling.

✨ New Features

  • Added support for dictionary parameters in WebSocket routes (see https://github.com/AnswerDotAI/fasthtml/issues/759).
  • Added a small JavaScript snippet to enable HTMX requests for toast notifications.
  • Enabled use of the X-Forwarded-Host header as the source for redirects (see https://github.com/AnswerDotAI/fasthtml/pull/755).
  • Refactored the `adv_app` module with modern idioms (see https://github.com/AnswerDotAI/fasthtml/issues/754).

🐛 Bug Fixes

  • Changed OAuth handling to send data payload instead of JSON (see https://github.com/AnswerDotAI/fasthtml/pull/761).