Change8

0.116.2

📦 fastapi
3 features🐛 3 fixes1 deprecations🔧 3 symbols

Summary

This release upgrades the supported Starlette version range and focuses heavily on documentation improvements, including proxy header configurations and Pydantic method deprecations.

Migration Steps

  1. Upgrade Starlette to a version within the range >=0.40.0,<0.49.0.
  2. Update Pydantic model exports from .dict() to .model_dump() as per new deprecation notices.

✨ New Features

  • Added support for Starlette versions up to 0.48.0.
  • Added documentation and support for Proxy Forwarded Headers using --forwarded-allow-ips="*".
  • Added permalinks to headers in English documentation.

🐛 Bug Fixes

  • Prevent scroll-to-top on restart/fast buttons in termynal.js.
  • Remove obsolete url field in error responses in documentation.
  • Fix scope claim in security tutorial to align with standards.

🔧 Affected Symbols

StarletteTrustedHostMiddlewaretermynal.js

⚡ Deprecations

  • The use of Pydantic's .dict() method is being deprecated in favor of .model_dump() (documented in tutorial/body.md).