Sponsors 🌟
Thanks to these incredible business sponsors:
And a huge 'Thank you!' to all sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's changed
New contributors 🎉
- @vvanglro made their first contribution in #3849
- @wallseat made their first contribution in #3807
- @mohammedbabelly20 made their first contribution in #3784
- @cemrehancavdar made their first contribution in #3845
- @eliasfandi made their first contribution in #3768
- @RenameMe1 made their first contribution in #3857
- @olzhasar made their first contribution in #3765
- @findstar made their first contribution in #3751
- @pogopaule made their first contribution in #3776
- @charles-dyfis-net made their first contribution in #3767
Bugfixes 🐛
- fix: sign bug in rate limit middelware by @pogopaule in #3776
- fix: map JSONSchema spec naming convention to snake_case when names from schema_extra are not found (#3766) by @charles-dyfis-net in #3767
- fix: typo in a deprecation warning in
contrib/sqlalchemy/plugins/serialization.py
by @sobolevn in #3809 - fix(prometheus): fix path template for routes without path parameters by @mohammedbabelly20 in #3784
- fix: LifespanHandler memory stream cleanup by @provinzkraut in #3836
- fix: set correct path_template value for trie node (#3806) by @wallseat in #3807
- fix: Safe Handling of "more_body" in ASGI Responses by @cemrehancavdar in #3845
- fix: Duplicate
RateLimit-*
headers with caching by @mohammedbabelly20 in #3855
New features 🚀
- feat: OpenAPI plugins send CSRF request header by @floxay in #3754
- feat: deprecate
litestar.contrib.sqlalchemy
by @cofin in #3755 - feat: implement
HTMX
plugin usinglitestar-htmx
by @cofin in #3837 - feat(Pydantic): honor hide_input_in_errors in throwing validation exceptions by @charles-dyfis-net in #3843
- feat: deprecate
litestar.contrib.pydantic
by @cofin in #3852
Documentation
- docs: update copyright notice year to 2024 by @findstar in #3751
- docs(readme): Remove reference to
litestar-pg-redis-docker
by @Alc-Alc in #3779 - docs: Fix python code highlight in many examples by @sobolevn in #3788
- docs: fix a typo in
requests
usage docs by @sobolevn in #3794 - docs: fix typos in
sqlalchemy
examples by @sobolevn in #3798 - docs: fix typos in
sqlalchemy/models_and_repository.rst
by @sobolevn in #3797 - docs: fix missing import in
cache
usage by @sobolevn in #3795 - docs: make sure that
channels
usefinally
in all examples by @sobolevn in #3796 - docs: change the
ExperimentalFeatures.DTO_CODEGEN
description by @sobolevn in #3802 - docs: change
sync-to-thread-info.rst
wording aboutsync_to_thread
by @sobolevn in #3799 - docs: add missing rename strategy to
dto
docs by @sobolevn in #3805 - docs: fix highlighted lines in DTO usage by @sobolevn in #3808
- docs: fix "DTO Factory and PATCH requests" section by @sobolevn in #3819
- docs: fix
DTO Data
section with a new example by @sobolevn in #3813 - docs: fix highlight of code example in "Providing values for nested data" by @sobolevn in #3815
- docs: rewrite htmx guide by @sobolevn in #3825
- docs: refactor "Hooks" usage documentation by @sobolevn in #3826
- docs: fix API reference for
asgi_types
scopes by @sobolevn in #3831 - docs: rewrite "Builtin middleware" usage by @sobolevn in #3830
- docs: refactor "Custom Middleware" guide by @sobolevn in #3833
- docs: refactor exception usage by @sobolevn in #3823
- docs: remove references to
python-jose
by @cofin in #3847 - docs: Changing incorrect indentation in the code example "creating-middleware#inheriting-abstractmiddleware" by @RenameMe1 in #3857
- docs: improve
openapi/index.rst
page by @sobolevn in #3856 - docs: fix the description of when to use the synchronous function by @vvanglro in #3849
- docs: Added debug=True in Testing to display exception stack trace by @RenameMe1 in #3860
Full Changelog
v2.12.1...v2.13.0