Skip to content

Releases: litestar-org/litestar

v2.5.2

27 Jan 18:47
129a119
Compare
Choose a tag to compare

❤️ Sponsors ❤️

GitHub Sponsors: Scalar, Telemetry Sports (via @chris-telemetry), Stok (@stok-team), @benjamin-kirkbride, @crisog, @geeshta, @cbscsm
OpenCollective: Christian Y, Anonymous

What's changed

Bugfixes

Other changes

Documentation

  • Fix incorrect argument name in OpenApi ResponseSpec example by @korneevm in #3017
  • Fix reference and indentation for AbstractAuthenticationMiddleware usage docs by @mj0nez in #2986

New contributors

Full Changelog
v2.5.1...v2.5.2

v2.5.1

18 Jan 19:21
f31b0d7
Compare
Choose a tag to compare

❤️ Sponsors ❤️

GitHub Sponsors: Scalar, Telemetry Sports (via @chris-telemetry), Stok (@stok-team), @benjamin-kirkbride, @crisog, @geeshta, @cbscsm
OpenCollective: Christian Y, Anonymous

What's changed

🎉 New contributors 🎉

Bugfixes 🐛

  • Fix OpenAPI schema generation for Union of multiple msgspec.Structs and None by @provinzkraut in #2982
  • Fix misleading error message for missing dependencies provide by a package extra @horo-fox in #2921
  • Fix OpenAPI file upload schema by @guacs in #2745

Docs 📚

  • docs: fix code block in docstring by @wer153 in #2965
  • docs: fix typo for dto-tutorial/01-simple-dto-exclude by @jrycw in #2959

Full Changelog
v2.5.0...v2.5.1

v2.5.0

06 Jan 11:44
804f015
Compare
Choose a tag to compare

❤️ Sponsors ❤️

GitHub Sponsors: Scalar, Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous

What's Changed

Bugfixes

  • Fix #2867: Fix serialization of custom types in exception responses by @provinzkraut in #2941
  • Fix #2877: SSE reverts to default event_type after 1st message sentby @euri10 in #2888
  • Fix #2939: Correctly handle single file upload validation when multiple files are specified by @guacs in #2950
  • Fix trailing messages after unsubscribes in channels by @provinzkraut in #2894

New features

Other changes

New Contributors

Full Changelog: v2.4.5...v2.5.0

v2.4.5

23 Dec 14:54
e8a65e4
Compare
Choose a tag to compare

❤️ Sponsors ❤️

GitHub Sponsors: Scalar, Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous

What's Changed

Bugfixes

  • Fix validation of empty payload data with default values by @peterschutt in #2903
  • Support for returning Response[None] with a 204 status code from a handler by @peterschutt in #2915
  • Fix error message of get_logger_placeholder() by @cbscsm in #2919

New Contributors

Full Changelog: v2.4.4...v2.4.5

v2.4.4

13 Dec 19:28
ad18b7a
Compare
Choose a tag to compare

❤️ Sponsors ❤️

GitHub Sponsors: Scalar, Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous

🎉 New Contributors 🎉

What's Changed

Bugfixes 🐛

  • DTOs: Support non-valid identifiers as serialization names by @peterschutt in #2850
  • DTOs: Fix regression signature validation for DTO validated types by @peterschutt in #2854
  • OpenAPI: Fix regression in components schema key names by @peterschutt in #2841
  • OpenAPI: Fix regression in handling of routes with multiple handlers by @guacs in #2864
  • OpenAPI: Fix schema generation for nested models by @peterschutt in #2869

Documentation updates 📚

  • Name the static files handler by @guacs in #2871
  • Ensure csrf_input doesn't get escaped by @guacs in #2872
  • Sponsors update by @JacobCoffee in #2865
  • Fix headers type annotations in docs by @elliotwaite in #2882
  • Fix run_in_background usage in channels documentation by @euri10 in #288

Full Changelog: v2.4.3...v2.4.4

v2.4.3

07 Dec 17:12
3bf701c
Compare
Choose a tag to compare

❤️ Sponsors ❤️

GitHub Sponsors: Scalar, Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous

🎉 New Contributors 🎉

What's Changed

Fixes 🔧

  • Fix OpenAPI schema for Literal | None unions (#2812) by @hzhou0 in #2818
  • Fix advanced-alchemy 0.6.0 compatibility issue with touch_updated_timestamp by @cofin in #2843

Full Changelog: v2.4.2...v2.4.3

v2.4.2

02 Dec 12:09
d26ee09
Compare
Choose a tag to compare

❤️ Sponsors ❤️

GitHub Sponsors: Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous

What's Changed

New Contributors

Full Changelog: v2.4.1...v2.4.2

v2.4.1

28 Nov 10:45
b54f2f3
Compare
Choose a tag to compare

❤️ Sponsors ❤️

GitHub Sponsors: Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous

Bugfixes 🐛

  • Fix circular import when importing from litestar.security.jwt by @peterschutt in #2784
  • Raise config error when generator dependencies are cached by @peterschutt in #2780

Full Changelog: v2.4.0...v2.4.1

v2.4.0

27 Nov 19:19
cbc60d2
Compare
Choose a tag to compare

❤️ Sponsors ❤️

GitHub Sponsors: Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous

What's Changed

🎉 New Contributors 🎉

Bugfixes 🐛

  • Fix HTTPException handling during concurrent dependency resolving by @smithk86 in #2596
  • Fix CLI plugin commands not showing up in command list by @peterschutt in #2441
  • Fix OpenAPI examples format by @guacs in #2660
  • Fix OpenAPI schemas incorrectly flagged as duplicates by @chris-telemetry in #2475
  • Fix OpenAPI schema generation partially broken since litestar version 2.3.0 by @Alc-Alc in #2648
  • Fix Pydantic URL type support in OpenAPI and serialization by @provinzkraut in #2701
  • Fix incorrect ValidationException message when multiple errors were encountered by @peterschutt in #2716
  • Fix missing write-only mark in dto_field() signature by @floxay in #2684
  • Fix DTO renaming renames all fields of the same name in nested DTOs by @provinzkraut in #2764
  • Fix handling of DTO objects nested in mappings by @peterschutt in #2775
  • Fix inconsistent sequence union parameter errors by @peterschutt in #2776
  • Fix Unexpected ASGI message 'websocket.close', after sending 'websocket.close' in channels WebSocket handlers by @peterschutt in #2691

Features 🔧

Other Changes

  • Expose advanced-alchemy at litestar.plugins.sqlalchemy by @cofin in #2654
  • Move contrib.jwt to security.jwt by @cofin in #2646
  • Correctly raise WebSocketDisconnect in WebSocket.receive() by @peterschutt in #2690

Full Changelog: v2.3.2...v2.4.0

v2.3.2

06 Nov 19:50
b0dd1ee
Compare
Choose a tag to compare

❤️ Sponsors ❤️

GitHub Sponsors: Telemetry Sports (via @chris-telemetry) @benjamin-kirkbride @crisog @geeshta
OpenCollective: Christian Y, Anonymous

What's Changed

New Contributors

Full Changelog: v2.3.1...v2.3.2