Releases: litestar-org/litestar
Releases · litestar-org/litestar
v0.6.0
- added support for multiple paths per route handler
- added support for static files
- updated lifecycle support to allow for application state injection
- updated route handlers and dependencies to allow for application state injection
- updated dependency injection to allow for dependency injection into dependencies
- updated
PluginProtocol
- addedfrom_dict
methods - updated
SQLAlchemyPlugin
:- added
from_dict
method - all back-references are now typed as
Any
- all relationships are now typed as
Optional
- added
- updated
DTOFactory
:- supports generics
- added
to_model_instance
andfrom_model_instance
methods - added
field_definitions
kwarg, allowing for creating custom fields
v0.5.0
- updated base path handling in controllers @vincentsarago
- changed RouteHandlers from being pydantic models to being custom classes, allowing for optimization using
_slots_
- changed BaseRoute to not inherit from Starlette, allowing for optimization using
_slots_
- add support for
before_request
andafter_request
hooks
v0.4.3
v0.4.2
v0.4.1
v0.4.0
- fix orjson compatibility @vincentsarago
- added plugin support
- added
SQLAlchemyPlugin
- added
DTOFactory
v0.3.0
- updated openapi configuration:
- OpenAPI schema generation is now enabled by default
- The
OpenAPIController
is now part of theOpenAPIConfig
- The default schema download path changed from
/schema
to/schema/openapi.json
- Added a
/schema/openapi.yaml
route to theOpenAPIController