mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-07 02:07:52 +02:00
106744a8e3a18cafaac21e4d9b44b57504e838a1
30
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
73cebea3c2 | release: langgraph + prebuilt (#6875) | ||
|
|
666c224c2d |
chore: bump orjson (#6852)
The orjson.dumps function in orjson thru 3.11.4 does not limit recursion for deeply nested JSON documents. |
||
|
|
9b9de5bd16 |
chore: conformance testing (#6842)
Add some conformance tests for checkpointer implementations. Includes additona methods that will be useful if you want to integarte in the agent server. |
||
|
|
17b3285907 |
chore(deps): bump the all-dependencies group in /libs/sdk-py with 4 updates (#6809)
Bumps the all-dependencies group in /libs/sdk-py with 4 updates: [orjson](https://github.com/ijl/orjson), [ruff](https://github.com/astral-sh/ruff), [mypy](https://github.com/python/mypy) and [ty](https://github.com/astral-sh/ty). Updates `orjson` from 3.11.5 to 3.11.7 <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.11.7</h2> <h3>Changed</h3> <ul> <li>Use a faster library to serialize <code>float</code>. Users with byte-exact regression tests should note positive exponents are now written using a <code>+</code>, e.g., <code>1.2e+30</code> instead of <code>1.2e30</code>. Both formats are spec-compliant.</li> <li>ABI compatibility with CPython 3.15 alpha 5 free-threading.</li> </ul> <h2>3.11.6</h2> <h3>Changed</h3> <ul> <li>orjson now includes code licensed under the Mozilla Public License 2.0 (MPL-2.0).</li> <li>Drop support for Python 3.9.</li> <li>ABI compatibility with CPython 3.15 alpha 5.</li> <li>Build now depends on Rust 1.89 or later instead of 1.85.</li> </ul> <h3>Fixed</h3> <ul> <li>Fix sporadic crash serializing deeply nested <code>list</code> of <code>dict</code>.</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.11.7 - 2026-02-02</h2> <h3>Changed</h3> <ul> <li>Use a faster library to serialize <code>float</code>. Users with byte-exact regression tests should note positive exponents are now written using a <code>+</code>, e.g., <code>1.2e+30</code> instead of <code>1.2e30</code>. Both formats are spec-compliant.</li> <li>ABI compatibility with CPython 3.15 alpha 5 free-threading.</li> </ul> <h2>3.11.6 - 2026-01-29</h2> <h3>Changed</h3> <ul> <li>orjson now includes code licensed under the Mozilla Public License 2.0 (MPL-2.0).</li> <li>Drop support for Python 3.9.</li> <li>ABI compatibility with CPython 3.15 alpha 5.</li> <li>Build now depends on Rust 1.89 or later instead of 1.85.</li> </ul> <h3>Fixed</h3> <ul> <li>Fix sporadic crash serializing deeply nested <code>list</code> of <code>dict</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ijl/orjson/commit/ec2b066cae79ae4a90ed126ac5723335dd99e408"><code>ec2b066</code></a> 3.11.7</li> <li><a href="https://github.com/ijl/orjson/commit/1ca01f78cf4198ec37407d83713afa6e5c53dbf9"><code>1ca01f7</code></a> zmij</li> <li><a href="https://github.com/ijl/orjson/commit/1716a226bd1f38db01503f30cd37b0efec48d88e"><code>1716a22</code></a> cargo update</li> <li><a href="https://github.com/ijl/orjson/commit/ec02024c3837255064f248c0d2d331319b75e9ad"><code>ec02024</code></a> 3.11.6</li> <li><a href="https://github.com/ijl/orjson/commit/d58168733189f82b3fd0c058dff73e05d09202e6"><code>d581687</code></a> build, clippy misc</li> <li><a href="https://github.com/ijl/orjson/commit/4105b29b2275f200f6fae01349bef02ccf1bc2e2"><code>4105b29</code></a> writer::num</li> <li><a href="https://github.com/ijl/orjson/commit/62bb185b70785ded49c79c26f8c9781f1e6fe370"><code>62bb185</code></a> Fix sporadic crash on serializing object close</li> <li><a href="https://github.com/ijl/orjson/commit/d860078a973f44401265c5c4ad12a7dbe4f839ad"><code>d860078</code></a> PyRef idiom refactors</li> <li><a href="https://github.com/ijl/orjson/commit/343ae2f148197918aba9f8562db42c364620e4b8"><code>343ae2f</code></a> Deserializer, Utf8Buffer</li> <li><a href="https://github.com/ijl/orjson/commit/7835f58d1c56947d1cf7a18acdfc07a2bca9b0f2"><code>7835f58</code></a> PyBytesRef and other input refactor</li> <li>Additional commits viewable in <a href="https://github.com/ijl/orjson/compare/3.11.5...3.11.7">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.14.11 to 0.15.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.15.1</h2> <h2>Release Notes</h2> <p>Released on 2026-02-12.</p> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Add ruff rules to catch deprecated Airflow imports for Airflow 3.1 (<code>AIR321</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22376">#22376</a>)</li> <li>[<code>airflow</code>] Third positional parameter not named <code>ti_key</code> should be flagged for <code>BaseOperatorLink.get_link</code> (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22828">#22828</a>)</li> <li>[<code>flake8-gettext</code>] Fix false negatives for plural argument of <code>ngettext</code> (<code>INT001</code>, <code>INT002</code>, <code>INT003</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21078">#21078</a>)</li> <li>[<code>pyflakes</code>] Fix infinite loop in preview fix for <code>unused-import</code> (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23038">#23038</a>)</li> <li>[<code>pygrep-hooks</code>] Detect non-existent mock methods in standalone expressions (<code>PGH005</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22830">#22830</a>)</li> <li>[<code>pylint</code>] Allow dunder submodules and improve diagnostic range (<code>PLC2701</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22804">#22804</a>)</li> <li>[<code>pyupgrade</code>] Improve diagnostic range for tuples (<code>UP024</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23013">#23013</a>)</li> <li>[<code>refurb</code>] Check subscripts in tuple do not use lambda parameters in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23079">#23079</a>)</li> <li>[<code>ruff</code>] Detect mutable defaults in <code>field</code> calls (<code>RUF008</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23046">#23046</a>)</li> <li>[<code>ruff</code>] Ignore std <code>cmath.inf</code> (<code>RUF069</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23120">#23120</a>)</li> <li>[<code>ruff</code>] New rule <code>float-equality-comparison</code> (<code>RUF069</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20585">#20585</a>)</li> <li>Don't format unlabeled Markdown code blocks (<a href="https://redirect.github.com/astral-sh/ruff/pull/23106">#23106</a>)</li> <li>Markdown formatting support in LSP (<a href="https://redirect.github.com/astral-sh/ruff/pull/23063">#23063</a>)</li> <li>Support Quarto Markdown language markers (<a href="https://redirect.github.com/astral-sh/ruff/pull/22947">#22947</a>)</li> <li>Support formatting <code>pycon</code> Markdown code blocks (<a href="https://redirect.github.com/astral-sh/ruff/pull/23112">#23112</a>)</li> <li>Use extension mapping to select Markdown code block language (<a href="https://redirect.github.com/astral-sh/ruff/pull/22934">#22934</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid false positive for undefined variables in <code>FAST001</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/23224">#23224</a>)</li> <li>Avoid introducing syntax errors for <code>FAST003</code> autofix (<a href="https://redirect.github.com/astral-sh/ruff/pull/23227">#23227</a>)</li> <li>Avoid suggesting <code>InitVar</code> for <code>__post_init__</code> that references PEP 695 type parameters (<a href="https://redirect.github.com/astral-sh/ruff/pull/23226">#23226</a>)</li> <li>Deduplicate type variables in generic functions (<a href="https://redirect.github.com/astral-sh/ruff/pull/23225">#23225</a>)</li> <li>Fix exception handler parenthesis removal for Python 3.14+ (<a href="https://redirect.github.com/astral-sh/ruff/pull/23126">#23126</a>)</li> <li>Fix f-string middle panic when parsing t-strings (<a href="https://redirect.github.com/astral-sh/ruff/pull/23232">#23232</a>)</li> <li>Wrap <code>RUF020</code> target for multiline fixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/23210">#23210</a>)</li> <li>Wrap <code>UP007</code> target for multiline fixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/23208">#23208</a>)</li> <li>Fix missing diagnostics for last range suppression in file (<a href="https://redirect.github.com/astral-sh/ruff/pull/23242">#23242</a>)</li> <li>[<code>pyupgrade</code>] Fix syntax error on string with newline escape and comment (<code>UP037</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22968">#22968</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Use <code>ruff</code> instead of <code>Ruff</code> as the program name in GitHub output format (<a href="https://redirect.github.com/astral-sh/ruff/pull/23240">#23240</a>)</li> <li>[<code>PT006</code>] Fix syntax error when unpacking nested tuples in <code>parametrize</code> fixes (<a href="https://redirect.github.com/astral-sh/ruff/issues/22441">#22441</a>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22464">#22464</a>)</li> <li>[<code>airflow</code>] Catch deprecated attribute access from context key for Airflow 3.0 (<code>AIR301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22850">#22850</a>)</li> <li>[<code>airflow</code>] Capture deprecated arguments and a decorator (<code>AIR301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23170">#23170</a>)</li> <li>[<code>flake8-boolean-trap</code>] Add <code>multiprocessing.Value</code> to excluded functions for <code>FBT003</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/23010">#23010</a>)</li> <li>[<code>flake8-bugbear</code>] Add a secondary annotation showing the previous occurrence (<code>B033</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22634">#22634</a>)</li> <li>[<code>flake8-type-checking</code>] Add sub-diagnostic showing the runtime use of an annotation (<code>TC004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23091">#23091</a>)</li> <li>[<code>isort</code>] Support configurable import section heading comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/23151">#23151</a>)</li> <li>[<code>ruff</code>] Improve the diagnostic for <code>RUF012</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/23202">#23202</a>)</li> </ul> <h3>Formatter</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.15.1</h2> <p>Released on 2026-02-12.</p> <h3>Preview features</h3> <ul> <li>[<code>airflow</code>] Add ruff rules to catch deprecated Airflow imports for Airflow 3.1 (<code>AIR321</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22376">#22376</a>)</li> <li>[<code>airflow</code>] Third positional parameter not named <code>ti_key</code> should be flagged for <code>BaseOperatorLink.get_link</code> (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22828">#22828</a>)</li> <li>[<code>flake8-gettext</code>] Fix false negatives for plural argument of <code>ngettext</code> (<code>INT001</code>, <code>INT002</code>, <code>INT003</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/21078">#21078</a>)</li> <li>[<code>pyflakes</code>] Fix infinite loop in preview fix for <code>unused-import</code> (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23038">#23038</a>)</li> <li>[<code>pygrep-hooks</code>] Detect non-existent mock methods in standalone expressions (<code>PGH005</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22830">#22830</a>)</li> <li>[<code>pylint</code>] Allow dunder submodules and improve diagnostic range (<code>PLC2701</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22804">#22804</a>)</li> <li>[<code>pyupgrade</code>] Improve diagnostic range for tuples (<code>UP024</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23013">#23013</a>)</li> <li>[<code>refurb</code>] Check subscripts in tuple do not use lambda parameters in <code>reimplemented-operator</code> (<code>FURB118</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23079">#23079</a>)</li> <li>[<code>ruff</code>] Detect mutable defaults in <code>field</code> calls (<code>RUF008</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23046">#23046</a>)</li> <li>[<code>ruff</code>] Ignore std <code>cmath.inf</code> (<code>RUF069</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23120">#23120</a>)</li> <li>[<code>ruff</code>] New rule <code>float-equality-comparison</code> (<code>RUF069</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/20585">#20585</a>)</li> <li>Don't format unlabeled Markdown code blocks (<a href="https://redirect.github.com/astral-sh/ruff/pull/23106">#23106</a>)</li> <li>Markdown formatting support in LSP (<a href="https://redirect.github.com/astral-sh/ruff/pull/23063">#23063</a>)</li> <li>Support Quarto Markdown language markers (<a href="https://redirect.github.com/astral-sh/ruff/pull/22947">#22947</a>)</li> <li>Support formatting <code>pycon</code> Markdown code blocks (<a href="https://redirect.github.com/astral-sh/ruff/pull/23112">#23112</a>)</li> <li>Use extension mapping to select Markdown code block language (<a href="https://redirect.github.com/astral-sh/ruff/pull/22934">#22934</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Avoid false positive for undefined variables in <code>FAST001</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/23224">#23224</a>)</li> <li>Avoid introducing syntax errors for <code>FAST003</code> autofix (<a href="https://redirect.github.com/astral-sh/ruff/pull/23227">#23227</a>)</li> <li>Avoid suggesting <code>InitVar</code> for <code>__post_init__</code> that references PEP 695 type parameters (<a href="https://redirect.github.com/astral-sh/ruff/pull/23226">#23226</a>)</li> <li>Deduplicate type variables in generic functions (<a href="https://redirect.github.com/astral-sh/ruff/pull/23225">#23225</a>)</li> <li>Fix exception handler parenthesis removal for Python 3.14+ (<a href="https://redirect.github.com/astral-sh/ruff/pull/23126">#23126</a>)</li> <li>Fix f-string middle panic when parsing t-strings (<a href="https://redirect.github.com/astral-sh/ruff/pull/23232">#23232</a>)</li> <li>Wrap <code>RUF020</code> target for multiline fixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/23210">#23210</a>)</li> <li>Wrap <code>UP007</code> target for multiline fixes (<a href="https://redirect.github.com/astral-sh/ruff/pull/23208">#23208</a>)</li> <li>Fix missing diagnostics for last range suppression in file (<a href="https://redirect.github.com/astral-sh/ruff/pull/23242">#23242</a>)</li> <li>[<code>pyupgrade</code>] Fix syntax error on string with newline escape and comment (<code>UP037</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22968">#22968</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Use <code>ruff</code> instead of <code>Ruff</code> as the program name in GitHub output format (<a href="https://redirect.github.com/astral-sh/ruff/pull/23240">#23240</a>)</li> <li>[<code>PT006</code>] Fix syntax error when unpacking nested tuples in <code>parametrize</code> fixes (<a href="https://redirect.github.com/astral-sh/ruff/issues/22441">#22441</a>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22464">#22464</a>)</li> <li>[<code>airflow</code>] Catch deprecated attribute access from context key for Airflow 3.0 (<code>AIR301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22850">#22850</a>)</li> <li>[<code>airflow</code>] Capture deprecated arguments and a decorator (<code>AIR301</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23170">#23170</a>)</li> <li>[<code>flake8-boolean-trap</code>] Add <code>multiprocessing.Value</code> to excluded functions for <code>FBT003</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/23010">#23010</a>)</li> <li>[<code>flake8-bugbear</code>] Add a secondary annotation showing the previous occurrence (<code>B033</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22634">#22634</a>)</li> <li>[<code>flake8-type-checking</code>] Add sub-diagnostic showing the runtime use of an annotation (<code>TC004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/23091">#23091</a>)</li> <li>[<code>isort</code>] Support configurable import section heading comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/23151">#23151</a>)</li> <li>[<code>ruff</code>] Improve the diagnostic for <code>RUF012</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/23202">#23202</a>)</li> </ul> <h3>Formatter</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/a2f11d239f91cf8daedb0764ec15fcfe29c5ae6d"><code>a2f11d2</code></a> Prepare for 0.15.1 (<a href="https://redirect.github.com/astral-sh/ruff/issues/23253">#23253</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d29628e9665baa17272aad489398eb72b70e60ff"><code>d29628e</code></a> Remove docker-run-action (<a href="https://redirect.github.com/astral-sh/ruff/issues/23254">#23254</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8a042667651d7b1cdfc1742478d2b29b04d91be0"><code>8a04266</code></a> [ty] Allow discovering dependencies in system Python environments (<a href="https://redirect.github.com/astral-sh/ruff/issues/22994">#22994</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/55d06c8879761c5500e9558502abc84cefcb7163"><code>55d06c8</code></a> Ensure pending suppression diagnostics are reported (<a href="https://redirect.github.com/astral-sh/ruff/issues/23242">#23242</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/d056a9fa6dfb842f2c0d439bf7b1a8099e5734ea"><code>d056a9f</code></a> [<code>isort</code>] support for configurable import section heading comments (<a href="https://redirect.github.com/astral-sh/ruff/issues/23151">#23151</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e22fa4f14d8fae550249e452d11bc53756df5c7a"><code>e22fa4f</code></a> [ty] Fix method calls on subclasses of <code>Any</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/23248">#23248</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/fa56c1550d723e458b91dc2405d5537d40401d5c"><code>fa56c15</code></a> [ty] Fix bound method access on <code>None</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/23246">#23246</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4fd07d0e1cbbb4e4c3f5b4c1f04f2d8b3f4a2bf2"><code>4fd07d0</code></a> Make range suppression test snapshot actually useful (<a href="https://redirect.github.com/astral-sh/ruff/issues/23251">#23251</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8c63bced13b21d1952a56e6a096d9c2ec4af442f"><code>8c63bce</code></a> [ty] Include conditional symbols (like <code>datetime.UTC</code>) in auto-import in more...</li> <li><a href="https://github.com/astral-sh/ruff/commit/46be94361b3b4c54be911eb88bfbd9666eb06a6d"><code>46be943</code></a> Exclude WASM artifacts from GitHub releases (<a href="https://redirect.github.com/astral-sh/ruff/issues/23221">#23221</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.14.11...0.15.1">compare view</a></li> </ul> </details> <br /> Updates `mypy` from 1.19.0 to 1.19.1 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p> <blockquote> <h3>Mypy 1.19.1</h3> <ul> <li>Fix noncommutative joins with bounded TypeVars (Shantanu, PR <a href="https://redirect.github.com/python/mypy/pull/20345">20345</a>)</li> <li>Respect output format for cached runs by serializing raw errors in cache metas (Ivan Levkivskyi, PR <a href="https://redirect.github.com/python/mypy/pull/20372">20372</a>)</li> <li>Allow <code>types.NoneType</code> in match cases (A5rocks, PR <a href="https://redirect.github.com/python/mypy/pull/20383">20383</a>)</li> <li>Fix mypyc generator regression with empty tuple (BobTheBuidler, PR <a href="https://redirect.github.com/python/mypy/pull/20371">20371</a>)</li> <li>Fix crash involving Unpack-ed TypeVarTuple (Shantanu, PR <a href="https://redirect.github.com/python/mypy/pull/20323">20323</a>)</li> <li>Fix crash on star import of redefinition (Ivan Levkivskyi, PR <a href="https://redirect.github.com/python/mypy/pull/20333">20333</a>)</li> <li>Fix crash on typevar with forward ref used in other module (Ivan Levkivskyi, PR <a href="https://redirect.github.com/python/mypy/pull/20334">20334</a>)</li> <li>Fail with an explicit error on PyPy (Ivan Levkivskyi, PR <a href="https://redirect.github.com/python/mypy/pull/20389">20389</a>)</li> </ul> <h3>Acknowledgements</h3> <p>Thanks to all mypy contributors who contributed to this release:</p> <ul> <li>A5rocks</li> <li>BobTheBuidler</li> <li>bzoracler</li> <li>Chainfire</li> <li>Christoph Tyralla</li> <li>David Foster</li> <li>Frank Dana</li> <li>Guo Ci</li> <li>iap</li> <li>Ivan Levkivskyi</li> <li>James Hilton-Balfe</li> <li>jhance</li> <li>Joren Hammudoglu</li> <li>Jukka Lehtosalo</li> <li>KarelKenens</li> <li>Kevin Kannammalil</li> <li>Marc Mueller</li> <li>Michael Carlstrom</li> <li>Michael J. Sullivan</li> <li>Piotr Sawicki</li> <li>Randolf Scholz</li> <li>Shantanu</li> <li>Sigve Sebastian Farstad</li> <li>sobolevn</li> <li>Stanislav Terliakov</li> <li>Stephen Morton</li> <li>Theodore Ando</li> <li>Thiago J. Barbalho</li> <li>wyattscarpenter</li> </ul> <p>I’d also like to thank my employer, Dropbox, for supporting mypy development.</p> <h2>Mypy 1.18</h2> <p>We’ve just uploaded mypy 1.18.1 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features, performance</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/412c19a6bde31e7afa7f41afdf8356664689ae80"><code>412c19a</code></a> Bump version to 1.19.1</li> <li><a href="https://github.com/python/mypy/commit/20aea0a6ca0710f5427239bdd2fd8e8bf1caf634"><code>20aea0a</code></a> Update changelog for 1.19.1 (<a href="https://redirect.github.com/python/mypy/issues/20414">#20414</a>)</li> <li><a href="https://github.com/python/mypy/commit/2b23b507524bf1bd7513eea6f2a16fb91e072cb6"><code>2b23b50</code></a> Serialize raw errors in cache metas (<a href="https://redirect.github.com/python/mypy/issues/20372">#20372</a>)</li> <li><a href="https://github.com/python/mypy/commit/f60f90fb8872bf722e32aefd548daaf6d8560e05"><code>f60f90f</code></a> Fail on PyPy in main instead of setup.py (<a href="https://redirect.github.com/python/mypy/issues/20389">#20389</a>)</li> <li><a href="https://github.com/python/mypy/commit/58d485b4ea4776e0b9d4045b306cb0818ecc2aa6"><code>58d485b</code></a> Fail with an explicit error on PyPy (<a href="https://redirect.github.com/python/mypy/issues/20384">#20384</a>)</li> <li><a href="https://github.com/python/mypy/commit/a4b31a26788b70c4a2a19adbafa2bbda43dc2e8b"><code>a4b31a2</code></a> Allow <code>types.NoneType</code> in match cases (<a href="https://redirect.github.com/python/mypy/issues/20383">#20383</a>)</li> <li><a href="https://github.com/python/mypy/commit/8a6eff478416cd3ed3931a6ed77ce61c88ab69e9"><code>8a6eff4</code></a> [mypyc] fix generator regression with empty tuple (<a href="https://redirect.github.com/python/mypy/issues/20371">#20371</a>)</li> <li><a href="https://github.com/python/mypy/commit/70eceea682c041c0d8e8462dffef9c7bb252e014"><code>70eceea</code></a> Fix noncommutative joins with bounded TypeVars (<a href="https://redirect.github.com/python/mypy/issues/20345">#20345</a>)</li> <li><a href="https://github.com/python/mypy/commit/3890fc49bf7cc02db04b1e63eb2540aaacdeecc0"><code>3890fc4</code></a> Fix crash involving Unpack-ed TypeVarTuple (<a href="https://redirect.github.com/python/mypy/issues/20323">#20323</a>)</li> <li><a href="https://github.com/python/mypy/commit/c93d917a86993e06dcc88e508f28f4f5199ce1c8"><code>c93d917</code></a> Fix crash on star import of redefinition (<a href="https://redirect.github.com/python/mypy/issues/20333">#20333</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.19.0...v1.19.1">compare view</a></li> </ul> </details> <br /> Updates `ty` from 0.0.1a27 to 0.0.17 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ty/releases">ty's releases</a>.</em></p> <blockquote> <h2>0.0.17</h2> <h2>Release Notes</h2> <p>Released on 2026-02-13.</p> <h3>Bug fixes</h3> <ul> <li>Avoid <code>Literal</code> promotion for constrained <code>TypeVar</code>s with <code>Literal</code> bounds (<a href="https://redirect.github.com/astral-sh/ruff/pull/23209">#23209</a>)</li> <li>Fix false positives in <code>TypeVar</code> shadowing checks (<a href="https://redirect.github.com/astral-sh/ruff/pull/23222">#23222</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Support generic protocols (<a href="https://redirect.github.com/astral-sh/ruff/pull/21902">#21902</a>)</li> <li>Perform control-flow analysis in loops (<a href="https://redirect.github.com/astral-sh/ruff/pull/22794">#22794</a>)</li> <li>Support <code>typing.Self</code> in attribute annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/23108">#23108</a>)</li> <li>Support type narrowing in situations with calls to <code>NoReturn</code> functions (<a href="https://redirect.github.com/astral-sh/ruff/pull/23109">#23109</a>)</li> <li>Support type narrowing and reachability analysis based on <code>os.name</code> checks (<a href="https://redirect.github.com/astral-sh/ruff/pull/23230">#23230</a>)</li> <li>Detect overrides of <code>Final</code> class variables in subclasses (<a href="https://redirect.github.com/astral-sh/ruff/pull/23180">#23180</a>)</li> <li>Fix bound method access on <code>None</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/23246">#23246</a>)</li> <li>Fix method calls on subclasses of <code>Any</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/23248">#23248</a>)</li> <li>Disallow type variables within PEP-695 type variable bounds and constraints (<a href="https://redirect.github.com/astral-sh/ruff/pull/22982">#22982</a>)</li> <li>Emit error for attribute access on union where some elements lack the attribute (<a href="https://redirect.github.com/astral-sh/ruff/pull/23042">#23042</a>)</li> <li>Emit error for invalid typevar defaults (<a href="https://redirect.github.com/astral-sh/ruff/pull/23194">#23194</a>)</li> <li>Improve display of <code>ParamSpec</code>s in some situations (<a href="https://redirect.github.com/astral-sh/ruff/pull/23211">#23211</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Add hover and go-to-declaration support for subscript literals (<a href="https://redirect.github.com/astral-sh/ruff/pull/22837">#22837</a>)</li> <li>Assign lower completion ranking to deprecated names in auto import (<a href="https://redirect.github.com/astral-sh/ruff/pull/23188">#23188</a>)</li> <li>Improve spans of references to submodules imported in an <code>__init__.py</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21795">#21795</a>)</li> <li>Include conditional symbols (like <code>datetime.UTC</code>) in auto-import in more cases (<a href="https://redirect.github.com/astral-sh/ruff/pull/23249">#23249</a>)</li> <li>Support auto-import for symbols in inlay hints (<a href="https://redirect.github.com/astral-sh/ruff/pull/22111">#22111</a>)</li> <li>Include overload declarations in find-references (<a href="https://redirect.github.com/astral-sh/ruff/pull/23215">#23215</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid <code>UnionBuilder</code> overhead when creating a new union from the filtered elements of an existing union (<a href="https://redirect.github.com/astral-sh/ruff/pull/22352">#22352</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Allow discovering dependencies in system Python environments (<a href="https://redirect.github.com/astral-sh/ruff/pull/22994">#22994</a>)</li> <li>Apply workspace settings to virtual files (<a href="https://redirect.github.com/astral-sh/ruff/pull/23228">#23228</a>)</li> <li>Add support for <code>--output-format=junit</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22125">#22125</a>)</li> <li>Use a smaller diagnostic range for <code>inconsistent-mro</code> diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/23213">#23213</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/BurntSushi"><code>@BurntSushi</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ty/blob/main/CHANGELOG.md">ty's changelog</a>.</em></p> <blockquote> <h2>0.0.17</h2> <p>Released on 2026-02-13.</p> <h3>Bug fixes</h3> <ul> <li>Avoid <code>Literal</code> promotion for constrained <code>TypeVar</code>s with <code>Literal</code> bounds (<a href="https://redirect.github.com/astral-sh/ruff/pull/23209">#23209</a>)</li> <li>Fix false positives in <code>TypeVar</code> shadowing checks (<a href="https://redirect.github.com/astral-sh/ruff/pull/23222">#23222</a>)</li> </ul> <h3>Core type checking</h3> <ul> <li>Support generic protocols (<a href="https://redirect.github.com/astral-sh/ruff/pull/21902">#21902</a>)</li> <li>Perform control-flow analysis in loops (<a href="https://redirect.github.com/astral-sh/ruff/pull/22794">#22794</a>)</li> <li>Support <code>typing.Self</code> in attribute annotations (<a href="https://redirect.github.com/astral-sh/ruff/pull/23108">#23108</a>)</li> <li>Support type narrowing in situations with calls to <code>NoReturn</code> functions (<a href="https://redirect.github.com/astral-sh/ruff/pull/23109">#23109</a>)</li> <li>Support type narrowing and reachability analysis based on <code>os.name</code> checks (<a href="https://redirect.github.com/astral-sh/ruff/pull/23230">#23230</a>)</li> <li>Detect overrides of <code>Final</code> class variables in subclasses (<a href="https://redirect.github.com/astral-sh/ruff/pull/23180">#23180</a>)</li> <li>Fix bound method access on <code>None</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/23246">#23246</a>)</li> <li>Fix method calls on subclasses of <code>Any</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/23248">#23248</a>)</li> <li>Disallow type variables within PEP-695 type variable bounds and constraints (<a href="https://redirect.github.com/astral-sh/ruff/pull/22982">#22982</a>)</li> <li>Emit error for attribute access on union where some elements lack the attribute (<a href="https://redirect.github.com/astral-sh/ruff/pull/23042">#23042</a>)</li> <li>Emit error for invalid typevar defaults (<a href="https://redirect.github.com/astral-sh/ruff/pull/23194">#23194</a>)</li> <li>Improve display of <code>ParamSpec</code>s in some situations (<a href="https://redirect.github.com/astral-sh/ruff/pull/23211">#23211</a>)</li> </ul> <h3>LSP server</h3> <ul> <li>Add hover and go-to-declaration support for subscript literals (<a href="https://redirect.github.com/astral-sh/ruff/pull/22837">#22837</a>)</li> <li>Assign lower completion ranking to deprecated names in auto import (<a href="https://redirect.github.com/astral-sh/ruff/pull/23188">#23188</a>)</li> <li>Improve spans of references to submodules imported in an <code>__init__.py</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/21795">#21795</a>)</li> <li>Include conditional symbols (like <code>datetime.UTC</code>) in auto-import in more cases (<a href="https://redirect.github.com/astral-sh/ruff/pull/23249">#23249</a>)</li> <li>Support auto-import for symbols in inlay hints (<a href="https://redirect.github.com/astral-sh/ruff/pull/22111">#22111</a>)</li> <li>Include overload declarations in find-references (<a href="https://redirect.github.com/astral-sh/ruff/pull/23215">#23215</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Avoid <code>UnionBuilder</code> overhead when creating a new union from the filtered elements of an existing union (<a href="https://redirect.github.com/astral-sh/ruff/pull/22352">#22352</a>)</li> </ul> <h3>Other changes</h3> <ul> <li>Allow discovering dependencies in system Python environments (<a href="https://redirect.github.com/astral-sh/ruff/pull/22994">#22994</a>)</li> <li>Apply workspace settings to virtual files (<a href="https://redirect.github.com/astral-sh/ruff/pull/23228">#23228</a>)</li> <li>Add support for <code>--output-format=junit</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22125">#22125</a>)</li> <li>Use a smaller diagnostic range for <code>inconsistent-mro</code> diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/23213">#23213</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/BurntSushi"><code>@BurntSushi</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/Glyphack"><code>@Glyphack</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ty/commit/8cec857182f4bc28bd8e103940341643162777f8"><code>8cec857</code></a> [ty] Bump version to 0.0.17 (<a href="https://redirect.github.com/astral-sh/ty/issues/2806">#2806</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/3650f58ffd1ce30b6ba92deed8bfc77322447aef"><code>3650f58</code></a> docs: Clarify that nvim-lspconfig is the recommended way of using ty in all v...</li> <li><a href="https://github.com/astral-sh/ty/commit/55b8ff2055aeb212d3412fb18df3ccc44553d074"><code>55b8ff2</code></a> Add note about fallback behavior to <code>python</code> in <code>PATH</code> (<a href="https://redirect.github.com/astral-sh/ty/issues/2787">#2787</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/e96ea4cd97534cb43bee6111f36bdff109c181b5"><code>e96ea4c</code></a> Bump version to 0.0.16 (<a href="https://redirect.github.com/astral-sh/ty/issues/2779">#2779</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/b393d32aa6e07e2c9100cb86b4383e78372edc40"><code>b393d32</code></a> Update docker/login-action action to v3.7.0 (<a href="https://redirect.github.com/astral-sh/ty/issues/2754">#2754</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/532b111c6a6787fb135e6491e47a9d41fe29d4a0"><code>532b111</code></a> Update actions/cache action to v5.0.3 (<a href="https://redirect.github.com/astral-sh/ty/issues/2751">#2751</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/61b037612f91b1683cab04bf68bdce4dca7857cf"><code>61b0376</code></a> Update astral-sh/setup-uv action to v7.3.0 (<a href="https://redirect.github.com/astral-sh/ty/issues/2753">#2753</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/216f8dc41a6222aac93feebda4828aa3b8535b4d"><code>216f8dc</code></a> Update prek dependencies (<a href="https://redirect.github.com/astral-sh/ty/issues/2752">#2752</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/044af7fda21189c69a489362f451ebd600ef460a"><code>044af7f</code></a> FAQ: Why doesn't ty warn about missing type annotations? (<a href="https://redirect.github.com/astral-sh/ty/issues/2721">#2721</a>)</li> <li><a href="https://github.com/astral-sh/ty/commit/eb43dff062024361be79449ebb1cff9ab61366a9"><code>eb43dff</code></a> Bump version to 0.0.15 (<a href="https://redirect.github.com/astral-sh/ty/issues/2717">#2717</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ty/compare/0.0.1-alpha.27...0.0.17">compare view</a></li> </ul> </details> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Kennedy <65985482+jkennedyvz@users.noreply.github.com> |
||
|
|
d280bca8da |
chore(deps): bump langchain-core from 1.2.10 to 1.2.11 in /libs/sdk-py (#6829)
Bumps [langchain-core](https://github.com/langchain-ai/langchain) from 1.2.10 to 1.2.11. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain-ai/langchain/releases">langchain-core's releases</a>.</em></p> <blockquote> <h2>langchain-core==1.2.11</h2> <p>Changes since langchain-core==1.2.10</p> <p>release(core): 1.2.11 (<a href="https://redirect.github.com/langchain-ai/langchain/issues/35144">#35144</a>) fix(openai): sanitize urls when counting tokens in images (<a href="https://redirect.github.com/langchain-ai/langchain/issues/35143">#35143</a>) chore(core): clean up docstring mismatch and redundant logic in langchain-core (<a href="https://redirect.github.com/langchain-ai/langchain/issues/35064">#35064</a>) fix(core): replace bare except with Exception in tracer (<a href="https://redirect.github.com/langchain-ai/langchain/issues/35138">#35138</a>)</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain-ai/langchain/commit/524e1dab5e7c8229bd78be3c13ab38ac93a6216b"><code>524e1da</code></a> release(core): 1.2.11 (<a href="https://redirect.github.com/langchain-ai/langchain/issues/35144">#35144</a>)</li> <li><a href="https://github.com/langchain-ai/langchain/commit/2b4b1dc29a833d4053deba4c2b77a3848c834565"><code>2b4b1dc</code></a> fix(openai): sanitize urls when counting tokens in images (<a href="https://redirect.github.com/langchain-ai/langchain/issues/35143">#35143</a>)</li> <li><a href="https://github.com/langchain-ai/langchain/commit/0493b276e0be31d4f48d9d0ba5fcbce7fdded38f"><code>0493b27</code></a> fix(anthropic): support effort="max" and remove beta headers (<a href="https://redirect.github.com/langchain-ai/langchain/issues/35141">#35141</a>)</li> <li><a href="https://github.com/langchain-ai/langchain/commit/a5f22e7cb18a05ed057028797a7d0d79cd509b0d"><code>a5f22e7</code></a> chore(core): clean up docstring mismatch and redundant logic in langchain-cor...</li> <li><a href="https://github.com/langchain-ai/langchain/commit/97ee14c179f703473a6ec6ee24179ea756a5698f"><code>97ee14c</code></a> fix(core): replace bare except with Exception in tracer (<a href="https://redirect.github.com/langchain-ai/langchain/issues/35138">#35138</a>)</li> <li><a href="https://github.com/langchain-ai/langchain/commit/990e8076e1d61a0c8ced4d83607685bd71e23687"><code>990e807</code></a> release(standard-tests): release 1.1.5 (<a href="https://redirect.github.com/langchain-ai/langchain/issues/35139">#35139</a>)</li> <li><a href="https://github.com/langchain-ai/langchain/commit/74dffca3d89effdb62da567d1ff6d160c9ad5354"><code>74dffca</code></a> release(langchain): 1.2.10 (<a href="https://redirect.github.com/langchain-ai/langchain/issues/35137">#35137</a>)</li> <li>See full diff in <a href="https://github.com/langchain-ai/langchain/compare/langchain-core==1.2.10...langchain-core==1.2.11">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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/langchain-ai/langgraph/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
a734f5e6ce |
chore: server runtime type (#6774)
Main jtbd here:
a) clarify who/how a graph is being accessed and make the factory aware
of the `context` where relevant (and make it obvious when it is
available)
b) make it more clear when you can bypass / defer resources with
expensive lifespans (like MCp connections)
c) make auth access more type-safe.
Gives us room to add other information, like:
- langsmith distributed tracing information
---- old
Can start doing things like this:
```
def my_graph(runtime: ServerRuntime):
if runtime.ensure_user().permissions not in ("foo"):
raise ValueError("bar")
```
etc.
Points of expected confusion:
- You won't have a stream_writer in this context.
- This won't be an accessible object within the graph, only the graph
factory.
For maintainers, related draft PR int he server
https://github.com/langchain-ai/langgraph/pull/6774
|
||
|
|
82f9c09b95 |
chore(deps-dev): bump ruff from 0.14.7 to 0.14.11 in /libs/sdk-py (#6673)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.14.7 to 0.14.11. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.14.11</h2> <h2>Release Notes</h2> <p>Released on 2026-01-08.</p> <h3>Preview features</h3> <ul> <li>Consolidate diagnostics for matched disable/enable suppression comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/22099">#22099</a>)</li> <li>Report diagnostics for invalid/unmatched range suppression comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/21908">#21908</a>)</li> <li>[<code>airflow</code>] Passing positional argument into <code>airflow.lineage.hook.HookLineageCollector.create_asset</code> is not allowed (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22046">#22046</a>)</li> <li>[<code>refurb</code>] Mark <code>FURB192</code> fix as always unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/22210">#22210</a>)</li> <li>[<code>ruff</code>] Add <code>non-empty-init-module</code> (<code>RUF067</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22143">#22143</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix GitHub format for multi-line diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/22108">#22108</a>)</li> <li>[<code>flake8-unused-arguments</code>] Mark <code>**kwargs</code> in <code>TypeVar</code> as used (<code>ARG001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22214">#22214</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Add <code>help:</code> subdiagnostics for several Ruff rules that can sometimes appear to disagree with <code>ty</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22331">#22331</a>)</li> <li>[<code>pylint</code>] Demote <code>PLW1510</code> fix to display-only (<a href="https://redirect.github.com/astral-sh/ruff/pull/22318">#22318</a>)</li> <li>[<code>pylint</code>] Ignore identical members (<code>PLR1714</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22220">#22220</a>)</li> <li>[<code>pylint</code>] Improve diagnostic range for <code>PLC0206</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22312">#22312</a>)</li> <li>[<code>ruff</code>] Improve fix title for <code>RUF102</code> invalid rule code (<a href="https://redirect.github.com/astral-sh/ruff/pull/22100">#22100</a>)</li> <li>[<code>flake8-simplify</code>]: Avoid unnecessary builtins import for <code>SIM105</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22358">#22358</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Allow Python 3.15 as valid <code>target-version</code> value in preview (<a href="https://redirect.github.com/astral-sh/ruff/pull/22419">#22419</a>)</li> <li>Check <code>required-version</code> before parsing rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/22410">#22410</a>)</li> <li>Include configured <code>src</code> directories when resolving graphs (<a href="https://redirect.github.com/astral-sh/ruff/pull/22451">#22451</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Update <code>T201</code> suggestion to not use root logger to satisfy <code>LOG015</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22059">#22059</a>)</li> <li>Fix <code>iter</code> example in unsafe fixes doc (<a href="https://redirect.github.com/astral-sh/ruff/pull/22118">#22118</a>)</li> <li>[<code>flake8_print</code>] better suggestion for <code>basicConfig</code> in <code>T201</code> docs (<a href="https://redirect.github.com/astral-sh/ruff/pull/22101">#22101</a>)</li> <li>[<code>pylint</code>] Restore the fix safety docs for <code>PLW0133</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22211">#22211</a>)</li> <li>Fix Jupyter notebook discovery info for editors (<a href="https://redirect.github.com/astral-sh/ruff/pull/22447">#22447</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li> <li><a href="https://github.com/cenviity"><code>@cenviity</code></a></li> <li><a href="https://github.com/njhearp"><code>@njhearp</code></a></li> <li><a href="https://github.com/cbachhuber"><code>@cbachhuber</code></a></li> <li><a href="https://github.com/jelle-openai"><code>@jelle-openai</code></a></li> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.14.11</h2> <p>Released on 2026-01-08.</p> <h3>Preview features</h3> <ul> <li>Consolidate diagnostics for matched disable/enable suppression comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/22099">#22099</a>)</li> <li>Report diagnostics for invalid/unmatched range suppression comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/21908">#21908</a>)</li> <li>[<code>airflow</code>] Passing positional argument into <code>airflow.lineage.hook.HookLineageCollector.create_asset</code> is not allowed (<code>AIR303</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22046">#22046</a>)</li> <li>[<code>refurb</code>] Mark <code>FURB192</code> fix as always unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/22210">#22210</a>)</li> <li>[<code>ruff</code>] Add <code>non-empty-init-module</code> (<code>RUF067</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22143">#22143</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Fix GitHub format for multi-line diagnostics (<a href="https://redirect.github.com/astral-sh/ruff/pull/22108">#22108</a>)</li> <li>[<code>flake8-unused-arguments</code>] Mark <code>**kwargs</code> in <code>TypeVar</code> as used (<code>ARG001</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22214">#22214</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>Add <code>help:</code> subdiagnostics for several Ruff rules that can sometimes appear to disagree with <code>ty</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22331">#22331</a>)</li> <li>[<code>pylint</code>] Demote <code>PLW1510</code> fix to display-only (<a href="https://redirect.github.com/astral-sh/ruff/pull/22318">#22318</a>)</li> <li>[<code>pylint</code>] Ignore identical members (<code>PLR1714</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/22220">#22220</a>)</li> <li>[<code>pylint</code>] Improve diagnostic range for <code>PLC0206</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22312">#22312</a>)</li> <li>[<code>ruff</code>] Improve fix title for <code>RUF102</code> invalid rule code (<a href="https://redirect.github.com/astral-sh/ruff/pull/22100">#22100</a>)</li> <li>[<code>flake8-simplify</code>]: Avoid unnecessary builtins import for <code>SIM105</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22358">#22358</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>Allow Python 3.15 as valid <code>target-version</code> value in preview (<a href="https://redirect.github.com/astral-sh/ruff/pull/22419">#22419</a>)</li> <li>Check <code>required-version</code> before parsing rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/22410">#22410</a>)</li> <li>Include configured <code>src</code> directories when resolving graphs (<a href="https://redirect.github.com/astral-sh/ruff/pull/22451">#22451</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Update <code>T201</code> suggestion to not use root logger to satisfy <code>LOG015</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22059">#22059</a>)</li> <li>Fix <code>iter</code> example in unsafe fixes doc (<a href="https://redirect.github.com/astral-sh/ruff/pull/22118">#22118</a>)</li> <li>[<code>flake8_print</code>] better suggestion for <code>basicConfig</code> in <code>T201</code> docs (<a href="https://redirect.github.com/astral-sh/ruff/pull/22101">#22101</a>)</li> <li>[<code>pylint</code>] Restore the fix safety docs for <code>PLW0133</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/22211">#22211</a>)</li> <li>Fix Jupyter notebook discovery info for editors (<a href="https://redirect.github.com/astral-sh/ruff/pull/22447">#22447</a>)</li> </ul> <h3>Contributors</h3> <ul> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/ntBre"><code>@ntBre</code></a></li> <li><a href="https://github.com/cenviity"><code>@cenviity</code></a></li> <li><a href="https://github.com/njhearp"><code>@njhearp</code></a></li> <li><a href="https://github.com/cbachhuber"><code>@cbachhuber</code></a></li> <li><a href="https://github.com/jelle-openai"><code>@jelle-openai</code></a></li> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/ValdonVitija"><code>@ValdonVitija</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/c920cf8cdb247a9fd8e15a4c9d2efa838f7a78a3"><code>c920cf8</code></a> Bump 0.14.11 (<a href="https://redirect.github.com/astral-sh/ruff/issues/22462">#22462</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/bb757b5a79888f28264f629b5667a0514071f7d6"><code>bb757b5</code></a> [ty] Don't show diagnostics for excluded files (<a href="https://redirect.github.com/astral-sh/ruff/issues/22455">#22455</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1f49e8ef518b75207e155595aba57acd48205078"><code>1f49e8e</code></a> Include configured <code>src</code> directories when resolving graphs (<a href="https://redirect.github.com/astral-sh/ruff/issues/22451">#22451</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/701f5134ab7c1a860145dccc8abb3716a3f89fe7"><code>701f513</code></a> [ty] Only consider fully static pivots when deriving transitive constraints (...</li> <li><a href="https://github.com/astral-sh/ruff/commit/eea9ad83528a7f492662f6427cdbb6fc2f655bb5"><code>eea9ad8</code></a> Pin maturin version (<a href="https://redirect.github.com/astral-sh/ruff/issues/22454">#22454</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/eeac2bd3eed2f4b8f4a71e0c945721481b25efc0"><code>eeac2bd</code></a> [ty] Optimize union building for unions with many enum-literal members (<a href="https://redirect.github.com/astral-sh/ruff/issues/22363">#22363</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7319c37f4eb063e9590e1f09c8e92d7dabc63403"><code>7319c37</code></a> docs: fix jupyter notebook discovery info for editors (<a href="https://redirect.github.com/astral-sh/ruff/issues/22447">#22447</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/805503c19a6b74c5803e10123077997e29a0da37"><code>805503c</code></a> [<code>ruff</code>] Improve fix title for <code>RUF102</code> invalid rule code (<a href="https://redirect.github.com/astral-sh/ruff/issues/22100">#22100</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/68a2f6c57d70052d0805b46b0e3a2538598b856f"><code>68a2f6c</code></a> [ty] Fix <code>super()</code> with TypeVar-annotated <code>self</code> and <code>cls</code> parameter (<a href="https://redirect.github.com/astral-sh/ruff/issues/22208">#22208</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/abaa735e1d027cf458a2ab83d8a422d74111580c"><code>abaa735</code></a> [ty] Improve <code>UnionBuilder</code> performance by changing <code>Type::is_subtype_of</code> cal...</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.14.7...0.14.11">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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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> Co-authored-by: William Fu-Hinthorn <13333726+hinthornw@users.noreply.github.com> |
||
|
|
b0c6126f2a |
chore(deps): upgrade dependencies with uv lock --upgrade (#6671)
This PR updates the dependencies in all Python packages using `uv lock --upgrade`. This is an automated PR created by the UV Lock Upgrade workflow. Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com> |
||
|
|
94698c8a34 |
feat: custom encryption at rest (#6482)
**Description:** This PR adds the Python SDK types necessary for langgraph platform users to inject their own custom encryption-at-rest functions. See [docs PR](https://github.com/langchain-ai/docs/pull/1715) for more details. note: this PR adds a starlette dev dependency so that custom encryption can access BaseUser information. **Issue:** required for LSD-172 **Dependencies:** - [depended upon by associated langgraph-api changes](https://github.com/langchain-ai/langgraph-api/pull/1773)(this PR must merge before that one) - [docs PR](https://github.com/langchain-ai/docs/pull/1715) **TODO:** - [x] move docs to docs repo - [x] bump package versions before merge --------- Signed-off-by: Connor Braa <cwlbraa@langchain.dev> Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
024468c5dd | chore: Bump lockfile (#6537) | ||
|
|
55ed7d4b49 | feat: Include pagination in assistants search response (#6526) | ||
|
|
f8c1a323cc | chore(sdk-py): Improve type-hinting of inputs (#6480) | ||
|
|
ed07d4a5d4 | chore(sdk-py): Add more type checking. (#6479) | ||
|
|
2c3e380a35 |
feat: adding cursory Python 3.14 support (#6298)
* catching error thrown by asyncio
* using 2nd check for annotations given Pydantic 2.12 changes
* skipping tests for remote graph bc langgraph-api is dependent on
`jsonschema-rs`
* skipping tests w/ pydantic v1 models
```bash
hint: This usually indicates a problem with the package or the build environment.
help: `jsonschema-rs` (v0.29.1) was included because `langgraph:dev` (v1.0.0rc1) depends on `langgraph-cli[inmem]` which
depends on `langgraph-api` (v0.4.29) which depends on `jsonschema-rs`
```
not yet testing for free threaded python, that'll be much more involved!
ended up separating lint / testing deps during this process bc I was
getting a ton of not required deps while testing that were complicating
things :/
|
||
|
|
2d3121a17c |
chore: drop Python 3.9 (and syntax) (#6289)
* `strict=False` is the default, pyupgrade to min version 3.10 adds this to be explicit w/ behavior |
||
|
|
4a0b2fa0ef |
chore(deps): upgrade dependencies with uv lock --upgrade (#6211)
This PR updates the dependencies in all Python packages using `uv lock --upgrade`. This is an automated PR created by the UV Lock Upgrade workflow. Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com> |
||
|
|
fe4029b3b8 |
chore(deps): upgrade dependencies with uv lock --upgrade (#6176)
This PR updates the dependencies in all Python packages using `uv lock --upgrade`. This is an automated PR created by the UV Lock Upgrade workflow. Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com> |
||
|
|
8b55dff7a5 |
chore(deps): upgrade dependencies with uv lock --upgrade (#6146)
This PR updates the dependencies in all Python packages using `uv lock --upgrade`. This is an automated PR created by the UV Lock Upgrade workflow. To make tests pass: * linting fixes * whitespace fixes in snapshots --------- Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com> Co-authored-by: Sydney Runkle <sydneymarierunkle@gmail.com> |
||
|
|
9918488169 |
feat(sdk-py): client qparams (#5918)
And add linting & dyanmic version string |
||
|
|
90e3adcd71 | bump sdk version | ||
|
|
29c3a579b3 | release(sdk-py): use v0.2.0a1 for testing with sdk (#5621) | ||
|
|
9e3cb1f034 |
feat(sdk-py): sdk support for context API (#5566)
Adding support for the `context` arg to `invoke/stream` to the sdk. This is paired with an update to the API as well that adds `context` support to the `assistants` and `runs` endpoints. Bumping version to v0.2.0 on the `v1` branch given this and the interrupt schema changes. |
||
|
|
457edaa75b | locks | ||
|
|
e315fb7397 | feat(sdk-py): Show is_studio_user (#5505) | ||
|
|
3d9cb305b4 |
chore[deps]: upgrade dependencies with uv lock --upgrade (#5471)
Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com> |
||
|
|
87f2e69395 |
chore[deps]: upgrade dependencies with uv lock --upgrade (#5358)
* chore: upgrade dependencies with `uv lock --upgrade` * linting * upgrade PR title --------- Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com> Co-authored-by: Sydney Runkle <sydneymarierunkle@gmail.com> |
||
|
|
e277a6bd9b |
chore: sdk bumps (#5220)
* chore: sdk bumps * uv lock |
||
|
|
4a26ca5bc2 |
feat: crons sorting sdk (#5197)
* feat: crons sorting sdk * update sync clients * lock file * lock file * lock file |
||
|
|
92f8dde61e | uv.lock? | ||
|
|
228a08b966 |
ci: migrate to uv! (#4698)
* Migrate to `uv` * Format `pyproject.toml` files properly * Remove upper bounds on dependencies, and bounds on dev dependencies (we should be using latest) * Move to hatch for packaing In the future we should: * Set up dependabot / automate lockfile updates and tests * Add tests for min compatible versions (I'll do this right after merge) * Use dynamic versioning * Bump `pydantic` to v2.11.4 in the lockfile, we have some tests failing |