v2.3.0
❤️ Sponsors ❤️
GitHub Sponsors: Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous
What's Changed
Bugfixes 🐛
- Use the custom request class if available when handling exceptions by @guacs in #2444
- Support generic types for OpenAPI schema generation by @guacs in #2463
- Fix rendering of openapi parameter examples by @peterschutt in #2509
- Fix UTF-8 handling for structlog request logging by @brakhane in #2530
- Fix
ExceptionHandler
typing by @peterschutt in #2533 - Fix variable length tuples in OpenaAPI by @peterschutt in #2552
- Fix channels performance issue with polling without subscriptions by @provinzkraut in #2547
- Fix missing missing oauth2 callback in swagger by @heralight in #2524
- Fix CLI schema export with non-serializable types by @peterschutt in #2581
- Fix OpenAPI schema generation for
Literal
andEnum
unions withNone
by @peterschutt in #2550 - Fix cache overrides when using same route with different handlers by @Alc-Alc in #2592
New features 🔧
- Python 3.12 support by @JacobCoffee in #2396
signature_types
application arg by @peterschutt in #2422- Rapidoc for openapi schema visualisation by @betaboon in #2522
- Support for Pydantic 1 and 2 within the same application by @provinzkraut in #2487
ResponseCacheConfig.cache_response_filter
by @peterschutt in #2537- SSL Context and self-signed certificates for CLI by @geeshta in #2554
- PKCE support by @heralight in #2524
New Contributors 🎉
- @pbaletkeman made their first contribution in #2506
- @betaboon made their first contribution in #2522
- @brakhane made their first contribution in #2530
- @orgarten made their first contribution in #2497
- @AgarwalPragy made their first contribution in #2558
- @heralight made their first contribution in #2524
- @dybi made their first contribution in #2572
- @myslak71 made their first contribution in #2598
Full Changelog: v2.2.1...v2.3.0