Summary
We are pleased to publish our first release of 2025!
Since our last release in November, everyone's been busy. In that short time, we've managed to squeeze in a huge amount of fixes, features, and (most, importantly) Python 3.13 support. Thank you to everyone in the community who contributed to this.
As we move towards 3.0, you'll see a few deprecations being added to packages. Please don't hesitate to join our discord to discuss any deprecation specifics or any other change you'd like to see in 3.0
Sponsors 🌟
- A huge 'Thank you!' to all sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's changed
New contributors 🎉
- @ftsartek made their first contribution in #3892
- @adhtruong made their first contribution in #3880
- @wallseat made their first contribution in #3525
- @250MHz made their first contribution in #3920
- @vikigenius made their first contribution in #3876
Bugfixes 🐛
- fix: remove optional group for
litestar-htmx
by @cofin in #3870 - fix(pydantic): Add moved URL types to type map by @provinzkraut in #3874
- fix: patching of otel middleware to work with subclasses by @vikigenius in #3876
- fix(ci): Pin PDM version for 3.8 by @Alc-Alc in #3878
- fix: update Makefile by @adhtruong in #3880
- fix(devcontainers): Replace PDM with UV by @Alc-Alc in #3879
- fix: resource warnings by @gsakkis in #3838
- fix: Enum OAS generation (#3518) by @wallseat in #3525
- fix: typo in exception message for ImproperlyConfiguredException by @Zimzozaur in #3885
- fix(file response): Support varying
mtime
semantics across different fsspec implementations by @provinzkraut in #3902 - fix(OpenAPI): Query-only properties included in path, cookie and header parameter schema and response headers (#3908) by @provinzkraut in #3909
- fix(sqlalchemy): updates to documentation based on upstream changes by @cofin in #3917
- fix(picologging): better handle unsupported environments by @cofin in #3918
- fix(channels): use
SQL
function forpsycopg
by @cofin in #3916 - fix(compression middleware): Fix resource handling by @provinzkraut in #3927
- fix(ci): only install dev tools in ubuntu by @cofin in #3931
New features 🚀
- feat: move
litestar.contrib.prometheus
tolitestar.plugins.prometheus
by @cofin in #3863 - feat: move
litestar.contrib.attrs
tolitestar.plugins.attrs
by @cofin in #3862 - feat: add
future
flag toexperimental_features
by @cofin in #3864 - feat(core): Streaming multipart parser by @provinzkraut in #3872
- feat: upgrade minimum
litestar-htmx
version by @cofin in #3884 - feat: WebSocket send stream by @provinzkraut in #3894
- feat: add query params to redirect response by @marcuslimdw in #3901
- feat: add Valkey as a native store by @ftsartek in #3892
- feat: use "path" as an error message source by @250MHz in #3920
- feat: added subprocess test client by @aranvir in #3655
- feat: add support for Python 3.13 by @cofin in #3850
- feat(ci): implement
psycopg
client installation for macos and windows by @cofin in #3932
Other changes
- docs: fix advanced alchemy references by @cofin in #3881
- docs: remove deprecated sponsor STOK by @cbscsm in #3915
- docs: mention
id
field in1-abstract-dto.rst
by @sobolevn in #3803
Full Changelog
v2.13.0...v2.14.0