Fast ASGI web framework for Python
pkg_resources
with importlib.resources
for all supported Python
versions except for 3.8
.2.4.2
instead of Pydantic 2.0
to check
support for Pydantic v2..webp
and .webm
to the list of extensions of files that are served
by default.2.0a10
caused by incompatibility issue with Cython 3
.Cython
to 3.0.2
in the build job..jinja
extension by @thearchitector..jinja
extension default for Jinja templates. ⚠️ breaking change*
*it requires changing the extension of the template files from .html
to .jinja
, or setting an environment variable: APP_JINJA_EXTENSION=".html"
Content
max body size to be 2147483647
(C int max value). Reported and fixed by @thomafredContent
max body size to be 2147483647
(C int max value). Reported and fixed by @thomafredStreamedContent
with specific content length; fixing #374 both on the client and the server side.b""
).pyproject.toml
, simplifying how the version can be queried at runtime (see #362).root_path
when possible, as base_path
.TypeError
when writing a request without host header.Pydantic
v2
: meaning feature parity with support for Pydantic v1 (generating OpenAPI Documentation).Union
types in sub-properties of request handlers input and output types, for generating OpenAPI Documentation, both using simple classes and Pydantic #389
TypeError
when writing a request without host header.TypeError
when writing a small request with streamed content of known length.root_path
when possible, as base_path
.StreamedContent
with specific content length; fixing #374 both on the client and the server side.b""
).Thanks to @thomafred for reporting issues with HTTP proxy implementations, that lead to these fixes.
Vary: Origin
response header for CORS requests when the value of Access-Control-Allow-Origin
header is a specific URL.Vary: Origin
response header for CORS requests when the value of
Access-Control-Allow-Origin
header is a specific URL.