Releases: litestar-org/litestar
Releases · litestar-org/litestar
v2.0.0alpha1
Note
2.0.0alpha1
is the first release of Starlite 2.0. This is a pre-release and in the alpha stage. Interfaces have not yet stabilized an public APIs will likely still change before the final release of v2.0.0
.
What's Changed
New features
- Validation of controller route handler methods by @Goldziher in #1144
- HTMX support by @jenish2014 in #1086
- Add
Starlite.from_config
alternative constructor by @wassafshahzad in #1190 - Add
WEB_CONCURRENCY
/HTTP Workers to CLI by @cofin in #1218 - Check the type annotation of the
state
reserved kwarg by @peterschutt in #1264 - Support generic application state by @Goldziher in #1030
- Support dependency injection of classes @Goldziher in #1143
- Add event listeners / emitters by @Goldziher in #1105
- [Breaking] Unified storage interfaces by @provinzkraut in #1184
Changes
Non breaking
- Relaxed type annotations by @peterschutt in #1140
- Support type encoders in
AbstractSecurityConfig
by @Goldziher in #1167 - Update handling of operationID and generation of values from handler callable names by @Goldziher in #1174
Breaking
- Rename handler modules to disambiguate from decorator names. by @peterschutt in #1170
- Refactor plugin protocol by @Goldziher in #1176
- Unify response headers / cookies by @provinzkraut in #1209
- Improve application startup time by cleaning imports by @Goldziher in #1215
- Replace Pydantic models with dataclasses by @Goldziher in #1242
- Move SQLAlchemy 1 plugin into
contrib
by @peterschutt in #1252 - Cleanup
starlite/utils
by @provinzkraut in #1261 - Cleanup the
starlite
namespace by @provinzkraut in #1135
Internal
- Use
__future__.annotations
by @peterschutt in #1203, @peterschutt in #1204, @Goldziher in #1216, @Goldziher #1215 - Update
Starlite.openapi_schema
to use lazy evaluation on first access by @Goldziher in #1217 - Refactor
starlite.handlers.http_handlers
. by @peterschutt in #1244
Bugfixes
- Fix
LoggingMiddlewareConfig
log fields #1139 by @chris-telemetry in #1151 - Adhere to ASGI spec when parsing headers by using a list instead of tuple by @knowsuchagency in #1187
- Fix static path validation for
'/'
by @Goldziher in #1207 - Fix JWT Auth handling of
domain
configuration value by @cofin in #1223 - Fix #1228: create a new dictionary of values in obfuscate() by @smithk86 in #1231
- Fix optional parameter OpenAPI schema generation by @nilsso in #1225
- Fix CLI
--reload
flag not working as expected by @provinzkraut in #1255 - Fix path resolution for static files by @Goldziher in #1257
Documentation
- Documentation Link Fixes by @JacobCoffee in #1146
- Fix warnings and broken links. by @peterschutt in #1171
- Docs restructuring by @provinzkraut in #1189
- Fix typo in cli.rst by @Alc-Alc in #1195
- Update sidebar css by @ekeric13 in #1198
- Fix AsyncTestClient examples by @odiseo0 in #1112
- Fix a typo in the "Migration from FastAPI" section by @ReznikovRoman in #1220
- Update versioning and release documentation by @provinzkraut in #1232
New Contributors
- @jenish2014 made their first contribution in #1086
- @chris-telemetry made their first contribution in #1151
- @knowsuchagency made their first contribution in #1187
- @ekeric13 made their first contribution in #1198
- @wassafshahzad made their first contribution in #1190
- @nilsso made their first contribution in #1225
- @sinisaos made their first contribution in #1236
Full Changelog: v1.51.0...v2.0.0alpha1
v1.51.6
v1.51.5
v1.51.4
What's Changed
- support passing type encoders to
AbstractSecurityConfig
(989a2fc)
Full Changelog: v1.51.3...v1.51.4
v1.51.3
What's Changed
Bugfixes
- Fix static path validation for
/
by @Goldziher in #1207
Full Changelog: v1.51.2...v1.51.3
v1.51.2
What's Changed
- Fix for security advisory GHSA-p24m-863f-fm6q (9674fe8)
Full Changelog: v1.51.1...v1.51.2
v1.51.1
What's Changed
Bugfixes
- Fix critical bug in parsing headers @knowsuchagency in #1187
Full Changelog: v1.51.0...v1.51.1
v1.51.0
Note: This is the last regular release of the 1.x
branch. The next feature release will be 2.0
. The 1.51
branch will enter maintenance mode and receive security updates and bugfixes of high severity until the next major release.
What's Changed
Bugfixes
- Fix #1106: Optional sequence query param by @peterschutt in #1108
- Fix #1137: Memory leak in logging middleware by @Goldziher in #1138
- Add missing CORS headers on exception responses by @Goldziher in #1141
New features
- Configure logger and force "DEBUG" level in debug mode by @provinzkraut in #1119
- Allow on-app-init hooks to modify initial state. by @peterschutt in #1122
- Add exception logging in debug mode by @JacobCoffee in #976
Docs
- Update contribution guidelines, add "Starlite versions" by @provinzkraut in #1131
Full Changelog: v1.50.2...v1.51.0
v1.50.2
What's Changed
Bugfixes
- Return valid OAuth2 response body by default by @cofin in #1097
- Correctly handle async-callable classes as dependencies by @infohash in #1101
- Fix
type_encoders
pickle bug when using response caching
Documentation
- Fix docstring style and references by @provinzkraut in #1084
- Fix example endpoint function in FastAPI migration guide by @JacobCoffee in #1090
- Add version warning for outdated / development versions. by @provinzkraut in #1102
Internal changes
- Refactor signature by @Goldziher in #1077
- Remove tox by @JacobCoffee in #1089
Full Changelog: v1.50.1...v1.50.2