Advertisement Β· 728 Γ— 90

Posts by FastAPI

Post image

Here's FastAPI 0.135.3, adding support for fully vibe-coded apps ✨

Use the new app.vibe() decorator, embrace the AI future πŸ€–

Read the new docs: fastapi.tiangolo.com/advanced/vibe/

1 week ago 8 1 0 1

Do you code with Cursor? ↗️

Try the official (and verified βœ…) FastAPI Extension from the marketplace ✨

open-vsx.org/extension/Fa...

1 month ago 3 2 0 0

Are you using Google Antigravity as your editor? β˜„οΈ

Now you can install the official FastAPI Extension open-vsx.org/extension/Fa... 🎁

1 month ago 5 1 0 0
Post image

Sneak peek, that's it: response_class and yield ⚑️

1 month ago 0 0 0 0
Preview
Server-Sent Events (SSE) - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

FastAPI 0.135.0, with Server-Sent Events: fastapi.tiangolo.com/tutorial/ser... ✨

1 month ago 16 2 1 1
Post image

Big features in FastAPI 0.134.0 ✨

🌊 Stream JSON Lines with yield: fastapi.tiangolo.com/tutorial/str...

πŸ¦€ @pydantic.dev serializes each item to JSON (on Rust) for max perf

πŸ“¦οΈStream binary data with yield: fastapi.tiangolo.com/advanced/str...

πŸ€– Library Agent Skill updated with this

πŸ₯š Easter egg

1 month ago 12 2 0 1
Preview
FastAPI Extension - Visual Studio Marketplace Extension for Visual Studio Code - VS Code extension for FastAPI development

I've been working on something very cool for the past few months and today, it's finally yours!

The *official* @fastapi.tiangolo.com extension for VS Code has launched! πŸŽ‰

Install: marketplace.visualstudio.com/items?itemNa...
GitHub: github.com/fastapi/fast...

1 month ago 29 8 2 2
Preview
FastAPI Extension - Visual Studio Marketplace Extension for Visual Studio Code - VS Code extension for FastAPI development

Here's a big one! πŸŽ‰

Official FastAPI extension for @vscode.dev 🎁

πŸ—ΊοΈ Path operations explorer
πŸ”Ž ...and search
βœ… From tests: go to definition
🎁 And more!

marketplace.visualstudio.com/items?itemNa...

GitHub: github.com/fastapi/fast...

Thank you @savannah.dev πŸ™Œ

1 month ago 3 1 0 1
Advertisement

FastAPI 0.133.1 comes with the official FastAPI Agent Skill bundled πŸ“¦οΈ

More important than the current skill content is that it will be kept up to date with new versions of FastAPI 😎

AI coding agents will be able to use best practices and new features as they come πŸ€–

1 month ago 3 0 0 1
Preview
Strict Content-Type Checking - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

FastAPI 0.132.0 adds strict Content-Type checking for JSON requests 🏰

This would solve a CSRF risk in local-network apps (apps intended to run on users' machines, on localhost) πŸ”’οΈ

If your clients don't send a Content-Type, you can also disable it: fastapi.tiangolo.com/advanced/str...

1 month ago 3 1 0 0
Post image

Increase your FastAPI JSON response performance by 2x or more πŸš„

1. Upgrade to the just released FastAPI 0.131.0 🎁
2. Declare your response model - return type ✨

With that, now @pydantic.dev handles the JSON serialization on the Rust side πŸ¦€

fastapi.tiangolo.com/advanced/cus...

1 month ago 16 1 0 1
Preview
JSON with Bytes as Base64 - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

πŸ› Here's FastAPI 0.129.1 with a bug fix in the JSON Schema for binary data and file uploads.

πŸ“ And a new guide to use base64 binary data in JSON payloads: fastapi.tiangolo.com/advanced/jso...

1 month ago 3 1 1 0
Preview
FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

The FastAPI docs are now fully translated to:

German
Spanish
French
Japanese
Korean
Portuguese
Russian
Turkish
Ukrainian
Chinese
Traditional Chinese

Done by AI guided by humans and native speakers πŸ€–

Shoutout to YuriiMotov for handling a lot of this πŸ™Œ

fastapi.tiangolo.com

1 month ago 7 0 0 1
Preview
FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

FastAPI 0.129.0 drops support for Python 3.9, which reached its End Of Life months ago πŸͺ“

Make sure you have a recent Python version, ideally 3.14 😎

fastapi.tiangolo.com

1 month ago 2 0 0 1
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

Here's FastAPI 0.128.7 with a couple of bug fixes and small features 🍰

...the plan is to release 0.129.0 today, dropping support for Python 3.9 πŸͺ“

github.com/fastapi/fast...

1 month ago 6 3 0 0

With some finagling, I managed to build @fastapi.tiangolo.com against Python 3.15 to run the new FastAPI pyperformance benchmark, with and without the JIT.

3.13: 142ms β†’ 141ms w/ JIT (~0.7% faster)
3.14: 147ms β†’ 149ms w/ JIT (~1.4% slower)
3.15a5+ (main): 145ms β†’ 134ms w/ JIT (8% faster!!!)

1 month ago 16 2 1 0
Advertisement

Several FastAPI releases during the weekend and today with internal refactors and a bug fix, the latest is 0.128.6 πŸ€“

1 month ago 3 1 0 0
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

How much do you like Friday releases? 🍫

FastAPI 0.128.3, compatible with the latest (and future) Starlette πŸš€

github.com/fastapi/fast...

2 months ago 1 1 0 0
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

Here's FastAPI 0.128.2, with more bug fixes and features 🎁

github.com/fastapi/fast...

2 months ago 3 1 0 0
Preview
FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

FastAPI 0.128.1 comes with with several small bug fixes and features 🍰

fastapi.tiangolo.com

2 months ago 4 3 0 0

This also includes:

βœ… E2E tests
πŸ€– New pre-commit setup
πŸ”’οΈMigration from Bcrypt to Argon2 for hashing passwords (while keeping compatibility with existing ones)

2 months ago 0 0 0 0

The full-stack-fastapi-template now has 40k+ GitHub stars, 0 open PRs, 0 open issues 🀯

To celebrate: version 0.10.0 πŸ₯‚

Highlight: alejsdev set it up as a uv workspace, and a bun monorepo, now all works from the top level πŸš€

github.com/fastapi/full...

2 months ago 9 1 1 1
Post image

LLMs and other tools are great, use them wisely πŸ§™

fastapi.tiangolo.com/contributing...

2 months ago 18 6 1 1
Advertisement
Preview
Development - Contributing - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

The FastAPI docs are now FULLY translated to multiple languages, always up to date 🌐

LLMs, carefully guided by the FastAPI team plus native speakers πŸ€–πŸ™‹

Spanish - @tiangolo.com
German - Nils Lindemann
Russian - Yurii Motov
Portuguese - Rafael Marques

fastapi.tiangolo.com/contributing...

2 months ago 3 0 0 1
Preview
FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

FastAPI 0.128.0 drops support for pydantic.v1 ⚰️

Now only @pydantic.dev v2 is supported ⬆️

This will unlock many things ✨

fastapi.tiangolo.com

3 months ago 3 0 0 1
Preview
FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

Here's FastAPI 0.127.1 πŸ”–

It adds a custom deprecation warning to make sure you see any deprecated code and update it πŸ”Š

fastapi.tiangolo.com

3 months ago 3 1 0 1

FastAPI 0.127.0 raises a deprecation warning if you use pydantic.v1 πŸ”Š

Support for pydantic.v1 will be fully dropped next β˜•οΈ

You should (and probably are) using @pydantic.dev v2 ✨

3 months ago 3 3 0 0

FastAPI 0.126.0 drops support for Pydantic v1 ⚰️

The minimum version is now @pydantic.dev >= 2.7.0 ⬆️

Importing from pydantic.v1 is still temporarily supported, but will no longer be supported in a future release in the next few days. πŸ”₯

3 months ago 3 3 0 1
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

FastAPI 0.125.0 drops support for Python 3.8 ⚰️

github.com/fastapi/fast...

3 months ago 2 1 0 1
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

Bug fix releases: FastAPI 0.124.3 and 0.124.4 πŸ›

The highlight: YuriiMotov fixed support for @pydantic.dev aliases (validation and serialization) in multiple edge cases. πŸš€

If there are no new reports, FastAPI will drop support for Python 3.8 next week. ⚰️

github.com/fastapi/fast...

3 months ago 2 0 0 1