pypi litestar 2.13.0
v2.13.0

2 days ago

Sponsors 🌟

Thanks to these incredible business sponsors:

And a huge 'Thank you!' to all sponsors across Polar.sh, OpenCollective and GitHub Sponsors!

What's changed

New contributors 🎉

Bugfixes 🐛

New features 🚀

  • feat: OpenAPI plugins send CSRF request header by @floxay in #3754
  • feat: deprecate litestar.contrib.sqlalchemy by @cofin in #3755
  • feat: implement HTMX plugin using litestar-htmx by @cofin in #3837
  • feat(Pydantic): honor hide_input_in_errors in throwing validation exceptions by @charles-dyfis-net in #3843
  • feat: deprecate litestar.contrib.pydantic by @cofin in #3852

Documentation

  • docs: update copyright notice year to 2024 by @findstar in #3751
  • docs(readme): Remove reference to litestar-pg-redis-docker by @Alc-Alc in #3779
  • docs: Fix python code highlight in many examples by @sobolevn in #3788
  • docs: fix a typo in requests usage docs by @sobolevn in #3794
  • docs: fix typos in sqlalchemy examples by @sobolevn in #3798
  • docs: fix typos in sqlalchemy/models_and_repository.rst by @sobolevn in #3797
  • docs: fix missing import in cache usage by @sobolevn in #3795
  • docs: make sure that channels use finally in all examples by @sobolevn in #3796
  • docs: change the ExperimentalFeatures.DTO_CODEGEN description by @sobolevn in #3802
  • docs: change sync-to-thread-info.rst wording about sync_to_thread by @sobolevn in #3799
  • docs: add missing rename strategy to dto docs by @sobolevn in #3805
  • docs: fix highlighted lines in DTO usage by @sobolevn in #3808
  • docs: fix "DTO Factory and PATCH requests" section by @sobolevn in #3819
  • docs: fix DTO Data section with a new example by @sobolevn in #3813
  • docs: fix highlight of code example in "Providing values for nested data" by @sobolevn in #3815
  • docs: rewrite htmx guide by @sobolevn in #3825
  • docs: refactor "Hooks" usage documentation by @sobolevn in #3826
  • docs: fix API reference for asgi_types scopes by @sobolevn in #3831
  • docs: rewrite "Builtin middleware" usage by @sobolevn in #3830
  • docs: refactor "Custom Middleware" guide by @sobolevn in #3833
  • docs: refactor exception usage by @sobolevn in #3823
  • docs: remove references to python-jose by @cofin in #3847
  • docs: Changing incorrect indentation in the code example "creating-middleware#inheriting-abstractmiddleware" by @RenameMe1 in #3857
  • docs: improve openapi/index.rst page by @sobolevn in #3856
  • docs: fix the description of when to use the synchronous function by @vvanglro in #3849
  • docs: Added debug=True in Testing to display exception stack trace by @RenameMe1 in #3860

Full Changelog
v2.12.1...v2.13.0

Don't miss a new litestar release

NewReleases is sending notifications on new releases.