Skip to content

Releases: litestar-org/litestar

v0.6.0

21 Jan 16:41
f980c37
Compare
Choose a tag to compare
  • 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 - added from_dict methods
  • updated SQLAlchemyPlugin:
    1. added from_dict method
    2. all back-references are now typed as Any
    3. all relationships are now typed as Optional
  • updated DTOFactory:
    1. supports generics
    2. added to_model_instance and from_model_instance methods
    3. added field_definitions kwarg, allowing for creating custom fields

v0.5.0

19 Jan 11:52
Compare
Choose a tag to compare
  • 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 and after_request hooks

v0.4.3

18 Jan 16:17
Compare
Choose a tag to compare
  • fixed dto factory handling of forward refs

v0.4.2

18 Jan 09:51
Compare
Choose a tag to compare
  • fixed Parameter default not being respected

v0.4.1

17 Jan 09:53
Compare
Choose a tag to compare
  • fixed: sql_alchemy requirement not being isolated to the plugin only

v0.4.0

16 Jan 18:04
d4ab4c5
Compare
Choose a tag to compare
  • fix orjson compatibility @vincentsarago
  • added plugin support
  • added SQLAlchemyPlugin
  • added DTOFactory

v0.3.0

11 Jan 18:00
e37c353
Compare
Choose a tag to compare
  • updated openapi configuration:
  1. OpenAPI schema generation is now enabled by default
  2. The OpenAPIController is now part of the OpenAPIConfig
  3. The default schema download path changed from /schema to /schema/openapi.json
  4. Added a /schema/openapi.yaml route to the OpenAPIController

v0.2.1

08 Jan 20:44
Compare
Choose a tag to compare
  • fix regression in handler validation

v0.2.0

08 Jan 18:17
1323c36
Compare
Choose a tag to compare
  • add support for websockets
  • update multipart data handling to support mixed fields

v0.1.6

07 Jan 20:13
Compare
Choose a tag to compare
  • fix: monkey patch "openapi-schema-pydantic" to change Schema.Config.extra to Extra.ignore