Change8

0.115.13

📦 fastapiView on GitHub →
3 features🐛 1 fixes🔧 4 symbols

Summary

This release updates ReDoc to 2.x, adds refreshUrl support to OAuth2PasswordBearer, and fixes a Pydantic V2 description truncation bug. It also improves the documentation UI for password fields in OAuth2 forms.

Migration Steps

  1. If using ReDoc, verify that your documentation renders correctly with the new 2.x version.
  2. If using OAuth2PasswordBearer, you can now optionally configure the refreshUrl parameter.

✨ New Features

  • Add refreshUrl parameter in OAuth2PasswordBearer.
  • Set format to password for fields password and client_secret in OAuth2PasswordRequestForm to ensure documentation shows password input fields.
  • Update ReDoc to version 2.x.

🐛 Bug Fixes

  • Fix truncating the model's description with form feed (\f) character for Pydantic V2.

🔧 Affected Symbols

OAuth2PasswordBearerOAuth2PasswordRequestFormpydanticvalidate_response_recursive