Skip to content

Releases: litestar-org/litestar

v1.0.4

05 Feb 08:41
Compare
Choose a tag to compare
  • updated Request.state to be defined already in the application @ashwinvin

v1.0.3

04 Feb 21:13
Compare
Choose a tag to compare
  • added argument validation on Parameter and Body

v1.0.2

02 Feb 20:38
Compare
Choose a tag to compare
  • fixed lifecycle injection of application state into class methods

v1.0.1

30 Jan 22:47
7a83a1b
Compare
Choose a tag to compare
  • fixed MissingDependencyException inheritance chain
  • fixed ValidationException missing as export in __init__ method

v1.0.0

29 Jan 14:17
f9893f2
Compare
Choose a tag to compare
  • optimization: rewrote the kwarg parsing and data injection logic to compute required kwargs for each route handler
    during application bootstrap
  • added template support @ashwinvin
  • changed the redoc UI path from /schema/redoc to /schema @yudjinn
  • renamed starlite.request to starlite.connection

0.7.2

27 Jan 08:35
897e451
Compare
Choose a tag to compare
  • add missing support for starlette background tasks
  • fixed function signature modelling ignoring non-annotated fields
  • fixed error with static files not working with root route
  • fixed headers being case-sensitive
  • minor code refactors

v0.7.1

24 Jan 06:19
Compare
Choose a tag to compare
  • optimization: updated handling of paths without parameters

v0.7.0

23 Jan 16:55
107f9b4
Compare
Choose a tag to compare
  • optimization: rewrote route resolution
  • optimization: updated query parameters parsing
  • optimization: updated request-response cycle handling
  • added @asgi route handler decorator

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