Skip to content

Releases: litestar-org/litestar

v2.5.0

Choose a tag to compare

@provinzkraut provinzkraut released this 06 Jan 11:44
804f015

❤️ 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

Choose a tag to compare

@provinzkraut provinzkraut released this 23 Dec 14:54
e8a65e4

❤️ 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

  • @ashm-tech made their first contribution in #2918
  • @wer153 made their first contribution in #2920
  • @cbscsm made their first contribution in #2919

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

v2.4.4

Choose a tag to compare

@provinzkraut provinzkraut released this 13 Dec 19:28
ad18b7a

❤️ 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

Choose a tag to compare

@provinzkraut provinzkraut released this 07 Dec 17:12
3bf701c

❤️ 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

Choose a tag to compare

@provinzkraut provinzkraut released this 02 Dec 12:09
d26ee09

❤️ 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

Choose a tag to compare

@vkcku vkcku released this 28 Nov 10:45
b54f2f3

❤️ 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

Choose a tag to compare

@provinzkraut provinzkraut released this 27 Nov 19:19
cbc60d2

❤️ 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

Choose a tag to compare

@provinzkraut provinzkraut released this 06 Nov 19:50
b0dd1ee

❤️ 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

v2.3.1

Choose a tag to compare

@provinzkraut provinzkraut released this 04 Nov 11:07
580b76c

❤️ Sponsors ❤️

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

What's Changed

  • fix(CLI): #2613 - SSL certificate feature breaks default no-tls setups when using reload or multiple workers by @provinzkraut in #2616

Full Changelog: v2.3.0...v2.3.1

v2.3.0

Choose a tag to compare

@provinzkraut provinzkraut released this 02 Nov 20:26
0bd5feb

❤️ Sponsors ❤️

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

What's Changed

Bugfixes 🐛

  • Use the custom request class if available when handling exceptions by @guacs in #2444
  • Support generic types for OpenAPI schema generation by @guacs in #2463
  • Fix rendering of openapi parameter examples by @peterschutt in #2509
  • Fix UTF-8 handling for structlog request logging by @brakhane in #2530
  • Fix ExceptionHandler typing by @peterschutt in #2533
  • Fix variable length tuples in OpenaAPI by @peterschutt in #2552
  • Fix channels performance issue with polling without subscriptions by @provinzkraut in #2547
  • Fix missing missing oauth2 callback in swagger by @heralight in #2524
  • Fix CLI schema export with non-serializable types by @peterschutt in #2581
  • Fix OpenAPI schema generation for Literal and Enum unions with None by @peterschutt in #2550
  • Fix cache overrides when using same route with different handlers by @Alc-Alc in #2592

New features 🔧

New Contributors 🎉

Full Changelog: v2.2.1...v2.3.0