[0.1.0]
- initial release
[0.1.1]
- added missing exports to init
[0.1.2]
- fixed requests not being included in project dependencies
- updated pydantic to v1.9.0
[0.1.3]
- updated dependencies to use pydantic-factories v1.0.0
- added
NotFoundException
[0.1.4]
- fix: update pydantic-factories to v1.1.0, resolving compatibility issues with older versions of pydantic
- fix: include_in_schema for routes always being true
[0.1.5]
- fix: monkey patch "openapi-schema-pydantic" to change Schema.extra to Extra.ignore
[0.1.6]
- fix: monkey patch "openapi-schema-pydantic" to change Schema.Config.extra to Extra.ignore
[0.2.0]
- add support for websockets
- update multipart data handling to support mixed fields
[0.2.1]
- fix regression in handler validation
[0.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
[0.4.0]
- fix orjson compatibility @vincentsarago
- added plugin support
- added
SQLAlchemyPlugin
- added
DTOFactory
[0.4.1]
- fixed sql_alchemy requirement not being isolated to the plugin only
- add support for
before_request
andafter_request
hooks
[0.4.2]
- fixed Parameter default not being respected
[0.4.3]
- fixed dto factory handling of forward refs
[0.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_
[0.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
[0.7.0]
- optimization: rewrote route resolution
- optimization: updated query parameters parsing
- optimization: updated request-response cycle handling
- added
@asgi
route handler decorator
[0.7.1]
- optimization: updated handling of paths without parameters
[0.7.2]
- 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
[1.0.0]
- 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
tostarlite.connection
[1.0.1]
- fixed
MissingDependencyException
inheritance chain - fixed
ValidationException
missing as export in__init__
method
[1.0.2]
- fixed lifecycle injection of application state into class methods
[1.0.3]
- added argument validation on
Parameter
andBody
[1.0.4]
- updated
Request.state
to be defined already in the application @ashwinvin
[1.0.5]
- fixed typing of
Partial
@to-ph
[1.1.0]
- added response caching support
[1.1.1]
- added tags support to Controller @tclasen
- updated OpenAPI operationIds to be more humanized @tclasen
[1.2.0]
- add run_in_thread configuration