v2.11.0
版本发布时间: 2024-08-28 01:55:31
litestar-org/litestar最新发布版本:v2.11.0(2024-08-28 01:55:31)
Sponsors 🌟
Thanks to these incredible business sponsors:
- Scalar (@scalar), Telemetry Sports (via @chris-telemetry), Stok (@stok-team), Avra
A huge 'Thank you!' to all sponsors across Polar.sh, OpenCollective and GitHub Sponsors!
What's changed
New contributors 🎉
- @supercoder-dev made their first contribution in https://github.com/litestar-org/litestar/pull/3565
- @jlr295 made their first contribution in https://github.com/litestar-org/litestar/pull/3660
- @aarcex3 made their first contribution in https://github.com/litestar-org/litestar/pull/3703
- @Zimzozaur made their first contribution in https://github.com/litestar-org/litestar/pull/3661
- @stewit made their first contribution in https://github.com/litestar-org/litestar/pull/3603
- @trim21 made their first contribution in https://github.com/litestar-org/litestar/pull/3698
- @FarhanAliRaza made their first contribution in https://github.com/litestar-org/litestar/pull/3702
Bugfixes 🐛
- fix(connection): Fix creation of FormMultiDict in Request.form to properly handle multi-keys by @provinzkraut in https://github.com/litestar-org/litestar/pull/3639
- fix: Small docs update. by @Zimzozaur in https://github.com/litestar-org/litestar/pull/3661
- fix(DTO): Inconsistent use of strict mode by @provinzkraut in https://github.com/litestar-org/litestar/pull/3685
- fix(prometheus): use path template for prometheus metrics by @evstratbg in https://github.com/litestar-org/litestar/pull/3687
- fix: OpenTelemetry doesn't capture exceptions in the outermost application layer by @provinzkraut in https://github.com/litestar-org/litestar/pull/3689
- fix: updated sqlalchemy samples & unpin
advanced-alchemy
by @cofin in https://github.com/litestar-org/litestar/pull/3693 - fix(#3554): correct
module_to_os_path
to return directory paths by @supercoder-dev in https://github.com/litestar-org/litestar/pull/3565 - fix: csrf middleware excluding router by @trim21 in https://github.com/litestar-org/litestar/pull/3698
- fix: inconsistent behavior between
signature_namespace
andsignature_types
by @cofin in https://github.com/litestar-org/litestar/pull/3696 - fix(JWT): Response with 401 on token payload validation by @provinzkraut in https://github.com/litestar-org/litestar/pull/3705
New features 🚀
- feat: switched abandonded python-jose to pyjwt by @nielsvanhooy in https://github.com/litestar-org/litestar/pull/3684
- feat(DTO): introduce
forbid_unknown_fields
config by @provinzkraut in https://github.com/litestar-org/litestar/pull/3690 - feat(JWT): Custom JWT payload classes by @provinzkraut in https://github.com/litestar-org/litestar/pull/3692
- feat(DTO): Support
extra="forbid"
model config forPydanticDTO
by @provinzkraut in https://github.com/litestar-org/litestar/pull/3691 - feat(middleware): Warn about greedy exclude patterns by @provinzkraut in https://github.com/litestar-org/litestar/pull/3700
- feat: problem details plugin by @peterschutt in https://github.com/litestar-org/litestar/pull/3323
- feat(JWT): Customised token verification by @provinzkraut in https://github.com/litestar-org/litestar/pull/3695
Other changes
- docs: fixed bad links in
flask
migration guide by @jlr295 in https://github.com/litestar-org/litestar/pull/3660 - docs: Fix misplaced comment in dependency-injection.rst for better clarity by @Zimzozaur in https://github.com/litestar-org/litestar/pull/3671
- docs: Added Posting tool as an alternative to Postman in 06-receiving-data.rst by @Zimzozaur in https://github.com/litestar-org/litestar/pull/3670
- docs: Document custom types by @stewit in https://github.com/litestar-org/litestar/pull/3603
- docs: stale reference to pydantic signature models by @cofin in https://github.com/litestar-org/litestar/pull/3697
- docs: Fixing spelling in request.rst by @aarcex3 in https://github.com/litestar-org/litestar/pull/3703
- docs: fixed incorrect docs for default status code for http handler by @FarhanAliRaza in https://github.com/litestar-org/litestar/pull/3702
Full Changelog https://github.com/litestar-org/litestar/compare/v2.10.0...v2.11.0