Overview
Litestar 2.19, released on December 14, 2025, adds ReadOnly TypedDict support and Python 3.14 compatibility.
Main Features
ReadOnly TypedDict
ReadOnly fields in TypedDict are now recognized by the validation engine, allowing read-only fields to be distinguished in API schemas.
python
from typing import ReadOnly, TypedDict
from litestar import Litestar, get
class Article(TypedDict):
id: ReadOnly[int]
title: str
@get('/articles')
async def list_articles() -> list[Article]:
return [{'id': 1, 'title': 'Hello'}]
app = Litestar([list_articles])
Python 3.14
Litestar 2.19 is compatible with Python 3.14 and benefits from interpreter performance improvements.
