Revisions of python-starlette
buildservice-autocommit
accepted
request 1170764
from
Dirk Mueller (dirkmueller)
(revision 49)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 48)
Dirk Mueller (dirkmueller)
committed
(revision 47)
- update to 0.37.2: * Add `bytes` to `_RequestData` type #2510. * Revert "Turn `scope["client"]` to `None` on `TestClient` * Remove deprecated `app` argument passed to `httpx.Client` on the `TestClient` #2526. - update to 0.37.1: * Warn instead of raise for missing env file on `Config` #2485. - update to 0.37.0: * Support the WebSocket Denial Response ASGI extension #2041. - update to 0.36.3: * Create `anyio.Event` on async context #2459. - update to 0.36.2: * Upgrade `python-multipart` to `0.0.7` 13e5c26. * Avoid duplicate charset on `Content-Type` #2443. - update to 0.36.1: * Check if "extensions" in scope before checking the extension - update to 0.36.0: * Add support for ASGI `pathsend` extension #2435. * Cancel `WebSocketTestSession` on close #2427. * Raise `WebSocketDisconnect` when `WebSocket.send()` excepts `IOError` #2425. * Raise `FileNotFoundError` when the `env_file` parameter on `Config` is not valid #2422.
buildservice-autocommit
accepted
request 1138590
from
Dirk Mueller (dirkmueller)
(revision 46)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1138504
from
Benjamin Greiner (bnavigator)
(revision 45)
- Update to 0.35.1 * Stop using the deprecated "method" parameter in FileResponse inside of StaticFiles #2406. * Make typing-extensions optional again #2409. - Update to 0.35.0 * Add *args to Middleware and improve its type hints #2381. * Use Iterable instead Iterator on iterate_in_threadpool #2362. * Handle root_path to keep compatibility with mounted ASGI applications and WSGI #2400. * Turn scope["client"] to None on TestClient #2377.
Dirk Mueller (dirkmueller)
committed
(revision 44)
- update to 0.34.0: * Use `ParamSpec` for `run_in_threadpool` #2375. * Add `UploadFile.__repr__` #2360. * Merge URLs properly on `TestClient` #2376. * Take weak ETags in consideration on `StaticFiles` #2334. * Deprecate `FileResponse(method=...)` parameter #2366. * Add `middleware` per `Route`/`WebSocketRoute` #2349. * Add `middleware` per `Router` #2351. * Do not overwrite `"path"` and `"root_path"` scope keys #2352. * Set `ensure_ascii=False` on `json.dumps()` for `WebSocket.send_json()` #2341. - update to 0.32.0.post1: * Revert mkdocs-material from 9.1.17 to 9.4.7 #2326. - update to 0.32.0: * Send `reason` on `WebSocketDisconnect` #2309. * Add `domain` parameter to `SessionMiddleware` #2280. * Inherit from `HTMLResponse` instead of `Response` on `_TemplateResponse` #2274. * Restore the `Response.render` type annotation to its pre-0.31.0 state #2264. - Deprecate on_startup and on_shutdown events #2070. - Limit the number of fields and files when parsing - Fix test package by adding 'exceptiongroup' python module as a - Remove unneeded BuildRequires on contextlib2. * Host now ignores port on routing #1322.
buildservice-autocommit
accepted
request 1128182
from
Daniel Garcia (dgarcia)
(revision 43)
baserev update by copy to link target
Daniel Garcia (dgarcia)
committed
(revision 42)
- Override pytest configuration to do not handle warnings as errors.
buildservice-autocommit
accepted
request 1118530
from
Ondřej Súkup (mimi_vx)
(revision 41)
baserev update by copy to link target
Ondřej Súkup (mimi_vx)
accepted
request 1118529
from
David Anes (david.anes)
(revision 40)
- Update to 0.31.1: * Fixes: - Fix import error when exceptiongroup isn't available #2231. - Set url_for global for custom Jinja environments #2230. - Update to 0.31.0: * Added - Officially support Python 3.12 #2214. - Support AnyIO 4.0 #2211. - Strictly type annotate Starlette (strict mode on mypy) #2180. * Fixed - Don't group duplicated headers on a single string when using the TestClient #2219. - Update to 0.30.0 * Removed - Drop Python 3.7 support #2178. - Update to 0.29.0: * Added - Add follow_redirects parameter to TestClient #2207. - Add __str__ to HTTPException and WebSocketException #2181. - Warn users when using lifespan together with on_startup/on_shutdown #2193. - Collect routes from Host to generate the OpenAPI schema #2183. - Add request argument to TemplateResponse #2191. * Fixed - Stop body_stream in case more_body=False on BaseHTTPMiddleware #2194. - Update to 0.28.0: * Changed - Reuse Request's body buffer for call_next in BaseHTTPMiddleware #1692. - Move exception handling logic to Route #2026. * Added . Add env parameter to Jinja2Templates, and deprecate **env_options #2159. . Add clear error message when httpx is not installed #2177.
buildservice-autocommit
accepted
request 1092390
from
Dirk Mueller (dirkmueller)
(revision 39)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 38)
Dirk Mueller (dirkmueller)
accepted
request 1092305
from
Eric Schirra (ecsos)
(revision 37)
- Add %{?sle15_python_module_pythons}
buildservice-autocommit
accepted
request 1087526
from
David Anes (david.anes)
(revision 36)
baserev update by copy to link target
David Anes (david.anes)
accepted
request 1087517
from
David Anes (david.anes)
(revision 35)
- Update to 0.27.0: * Added - Minify JSON websocket data via send_json #2128 * Fixed - Replace commonprefix by commonpath on StaticFiles 1797de4. - Convert ImportErrors into ModuleNotFoundError #2135. - Correct the RuntimeError message content in websockets #2141.
buildservice-autocommit
accepted
request 1071792
from
Matej Cepl (mcepl)
(revision 34)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1071434
from
David Anes (david.anes)
(revision 33)
- Update to 0.26.1: * Fixed - Fix typing of Lifespan to allow subclasses of Starlette #2077. - Replace reference from Events to Lifespan on the mkdocs.yml #2072. - Support lifespan state #2060, #2065 and #2064. - Change url_for signature to return a URL instance #1385. - Allow "name" argument on url_for() and url_path_for() #2050. - Deprecate on_startup and on_shutdown events #2070.
buildservice-autocommit
accepted
request 1067461
from
Factory Maintainer (factory-maintainer)
(revision 31)
baserev update by copy to link target
Displaying revisions 1 - 20 of 49