langchain-ai
langchain
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
style(core): wrap comment line length for ruff lint
visnu64:fix/reasoning-model-structured-output
5 hours ago
fix(core): parse JSON first before fallback stripping reasoning tags
visnu64:fix/reasoning-model-structured-output
5 hours ago
fix(core): move import to top of file and format line lengths
visnu64:fix/reasoning-model-structured-output
5 hours ago
fix: handle reasoning model output tags in structured output parsing
visnu64:fix/reasoning-model-structured-output
5 hours ago
Merge branch 'master' into fix/reasoning-model-structured-output
visnu64:fix/reasoning-model-structured-output
6 hours ago
chore(deps): bump mistune from 3.3.0 to 3.3.3 in /libs/core (#40150) Bumps [mistune](https://github.com/lepture/mistune) from 3.3.0 to 3.3.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lepture/mistune/releases">mistune's releases</a>.</em></p> <blockquote> <h2>v3.3.3</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li>Set prev token in render_list_item and add block_text to ignore_blocks - by <a href="https://github.com/gaoflow"><code>@gaoflow</code></a> in <a href="https://redirect.github.com/lepture/mistune/issues/456">lepture/mistune#456</a> <a href="https://github.com/lepture/mistune/commit/0799e19"><!-- raw HTML omitted -->(0799e)<!-- raw HTML omitted --></a></li> <li>Improve nested bracket link input - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/fe02f40"><!-- raw HTML omitted -->(fe02f)<!-- raw HTML omitted --></a></li> <li>Escape literal emphasis markers in MarkdownRenderer - by <a href="https://github.com/Sanjays2402"><code>@Sanjays2402</code></a> <a href="https://github.com/lepture/mistune/commit/b042996"><!-- raw HTML omitted -->(b0429)<!-- raw HTML omitted --></a></li> <li>Use SAFE_PROTOCOLS instead of HARMFUL_PROTOCOLS - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/4009f67"><!-- raw HTML omitted -->(4009f)<!-- raw HTML omitted --></a></li> <li>Add max_emphasis_depth - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/0938fb7"><!-- raw HTML omitted -->(0938f)<!-- raw HTML omitted --></a></li> <li>Add image max depth - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/cca5ee6"><!-- raw HTML omitted -->(cca5e)<!-- raw HTML omitted --></a></li> <li><strong>inline</strong>: Use original run length in emphasis multiple-of-3 rule - by <a href="https://github.com/greymoth-jp"><code>@greymoth-jp</code></a> and <strong>Claude Opus 4.8 (1M context)</strong> <a href="https://github.com/lepture/mistune/commit/2d26bc8"><!-- raw HTML omitted -->(2d26b)<!-- raw HTML omitted --></a></li> </ul> <h3> 🏎 Performance</h3> <ul> <li>Improve link label parsing performance - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/e001d51"><!-- raw HTML omitted -->(e001d)<!-- raw HTML omitted --></a></li> <li>Improve performance for math and formatting plugins - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/c2228a2"><!-- raw HTML omitted -->(c2228)<!-- raw HTML omitted --></a></li> <li>Improve for footnotes, ruby and spoiler - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/ae7e9d5"><!-- raw HTML omitted -->(ae7e9)<!-- raw HTML omitted --></a></li> </ul> <h5> <a href="https://github.com/lepture/mistune/compare/v3.3.2...v3.3.3">View changes on GitHub</a></h5> <h2>v3.3.2</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li>Try to support python 3.8 - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/c9f1a54"><!-- raw HTML omitted -->(c9f1a)<!-- raw HTML omitted --></a></li> <li>Resolve mypy issues for python 3.8 and 3.9+ - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/29b70a9"><!-- raw HTML omitted -->(29b70)<!-- raw HTML omitted --></a></li> </ul> <h5> <a href="https://github.com/lepture/mistune/compare/v3.3.1...v3.3.2">View changes on GitHub</a></h5> <h2>v3.3.1</h2> <h3> 🐞 Bug Fixes</h3> <ul> <li><strong>abbr</strong>: Update process_text method in abrr, adding parse_emphasis parameter - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/ae850f5"><!-- raw HTML omitted -->(ae850)<!-- raw HTML omitted --></a></li> <li><strong>directive</strong>: Use correct file path for include directive - by <a href="https://github.com/lepture"><code>@lepture</code></a> <a href="https://github.com/lepture/mistune/commit/18c21d7"><!-- raw HTML omitted -->(18c21)<!-- raw HTML omitted --></a></li> </ul> <h5> <a href="https://github.com/lepture/mistune/compare/v3.3.0...v3.3.1">View changes on GitHub</a></h5> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/lepture/mistune/blob/main/docs/changes.rst">mistune's changelog</a>.</em></p> <blockquote> <h2>Version 3.3.3</h2> <p><strong>Released on Jul 9, 2026</strong></p> <ul> <li>Limit deeply nested emphasis and image parsing to avoid <code>RecursionError</code>.</li> <li>Fix repeated link suffix and unclosed formatting marker performance issues.</li> <li>Fix unclosed inline spoiler performance issues.</li> <li>Avoid recursive parsing for adjacent ruby tokens.</li> <li>Speed up footnote reference indexing.</li> </ul> <h2>Version 3.3.2</h2> <p><strong>Released on Jun 23, 2026</strong></p> <ul> <li>Fix Python 3.8 import compatibility in the inline parser.</li> <li>Fix mypy compatibility for list parsing on Python 3.8 and 3.9+.</li> </ul> <h2>Version 3.3.1</h2> <p><strong>Released on Jun 22, 2026</strong></p> <ul> <li>Fix <code>abbr</code> plugin compatibility with escaped inline text.</li> <li>Normalize included Markdown line endings before parsing directives.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lepture/mistune/commit/060f73ac87e8cf6d9e9b48f2df28c0654d845a4c"><code>060f73a</code></a> chore: release 3.3.3</li> <li><a href="https://github.com/lepture/mistune/commit/ae7e9d571f621b82b287ed98d421893dab87b018"><code>ae7e9d5</code></a> perf: improve for footnotes, ruby and spoiler</li> <li><a href="https://github.com/lepture/mistune/commit/c2228a25ddf66baf73e452edd42bde778c1ce61a"><code>c2228a2</code></a> perf: improve performance for math and formatting plugins</li> <li><a href="https://github.com/lepture/mistune/commit/e001d513a6f57c8a6ed08afcf6217c7dbd74e349"><code>e001d51</code></a> perf: improve link label parsing performance</li> <li><a href="https://github.com/lepture/mistune/commit/cca5ee6d17a458b115d5e63ab95ddedcfb7a15e4"><code>cca5ee6</code></a> fix: add image max depth</li> <li><a href="https://github.com/lepture/mistune/commit/0938fb781d0aded99de801b340ec1f8debeae5b2"><code>0938fb7</code></a> fix: add max_emphasis_depth</li> <li><a href="https://github.com/lepture/mistune/commit/9946c9207d74a55eed872483ab3c9cdc698b89cc"><code>9946c92</code></a> tests: update dealine time for pypy</li> <li><a href="https://github.com/lepture/mistune/commit/4009f67afc674225bbb3aa901614946feebfe4c9"><code>4009f67</code></a> fix: use SAFE_PROTOCOLS instead of HARMFUL_PROTOCOLS</li> <li><a href="https://github.com/lepture/mistune/commit/30255494bc8fdd14c7a0fd5b0e2c5fc3d4243745"><code>3025549</code></a> Merge pull request <a href="https://redirect.github.com/lepture/mistune/issues/462">#462</a> from Sanjays2402/fix/markdown-renderer-escape-emphasis</li> <li><a href="https://github.com/lepture/mistune/commit/b042996659275aa9719d6efa37163bea62b34cd5"><code>b042996</code></a> fix: escape literal emphasis markers in MarkdownRenderer</li> <li>Additional commits viewable in <a href="https://github.com/lepture/mistune/compare/v3.3.0...v3.3.3">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/langchain/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
master
7 hours ago
chore(deps): bump mistune from 3.3.0 to 3.3.3 in /libs/core Bumps [mistune](https://github.com/lepture/mistune) from 3.3.0 to 3.3.3. - [Release notes](https://github.com/lepture/mistune/releases) - [Changelog](https://github.com/lepture/mistune/blob/main/docs/changes.rst) - [Commits](https://github.com/lepture/mistune/compare/v3.3.0...v3.3.3) --- updated-dependencies: - dependency-name: mistune dependency-version: 3.3.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/uv/libs/core/mistune-3.3.3
7 hours ago
fix: handle reasoning model output tags in structured output parsing - Add regex-based stripping of <think></think> and <tool_call> tags - Reasoning models like DeepSeek-R1 wrap JSON output in XML tags - Fixes parsing errors when using .with_structured_output() with reasoning models - Add comprehensive test cases for various tag combinations - Maintains backward compatibility with non-reasoning models Fixes #32120
visnu64:fix/reasoning-model-structured-output
9 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix: handle reasoning model output tags in structured output parsing
#40147
5 hours ago
20a2f61
visnu64:fix/reasoning-model-structured-output
CodSpeed Performance Gauge
-1%
chore(deps): bump mistune from 3.3.0 to 3.3.3 in /libs/core
#40150
7 hours ago
09cdc15
dependabot/uv/libs/core/mistune-3.3.3
CodSpeed Performance Gauge
0%
feat(langchain): `langchain.mcp` namespace, `MCPAdapter`
#39939
19 hours ago
c68a72d
sydney-runkle/langchain/simplify-mcp-adapter
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs