github litestar-org/litestar v2.4.0

latest releases: v2.11.0, v2.10.0, v2.9.1...
9 months ago

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

Don't miss a new litestar release

NewReleases is sending notifications on new releases.