mirror of
https://github.com/kennethreitz/responder.git
synced 2026-07-21 18:39:29 +00:00
d934334d0e
- resp.session = {...} no longer 500s on the default cookie backend: the
setter mutates Starlette's Session in place (clear+update) instead of
rebinding it to a plain dict.
- Class-based view markers now resolve (per-view marker resolution in
run_views) instead of leaking the _Marker sentinel as the argument.
- OpenAPI: _body_model mirrors the runtime exclusions (skips dependency,
path, and defaulted params), so a dependency-injected Pydantic param is no
longer documented as a phantom requestBody + 422.
- OpenAPI: a request_model route with no methods= is documented as POST (not
GET-only), and 422 is scoped to methods that actually validate.
- Path() marker alias is honored (raw_value reads by lookup) and the raw URL
key no longer leaks as an unexpected kwarg.
- Bare list/set/tuple/frozenset query annotations are treated as multi-value.
Adds the v5 migration guide and regression tests for every fix.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>