FastAPI framework, high performance, easy to learn, fast to code, ready for production. 🚀 Web APIs with Python type hints. 🐍 By @tiangolo 🤓

Internet
Joined September 2020
Big news: the first-ever ✨ FastAPI Conf ✨ is coming! 📍 Amsterdam 📅 October 28 Meet the FastAPI team, connect with developers ☕️ 🎟️ Join the waitlist for early ticket access: fastapiconf.com
2
25
8
221
50,354
Optional parameter models in FastAPI 0.159.0 ✨ No dates? No filter. Send either date? Both are required. Make the whole Pydantic model optional while keeping its fields required. Works with query parameters, headers, and cookies. 🚀 fastapi.tiangolo.com/tutoria…
3
2
1
46
2,200
And now in FastAPI 0.158.0, support for multiple form models as well 📋️ fastapi.tiangolo.com/tutoria…
Pagination in one model. Filters in another. Both in the same FastAPI endpoint. ✨ FastAPI 0.157.0 lets you combine multiple query parameter models, alongside individual parameters and dependencies. Works for headers and cookies too. 🚀 fastapi.tiangolo.com/tutoria…
1
4
36
2,158
Pagination in one model. Filters in another. Both in the same FastAPI endpoint. ✨ FastAPI 0.157.0 lets you combine multiple query parameter models, alongside individual parameters and dependencies. Works for headers and cookies too. 🚀 fastapi.tiangolo.com/tutoria…
3
4
4
136
12,326
FastAPI 0.156.0 fixes defaults when combining Pydantic Field() with Query(), Body(), and other request parameters. ✨ default_factory and validate_default now work as expected. fastapi.tiangolo.com/release…
4
3
42
2,614
can you please not release 1 fix per release? It's getting incredibly frustrating to keep up with these
1
87
You can wait for a week or a month, and update to the latest version available then, you would get the same developer experience. And everyone else can benefit from granular releases, where version X might fix something they need, but version X+1 might need more work.
1
4
71
FastAPI 0.155.0 removes deprecated extra keyword arguments from request parameters. 🔥 Typos now raise an error instead of silently becoming schema metadata. For custom schema properties, use json_schema_extra. fastapi.tiangolo.com/tutoria…
3
3
35
2,313
FastAPI 0.154.0 adds explicit support for Pydantic's validate_default, union_mode, and fail_fast in request parameters. ✨ More control over validation, with editor autocomplete and type checking. fastapi.tiangolo.com/release…
2
1
37
2,077
FastAPI 0.153.0 improves browser form handling for unions of Pydantic models. 🐛 Empty inputs, unchecked checkboxes, and unselected files now behave consistently with single form models. fastapi.tiangolo.com/release…
3
3
31
2,600
FastAPI 0.152.0 🐛 Validation errors for header parameter models now use the HTTP header name: "save-data" instead of "save_data". Easier to see which header is missing or invalid. ✨ fastapi.tiangolo.com/release…
1
2
23
2,022
FastAPI 0.151.0 🐛 Individual Body parameters now distinguish JSON null from missing values. Omit a value to use its default. Send null to get None if the type allows it, or a validation error otherwise. fastapi.tiangolo.com/release…
5
57
2,634
And one more! 🐛 FastAPI 0.150.0 treats unselected file inputs as missing. Required fields produce validation errors. Fields with defaults use them. Selected empty files still work. ✅ fastapi.tiangolo.com/release…
2
3
41
2,857
How many releases can you take in a day? FastAPI 0.149.0 has more form fixes! 🐛 Empty text inputs from browser forms now use defaults. Required fields still produce validation errors. JSON behavior is unchanged. fastapi.tiangolo.com/release…
5
3
1
44
3,107
FastAPI 0.148.0 is out! 🐛 More consistent defaults for query, header, cookie, and form models: * Factories run once * Default fields stay unset * Default validation is opt-in Compatibility notes: fastapi.tiangolo.com/release…
2
8
95
5,825
FastAPI 0.147.0 improves HTML checkbox handling ✅ Omitted boolean form fields now become False, even with a True or None default. This matches how browsers handle unchecked checkboxes. Works with form models too. JSON is unchanged. fastapi.tiangolo.com/release…
1
3
82
3,435
Breaking change in FastAPI 0.146.0 ⛔️ The root_path parameter is now deprecated in favor of: fastapi run --root-path /your/proxy/path (or equivalents) More in line with the ASGI standard 🤓 fastapi.tiangolo.com/advance…
3
6
108
6,592
FastAPI 0.144.0 adds WebSocket support to security dependencies 🔒️ Thanks @usrbinmix ! 🙌 fastapi.tiangolo.com
5
12
1
175
9,255
They just released session management for the Redis SDK for FastAPI 🎉 Wanna learn about it all? Come to FastAPI Conf! Hear it all directly from the source. fastapiconf.com
Advanced session management of your @FastAPI endpoints using @Redisinc, based on the #Starlette framework? As easy as 𝙵𝚊𝚜𝚝𝙰𝙿𝙸𝚁𝚎𝚍𝚒𝚜(𝚊𝚙𝚙).𝚕𝚒𝚏𝚎𝚜𝚙𝚊𝚗().𝚜𝚎𝚜𝚜𝚒𝚘𝚗𝚜() 🕺🏼 Voilà! 🕺🏼 🔗 tinyurl.com/7pc498r6
3
5
76
5,335
Meet the FastAPI Conf master of ceremonies: @judy2k 🎙️ fastapiconf.com/speakers/#mc
4
20
2,106
We'll have a blast in the FastAPI Conf after party 🕹️🥳 fastapiconf.com/after-party/
2
1
28
4,732