Sponsors 🌟
Thanks to these incredible business sponsors:
- Scalar (@scalar), Telemetry Sports (via @chris-telemetry)
Thanks to these incredible personal sponsors:
- Polar.sh: @Nozavi, @cemrehancavdar, @thomastu
- GitHub Sponsors: @roboflow, @benjamin-kirkbride, @ddahan, @cbscsm
- OpenCollective: Christian Y
What's changed
Bugfixes 🐛
- fix: update Makefile to include install in output by @adhtruong in #4079
- fix(typing): Remove usage of private
_AnnotatedAlias
by @provinzkraut in #4126 - fix(DI): Ensure dependencies are cleaned up when exception occurrs during cleanup by @provinzkraut in #4148
- fix: misleading error message upon ImportError with --app argument to CLI by @cstarkers in #4152
- fix(testing): subprocess client raises exc when fails to start by @mmev in #4153
- fix(openapi): support prefixItems for tuple schema by @Jannchie in #4132
- fix(cli): pre parse launch arguments when cli command executed by @mmev in #4161
New features 🚀
- feat(log): disable stack trace by @Harshal6927 in #4086
- feat(openapi): add custom example ids support by @Jannchie in #4133
- feat: add self to validate_handler_fn error message by @thewisenerd in #4157
- feat(DTO): Populate
linecache
for generated transfer functions by @provinzkraut in #4159 - feat(DTO): Add custom attribute accessor callable by @provinzkraut in #4160
- feat: add scalar configuration by @skv0zsneg in #4162
Other changes
- refactor: use typos by @adhtruong in #4080
- docs: add example for cache_response_filter by @euri10 in #4096
- docs: add usage of server_lifespan hook and motivations by @euri10 in #4097
- docs: add mention in guard docs from where connection.user comes from by @euri10 in #4101
- docs: rework custom authentication middleware by @euri10 in #4095
- docs: Replace contrib with plugins in example code by @eandersons in #4094
- docs: 📚 Fix return value for UploadFile by @Sube-py in #4120
- docs: clarify WebSocket
send_websocket_stream
capabilities by @provinzkraut in #4124 - docs: add test to stream_and_receive_listener and mention on json default by @euri10 in #4108
- docs(CLI): Make CLI docs about app discovery more coherent by @provinzkraut in #4139
- docs: show exceptions raised aren't always JSON by @euri10 in #4128
- docs: test most requests.rst literalinclude by @euri10 in #4099
- docs: Some readme updates by @provinzkraut in #4138
- docs: fixed variable name in ASGIMiddleware code example by @mmev in #4151
New contributors 🎉
- @mmev made their first contribution in #4151
- @Jannchie made their first contribution in #4132
- @thewisenerd made their first contribution in #4157
- @skv0zsneg made their first contribution in #4162
- @cstarkers made their first contribution in #4152
- @Sube-py made their first contribution in #4120
Full Changelog
v2.15.2...v2.16.0