Releases: litestar-org/litestar
Releases · litestar-org/litestar
v1.43.0
What's Changed
New features
- Add security module and JWT auth contrib by @Goldziher in #864. Read more about it here
Changes
- Deprecate
delete_all
of memcached session backend by @provinzkraut in #874
Documentation
- Cleanup of some examples in the docs by @provinzkraut in #798
- Change navigation layout and intro sites by @provinzkraut in #873
Full Changelog: v1.42.0...v1.43.0
v1.42.0
What's Changed
New Features
- Support different types of path parameters for different leaf nodes by @Goldziher in #853
- Dependencies with
yield
by @provinzkraut in #856 - Update custom state injection and add
ImmutableState
class by @Goldziher in #845
Bugfixes
- Fix #854 - Incorrect path resolution of 'path' type parameters by @Goldziher in #857
- Fix #849 - Make LoggingMiddleware handle request bodies correctly by @provinzkraut in #860
Internal changes
- Rework dependencies (#815) by @ottermata in #815
Full Changelog: v1.41.0...v1.42.0
v1.41.0
What's Changed
- Fix #840 - Always commit changes properly after deleting session data by @provinzkraut in #843
- Fix #841 - Change
middleware.session.sqlalchemy_backend.SessionModelMixin.data
to LargeBinary. by @provinzkraut in #842 - Peformance Updates by @Goldziher in #833
Full Changelog: v1.40.1...v1.41.0
v1.40.1
What's Changed
- Fix headers parsing by @peterschutt in #832
- Fix typo in opentelemetry extra by @ottermata in #835
- fix: parsing of sequence query for nested dependency. by @peterschutt in #838
Full Changelog: v1.40.0...v1.40.1
v1.40.0
- Add: forward refs resolution to signature models. by @peterschutt in #806
- Add: OpenTelemetry instrumentation contrib package by @Goldziher in #796
- Breaking: remove per request caching of dependencies by @Goldziher in #805
- Breaking: remove
QueryMultiDict
and replace with simpleMultiDict
by @Goldziher in #805 - Breaking: replace
Response.encoded_headers
withResponse.encode_headers
by @Goldziher in #805 - docs: add LonelyVikingMichael as a contributor for doc by @allcontributors in #812
- Docs: add srikanthccv as a contributor for test, and doc by @allcontributors in #801
- Docs: add sssssss340 as a contributor for bug by @allcontributors in #817
- Docs: logging example by @LonelyVikingMichael in #810
- Docs: update mounting docs and readme by @jtraub in #807
- Fix: 404 where current trie node has handlers and child route has path param by @peterschutt in #818
- Fix: flaky SQLA-session-backend tests by @provinzkraut in #797
- refactor
AllowedHosts
andCompressionMiddleware
by moving them application to handler level by @jtraub in #804 - Update:
request_factory.{_default_route_handler,default_app}
to use deferred bootstrap by @peterschutt in #828 - Update: handling of compressed "body" in logging middleware. by @peterschutt in #822
- Update: OpenAPI schema generation to hide automatically created OPTIONS routes by @ottermata in #826
- Update: refactor routing logic and parameter parsing to improve performance by @Goldziher in #805
New Contributors
- @LonelyVikingMichael made their first contribution in #810
Full Changelog: v1.39.0...v1.40.0
v1.39.0
What's Changed
- add
CORS
middleware and support forOPTIONS
requests by @Goldziher in #792 - add
send_as_attachment
flag toStaticFilesConfig
by @provinzkraut in #785 - add starlette
URL
,URLPath
andAddress
datastructures by @provinzkraut in #738 - fix
filename
parameter forFileResponse
inStaticFiles
by @peterschutt in #775 - fix handling of leading whitespaces
OpenAPI
generation of description from docstrings by @jtraub in #771 - refactor builtin middlewares to use
AbstractMiddleware
by @jtraub in #778 - update docstrings using
pydocstyle
by @provinzkraut in #777 - updatecontent-disposition to
inline
whenhtml_mode
is set onStaticFilesConfig
by @provinzkraut in #784
Important
Full Changelog: v1.38.0...v1.39.0
v1.38.0
What's Changed
- Fix links in docs, and small fixes. by @peterschutt in #757
- Add 'AllowedHostsMiddleware' by @Goldziher in #758
- Replace ServerErrorMiddleware with own exception printer by @jtraub in #696
- Ensures
path_params
key always exists in scope. by @peterschutt in #760 - Include
file_system
inStaticFiles
docs by @cofin in #763 - Fix resolving starlette responses by @Goldziher in #766
- Add
QueryMultiDict
by @Goldziher in #759 - Add
*args
override toLogger
protocol by @cofin in #761
Full Changelog: v1.37.0...v1.38.0
v1.37.0
What's Changed
- add local implementation
StaticFiles
to replace Starlette and extend support tofsspec
by @Goldziher in #739 - add 'gzip' compression by @Goldziher in #751
- remove Starlette
Middleware
type from typing by @Goldziher in #752 - add
head
decorator by @Goldziher in #755
Full Changelog: v1.36.0...v1.37.0
v1.36.0
What's Changed
- Add layer for opt dictionary by @jtraub in #720
- Replace starlettes
Headers
andMutableHeaders
, moveFormMultiDict
tomultidict
by @provinzkraut in #732 - Add
AbstractMiddleware
class. by @Goldziher in #729 - Removes "method" from
ResponseExtractorField
. by @peterschutt in #741 - Added per request caching of dependencies by @ottermata in #743
- Resolve dependencies concurrently by @ottermata in #744
- Fix asgi/websocket handlers when future.annotations is used by @smithk86 in #748
New Contributors
- @ottermata made their first contribution in #743
- @smithk86 made their first contribution in #748
Full Changelog: v1.35.1...v1.36.0
v1.35.1
What's Changed
- Fix hard dependency on
cryptography
package intesting.test_client.client
by @provinzkraut in #711 - Fix invalid
base_url
ofTestClient
(fixes #706) by @provinzkraut in #708
Full Changelog: v1.35.0...v1.35.1