Catalog / FastAPI

0.150.0

yesterdaybreakingOriginal notes

When no file is selected, browsers submit a file part with an empty filename and empty content. FastAPI now treats this as missing: required file fields return a validation error, and fields with defaults or default factories use them. Unselected inputs are ignored in lists of files. Named zero-byte files are still accepted.

Breaking Changes

  • 🐛 Treat unselected browser file inputs as missing. PR #16534 by @tiangolo.