Repository navigation
fix: Prevent arbitrarily nested replies from causing a stack overflow - #1340
Merged
Merged
Conversation
Currently malicous or corrupted RESP protocol data could cause hiredis to overflow the sta. This change simply caps the maximum depth at 1024 and does so in a way that requires no bump to the SONAME. In a future release we could add a `maxdepth` member to `redisReader` much like we already have `maxelements`. This would let clients configure the value. Vulnerability discovered by: He Huang, hehuang@swin.edu.au, Swinburne University of Technology, Melbourne, Australia; discovery using NexusSan Signed-off-by: michael-grunder <michael.grunder@gmail.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
Reviewed by Cursor Bugbot for commit 724bb0f. Configure here.
| __redisReaderSetError(r,REDIS_ERR_PROTOCOL, | ||
| "Max nesting depth exceeded"); | ||
| return REDIS_ERR; | ||
| } |
There was a problem hiding this comment.
Leaf aggregates rejected at depth
Medium Severity
The new nesting guard runs at the start of processAggregateItem for every aggregate, so when r->ridx is already 1024 after 1024 nested *1 frames, valid non-nesting aggregates such as *-1 or *0 are rejected even though scalars like +OK at the same r->ridx still parse. Depth should only be enforced when elements > 0 would increment r->ridx.
Reviewed by Cursor Bugbot for commit 724bb0f. Configure here.
This was referenced Aug 6, 2026
pchopinet
pushed a commit
to JaaJSoft/workspace
that referenced
this pull request
Aug 11, 2026
Bumps [hiredis](https://github.com/redis/hiredis-py) from 3.4.0 to 3.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/redis/hiredis-py/releases">hiredis's releases</a>.</em></p> <blockquote> <h2>3.4.1</h2> <p>This is a security fix release. All users of hiredis-py 3.4.x are strongly encouraged to upgrade.</p> <h1>🔒 Security Fixes</h1> <p>Updates the bundled hiredis C library to <a href="https://github.com/redis/hiredis/releases/tag/v1.4.1">v1.4.1</a>, which fixes:</p> <ul> <li><code>redis/hiredis#1340</code></li> <li><code>redis/hiredis#1341</code></li> </ul> <h2>Acknowledgements</h2> <p>Vulnerability discovered by He Huang (<a href="mailto:hehuang@swin.edu.au">hehuang@swin.edu.au</a>), Swinburne University of Technology, Melbourne, Australia; discovered using NexusSan.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/redis/hiredis-py/commit/70d83795c44558f50d9166c64b1d05311eaa8066"><code>70d8379</code></a> [3.4] Bump hiredis to v1.4.1, release 3.4.1 (<a href="https://redirect.github.com/redis/hiredis-py/issues/244">#244</a>)</li> <li>See full diff in <a href="https://github.com/redis/hiredis-py/compare/v3.4.0...v3.4.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
karpet
pushed a commit
to BlueprintKansas/v3.ksvotes.org
that referenced
this pull request
Aug 22, 2026
Bumps [hiredis](https://github.com/redis/hiredis-py) from 3.4.0 to 3.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/redis/hiredis-py/releases">hiredis's releases</a>.</em></p> <blockquote> <h2>3.4.1</h2> <p>This is a security fix release. All users of hiredis-py 3.4.x are strongly encouraged to upgrade.</p> <h1>🔒 Security Fixes</h1> <p>Updates the bundled hiredis C library to <a href="https://github.com/redis/hiredis/releases/tag/v1.4.1">v1.4.1</a>, which fixes:</p> <ul> <li><code>redis/hiredis#1340</code></li> <li><code>redis/hiredis#1341</code></li> </ul> <h2>Acknowledgements</h2> <p>Vulnerability discovered by He Huang (<a href="mailto:hehuang@swin.edu.au">hehuang@swin.edu.au</a>), Swinburne University of Technology, Melbourne, Australia; discovered using NexusSan.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/redis/hiredis-py/commit/70d83795c44558f50d9166c64b1d05311eaa8066"><code>70d8379</code></a> [3.4] Bump hiredis to v1.4.1, release 3.4.1 (<a href="https://redirect.github.com/redis/hiredis-py/issues/244">#244</a>)</li> <li>See full diff in <a href="https://github.com/redis/hiredis-py/compare/v3.4.0...v3.4.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bmwiedemann
pushed a commit
to bmwiedemann/openSUSE
that referenced
this pull request
Aug 22, 2026
https://build.opensuse.org/request/show/1372923 by user dirkmueller + dimstar_suse - update to 3.4.1 (bsc#1276205): * Updates the bundled hiredis C library to v1.4.1, which fixes: * Prevent arbitrarily nested replies from causing a stack overflow (redis/hiredis#1340) * Protect against overflow of map elements (redis/hiredis#1341)
1 task done
github-actions Bot
pushed a commit
to epittman23/local-llm
that referenced
this pull request
Oct 9, 2026
…th 51 updates (#41) Bumps the backend-minor-patch group with 51 updates in the /apps/server directory: | Package | From | To | | --- | --- | --- | | [uvicorn[standard]](https://github.com/Kludex/uvicorn) | `0.51.0` | `0.54.0` | | [pydantic](https://github.com/pydantic/pydantic) | `2.13.4` | `2.13.5` | | [python-socketio](https://github.com/sponsors/miguelgrinberg) | `5.16.2` | `5.17.0` | | [orjson](https://github.com/ijl/orjson) | `3.11.9` | `3.12.0` | | [authlib](https://github.com/authlib/authlib) | `1.7.2` | `1.8.0` | | [joserfc](https://github.com/authlib/joserfc) | `1.7.4` | `1.7.5` | | [aiohttp](https://github.com/aio-libs/aiohttp) | `3.13.5` | `3.14.4` | | [starlette-compress](https://github.com/Zaczero/pkgs) | `1.7.1` | `1.8.0` | | [sqlalchemy[asyncio]](https://github.com/sqlalchemy/sqlalchemy) | `2.0.50` | `2.1.3` | | [psycopg[binary]](https://github.com/psycopg/psycopg) | `3.3.4` | `3.3.6` | | [alembic](https://github.com/sqlalchemy/alembic) | `1.18.4` | `1.20.0` | | [pycrdt](https://github.com/y-crdt/pycrdt) | `0.13.1` | `0.14.8` | | [redis](https://github.com/redis/redis-py) | `8.0.1` | `8.1.0` | | [hiredis](https://github.com/redis/hiredis-py) | `3.4.0` | `3.4.2` | | [pytz](https://github.com/stub42/pytz) | `2026.2` | `2026.5` | | [asgiref](https://github.com/django/asgiref) | `3.11.1` | `3.12.1` | | [tiktoken](https://github.com/openai/tiktoken) | `0.13.0` | `0.14.0` | | [regex](https://github.com/mrabarnett/mrab-regex) | `2026.5.9` | `2026.9.29` | | [langchain](https://github.com/langchain-ai/langchain) | `1.2.10` | `1.4.3` | | [langchain-classic](https://github.com/langchain-ai/langchain) | `1.0.7` | `1.0.8` | | [langchain-text-splitters](https://github.com/langchain-ai/langchain) | `1.1.2` | `1.1.3` | | [boto3](https://github.com/boto/boto3) | `1.42.62` | `1.43.108` | | [transformers](https://github.com/huggingface/transformers) | `5.5.4` | `5.18.0` | | [accelerate](https://github.com/huggingface/accelerate) | `1.13.0` | `1.15.0` | | [chardet](https://github.com/chardet/chardet) | `7.4.3` | `7.6.0` | | [fpdf2](https://github.com/py-pdf/fpdf2) | `2.8.7` | `2.8.9` | | [nltk](https://github.com/nltk/nltk) | `3.9.4` | `3.10.3` | | [beautifulsoup4](https://www.crummy.com/software/BeautifulSoup/bs4/) | `4.14.3` | `4.15.0` | | [lxml](https://github.com/lxml/lxml) | `6.1.1` | `6.1.3` | | [pandas](https://github.com/pandas-dev/pandas) | `3.0.3` | `3.0.6` | | [sentencepiece](https://github.com/google/sentencepiece) | `0.2.1` | `0.2.2` | | [soundfile](https://github.com/bastibe/python-soundfile) | `0.13.1` | `0.14.0` | | [pillow](https://github.com/python-pillow/Pillow) | `12.2.0` | `12.3.0` | | [onnxruntime](https://github.com/microsoft/onnxruntime) | `1.26.0` | `1.30.0` | | [black](https://github.com/psf/black) | `26.5.1` | `26.10.0` | | [ddgs](https://github.com/deedy5/ddgs) | `9.14.4` | `9.16.0` | | [google-api-python-client](https://github.com/googleapis/google-api-python-client) | `2.197.0` | `2.201.0` | | [google-auth-httplib2](https://github.com/googleapis/google-cloud-python) | `0.4.0` | `0.4.4` | | [google-auth-oauthlib](https://github.com/googleapis/google-cloud-python) | `1.4.0` | `1.5.0` | | [googleapis-common-protos](https://github.com/googleapis/google-cloud-python) | `1.75.0` | `1.75.5` | | [google-cloud-storage](https://github.com/googleapis/google-cloud-python) | `3.9.0` | `3.16.0` | | [azure-identity](https://github.com/Azure/azure-sdk-for-python) | `1.25.3` | `1.26.0` | | [azure-storage-blob](https://github.com/Azure/azure-sdk-for-python) | `12.29.0` | `12.31.0` | | [psycopg2-binary](https://github.com/psycopg/psycopg2) | `2.9.12` | `2.9.13` | | [pgvector](https://github.com/pgvector/pgvector-python) | `0.4.2` | `0.5.0` | | [matplotlib](https://github.com/matplotlib/matplotlib) | `3.11.1` | `3.11.2` | | [unstructured](https://github.com/Unstructured-IO/unstructured) | `0.22.31` | `0.27.16` | | [playwright](https://github.com/microsoft/playwright-python) | `1.60.0` | `1.63.0` | | [elasticsearch](https://github.com/elastic/elasticsearch-py) | `9.4.1` | `9.5.1` | | [qdrant-client](https://github.com/qdrant/qdrant-client) | `1.18.0` | `1.19.1` | | [weaviate-client](https://github.com/weaviate/weaviate-python-client) | `4.20.3` | `4.23.1` | Updates `uvicorn[standard]` from 0.51.0 to 0.54.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Kludex/uvicorn/releases">uvicorn[standard]'s releases</a>.</em></p> <blockquote> <h2>Version 0.54.0</h2> <h2>📨 Send metadata after the response body</h2> <p><code>uvicorn</code> 0.54.0 adds response trailers and <code>103 Early Hints</code> to its experimental HTTP/2 implementation through <code>zttp</code>.</p> <pre lang="console"><code>uv add uvicorn==0.54.0 "zttp>=0.0.34" </code></pre> <ul> <li><strong>Send HTTP/2 response trailers</strong> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3146">#3146</a>). The ASGI <code>http.response.trailers</code> extension lets applications send metadata, such as checksums, after the response body. Clients must send <code>TE: trailers</code> to receive them. Multiple trailer messages are combined before completing the response.</li> <li><strong>HTTP/2 remains experimental and opt-in.</strong> Enable it with <code>--http zttp --http2</code>. Upgrade-based h2c and WebSockets over HTTP/2 remain unsupported.</li> </ul> <h2>💡 Hint at resources before the final response</h2> <ul> <li><strong>Send <code>103 Early Hints</code> over HTTP/2</strong> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3137">#3137</a>). Applications can use the ASGI <code>http.response.early_hint</code> extension to send resource hints before the final response. Each supplied link becomes a separate <code>Link</code> header.</li> </ul> <p><strong>Full changelog:</strong> <a href="https://github.com/Kludex/uvicorn/compare/0.53.0...0.54.0">0.53.0...0.54.0</a></p> <h2>Version 0.53.0</h2> <h2>🌐 Opt-in HTTP/2 support</h2> <p><code>uvicorn</code> 0.53.0 adds experimental HTTP/2 through <code>zttp</code>, alongside a new <code>zuvloop</code> integration and connection-handling improvements.</p> <pre lang="console"><code>uv add uvicorn==0.53.0 </code></pre> <ul> <li><strong>Serve HTTP/1.1 and HTTP/2 with <code>zttp</code></strong> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/2982">#2982</a>, <a href="https://redirect.github.com/Kludex/uvicorn/pull/3101">#3101</a>). Install <code>zttp</code>, then enable HTTP/2 with <code>--http zttp --http2</code>. Uvicorn negotiates HTTP/2 over TLS with ALPN and supports cleartext prior knowledge.</li> <li><strong>HTTP/2 remains experimental.</strong> Upgrade-based h2c and WebSockets over HTTP/2 are not supported.</li> </ul> <h2>⚙️ More event loop choice</h2> <ul> <li><strong>Run Uvicorn with <code>zuvloop</code></strong> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3104">#3104</a>). Install <code>zuvloop</code> separately and select it explicitly with <code>--loop zuvloop</code> on CPython 3.14 or newer.</li> </ul> <h2>🛡️ More reliable connections and proxies</h2> <ul> <li><strong>Honor <code>Connection: close</code> token lists</strong> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3103">#3103</a>). Uvicorn now parses comma-separated tokens case-insensitively across HTTP implementations.</li> <li><strong>Trust IPv6 loopback proxies by default</strong> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3119">#3119</a>). The default <code>FORWARDED_ALLOW_IPS</code> value now includes <code>::1</code>.</li> <li><strong>Keep upgraded WebSockets alive</strong> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3107">#3107</a>). Uvicorn cancels the HTTP keep-alive timer when the connection becomes a WebSocket.</li> </ul> <p><strong>Full changelog:</strong> <a href="https://github.com/Kludex/uvicorn/compare/0.52.4...0.53.0">0.52.4...0.53.0</a></p> <h2>Version 0.52.4</h2> <h3>Fixed</h3> <ul> <li>Remove duplicate <code>Date</code> headers from accepted WebSocket handshakes with <code>websockets-sansio</code> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3078">#3078</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/Kludex/uvicorn/compare/0.52.3...0.52.4">https://github.com/Kludex/uvicorn/compare/0.52.3...0.52.4</a></p> <h2>Version 0.52.3</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Kludex/uvicorn/blob/main/docs/release-notes.md">uvicorn[standard]'s changelog</a>.</em></p> <blockquote> <h2>0.54.0 (September 24, 2026)</h2> <p>HTTP/2 support remains experimental. Install <code>zttp>=0.0.34</code> and enable it with <code>--http zttp --http2</code>.</p> <h3>Added</h3> <ul> <li>Add HTTP/2 response trailers through the ASGI <code>http.response.trailers</code> extension. Clients must send <code>TE: trailers</code> to receive them (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3146">#3146</a>)</li> <li>Add HTTP/2 <code>103 Early Hints</code> through the ASGI <code>http.response.early_hint</code> extension (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3137">#3137</a>)</li> </ul> <h2>0.53.0 (September 14, 2026)</h2> <p>This release adds experimental HTTP/2 support through <code>zttp</code>. Enable it with <code>--http zttp --http2</code>. Upgrade-based h2c and WebSockets over HTTP/2 are not supported.</p> <h3>Added</h3> <ul> <li>Add experimental HTTP/2 support through <code>zttp</code> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/2982">#2982</a>, <a href="https://redirect.github.com/Kludex/uvicorn/pull/3101">#3101</a>)</li> <li>Add support for <code>zuvloop</code> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3104">#3104</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Handle comma-separated, case-insensitive <code>Connection: close</code> tokens across HTTP implementations (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3103">#3103</a>)</li> <li>Trust IPv6 loopback in the default <code>FORWARDED_ALLOW_IPS</code> value (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3119">#3119</a>)</li> <li>Cancel the HTTP keep-alive timer when upgrading to WebSocket (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3107">#3107</a>)</li> </ul> <h2>0.52.4 (August 18, 2026)</h2> <h3>Fixed</h3> <ul> <li>Remove duplicate <code>Date</code> headers from accepted WebSocket handshakes with <code>websockets-sansio</code> (<a href="https://redirect.github.com/Kludex/uvicorn/pull/3078">#3078</a>)</li> </ul> <h2>0.52.3 (August 13, 2026)</h2> <h3>Changed</h3> <ul> <li>Update <code>zttp</code> to 0.0.24 and use its combined receive path, improving HTTP/1.1 request parsing performance (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3067">#3067</a>)</li> </ul> <h2>0.52.2 (August 13, 2026)</h2> <h3>Fixed</h3> <ul> <li>Update <code>zttp</code> to 0.0.22, fixing bodyless request receives and improving HTTP/1 request parsing performance (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3063">#3063</a>)</li> </ul> <h2>0.52.1 (August 1, 2026)</h2> <h3>Fixed</h3> <ul> <li>Complete the closing handshake on server-initiated WebSocket closes in the <code>websockets-sansio</code> and <code>wsproto</code> implementations, waiting for the client's close reply with a 10 second timeout instead of resetting the connection (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3053">#3053</a>)</li> <li>Add missing write flow control to the <code>websockets-sansio</code> implementation, preventing data truncation on server-initiated closes with large in-flight payloads (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3048">#3048</a>)</li> <li>Handle connection loss while a WebSocket write is waiting on backpressure (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3050">#3050</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Kludex/uvicorn/commit/3eb9a9ab9af69005c687728097461c1fd2a95db9"><code>3eb9a9a</code></a> Version 0.54.0 (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3161">#3161</a>)</li> <li><a href="https://github.com/Kludex/uvicorn/commit/cd7ef6d31c1a09a3653f326cda7813d35ffd6082"><code>cd7ef6d</code></a> Remove races from supervisor tests (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3134">#3134</a>)</li> <li><a href="https://github.com/Kludex/uvicorn/commit/a56c7cce64aaa37e5864f882a5cbce8aa1dac47a"><code>a56c7cc</code></a> Support HTTP/2 response trailers (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3146">#3146</a>)</li> <li><a href="https://github.com/Kludex/uvicorn/commit/9bd4404cca9506e9ba4f46b69ef72d011ceef2bd"><code>9bd4404</code></a> chore(deps): bump anyio from 4.13.0 to 4.14.2 (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3145">#3145</a>)</li> <li><a href="https://github.com/Kludex/uvicorn/commit/21f39ef7988366f77fb3172569bd235ac5de34cc"><code>21f39ef</code></a> Add HTTP/2 Early Hints support (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3137">#3137</a>)</li> <li><a href="https://github.com/Kludex/uvicorn/commit/421708fbc1a704dac8bd4053a7c4c0bf4d3704ee"><code>421708f</code></a> Version 0.53.0 (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3136">#3136</a>)</li> <li><a href="https://github.com/Kludex/uvicorn/commit/f1a1bff7be819f5724d6fdf86dfd448a97c62e23"><code>f1a1bff</code></a> Unset the keep-alive timer when upgrading to WebSocket (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3107">#3107</a>)</li> <li><a href="https://github.com/Kludex/uvicorn/commit/63971ed952090438896e6eba7d07178b616d97cc"><code>63971ed</code></a> Document HTTP/2 support (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3130">#3130</a>)</li> <li><a href="https://github.com/Kludex/uvicorn/commit/7d1a0055aee5e281accc646b559ddd147486bf8a"><code>7d1a005</code></a> Remove race from multiprocess health check test (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3128">#3128</a>)</li> <li><a href="https://github.com/Kludex/uvicorn/commit/5ac6265a01ff6dcadb0e4250152c3deaf8a168a9"><code>5ac6265</code></a> Add ::1 to FORWARDED_ALLOW_IPS (<a href="https://redirect.github.com/Kludex/uvicorn/issues/3119">#3119</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Kludex/uvicorn/compare/0.51.0...0.54.0">compare view</a></li> </ul> </details> <br /> Updates `pydantic` from 2.13.4 to 2.13.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/releases">pydantic's releases</a>.</em></p> <blockquote> <h2>v2.13.5 2026-08-28</h2> <h2>v2.13.5 (2026-08-28)</h2> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Allow reuse of validators when plugins are set by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13535">#13535</a></li> <li>Fix missing GC traversal on some <code>pydantic-core</code> struct fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13624">#13624</a></li> <li>Fix missing GC traversal in <code>pydantic-core</code> for <code>GeneralFieldsSerializer</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13629">#13629</a></li> <li>Count validated model fields once in smart unions by <a href="https://github.com/tamird"><code>@tamird</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13731">#13731</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/blob/v2.13.5/HISTORY.md">pydantic's changelog</a>.</em></p> <blockquote> <h2>v2.13.5 (2026-08-28)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.13.5">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Allow reuse of validators when plugins are set by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13535">#13535</a></li> <li>Fix missing GC traversal on some <code>pydantic-core</code> struct fields by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13624">#13624</a></li> <li>Fix missing GC traversal in <code>pydantic-core</code> for <code>GeneralFieldsSerializer</code> by <a href="https://github.com/Viicos"><code>@Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13629">#13629</a></li> <li>Count validated model fields once in smart unions by <a href="https://github.com/tamird"><code>@tamird</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/13731">#13731</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/001dea020e0809844e5b17666432c9135a976f46"><code>001dea0</code></a> Bump <code>pypa/gh-action-pypi-publish</code> action to v1.14.2</li> <li><a href="https://github.com/pydantic/pydantic/commit/558379fee957fad25858e33596146c72d5674843"><code>558379f</code></a> Bump twine to v7.0.0</li> <li><a href="https://github.com/pydantic/pydantic/commit/2cfd5d3d2ae721ea882c045f83b7f7a4003aab01"><code>2cfd5d3</code></a> Do not check for docs build</li> <li><a href="https://github.com/pydantic/pydantic/commit/a735bee5c64e1fe50785c376adaf1275e752b8ac"><code>a735bee</code></a> Fix more Clippy lints</li> <li><a href="https://github.com/pydantic/pydantic/commit/7eed4a16b87afaced4d0eafae230453de3410d64"><code>7eed4a1</code></a> Fix Clippy 0.1.95 warnings</li> <li><a href="https://github.com/pydantic/pydantic/commit/b353bbb20a4989b4c033e2be2b4a40d36178b16a"><code>b353bbb</code></a> Prepare release v2.13.5</li> <li><a href="https://github.com/pydantic/pydantic/commit/63d2cccd6e760da6bbc7fe81a53cb2bde3768f5e"><code>63d2ccc</code></a> Count validated model fields once in smart unions</li> <li><a href="https://github.com/pydantic/pydantic/commit/a53ec2ed342fda4e6aa3684399d04ea57be9a6e4"><code>a53ec2e</code></a> Speed up PyPy CI tests</li> <li><a href="https://github.com/pydantic/pydantic/commit/d65e0f96e890ca82f4b66a15d5b3bd65af2c661c"><code>d65e0f9</code></a> Workaround circular import error in Mypy</li> <li><a href="https://github.com/pydantic/pydantic/commit/47a6dbf8ad6216211bd0df6ec5c2c6c6ed905b72"><code>47a6dbf</code></a> Fix missing GC traversal in <code>pydantic-core</code> for <code>GeneralFieldsSerializer</code></li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v2.13.4...v2.13.5">compare view</a></li> </ul> </details> <br /> Updates `python-socketio` from 5.16.2 to 5.17.0 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sponsors/miguelgrinberg/commits">compare view</a></li> </ul> </details> <br /> Updates `orjson` from 3.11.9 to 3.12.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ijl/orjson/releases">orjson's releases</a>.</em></p> <blockquote> <h2>3.12.0</h2> <h3>Changed</h3> <ul> <li>Serialization implementation substantially rewritten.</li> <li>Publish PyPI wheels for Python 3.15. For Python 3.15 and later, <code>manylinux_2_39</code> (2024) is targeted instead of <code>manylinux_2_17</code> (2012).</li> <li>No longer publish PyPI wheels for ppc64le and s390x.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ijl/orjson/blob/master/CHANGELOG.md">orjson's changelog</a>.</em></p> <blockquote> <h2>3.12.0 - 2026-08-14</h2> <h3>Changed</h3> <ul> <li>Serialization implementation substantially rewritten.</li> <li>Publish PyPI wheels for Python 3.15. For Python 3.15 and later, <code>manylinux_2_39</code> (2024) is targeted instead of <code>manylinux_2_17</code> (2012).</li> <li>No longer publish PyPI wheels for ppc64le and s390x.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ijl/orjson/commit/6737895a1a4e3e26df0569a40147893a786f9a58"><code>6737895</code></a> 3.12.0</li> <li><a href="https://github.com/ijl/orjson/commit/c2a6e8ff7b898635fb68a85bd5a62df1edf61cfc"><code>c2a6e8f</code></a> JsonWriter, iterators</li> <li><a href="https://github.com/ijl/orjson/commit/6a2d7a7d66dc3c5698625a7b334c40db459e46ae"><code>6a2d7a7</code></a> yyjson 1ea2fb0</li> <li><a href="https://github.com/ijl/orjson/commit/97bf170d9726e91c891f35eae4892801520b9dce"><code>97bf170</code></a> build update</li> <li>See full diff in <a href="https://github.com/ijl/orjson/compare/3.11.9...3.12.0">compare view</a></li> </ul> </details> <br /> Updates `authlib` from 1.7.2 to 1.8.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/authlib/authlib/releases">authlib's releases</a>.</em></p> <blockquote> <h2>v1.8.0</h2> <h2>What's Changed</h2> <ul> <li>Prefer <code>id_token_signed_response_alg</code> client metadata to guess algs by <a href="https://github.com/azmeuk"><code>@azmeuk</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/888">authlib/authlib#888</a></li> <li>fix: Catch InvalidKeyIdError in RFC 9068 JWTBearerTokenValidator by <a href="https://github.com/liudonggalaxy"><code>@liudonggalaxy</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/891">authlib/authlib#891</a></li> <li>fix: make leeway configurable in JWTBearerTokenValidator by <a href="https://github.com/mondi04"><code>@mondi04</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/903">authlib/authlib#903</a></li> <li>feat: add default jti claim to sign_jwt_bearer_assertion by <a href="https://github.com/liudonggalaxy"><code>@liudonggalaxy</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/897">authlib/authlib#897</a></li> <li>fix(oauth): cast sub claim to string in JWTBearerTokenGenerator by <a href="https://github.com/levinKaus"><code>@levinKaus</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/911">authlib/authlib#911</a></li> <li>Declare lower bounds for dependencies by <a href="https://github.com/azmeuk"><code>@azmeuk</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/912">authlib/authlib#912</a></li> <li>feat(client): use httpx2 instead of httpx by <a href="https://github.com/levinKaus"><code>@levinKaus</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/909">authlib/authlib#909</a></li> <li>Fix RFC7523 malformed claims handling by <a href="https://github.com/azmeuk"><code>@azmeuk</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/916">authlib/authlib#916</a></li> <li>Fix httpx oauth1 binary form data by <a href="https://github.com/shc261392"><code>@shc261392</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/779">authlib/authlib#779</a></li> <li>fix(starlette_client): remove default= keyword from config.get calls by <a href="https://github.com/aliaksei-protchanka"><code>@aliaksei-protchanka</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/770">authlib/authlib#770</a></li> <li>Added client_id parameter to AssertionClient by <a href="https://github.com/vilmar-hillow"><code>@vilmar-hillow</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/476">authlib/authlib#476</a></li> <li>fix(oauth): save device credential with authenticated client id by <a href="https://github.com/arpitjain099"><code>@arpitjain099</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/908">authlib/authlib#908</a></li> <li>fix(oauth1): correct protocol name in InsecureTransportError description by <a href="https://github.com/RavSinghChandan"><code>@RavSinghChandan</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/919">authlib/authlib#919</a></li> <li>fix(client): client can be flexible with jwt's header by <a href="https://github.com/lepture"><code>@lepture</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/922">authlib/authlib#922</a></li> <li>fix(oidc): omit claims when the value is None by <a href="https://github.com/lepture"><code>@lepture</code></a> in <a href="https://redirect.github.com/authlib/authlib/pull/923">authlib/authlib#923</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mondi04"><code>@mondi04</code></a> made their first contribution in <a href="https://redirect.github.com/authlib/authlib/pull/903">authlib/authlib#903</a></li> <li><a href="https://github.com/levinKaus"><code>@levinKaus</code></a> made their first contribution in <a href="https://redirect.github.com/authlib/authlib/pull/911">authlib/authlib#911</a></li> <li><a href="https://github.com/aliaksei-protchanka"><code>@aliaksei-protchanka</code></a> made their first contribution in <a href="https://redirect.github.com/authlib/authlib/pull/770">authlib/authlib#770</a></li> <li><a href="https://github.com/vilmar-hillow"><code>@vilmar-hillow</code></a> made their first contribution in <a href="https://redirect.github.com/authlib/authlib/pull/476">authlib/authlib#476</a></li> <li><a href="https://github.com/arpitjain099"><code>@arpitjain099</code></a> made their first contribution in <a href="https://redirect.github.com/authlib/authlib/pull/908">authlib/authlib#908</a></li> <li><a href="https://github.com/RavSinghChandan"><code>@RavSinghChandan</code></a> made their first contribution in <a href="https://redirect.github.com/authlib/authlib/pull/919">authlib/authlib#919</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/authlib/authlib/compare/v1.7.2...v1.8.0">https://github.com/authlib/authlib/compare/v1.7.2...v1.8.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/authlib/authlib/commit/1a86748b31a2b1940b09cf627d1b70e03d85c077"><code>1a86748</code></a> chore: release 1.8.0</li> <li><a href="https://github.com/authlib/authlib/commit/e4fb941d4959a11e875b34880c41f46ba7cd8c67"><code>e4fb941</code></a> Merge pull request <a href="https://redirect.github.com/authlib/authlib/issues/923">#923</a> from authlib/fix-921</li> <li><a href="https://github.com/authlib/authlib/commit/9f2cd2e4c8c2d88cd8c7831d2c612ad38a4b0958"><code>9f2cd2e</code></a> Merge pull request <a href="https://redirect.github.com/authlib/authlib/issues/922">#922</a> from authlib/fix-902</li> <li><a href="https://github.com/authlib/authlib/commit/5d53239e8a0ca7ea1c241e84bfd5fd453203a94a"><code>5d53239</code></a> fix(oidc): omit claims when the value is None</li> <li><a href="https://github.com/authlib/authlib/commit/772bc72fe8440e6c5dd0a6615fb42d7466f85546"><code>772bc72</code></a> Merge pull request <a href="https://redirect.github.com/authlib/authlib/issues/919">#919</a> from RavSinghChandan/fix-oauth1-insecure-transport-de...</li> <li><a href="https://github.com/authlib/authlib/commit/11794b00375127bbc4397e7ebd46e047c3935b64"><code>11794b0</code></a> Merge pull request <a href="https://redirect.github.com/authlib/authlib/issues/908">#908</a> from arpitjain099/chore/device-cred-authenticated-cli...</li> <li><a href="https://github.com/authlib/authlib/commit/13f2eb0589cec6df53c4e1146b11dc0cdd3012c7"><code>13f2eb0</code></a> fix(client): Added client_id parameter to AssertionClient (<a href="https://redirect.github.com/authlib/authlib/issues/476">#476</a>)</li> <li><a href="https://github.com/authlib/authlib/commit/dde5b7a8015904aba63dad76d7286aa431249783"><code>dde5b7a</code></a> fix(client): rollback</li> <li><a href="https://github.com/authlib/authlib/commit/e4aec8c5c1e333951f49ba6aa3fe7487c6fce670"><code>e4aec8c</code></a> fix(client): remove default= keyword from starlette client config.get calls (...</li> <li><a href="https://github.com/authlib/authlib/commit/62f41cc2f55c15e658f7a0d2bdcb23feeeb93410"><code>62f41cc</code></a> fix(client): httpx oauth1 binary form data (<a href="https://redirect.github.com/authlib/authlib/issues/779">#779</a>)</li> <li>Additional commits viewable in <a href="https://github.com/authlib/authlib/compare/v1.7.2...v1.8.0">compare view</a></li> </ul> </details> <br /> Updates `joserfc` from 1.7.4 to 1.7.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/authlib/joserfc/releases">joserfc's releases</a>.</em></p> <blockquote> <h2>1.7.5</h2> <h3> 🚀 Features</h3> <ul> <li>Add max_recipients on JWERegistry - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/authlib/joserfc/commit/d6dc8df"><!-- raw HTML omitted -->(d6dc8)<!-- raw HTML omitted --></a></li> </ul> <h3> 🐞 Bug Fixes</h3> <ul> <li>Ignore unknown kty in KeySet.import_key_set (RFC 7517 §5) - by <a href="https://github.com/RalphBragg"><code>@RalphBragg</code></a> in <a href="https://redirect.github.com/authlib/joserfc/issues/103">authlib/joserfc#103</a> <a href="https://github.com/authlib/joserfc/commit/4dcd363"><!-- raw HTML omitted -->(4dcd3)<!-- raw HTML omitted --></a></li> </ul> <h5> <a href="https://github.com/authlib/joserfc/compare/1.7.4...1.7.5">View changes on GitHub</a></h5> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/authlib/joserfc/blob/main/docs/changelog.rst">joserfc's changelog</a>.</em></p> <blockquote> <h2>1.7.5</h2> <p><strong>Released on August 29, 2026</strong></p> <ul> <li><strong>JWK</strong>: Ignore keys with unknown <code>kty</code> values when importing a key set.</li> <li><strong>JWE</strong>: Add <code>max_recipients</code> to <code>JWERegistry</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/authlib/joserfc/commit/357c319119773c021bc8da433bdf31e42f77974b"><code>357c319</code></a> chore: release 1.7.5</li> <li><a href="https://github.com/authlib/joserfc/commit/d6dc8df6c7609277e741069d3733e43996c1cd17"><code>d6dc8df</code></a> feat: add max_recipients on JWERegistry</li> <li><a href="https://github.com/authlib/joserfc/commit/26a10275e88276184f91ae2a6409647bfac7fea5"><code>26a1027</code></a> docs: update sponsors link</li> <li><a href="https://github.com/authlib/joserfc/commit/4dcd3635c65298d26869bac382aaf1435def68e1"><code>4dcd363</code></a> fix: ignore unknown kty in KeySet.import_key_set (RFC 7517 §5) (<a href="https://redirect.github.com/authlib/joserfc/issues/103">#103</a>)</li> <li>See full diff in <a href="https://github.com/authlib/joserfc/compare/1.7.4...1.7.5">compare view</a></li> </ul> </details> <br /> Updates `aiohttp` from 3.13.5 to 3.14.4 Updates `starlette-compress` from 1.7.1 to 1.8.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Zaczero/pkgs/commit/1f1d989bb5744efe8b94f6aefb643b8dee95f71f"><code>1f1d989</code></a> ci: generate all shipped license files from pyproject SPDX</li> <li><a href="https://github.com/Zaczero/pkgs/commit/221d88ec2cb0139c8ea1bef25314e211c177898b"><code>221d88e</code></a> h2corn: rustfmt reflows, drop stale bench methodology references</li> <li><a href="https://github.com/Zaczero/pkgs/commit/20f3eb7651a322958c4159f68fa60e77b85e04c3"><code>20f3eb7</code></a> h2corn: strip bench evidence ceremony</li> <li><a href="https://github.com/Zaczero/pkgs/commit/43cfa063f718ca885150fc1bc66c462529cf6e6b"><code>43cfa06</code></a> h2corn: bump to 1.6.0</li> <li><a href="https://github.com/Zaczero/pkgs/commit/85f6e584c9ed1d661bc43cbdf4faa91f50b85031"><code>85f6e58</code></a> h2corn: bench harness overhaul</li> <li><a href="https://github.com/Zaczero/pkgs/commit/219b100115d74c6891f4bd74e08c3848f0bc5dec"><code>219b100</code></a> h2corn: supervisor restructure, typed stub gate</li> <li><a href="https://github.com/Zaczero/pkgs/commit/e65383fc1cc417396271ac02b509320cf40242d3"><code>e65383f</code></a> h2corn: teardown ownership rework, drop embedded microbenchmarks</li> <li><a href="https://github.com/Zaczero/pkgs/commit/99bed34f9ce4ba51a42a71869d4aa9008ccb01ce"><code>99bed34</code></a> starlette-compress: state-free responder, raw dispatch scan, tuple encoders</li> <li><a href="https://github.com/Zaczero/pkgs/commit/6d8ef612198767da0010bfe8579b6098db76e84d"><code>6d8ef61</code></a> starlette-compress: compress and flush streaming responses (SSE)</li> <li><a href="https://github.com/Zaczero/pkgs/commit/9d49e6ab647ddd28a81dd260bb463a691e1e42c3"><code>9d49e6a</code></a> pyo3stubs: #[cfg(test)] handling</li> <li>Additional commits viewable in <a href="https://github.com/Zaczero/pkgs/compare/starlette-compress/1.7.1...starlette-compress/1.8.0">compare view</a></li> </ul> </details> <br /> Updates `sqlalchemy[asyncio]` from 2.0.50 to 2.1.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sqlalchemy/sqlalchemy/releases">sqlalchemy[asyncio]'s releases</a>.</em></p> <blockquote> <h1>2.1.3</h1> <p>Released: October 2, 2026</p> <h2>orm</h2> <ul> <li> <p><strong>[orm] [bug] [regression]</strong> Fixed regression where columns delivered to a mapped class from an unmapped <code>_orm.MappedAsDataclass</code> mixin, or from a class decorated with <code>_orm.unmapped_dataclass()</code>, would not be placed in the <code>_schema.Table</code> in the order in which they were declared on the mixin; columns that had no dataclass default, such as a primary key column with no <code>_orm.mapped_column.default</code>, or which made use of <code>_orm.mapped_column.default_factory</code>, would be moved after the remaining columns of the mixin.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/13634">#13634</a></p> </li> </ul> <h2>sql</h2> <ul> <li> <p><strong>[sql] [bug] [regression]</strong> Fixed regression caused by the new implementation of <code>ExecutableStatement.params()</code> where parameter values established using this method would not be rendered when compiling the statement with the <code>literal_binds</code> compiler option, instead rendering NULL with a warning.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/13635">#13635</a></p> </li> </ul> <h1>2.1.2</h1> <p>Released: October 2, 2026</p> <h2>orm</h2> <ul> <li> <p><strong>[orm] [bug] [regression]</strong> Fixed regression caused by <a href="https://www.sqlalchemy.org/trac/ticket/5987">#5987</a> where the <code>selectinload()</code> loader strategy would ignore additional criteria present in the <code>_orm.relationship.primaryjoin</code> of a many-to-many relationship, such as a comparison against a column on the association table or on the parent table, loading related rows that should have been excluded. The <code>omit_join</code> optimization for many-to-many relationships is now only used when the primaryjoin consists solely of comparisons between the parent's primary key columns and the association table.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/13626">#13626</a></p> </li> </ul> <h2>engine</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sqlalchemy/sqlalchemy/commits">compare view</a></li> </ul> </details> <br /> Updates `psycopg[binary]` from 3.3.4 to 3.3.6 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psycopg/psycopg/blob/master/docs/news.rst">psycopg[binary]'s changelog</a>.</em></p> <blockquote> <p>.. currentmodule:: psycopg</p> <p>.. index:: single: Release notes single: News</p> <h1><code>psycopg</code> release notes</h1> <h2>Future releases</h2> <p>Psycopg 3.3.7 (unreleased) ^^^^^^^^^^^^^^^^^^^^^^^^^^</p> <ul> <li>Fix segfault fetching arrays of strings or timestamps after closing the connection (:ticket:<code>[#1428](https://github.com/psycopg/psycopg/issues/1428)</code>).</li> </ul> <h2>Current release</h2> <p>Psycopg 3.3.6 ^^^^^^^^^^^^^</p> <ul> <li>Add support for Python 3.15 (:ticket:<code>[#1245](https://github.com/psycopg/psycopg/issues/1245)</code>).</li> <li>Improve performance of async queries by reducing the overhead of the <code>!wait_async()</code> function (:ticket:<code>[#1331](https://github.com/psycopg/psycopg/issues/1331)</code>).</li> <li>Don't wait forever for a query to terminate after interrupting it, for instance if the server is unresponsive. The fix requires libpq 17 or newer (:ticket:<code>[#1371](https://github.com/psycopg/psycopg/issues/1371)</code>).</li> <li>Cancel a running query upon receiving <code>!SystemExit</code> (:ticket:<code>[#1384](https://github.com/psycopg/psycopg/issues/1384)</code>).</li> <li>Report <code>!None</code> instead of <code>65535</code> as the <code>Column.precision</code> of an :sql:<code>interval</code> column declared with a fields restriction and no explicit precision, such as e.g. :sql:<code>interval day to second</code> (:ticket:<code>[#1397](https://github.com/psycopg/psycopg/issues/1397)</code>).</li> <li>Fix dumping of nested subclasses of lists as arrays (:ticket:<code>[#1398](https://github.com/psycopg/psycopg/issues/1398)</code>).</li> <li>Discard prepared statements upon :sql:<code>DEALLOCATE ALL</code> (:ticket:<code>[#1408](https://github.com/psycopg/psycopg/issues/1408)</code>).</li> <li>Better guards dumping large Python <code>!int</code> to binary numeric (:ticket:<code>[#1414](https://github.com/psycopg/psycopg/issues/1414)</code>).</li> </ul> <p>Psycopg 3.3.5 ^^^^^^^^^^^^^</p> <ul> <li>Discard prepared statements upon :sql:<code>ALTER *</code> or <code>DISCARD *</code> (:ticket:<code>[#1307](https://github.com/psycopg/psycopg/issues/1307)</code>).</li> <li>Fix <code>!ProgrammingError</code> when dumping non-<code>!None</code> values with no <code>!NoneType</code> dumper registered in python implementation (:ticket:<code>[#1325](https://github.com/psycopg/psycopg/issues/1325)</code>).</li> <li>Fix <code>!wait_selector</code> wait function to not raise <code>!KeyError</code> (:ticket:<code>[#1327](https://github.com/psycopg/psycopg/issues/1327)</code>).</li> <li>Fix <code>!DataError</code> messages leaking the literal <code>{...}</code> placeholder instead</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psycopg/psycopg/commit/a67654d1e7afbf9b3a619557838f62de1c790e7c"><code>a67654d</code></a> chore: bump psycopg package version to 3.3.6</li> <li><a href="https://github.com/psycopg/psycopg/commit/443814b3b111ac678a39fd523c1a826266fb69b5"><code>443814b</code></a> Merge pull request <a href="https://redirect.github.com/psycopg/psycopg/issues/1416">#1416</a> from dvarrazzo/wait-async-perf</li> <li><a href="https://github.com/psycopg/psycopg/commit/42966e9ebbda3b9c69b15c5588543c15f2aae5dd"><code>42966e9</code></a> test: add helpful comments to some tests</li> <li><a href="https://github.com/psycopg/psycopg/commit/5e8797f0c8003d8cd12a1e5c13f05fbb94c1c1d2"><code>5e8797f</code></a> test: add reasonable connect_timeout to most tests</li> <li><a href="https://github.com/psycopg/psycopg/commit/c81ba62442dfbd69e207d6914e6ae2aa27e56886"><code>c81ba62</code></a> perf: reduce the overhead of wait_async()</li> <li><a href="https://github.com/psycopg/psycopg/commit/d2bbfe4e2b1e36a20e72a18097f35a3db27296e3"><code>d2bbfe4</code></a> refactor: use get_running_loop() in the async wait functions</li> <li><a href="https://github.com/psycopg/psycopg/commit/2b1484a550e01c88fda077099678f0abb9217ecb"><code>2b1484a</code></a> test: add a script to measure the async wait functions</li> <li><a href="https://github.com/psycopg/psycopg/commit/573cf4aa70d8fdefc9d5f3eb69d5419cd6d3cd51"><code>573cf4a</code></a> test: fix incorrect wait timing test</li> <li><a href="https://github.com/psycopg/psycopg/commit/2b68990874175b8d97269218d4963b2d5c8656f3"><code>2b68990</code></a> refactor: drop leftovers of waiting with inf interval in wait_conn_async</li> <li><a href="https://github.com/psycopg/psycopg/commit/60765dd8fc7d8df03cd75efcff485bfb3c83a0ed"><code>60765dd</code></a> Merge pull request <a href="https://redirect.github.com/psycopg/psycopg/issues/1414">#1414</a> from dvarrazzo/fix-decimal-overflow</li> <li>Additional commits viewable in <a href="https://github.com/psycopg/psycopg/compare/3.3.4...3.3.6">compare view</a></li> </ul> </details> <br /> Updates `alembic` from 1.18.4 to 1.20.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sqlalchemy/alembic/releases">alembic's releases</a>.</em></p> <blockquote> <h1>1.20.0</h1> <p>Released: September 11, 2026</p> <h2>usecase</h2> <ul> <li> <p><strong>[usecase] [batch]</strong> Added a warning for the case where an unnamed CHECK constraint on a reflected table is omitted from a batch "recreate" operation. An unnamed CHECK constraint can't be reliably carried over in a batch recreate as it may refer to columns that are being dropped or changed. This omission was previously a silent operation. The presence of any <code>~sqlalchemy.schema.CheckConstraint</code> in <code>Operations.batch_alter_table.table_args</code> is taken to indicate that the case has been accommodated, and no warning is emitted.</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/alembic/issues/1846">#1846</a></p> </li> <li> <p><strong>[usecase] [autogenerate]</strong> Autogenerate now renders a warning comment above any rendered <code>Operations.drop_constraint()</code> directive for which the constraint name is <code>None</code>, as is the case when a constraint that has no name in the model is dropped, most typically within the <code>downgrade()</code> function of a migration that adds an unnamed constraint. A warning is also emitted on the console when the migration script is generated. The directive requires a non-None name in order to be able to emit a "DROP CONSTRAINT" command.</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/alembic/issues/916">#916</a></p> </li> </ul> <h2>bug</h2> <ul> <li> <p><strong>[bug] [batch]</strong> Fixed bug in batch mode where adding a column with a type that generates its own CHECK constraint, such as <code>~sqlalchemy.types.Boolean</code> or <code>~sqlalchemy.types.Enum</code> with <code>~sqlalchemy.types.Boolean.create_constraint</code> set to <code>True</code>, would emit the constraint twice when the table was recreated, once under the name generated by the naming convention in use and once under the name given to the type. The constraint is now emitted once, using the same name that would be used outside of batch mode.</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/alembic/issues/1768">#1768</a></p> </li> <li> <p><strong>[bug] [batch]</strong> Fixed bug in batch mode where a CHECK constraint generated by a type such as <code>~sqlalchemy.types.Boolean</code> or <code>~sqlalchemy.types.Enum</code> would lose the name established for it by the naming convention in use when the table was recreated, as the constraint was regenerated against the temporary table used for the recreate operation. The naming convention is now resolved against the name of the table being replaced.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sqlalchemy/alembic/commits">compare view</a></li> </ul> </details> <br /> Updates `pycrdt` from 0.13.1 to 0.14.8 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/y-crdt/pycrdt/releases">pycrdt's releases</a>.</em></p> <blockquote> <h2>0.14.8</h2> <ul> <li>Bump <code>yrs</code> to v0.28.0.</li> <li>Cache node IDs to fix deleted XML children.</li> </ul> <h2>0.14.6</h2> <ul> <li>Improve XML children iteration performances.</li> </ul> <h2>0.14.5</h2> <ul> <li>Support undo manager origins.</li> </ul> <h2>0.14.4</h2> <ul> <li>Bump <code>yrs</code> to v0.27.4.</li> </ul> <h2>0.14.3</h2> <ul> <li>Allow passing a <code>guid</code> to <code>Doc</code>.</li> </ul> <h2>0.14.2</h2> <ul> <li>Allow embedding <code>Array</code>, <code>Map</code> and <code>Text</code> shared types in a <code>Text</code> via <code>insert_embed()</code>.</li> <li>Return <code>pycrdt</code> types from <code>Text</code> and <code>XmlText</code> <code>diff()</code> for embeds.</li> <li>Remove <code>futures-lite</code> dependency and bump other Rust dependencies.</li> <li>Bump <code>mypy</code> v2.3.0 for tests.</li> </ul> <h2>0.14.1</h2> <ul> <li>Bump <code>yrs</code> to v0.27.2.</li> <li>Add <code>IdMap</code>, <code>ContentAttribute</code> and <code>AttrRange</code>.</li> </ul> <h2>0.14.0</h2> <ul> <li>Remove <code>Array.move</code> method.</li> <li><code>UndoManager</code> doesn't accept a <code>doc</code> anymore.</li> </ul> <p>This is a breaking change because it uses Yrs v0.27.0 which is also a breaking change.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/y-crdt/pycrdt/blob/main/CHANGELOG.md">pycrdt's changelog</a>.</em></p> <blockquote> <h2>0.14.8</h2> <ul> <li>Bump <code>yrs</code> to v0.28.0.</li> <li>Cache node IDs to fix deleted XML children.</li> </ul> <h2>0.14.6</h2> <ul> <li>Improve XML children iteration performances.</li> </ul> <h2>0.14.5</h2> <ul> <li>Support undo manager origins.</li> </ul> <h2>0.14.4</h2> <ul> <li>Bump <code>yrs</code> to v0.27.4.</li> </ul> <h2>0.14.3</h2> <ul> <li>Allow passing a <code>guid</code> to <code>Doc</code>.</li> </ul> <h2>0.14.2</h2> <ul> <li>Allow embedding <code>Array</code>, <code>Map</code> and <code>Text</code> shared types in a <code>Text</code> via <code>insert_embed()</code>.</li> <li>Return <code>pycrdt</code> types from <code>Text</code> and <code>XmlText</code> <code>diff()</code> for embeds.</li> <li>Remove <code>futures-lite</code> dependency and bump other Rust dependencies.</li> <li>Bump <code>mypy</code> v2.3.0 for tests.</li> </ul> <h2>0.14.1</h2> <ul> <li>Bump <code>yrs</code> to v0.27.2.</li> <li>Add <code>IdMap</code>, <code>ContentAttribute</code> and <code>AttrRange</code>.</li> </ul> <h2>0.14.0</h2> <ul> <li>Remove <code>Array.move</code> method.</li> <li><code>UndoManager</code> doesn't accept a <code>doc</code> anymore.</li> </ul> <p>This is a breaking change because it uses Yrs v0.27.0 which is also a breaking change.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/y-crdt/pycrdt/commit/757c05c1ff41b48a1f558c9be8bfbb9b93857043"><code>757c05c</code></a> Release v0.14.8</li> <li><a href="https://github.com/y-crdt/pycrdt/commit/10085912fdcc9295b92fdf004533c06756bbbf16"><code>1008591</code></a> Cache node IDs to fix deleted XML children (<a href="https://redirect.github.com/y-crdt/pycrdt/issues/438">#438</a>)</li> <li><a href="https://github.com/y-crdt/pycrdt/commit/95caf9f26bc6c6db98d78c4b6aadcd1bb7d07e5b"><code>95caf9f</code></a> Release v0.14.7</li> <li><a href="https://github.com/y-crdt/pycrdt/commit/09f963012115d430912f0bf9dc147b97ff1a3213"><code>09f9630</code></a> Bump Yrs to v0.28.0 (<a href="https://redirect.github.com/y-crdt/pycrdt/issues/431">#431</a>)</li> <li><a href="https://github.com/y-crdt/pycrdt/commit/db689a16f3aeaadb645daff8f5a937d95f68d8af"><code>db689a1</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/y-crdt/pycrdt/issues/437">#437</a>)</li> <li><a href="https://github.com/y-crdt/pycrdt/commit/5838dc016668c7e898328712600e2e7b0e03383a"><code>5838dc0</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/y-crdt/pycrdt/issues/434">#434</a>)</li> <li><a href="https://github.com/y-crdt/pycrdt/commit/b68104b463406048eb71a4d652876596f910eea3"><code>b68104b</code></a> Release v0.14.6</li> <li><a href="https://github.com/y-crdt/pycrdt/commit/d30774c60fc411463e4a68eb19d6fbec21a70f5d"><code>d30774c</code></a> [perf] Iterate XML children in linear time (<a href="https://redirect.github.com/y-crdt/pycrdt/issues/432">#432</a>)</li> <li><a href="https://github.com/y-crdt/pycrdt/commit/97e1f4d590ce0c3cad64b5231785541ca9141a56"><code>97e1f4d</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/y-crdt/pycrdt/issues/430">#430</a>)</li> <li><a href="https://github.com/y-crdt/pycrdt/commit/ee2d692edbc6176793f5458bc13ab880e3a5a2e2"><code>ee2d692</code></a> Release v0.14.5</li> <li>Additional commits viewable in <a href="https://github.com/y-crdt/pycrdt/compare/0.13.1...0.14.8">compare view</a></li> </ul> </details> <br /> Updates `redis` from 8.0.1 to 8.1.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/redis/redis-py/releases">redis's releases</a>.</em></p> <blockquote> <h2>8.1.0</h2> <h1>Changes</h1> <h2>✨ Highlights</h2> <h3>Async maintenance notifications</h3> <p>redis-py now supports server-pushed <strong>maintenance notifications</strong> in the asyncio stack for both standalone and cluster clients, bringing the async client to parity with the sync implementation. When a Redis deployment signals maintenance events (such as node migration or failover windows), the async client reacts through the maintenance-notifications handler (<code>redis/maint_notifications.py</code> and its async integration under <code>redis/asyncio/</code>), allowing applications to adapt connection handling during maintenance without downtime. (<a href="https://redirect.github.com/redis/redis-py/issues/4177">#4177</a>)</p> <h3>Expanded command coverage</h3> <p>This release adds a batch of new command surfaces across core data types and modules:</p> <ul> <li><strong>Lists</strong> — <code>LMOVEM</code> / <code>BLMOVEM</code> for moving multiple elements between lists (<a href="https://redirect.github.com/redis/redis-py/issues/4174">#4174</a>).</li> <li><strong>Sets</strong> — <code>SDIFFCARD</code> and <code>SUNIONCARD</code> cardinality commands (<a href="https://redirect.github.com/redis/redis-py/issues/4171">#4171</a>).</li> <li><strong>Streams</strong> — <code>MAXCOUNT</code> / <code>MAXSIZE</code> options for <code>XREAD</code> and <code>XREADGROUP</code> (<a href="https://redirect.github.com/redis/redis-py/issues/4173">#4173</a>).</li> <li><strong>Time Series</strong> — <code>TS.READ</code> (<a href="https://redirect.github.com/redis/redis-py/issues/4170">#4170</a>), <code>TS.QUERYLABELS</code> (<a href="https://redirect.github.com/redis/redis-py/issues/4197">#4197</a>), <code>TS.NRANGE</code> / <code>TS.NREVRANGE</code> (<a href="https://redirect.github.com/redis/redis-py/issues/4163">#4163</a>), and an <code>exclude_empty</code> (<code>EXCLUDEEMPTY</code>) option for <code>TS.MRANGE</code> / <code>TS.MREVRANGE</code> (<a href="https://redirect.github.com/redis/redis-py/issues/4188">#4188</a>).</li> <li><strong>Search</strong> — <code>FT.ALIASLIST</code> (<a href="https://redirect.github.com/redis/redis-py/issues/4198">#4198</a>) and a <code>COLLECT</code> reducer for aggregations (<a href="https://redirect.github.com/redis/redis-py/issues/4179">#4179</a>).</li> <li><strong>Sentinel</strong> — replica sentinel aliases (<a href="https://redirect.github.com/redis/redis-py/issues/4127">#4127</a>).</li> </ul> <h2>🚀 New Features</h2> <ul> <li>Add replica sentinel aliases (<a href="https://redirect.github.com/redis/redis-py/issues/4127">#4127</a>)</li> <li>Add TS.NRANGE and TS.NREVRANGE support to the timeseries command surface (<a href="https://redirect.github.com/redis/redis-py/issues/4163">#4163</a>)</li> <li>feat: add TS.READ command support to the timeseries module (<a href="https://redirect.github.com/redis/redis-py/issues/4170">#4170</a>)</li> <li>feat: add SDIFFCARD and SUNIONCARD command support (<a href="https://redirect.github.com/redis/redis-py/issues/4171">#4171</a>)</li> <li>feat: add MAXCOUNT/MAXSIZE support to XREAD and XREADGROUP (<a href="https://redirect.github.com/redis/redis-py/issues/4173">#4173</a>)</li> <li>feat: add LMOVEM and BLMOVEM commands for moving multiple list elements (<a href="https://redirect.github.com/redis/redis-py/issues/4174">#4174</a>)</li> <li>feat: add async maintenance-notifications support for standalone and cluster clients (<a href="https://redirect.github.com/redis/redis-py/issues/4177">#4177</a>)</li> <li>feat: add COLLECT reducer support to search aggregations (<a href="https://redirect.github.com/redis/redis-py/issues/4179">#4179</a>)</li> <li>feat: add exclude_empty (EXCLUDEEMPTY) option to TS.MRANGE and TS.MREVRANGE (<a href="https://redirect.github.com/redis/redis-py/issues/4188">#4188</a>)</li> <li>feat: add TS.QUERYLABELS support to the timeseries command surface (<a href="https://redirect.github.com/redis/redis-py/issues/4197">#4197</a>)</li> <li>feat: add FT.ALIASLIST support (<a href="https://redirect.github.com/redis/redis-py/issues/4198">#4198</a>)</li> </ul> <h2>⚠️ Experimental</h2> <ul> <li>feat: add client-side HIMPORT fieldset support for standalone and cluster clients (<a href="https://redirect.github.com/redis/redis-py/issues/4205">#4205</a>)</li> </ul> <p>The feature considered unstable and <strong>public API might be changed in the future minor version</strong></p> <h2>🐛 Bug Fixes</h2> <ul> <li>fix: detect closed pooled connection without consuming pending push data (RESP3 + hiredis) (<a href="https://redirect.github.com/redis/redis-py/issues/4156">#4156</a>)</li> <li>Fix Sentinel pool capacity loss after failover (<a href="https://redirect.github.com/redis/redis-py/issues/4193">#4193</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/redis/redis-py/commit/e013126df18e476fbb8b8215f040f39bd3242683"><code>e013126</code></a> Testing with 8.10 GA (<a href="https://redirect.github.com/redis/redis-py/issues/4227">#4227</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/059d1e97d88dd7ed516628e0a9765ab8e0e299f1"><code>059d1e9</code></a> Fixed TS.NRANGE commands to correctly apply aggregators (<a href="https://redirect.github.com/redis/redis-py/issues/4225">#4225</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/d486a0a982dcdf316006474dc286ca65cbec5a9f"><code>d486a0a</code></a> Fix FIELDNAME alias dropping first character of un-prefixed fields (<a href="https://redirect.github.com/redis/redis-py/issues/4224">#4224</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/fb931042420baaa5fbb9021955e444f7afa66dc2"><code>fb93104</code></a> feat: add client-side HIMPORT fieldset support for standalone and cluster cli...</li> <li><a href="https://github.com/redis/redis-py/commit/9197609f48eb9713411a50534ca48210486a4bf9"><code>9197609</code></a> Fix lat/lon swap in search querystring geo() helper (<a href="https://redirect.github.com/redis/redis-py/issues/4223">#4223</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/14714a0812d3ff03ad34c89ce6f79e287a04e9fb"><code>14714a0</code></a> fix: Fixed double decoding issue with unquote() (<a href="https://redirect.github.com/redis/redis-py/issues/4222">#4222</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/227280a939718d09ff9d7c41f9785ffdc21bdc2a"><code>227280a</code></a> Update lib version to 8.1.0</li> <li><a href="https://github.com/redis/redis-py/commit/88d16d0db10c852d1d292628b2c832f1ed117056"><code>88d16d0</code></a> Decode ACL LOG string values on the default RESP3 legacy callback (<a href="https://redirect.github.com/redis/redis-py/issues/4201">#4201</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/599fd75ca7d0745928280ff3a64ccd224dbf2b76"><code>599fd75</code></a> feat: add FT.ALIASLIST support (<a href="https://redirect.github.com/redis/redis-py/issues/4198">#4198</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/71e275e6eae94d202b49bccce10ef0d2a59050e7"><code>71e275e</code></a> test: add VectorField RERANK serialization tests for sync and async search (#...</li> <li>Additional commits viewable in <a href="https://github.com/redis/redis-py/compare/v8.0.1...v8.1.0">compare view</a></li> </ul> </details> <br /> Updates `hiredis` from 3.4.0 to 3.4.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/redis/hiredis-py/releases">hiredis's releases</a>.</em></p> <blockquote> <h2>3.4.2</h2> <p>This is a bugfix release. Users of hiredis-py 3.4.x that receive RESP3 push notifications — pub/sub deliveries or client-side cache invalidations — are encouraged to upgrade.</p> <h1>🐛 Bug Fixes</h1> <ul> <li>Release the list each push notification is sized from (<a href="https://redirect.github.com/redis/hiredis-py/issues/239">#239</a>)</li> </ul> <p><code>PushNotificationType_New</code> pre-sized every <code>PushNotification</code> with a list that <code>PyList_SetSlice</code> only borrows, and the reference was never dropped. Each RESP3 push notification therefore stranded one list object for the lifetime of the process. Because push notifications carry pub/sub deliveries and client-side caching invalidations, the leak grew with <em>message volume</em> rather than with the number of connections, making it unbounded for a long-lived subscriber — roughly 20 MB per 200,000 four-element notifications, and more for larger ones. Dropping the reference also removes an allocation from the parse path, which makes parsing a small notification about 10% faster.</p> <p>The same change checks <code>PyList_New</code> for failure and guards <code>tryParentize</code> against a <code>NULL</code> reply, so an allocation failure is now reported as an error instead of writing elements past the end of a zero-length notification.</p> <p>RESP2 array replies were never affected.</p> <h2>Contributors</h2> <p>Thanks to <a href="https://github.com/mmick78"><code>@mmick78</code></a> for finding and fixing this.</p> <h2>3.4.1</h2> <p>This is a security fix release. All users of hiredis-py 3.4.x are strongly encouraged to upgrade.</p> <h1>🔒 Security Fixes</h1> <p>Updates the bundled hiredis C library to <a href="https://github.com/redis/hiredis/releases/tag/v1.4.1">v1.4.1</a>, which fixes:</p> <ul> <li><code>redis/hiredis#1340</code></li> <li><code>redis/hiredis#1341</code></li> </ul> <h2>Acknowledgements</h2> <p>Vulnerability discovered by He Huang (<a href="mailto:hehuang@swin.edu.au">hehuang@swin.edu.au</a>), Swinburne University of Technology, Melbourne, Australia; discovered using NexusSan.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/redis/hiredis-py/commit/b1b29513f005fbd2554711c1ed051a04b424283c"><code>b1b2951</code></a> [3.4] Release the list each push notification is sized from, release 3.4.2 (#...</li> <li><a href="https://github.com/redis/hiredis-py/commit/70d83795c44558f50d9166c64b1d05311eaa8066"><code>70d8379</code></a> [3.4] Bump hiredis to v1.4.1, release 3.4.1 (<a href="https://redirect.github.com/redis/hiredis-py/issues/244">#244</a>)</li> <li>See full diff in <a href="https://github.com/redis/hiredis-py/compare/v3.4.0...v3.4.2">compare view</a></li> </ul> </details> <br /> Updates `pytz` from 2026.2 to 2026.5 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/stub42/pytz/commit/21be17fe9b5334f51ac145d08dfc089b3c40b96f"><code>21be17f</code></a> Add Python 3.14 to test suite</li> <li><a href="https://github.com/stub42/pytz/commit/fddd01c11ddbf65dea944e7a2fdb523327df3275"><code>fddd01c</code></a> Bump version numbers to 2026.5 (2026e)</li> <li><a href="https://github.com/stub42/pytz/commit/8f05ab3e7f1176950c9490692ffec74db5dd2b85"><code>8f05ab3</code></a> IANA 2026e</li> <li><a href="https://github.com/stub42/pytz/commit/d79605f8e4d65ab57b8cdf7eca535d3b4f4685e5"><code>d79605f</code></a> Squashed 'tz/' changes from d633fe7ed3..db07415c7d</li> <li><a href="https://github.com/stub42/pytz/commit/1ac6e51578e9ed08303cd13fe0f2652f3d1f1314"><code>1ac6e51</code></a> Bump version numbers to 2026.4 (2026d)</li> <li><a href="https://github.com/stub42/pytz/commit/167279838c9bb07129c11ae73b89004e308d6e46"><code>1672798</code></a> IANA 2026d</li> <li><a href="https://github.com/stub42/pytz/commit/0b5995b7d3722167c2ad96b7510af1f331e07e19"><code>0b5995b</code></a> Squashed 'tz/' changes from 71f28b9ab3..bac9223f4b</li> <li><a href="https://github.com/stub42/pytz/commit/e96461bcc219da9d07865a358e6e0801ff76c4eb"><code>e96461b</code></a> Make deprecation notice louder</li> <li><a href="https://github.com/stub42/pytz/commit/3c7af5862767eb21496f0be9e50a6ec04ac9a43d"><code>3c7af58</code></a> Merge branch 'nicoleman0-fix/timezone-non-string-input' into 2026d</li> <li><a href="https://github.com/stub42/pytz/commit/234a2472de4648e3a877ff2eed56c1e03090d692"><code>234a247</code></a> Merge branch 'nicoleman0-fix/fixedoffset-basetzinfo' into 2026d</li> <li>Additional commits viewable in <a href="https://github.com/stub42/pytz/compare/release_2026.2...release_2026.5">compare view</a></li> </ul> </details> <br /> Updates `asgiref` from 3.11.1 to 3.12.1 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/django/asgiref/blob/main/CHANGELOG.txt">asgiref's changelog</a>.</em></p> <blockquote> <h2>3.12.1 (2026-07-14)</h2> <ul> <li> <p>Restored the previous SyncToAsync.<strong>call</strong> internal code shape, which was relied on by some APM services. (<a href="https://redirect.github.com/django/asgiref/issues/572">#572</a>)</p> <p>Note, this change was available whilst maintaining the underlying fix (from <a href="https://redirect.github.com/django/asgiref/issues/564">#564</a>). It does not constitute an API stability promise. Ideally APMs are <em>not</em> monkey patching internal APIs, and future changes will be made here if needed.</p> </li> </ul> <h2>3.12.0 (2026-07-14)</h2> <ul> <li> <p><code>AsyncToSync</code> no longer captures the running event loop on instantiation. (<a href="https://redirect.github.com/django/asgiref/issues/562">#562</a>)</p> <p>This resolves a series of deadlocks that users experienced after asgiref 3.9.0, particularly with pytest-asyncio. pytest-asyncio stops the event loop between tests, and long-running unawaited futures could find themselves trying to schedule work onto a stopped loop, and so would never complete. Ideally, code should be structured to await long-running futures before returning, but this change should help users experiencing issues here.</p> <p>The loop is now resolved when the callable is invoked rather than when it is created. If <code>async_to_sync</code> is called from within <code>sync_to_async</code>, the parent event loop is still used, as before.</p> <p>The possibility of deadlock therefore remains in some nested patterns. For example, an async function may call a long-running <code>sync_to_async</code> function that itself uses <code>async_to_sync</code>; if the outer function returns before the sync future completes, the parent event loop may already be stopped, and the nested calls cannot be driven to completion.</p> <p>This is not a bug in asgiref — the same patterns deadlock in plain asyncio. As above, restructure your code to await the <code>sync_to_async</code> future before exiting the driving coroutine.</p> </li> <li> <p>Fixed an event loop deadlock when exiting <code>ThreadSensitiveContext</code> while its executor thread was still blocked waiting on the event loop. (<a href="https://redirect.github.com/django/asgiref/issues/535">#535</a>)</p> </li> <li> <p>Dropped support for EOL Python 3.9.</p> </li> <li> <p>Fixed <code>StatelessServer.run()</code> failing on Python 3.14, where <code>asyncio.get_event_loop()</code> no longer creates an event loop if none exists. It now uses <code>asyncio.run()</code>. (<a href="https://redirect.github.com/django/asgiref/issues/559">#559</a>)</p> </li> <li> <p>Fixed <code>Local</code> leaking data between unrelated sync threads when <code>sys.flags.thread_inherit_context</code> is enabled (Python 3.14+), so a newly</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/django/asgiref/commit/ef9d4b8b371cf8a7bb63dea3d0fdc60923e9e081"><code>ef9d4b8</code></a> Releasing 3.12.1</li> <li><a href="https://github.com/django/asgiref/commit/34fba6328f67a753d814c280811fd34094bd1f6c"><code>34fba63</code></a> Restore previous SyncToAsync.<strong>call</strong> internal code shape.</li> <li><a href="https://github.com/django/asgiref/commit/a43900c131874be571c6afdca642d4054eed0acf"><code>a43900c</code></a> Separate mypy from tests extra.</li> <li><a href="https://github.com/django/asgiref/commit/1b7c338591054c04ff6c140d899ced28b803b4e0"><code>1b7c338</code></a> Releasing 3.12.0</li> <li><a href="https://github.com/django/asgiref/commit/157d9d4168434d73b1bb5a619f947b74ccbf1fc8"><code>157d9d4</code></a> Renovate precommit (<a href="https://redirect.github.com/django/asgiref/issues/552">#552</a>)</li> <li><a hre…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Backport of the RESP parser nesting-depth limit to the 1.4.x maintenance line.
Malicious or corrupted RESP protocol data with arbitrarily deep nested aggregate replies could overflow the stack when the reply tree is recursively freed. This caps reply nesting at 1024 levels and rejects deeper replies with a protocol error, with no ABI change (no SONAME bump required).
Originally authored by @michael-grunder. Vulnerability discovered by He Huang, Swinburne University of Technology, Melbourne, Australia; discovery using NexusSan.
Note
Medium Risk
Security-oriented change to core protocol parsing; legitimate replies deeper than 1024 aggregates would now fail, but that depth is far beyond normal Redis usage.
Overview
Caps nested RESP aggregate parsing at 1024 levels so malicious or corrupt wire data cannot drive unbounded nesting (e.g. stack overflow when freeing deep reply trees).
In
processAggregateItem, when the reader task index would exceedREDIS_READER_MAX_REPLY_DEPTH, parsing stops with a protocol error (Max nesting depth exceeded). README documents the fixed limit; tests cover success at depth 1024 and failure at 1025.Reviewed by Cursor Bugbot for commit 724bb0f. Bugbot is set up for automated code reviews on this repo. Configure here.