litestar

Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs

MIT License

Downloads
574.7K
Stars
4.5K
Committers
206

Bot releases are hidden (Show)

litestar - v1.2.5

Published by Goldziher over 2 years ago

  • fix request.body being only readable once by setting the read result into scope
litestar - v1.2.4

Published by Goldziher over 2 years ago

  • updated Starlette to version 0.19.0
litestar - v1.2.3

Published by Goldziher over 2 years ago

  • update LoggingConfig to be non-blocking @madlad33
  • fix regression in error handling, returning 404 instead of 500
litestar - v1.2.2

Published by Goldziher over 2 years ago

  • fix regression with controller multi-registration
litestar - v1.2.1

Published by Goldziher over 2 years ago

  • fix handling of empty request body @t1waz
litestar - v1.2.0

Published by Goldziher over 2 years ago

  • add run_in_thread configuration
litestar - v1.1.1

Published by Goldziher over 2 years ago

  • added OpenAPI tags support to Controller @tclasen
  • updated OpenAPI operationIds to be more humanized @tclasen
litestar - v1.1.0

Published by Goldziher over 2 years ago

  • added response caching support
litestar - v1.0.5

Published by Goldziher over 2 years ago

  • fixed typing of Partial @to-ph
litestar - v1.0.4

Published by Goldziher over 2 years ago

  • updated Request.state to be defined already in the application @ashwinvin
litestar - v1.0.3

Published by Goldziher over 2 years ago

  • added argument validation on Parameter and Body
litestar - v1.0.2

Published by Goldziher over 2 years ago

  • fixed lifecycle injection of application state into class methods
litestar - v1.0.1

Published by Goldziher over 2 years ago

  • fixed MissingDependencyException inheritance chain
  • fixed ValidationException missing as export in __init__ method
litestar - v1.0.0

Published by Goldziher over 2 years ago

  • 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
litestar - 0.7.2

Published by Goldziher over 2 years ago

  • 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
litestar - v0.7.1

Published by Goldziher over 2 years ago

  • optimization: updated handling of paths without parameters
litestar - v0.7.0

Published by Goldziher over 2 years ago

  • optimization: rewrote route resolution
  • optimization: updated query parameters parsing
  • optimization: updated request-response cycle handling
  • added @asgi route handler decorator
litestar - v0.6.0

Published by Goldziher over 2 years ago

  • 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
litestar - v0.5.0

Published by Goldziher almost 3 years ago

  • 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
litestar - v0.4.3

Published by Goldziher almost 3 years ago

  • fixed dto factory handling of forward refs
Package Rankings
Top 19.62% on Conda-forge.org
Top 2.19% on Pypi.org
Badges
Extracted from project README
Latest Release ci Documentation Building Coverage Quality Gate Status Maintainability Rating Reliability Rating Security Rating PyPI - Version Reddit Discord Matrix Medium Twitter Blog Litestar Project types - Mypy License - MIT Litestar Sponsors linting - Ruff code style - Ruff All Contributors