github litestar-org/litestar v2.0.0

latest releases: v2.9.1, v2.9.0, v2.6.4...
10 months ago

This marks the first release of the new 2.x release line. The 1.5x releases will be supported until the release of 3.0. Nevertheless, users are encouraged to upgrade to version 2.

What's Changed

Bugfixes

  • Fix #2024 - media_type missing in error response by @Goldziher in #2131
  • Fix #2147 - setting app debug does not propagate to exception handling middleware by @provinzkraut in #2153
  • Fix static files not being served if a route handler with the same base path was registered by @Goldziher in #2154
  • Fix missing default values for receive and send parameters of HTMXRequest by @tompin82 in #2145
  • DTO: Fix #2125 - excluded attributes being accessed during transfer by @provinzkraut in #2127
  • DTO: Fix DTOData.create_instance ignores renaming by @abdulhaq-e in #2144
  • OpenAPI: Fix application/octet-stream set as contentEncoding instead of contentMediaType @Goldziher in #2130
  • OpenAPI: Fix response not preferring aliased fields by @gsakkis in #2150
  • OpenAPI: Fix examples not being generated deterministically by @Goldziher in #2161
  • OpenAPI: Fix example generation for Pydantic models by @guacs in #2178
  • SQLAlchemy repository: Handle dialects that don't support JSON by @thiagozf in #2139
  • JWT: Fix OPTIONS and HEAD being authenticated by default by @Goldziher in #2160
  • Fix OPTIONS and HEAD being authenticated by default for SessionAuthMiddleware by @Mattwmaster58 in #2182

New Contributors

Full Changelog: v2.0.0rc1...v2.0.0

Don't miss a new litestar release

NewReleases is sending notifications on new releases.