Skip to content

v2.8.0

Compare
Choose a tag to compare
@JacobCoffee JacobCoffee released this 05 Apr 20:31
· 263 commits to main since this release
238b3c4

Sponsors 🌟

Thanks to these incredible business sponsors:

Thanks to these incredible personal sponsors:

What's changed

New contributors 🎉

Bugfixes 🐛

  • fix(cli): remove duplicate rich-click config options by @JacobCoffee in #3274
  • fix: pydantic json_schema_extra examples. by @peterschutt in #3281
  • fix(openapi): set default on schema from FieldDefinition by @guacs in #3280
  • fix: Custom types cause serialisation error in exception response with non-JSON media-type by @provinzkraut in #3284
  • fix(OpenAPI): Ensure default values are always represented in schema for dataclasses and msgspec.Structs by @provinzkraut in #3285
  • fix(DTO): Pydantic v2 error handling/serialization when for non-pydantic exceptions by @provinzkraut in #3286
  • fix(OpenAPI): Fix OpenAPI schema generation for paths with path parameters of different types on the same path by @provinzkraut in #3293
  • fix(OpenAPI): Document unconsumed path parameters by @provinzkraut in #3295
  • fix: Unique schema names for nested models (#3134) by @winbornejw in #3136

New features 🚀

  • feat: add Scalar.com as an OpenAPI docs generator option
  • feat: allow for console output to be silenced by @cofin in #3180
  • feat: add flash plugin by @euri10 in #3145
  • feat: Use memoized request_class and response_class values by @kedod in #3205
  • feat(DTO): Enable codegen backend by default by @provinzkraut in #3215
  • feat: Added precedence of CLI parameters over envs by @kedod in #3190
  • feat: only print when terminal is TTY enabled by @cofin in #3219
  • feat: Support schema_extra in Parameter and Body by @tuukkamustonen in #3204
  • feat: add typevar expansion by @haryle in #3242
  • feat: Add LITESTAR_ prefix before WEB_CONCURRENCY env option by @kedod in #3227
  • feat: Warn about ambiguous default values in parameter specifications by @provinzkraut in #3283
  • feat: support declaring DTOField via Annotated by @peterschutt in #3289
  • feat: Add TRACE to HttpMethod enum by @provinzkraut in #3294
  • feat: Pydantic dto non instantiable types by @peterschutt in #3296
  • feat: Add path parameter to Litestar application class by @kedod in #3314

Other changes

Full Changelog
v2.7.1...v2.8.0