Skip to content

v3.3.0

Choose a tag to compare

@kennethreitz kennethreitz released this 22 Mar 17:58
· 62 commits to main since this release

v3.3.0 — Documentation

Comprehensive documentation overhaul with seven new tutorial pages, three new examples, and educational prose throughout.

New tutorials:

  • Building a REST API — full CRUD with Pydantic validation
  • Using SQLAlchemy — async ORM with lifespan pattern
  • Authentication — API keys, JWT tokens, session auth
  • WebSocket Tutorial — echo server, chat room, HTML client
  • Writing Middleware — hooks vs middleware, ordering, Starlette integration
  • Migrating from Flask — side-by-side reference table, gradual migration
  • Configuration — env vars, .env files, secrets, production setup

New examples:

  • examples/rest_api.py — complete REST API
  • examples/websocket_chat.py — chat room with HTML client
  • examples/sse_stream.py — Server-Sent Events

Docs improvements:

  • Every page now teaches web development concepts alongside the code
  • Complete working example at end of quickstart
  • Rewritten CLI and API reference pages
  • Homepage prose refined

176 tests, 95% coverage.