Releases: litestar-org/litestar
Releases · litestar-org/litestar
v1.50.0
What's Changed
Bugfixes
- Fix expected OpenAPI components in
test_merged_components_correct
by @Gamazic in #1069 - Fix #1080: Missing / wrong dependencies for Jinja2 extra by @provinzkraut in #1081
New features
- Msgspec typed decoding by @provinzkraut in #1071
- Async test client by @kareemmahlees in #1045
Internal changes
- Refactor signature modelling by @Goldziher in #1067
- Prioritize plugins when creating DTOs by @abdulhaq-e in #1074
Docs
- Migrate documentation to Sphinx by @provinzkraut in #1051
New Contributors
- @Gamazic made their first contribution in #1069
- @kareemmahlees made their first contribution in #1045
Full Changelog: v1.49.0...v1.50.0
v1.49.0
What's Changed
Features
- Add reserved handler kwarg
body
by @Goldziher in #1029 (see: route handlers in the documentation) - Support
Path
alongsidePurePath
for serialization by @provinzkraut in #1044 - Ensure HTTP requests with invalid payloads return 400. by @peterschutt in #1048
- CLI: Add OpenAPI to TypeScript and OpenAPI schema generation commands by @Goldziher in #1053
- CLI: Add cwd to
sys.path
to enable running apps with uvicorn from anywhere by @provinzkraut in #1038
Bugfixes
- Ensure unique OpenAPI operation IDs by @maggias in #1007
- Fix issue when response is an empty iterable of DTOs by @abdulhaq-e in #1040
- Fix
meter
in OpenTelemetry middleware being passed a meterprovider` by @lugoues in #1056
Docs
- Revise "Exceptions and exception handling" and "Lifecycle hooks" sections by @provinzkraut in #1019
- Add examples about background tasks usage with responses by @pomma89 in #1034
- Fix type hint in example
sqlalchemy_async.py
by @hestal in #1027
New Contributors
- @maggias made their first contribution in #1007
- @hestal made their first contribution in #1027
- @pomma89 made their first contribution in #1034
- @abdulhaq-e made their first contribution in #1040
- @lugoues made their first contribution in #1056
- @JacobCoffee made their first contribution in #1061
Full Changelog: v1.48.1...v1.49.0
v1.48.1
What's Changed
Bugfixes
- Rename
enc_hook
->default
inencode_json
by @ste-pool in #1009 - Re-enable
super()
calls toResponse.serializer
by @provinzkraut in #1018
Features
- Extend serializable types by @provinzkraut in #1011
- Support application factory pattern in CLI
run
command by @provinzkraut in #1023
Docs
- Fix typo in the docs (Testing. Test Client) by @Spikenn in #1015
- Fix a broken example for the "Response Headers" docs by @Jarmos-san in #1021
- Revise template and middleware docs by @provinzkraut in #1012
Other
- Cleanup type encoders by @provinzkraut in #1014
New Contributors
- @Spikenn made their first contribution in #1015
- @Jarmos-san made their first contribution in #1021
Full Changelog: v1.48.0...v1.48.1
v1.48.0
What's Changed
- Add docs versioning by @provinzkraut in #996
- Add support for layered
type_encoders
by @provinzkraut in #995 - Fix rendering of Enum parameters in OpenAPI schema by @dialvarezs in #993
- Fix sorting of tags in OpenAPI schema by @ste-pool in #1005
- Fix swagger check for schema by @ste-pool in #1000
New Contributors
Full Changelog: v1.47.0...v1.48.0
v1.47.0
What's Changed
Bugfixes
- Fix #992: Deprecate
CookieBackendConfig
import by @provinzkraut in #992
New features
- Auto generation of DTOs from response data by @Goldziher in #982
- Media type inference to HTTP handlers by @Goldziher in #984
- Support differently named path parameters on the same route by @Goldziher in #987
Documentation
- Update docs for #982 by @dialvarezs in #985
Other
- Add
fast-query-parsers
by @Goldziher in #989
New Contributors
- @dialvarezs made their first contribution in #985
Full Changelog: v1.46.0...v1.47.0
v1.46.0
What's Changed
Bugfixes
- Make SessionAuth openapi_schema use backend_config.key by @asomethings in #934
- Support utf-8 encoded strings in form data by @NiclasHaderer in #946
- Fix 964: Jinja Template response ignores MediaType settings by @provinzkraut in #970
Changes
- Move
JinjaTemplateEngine
andMakoTemplateEngine
to contrib by @Goldziher in #949 - Update template config by @Goldziher in #955
New features
- Support for controlling Pydantic models' alias in OpenAPI Schema by @Goldziher in #959
- Support
Cookie
instances inResponse.set_cookie
by @provinzkraut in #969 - CLI by @provinzkraut in #936
Docs
- Add: Autorun examples by @provinzkraut in #943
- Add: Documentation for
TestClient.portal()
by @smithk86 in #932 - Change: Updated documentation for Guards by @cofin in #942
- Change: Restructure "The Starlite app" and "Custom responses" sections by @provinzkraut in #972
- Change: Minor Readme update by @provinzkraut in #950
- Change: Update migration guide, add framework feature comparison by @provinzkraut in #963
- Fix: Fix note block spacing in cache usage by @garburator in #94
- Fix: Fix missing colons in framework feature comparison by @asomethings in #968
New Contributors
- @asomethings made their first contribution in #934
- @garburator made their first contribution in #944
- @NiclasHaderer made their first contribution in #946
Full Changelog: v1.45.1...v1.46.0
v1.45.1
What's Changed
- Fix controller support for mixed websocket and http route handlers by @Goldziher in #930
- Improve serialization of Pydantic-types by @provinzkraut in #929
Full Changelog: v1.45.0...v1.45.1
v1.45.0
What's Changed
- Add
MessagePack
support and serialization withmsgspec
by @provinzkraut in #891 - Fix logger propagation causing duplicate messages in logging middleware by @Goldziher in #923
- Fix mounted starlette apps require paths ending with slashes by @Goldziher in #925
- Fix OpenAPI spec generation for dynamic route handlers by @Goldziher in #917
- Fix OpenAPI support for custom responses with generic types by @Goldziher in #918
- Fix rate-limiting middleware handling of mount paths by @Goldziher in #922
- Fix TestClient handling of escaped ampersands in query params by @Goldziher in #919
Full Changelog: v1.44.0...v1.45.0
v1.44.0
What's Changed
- Update
urlencoded
parsing by @Goldziher in #901 - Fix generator based dependencies with cached responses by @provinzkraut in #902
- Fix
OpenAPIController
when ASGIroot_path
is set by @smithk86 in #905 - Add a new multipart parser by @Goldziher in #901
- Add support for pagination by @Goldziher in #908
New Contributors
Full Changelog: v1.43.1...v1.44.0
v1.43.1
What's Changed
Bugfixes
- Swap
StructLoggingConfing.processor
type hint toList
by @ste-pool in #884 - Honour
documentation_only
flag for cookies by @jtraub in #887 - Fix cookie caching issues by @Goldziher in #889
- Support legacy OpenAPI file upload format by @Goldziher in #892
Documentation
- Fix template callable example and
security
ref docs by @provinzkraut in #879
New Contributors
Full Changelog: v1.43.0...v1.43.1