Releases: litestar-org/litestar
Releases · litestar-org/litestar
v1.35.0
What's Changed
- Update
SQLAlchemyPlugin
to use a context-manager for sessions by @provinzkraut in #698 - Add support for setting sessions explicit to
Empty
. by @provinzkraut in #697 - Fix SQLAlchemyPlugin.to_dict() where instance has a relationship. by @peterschutt in #699
- Add copy function route handlers upon registration by @jtraub in #704
- Update test client session setting by @provinzkraut in #705
- Add support for mount routes by @Goldziher in #694
Full Changelog: v1.34.0...v1.35.0
v1.34.0
What's Changed
- Add a
__test__ = False
attribute to theTestClient
so it won't get collected by pytest
together with an async test by @provinzkraut in #688 - Fix an issue (#693) where header values would be forced to lower case. by @provinzkraut in #695
- Add support for server-side sessions by @provinzkraut & @Goldziher in #630
Full Changelog: v1.33.0...v1.34.0
v1.33.0
What's Changed
- Update drop await for anyio.Event.set (deprecated) by @provinzkraut in #677
- Rebrush docs by @dkress59 in #679
- Add Konstantin Mikhailov as a maintainer by @jtraub in #684
- Switch pipeline to use v3.11 by @Goldziher in #682
- Fix mock.patch / async test issues on Python 3.7 by @provinzkraut in #685
- Replace Starlette
TestClient
with StarliteTestClient
by @Goldziher in #664
Full Changelog: v1.32.0...v1.33.0
v1.32.0
What's Changed
- Add
BackgroundTask
andBackgroundTasks
to replace Starlette by @Goldziher in #626. - Add
Etag
support toFile
and update response containers by @Goldziher in #626. - Add
RedirectResponse
,FileResponse
andStreamingResponse
to replace Starlette by @Goldziher in #626. - Add
status_codes
constants by @Goldziher in #626. - Fix cache classes being coupled to
asyncio
by @Goldziher in #626. - Update
Response
to replace Starlette by @Goldziher in #626.
Full Changelog: v1.31.0...v1.32.0
v1.31.0
What's Changed
- Allow to exclude routes in CSRFMiddleware by @jtraub in #633
- Adds
logging_config
to ref docs forAppConfig
by @peterschutt in #648 - Support cache control headers by @seladb in #601
- Fix
Partial
handling ofClassVar
. by @Goldziher in #660 - Add ETag headers (#573) by @provinzkraut in #661
New Contributors
- @mivade made their first contribution in #638
- @pemocarlo made their first contribution in #643
Full Changelog: v1.30.0...v1.31.0
v1.30.0
What's Changed
- updated cache docs by @Goldziher in #614
- Add url_for_static_asset to app and templates by @jtraub in #590
- Improves and extends docs for Dependency function. by @peterschutt in #622
- Improve readability in
unique
function by @odiseo0 in #621 - Use TypeVar for ExceptionHandler exception parameter. by @peterschutt in #620
- Fixes a typo
Depend
->Depends
(#597) by @ReznikovRoman in #624 - Fix #628 by @provinzkraut in #629
- SQLAlchemy JSON types mapped to
Union[Dict, List]
on DTOs. by @peterschutt in #635 - Fix a typo
dafne
->daphne
by @mookrs in #636
New Contributors
- @ReznikovRoman made their first contribution in #624
- @mookrs made their first contribution in #636
Full Changelog: v1.29.0...v1.30.0
v1.29.0
What's Changed
- Native support for
TypedDict
. by @peterschutt in #604
Full Changelog: v1.28.1...v1.29.0
v1.28.1
What's Changed
- Fix picologging using stdlib StreamHandler by @Goldziher in #610
New Contributors
Full Changelog: v1.28.0...v1.28.1
v1.28.0
What's Changed
- Add
csrf_token
template callable,csrf_input
context value and allow registering template callables by @Goldziher in #598 - Add official trio support by @provinzkraut in #586
- Add support for ConstrainedDate in OpenAPI schema generation by @Goldziher in #589
- Add tox scripts for common commands by @seladb in #579
- Fix
NoReturn
as allowed return typing fordelete
decorators by @Goldziher in #588 - Fix documentation warnings by @seladb in #580
- Fix signature model for dependency with
skip_validaiton
and `default`` by @peterschutt in #595 - Update QueueListenerHandler to log to stderr by default by @peterschutt in #594
New Contributors
- @provinzkraut made their first contribution in #586
Full Changelog: v1.27.0...v1.28.0