Files
responder/tests
kennethreitz d934334d0e v5: fix 7 bugs found by the adversarial review of the v5 diff
- 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>
2026-06-28 11:19:15 -04:00
..
2018-10-13 13:59:46 +01:00
2026-06-28 10:37:14 -04:00
2026-03-25 19:48:54 -04:00