14
0

- 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-starlette?expand=0&rev=44
This commit is contained in:
2023-12-29 10:04:45 +00:00
committed by Git OBS Bridge
parent c1a06f1d84
commit 381e74524e
4 changed files with 34 additions and 10 deletions

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Fri Dec 29 10:02:33 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Wed Nov 22 17:27:05 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -27,7 +27,7 @@
%{?sle15_python_module_pythons}
Name: python-starlette%{psuffix}
Version: 0.31.1
Version: 0.34.0
Release: 0
Summary: Lightweight ASGI framework/toolkit
License: BSD-3-Clause

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ca75d904988c73071a84b61aa713d831a2f9a0d363cbc6f8334b9005b81bce9
size 2846196

3
starlette-0.34.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f4db4cceed75c27b42549544bca84c5c5635e98acbada02aae6648a315c36e0
size 2841390