Skip to content

Releases: litestar-org/litestar

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

v2.3.1

04 Nov 11:07
580b76c
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

  • 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

02 Nov 20:26
0bd5feb
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

Bugfixes 🐛

New features 🔧

New Contributors 🎉

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

v2.2.1

13 Oct 00:57
b662f02
Compare
Choose a tag to compare

💰 Sponsors 💰

GitHub Sponsors: @benjamin-kirkbride @crisog
OpenCollective: Christian Y, Anonymous

What's Changed

Deprecations ⚠️

Warning

Adds a warning starting in v2.2.1, to be removed in v3.0.0

Fixes 🔧

Full Changelog: v2.2.0...v2.2.1

v2.2.0

12 Oct 09:18
a7fe0f3
Compare
Choose a tag to compare

💰 Sponsors 💰

GitHub Sponsors: @benjamin-kirkbride @crisog
OpenCollective: Christian Y, Anonymous

What's Changed

Bugfixes

New features

Other changes

Documentation

New Contributors

Full Changelog: v2.1.1...v2.2.0

v2.1.1

25 Sep 17:56
0ecb160
Compare
Choose a tag to compare

💰 Sponsors 💰

GitHub Sponsors: @benjamin-kirkbride @crisog
OpenCollective: Christian Y, GitHub Sponsors, Shubham Prajapati, Snyk

What's Changed

Bugfixes

Full Changelog: v2.1.0...v2.1.1

v2.1.0

24 Sep 23:03
f1d4a23
Compare
Choose a tag to compare

💰 Sponsors 💰

GitHub Sponsors: @benjamin-kirkbride @crisog
OpenCollective: Christian Y, GitHub Sponsors, Shubham Prajapati, Snyk

🎉 New Contributors 🎉

What's Changed

➕ Features

  • feat: make 302 the default status_code for redirect responses by @cofin
    in #2189
  • feat(layered-include_in_schema): Add include_in_schema option for all layers by @Alc-Alc
    in #2295
  • feat(deprecation): Adds deprecation warnings for app parameter when using to_asgi_response method of responses by @wevonosky
    in #2268

🔢 Features: Extras

  • feat(contrib-jwt): Add parameters to set the JWT extras field by @dialvarezs
    in #2313
  • feat(templates): add possibility to customize jinja environment by @euri10 in #2195
  • feat(templates): add minjinja by @euri10 in #2250

📅 Features: SQLAlchemy

  • feat(sqlalchemy): exclude implicit fields for sqlalchemy dto by @abdulhaq-e in #2170
  • feat(sqlalchemy): allow repository functions to be filter by expressions by @cofin
    in #2265
  • feat(sqlalchemy): use lambda_stmt in the repository by @cofin in #2179
  • feat(sqlalchemy): swap to the advanced_alchemy implementations by @cofin
    in #2312

📚 Docs

🔧 Fixes

  • fix: remove usages of deprecated ExceptionHandlerMiddleware debug parameter by @provinzkraut
    in #2192
  • fix: raise ValidationException when pydantic validation fails by @guacs
    in #2204
  • fix: set the max width of the console to the standard terminal width of 80. This helps prevent line wrapping in
    certain cases. by @cofin in #2244
  • fix(schema): handling of optional path parameters by @Goldziher in #2224
  • fix: use os.replace instead of shutil.move for renaming file by @guacs
    in #2223
  • fix: Exception detail attribute by @gsakkis in #2231
  • fix(sqlalchemy-repo): #2221 - Filters not available in exists() by @nielsvanhooy
    in #2228
  • fix: add pydantic types to sqlalchemy registry only if pydantic is installed by @guacs
    in #2252
  • fix: don't add content type for responses that don't have a body by @guacs
    in #2263
  • fix: SQLAlchemyPlugin refactored. by @cofin in #2269
  • fix: Ensure app-dir is appended to path during autodiscovery. by @sykloid
    in #2277
  • fix: set content length header by default by @guacs in #2271
  • fix: #2196 - incorrect handling of mutable headers in ASGIResponse by @provinzkraut
    in #2308
  • fix: adds missing ORM registry export by @cofin in #2316
  • fix: bump version of advanced_alchemy by @cofin in #2317
  • fix: discrepency in attrs, msgspec and pydantic for multi-part forms by @euri10
    in #2280
  • fix: set proper default for exclude_http_methods in auth middleware by @guacs
    in #2325
  • fix(tests): fix platform compat tests by @provinzkraut in #2310
  • fix(tests): RedisStore test for time-machine 2.13.0 by @provinzkraut
    in #2342

🏛️ Misc / Infra / Tests / Other

  • build: ignore all-contributorsrc from pre-commit prettier by @cofin
    in #2201
  • refactor(structure): move the repository module from contrib to top-level by @Goldziher
    in #2238
  • infra: Publish with PyPI's trusted publishers by @provinzkraut in #2306
  • test: use stricter pytest config by @sobolevn in #2327
  • test: use xfail_strict for pytest config by @sobolevn in #2328
  • test: fix pydantic@v2 deprecation warning in tests by @sobolevn
    in #2340
  • test: silence ResourceWarning in test_file_response by @sobolevn
    in #2331

Full Changelog: v2.0.0...v2.0.2x