Starlite

Latest version: v1.51.16

Safety actively analyzes 638466 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 29 of 32

1.0.0

Not secure
- 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

Not secure
- 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

0.7.1

Not secure
- optimization: updated handling of paths without parameters

0.7.0

Not secure
- optimization: rewrote route resolution
- optimization: updated query parameters parsing
- optimization: updated request-response cycle handling
- added `asgi` route handler decorator

0.6.0

Not secure
- 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

0.5.0

Not secure
- 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

Page 29 of 32

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.