v2.5.0
Overview
Features
- OAuth & SimpleAuth middlewares with auth-aware data filtering
- Scoped authentication middlewares — allow scoping and composing multiple middlewares
- External API key validation — revamped API key setup with support for external validation mechanisms
- Logfire integration for observability
- Server-side views support
- URL layout encoding — encode/decode workspace layout state in the URL
- CSP stream added to client — new streaming primitive for the Python client
- Client stream timeout — add configurable timeout option for streaming in the client
- Client HTTP argument passthrough — allow forwarding arbitrary HTTP arguments, default to following redirects
- Struct added to response model — include struct metadata in API responses
- orjson support in client — use orjson for faster JSON serialization when available
What's Changed
model_fieldson a BaseSchema instance is being deprecated, migrates to the existing classmethod .fields on channels by @wrieg123 in #191- Modify id generation and lookup to be unique across all classes by @timkpaine in #192
- Add docs on gatewaytestharness, fixes #17 by @timkpaine in #193
- Fix API key position in logs viewer, fixes #136 by @timkpaine in #196
- Use orjson in client if available by @timkpaine in #197
- Add tests and better documentation for websocket streaming by @timkpaine in #198
- Add response model type automatically to openapi json spec by @timkpaine in #199
- Add struct to response model by @timkpaine in #200
- Use context manager to close aiohttp session after use by @NeejWeej in #202
- Add csp stream to client by @timkpaine in #201
- Drop pydantic 2.12 upper bound, increase other bounds by @timkpaine in #204
- Fix type conversion from python to DuckDB types by @arhamchopra in #207
- Modify pydantic version in client by @timkpaine in #208
- Add timeout option for stream in client by @NeejWeej in #209
- Logfire integration by @timkpaine in #203
- Allow passthrough of client http arguments, default to follow redirects by @timkpaine in #216
- Update from copier (2026-02-15T05:29:45) by @timkpaine in #218
- Revamp api key setup in anticipation of other mechanisms, add external api key validation mechanism by @timkpaine in #220
- Allow scoping authentication middlewares, allow multiple middlewares by @timkpaine in #221
- Revamp std lib logging to match logfire config by @timkpaine in #223
- Oauth, simpleauth middlewares, auth-aware data filtering by @timkpaine in #222
- server side views, perspective upgrade by @timkpaine in #206
- Prune requests usage, fix ugly inline imports by @timkpaine in #238
Full Changelog: v2.4.4...v2.5.0