Avatar for the langchain-ai user
langchain-ai
langchain
BlogDocsChangelog

Performance History

Latest Results

chore(deps): bump joserfc from 1.7.4 to 1.7.6 in /libs/langchain_v1 (#41587) Bumps [joserfc](https://github.com/authlib/joserfc) from 1.7.4 to 1.7.6. <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.6</h2> <h3>   🐞 Bug Fixes</h3> <ul> <li>Validate compact value size before split  -  by <a href="https://github.com/lepture"><code>@​lepture</code></a> <a href="https://github.com/authlib/joserfc/commit/397e04f"><!-- raw HTML omitted -->(397e0)<!-- raw HTML omitted --></a></li> <li><strong>ci</strong>: Restrict default workflow token permissions  -  by <a href="https://github.com/lepture"><code>@​lepture</code></a> <a href="https://github.com/authlib/joserfc/commit/d060c2e"><!-- raw HTML omitted -->(d060c)<!-- raw HTML omitted --></a></li> <li><strong>jwe</strong>: Limit additional authenticated data size  -  by <a href="https://github.com/lepture"><code>@​lepture</code></a> <a href="https://github.com/authlib/joserfc/commit/25e9526"><!-- raw HTML omitted -->(25e95)<!-- raw HTML omitted --></a></li> <li><strong>jwk</strong>: Handle KeySet equality with unrelated types  -  by <a href="https://github.com/janmrow"><code>@​janmrow</code></a> in <a href="https://redirect.github.com/authlib/joserfc/issues/106">authlib/joserfc#106</a> <a href="https://github.com/authlib/joserfc/commit/27d7c8a"><!-- raw HTML omitted -->(27d7c)<!-- raw HTML omitted --></a></li> <li><strong>jwt</strong>: Report correct claim name for invalid iss  -  by <a href="https://github.com/janmrow"><code>@​janmrow</code></a> <a href="https://github.com/authlib/joserfc/commit/eec6d5e"><!-- raw HTML omitted -->(eec6d)<!-- raw HTML omitted --></a></li> <li><strong>jwt</strong>: Require string values for jti claims  -  by <a href="https://github.com/lepture"><code>@​lepture</code></a> <a href="https://github.com/authlib/joserfc/commit/e93fd2b"><!-- raw HTML omitted -->(e93fd)<!-- raw HTML omitted --></a></li> </ul> <h5>    <a href="https://github.com/authlib/joserfc/compare/1.7.5...1.7.6">View changes on GitHub</a></h5> <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.6</h2> <p><strong>Released on October 19, 2026</strong></p> <ul> <li><strong>JWE</strong>: Limit base64url-encoded additional authenticated data to 65,536 bytes before copying or decoding it in JSON serialization. Configure the limit with <code>JWERegistry(max_aad_length=...)</code>.</li> <li><strong>JWT</strong>: Reject non-string <code>jti</code> claims, including arrays containing an expected token ID, even when no claim options are configured.</li> <li><strong>JWT</strong>: Report the correct claim name for invalid <code>iss</code> values.</li> <li><strong>JWS &amp; JWE</strong>: Validate compact token size before splitting it into segments.</li> <li><strong>JWK</strong>: Handle key set equality comparisons with unrelated types.</li> </ul> <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/c54d9cce33e5de65b7684478193f6633279cf90e"><code>c54d9cc</code></a> chore: release 1.7.6</li> <li><a href="https://github.com/authlib/joserfc/commit/d060c2ec738de6ef714bbdeb8a95b7945e2a0807"><code>d060c2e</code></a> fix(ci): restrict default workflow token permissions</li> <li><a href="https://github.com/authlib/joserfc/commit/e93fd2bc77217448e47d89e720d9ce273b681e68"><code>e93fd2b</code></a> fix(jwt): require string values for jti claims</li> <li><a href="https://github.com/authlib/joserfc/commit/25e9526e2c2e06afa3b6516b82a4215987e772dd"><code>25e9526</code></a> fix(jwe): limit additional authenticated data size</li> <li><a href="https://github.com/authlib/joserfc/commit/27d7c8a97d9452cde422aaa1bbcf0311cb8c223e"><code>27d7c8a</code></a> fix(jwk): handle KeySet equality with unrelated types (<a href="https://redirect.github.com/authlib/joserfc/issues/106">#106</a>)</li> <li><a href="https://github.com/authlib/joserfc/commit/397e04f4bbce0b94d86e31c1c003f4640af8fb39"><code>397e04f</code></a> fix: validate compact value size before split</li> <li><a href="https://github.com/authlib/joserfc/commit/8074dc72eb20f46e968235575db6228d5bbe3b33"><code>8074dc7</code></a> Merge pull request <a href="https://redirect.github.com/authlib/joserfc/issues/105">#105</a> from janmrow/fix/jwt-iss-claim-name</li> <li><a href="https://github.com/authlib/joserfc/commit/eec6d5ec035e25ccb49d6cc101ec7473ad3d280f"><code>eec6d5e</code></a> fix(jwt): report correct claim name for invalid iss</li> <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>Additional commits viewable in <a href="https://github.com/authlib/joserfc/compare/1.7.4...1.7.6">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=joserfc&package-manager=uv&previous-version=1.7.4&new-version=1.7.6)](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
10 hours ago
chore(deps): patch newer-python security lock resolutions
langsmith-fleet/deps/security-locks-20261030
1 day ago
fix(langchain): redact `PIIMiddleware` output before it streams or persists With `apply_to_output=True` or `apply_to_tool_results=True`, `PIIMiddleware` redacted in `after_model` and `before_model`, one step after the model or tool node had already written the raw message. The raw text went out on the `messages`, `updates`, `values`, `checkpoints` and `tools` stream modes and stayed in a checkpoint, and the redacted copy never reached `messages` because it keeps the message id, which that mode has already seen. The middleware now also wraps the model and tool calls and redacts their results before anything is written, including the `ToolMessage`s in a `Command` or list that a tool returns. Model calls under the wrapper run with the `nostream` tag, set on the callbacks of the surrounding config, so it holds for any model runnable, for a model a later middleware swaps in, and for a model bound with its own tags. Tools run as a copy tagged `nostream`, because `ToolNode` passes them the config it captured before the wrappers ran. `before_model` and `after_model` stay as backstops, and the v3 stream transformer stays until v3 is removed. `create_agent` registers wrap hooks per class, so every `PIIMiddleware` registers them and input-only instances pass straight through. That gives a tool-less agent a `tools` node, skips the unknown-tool check, and adds wrapper spans; per-instance hook registration in `create_agent` would remove that cost. `strategy="block"` now raises inside the model or tool call, where retry middleware listed before `PIIMiddleware` would retry it, so the default retry predicate no longer retries a `PIIDetectionError`. A protected model streams no tokens and its reply arrives as one message, and protected tools no longer appear in the `tools` stream mode.
eliornl/langchain/pii-before-stream
1 day ago

Latest Branches

CodSpeed Performance Gauge
0%
chore(deps): bump pyasn1 from 0.6.4 to 0.6.5 in /libs/langchain_v1#41591
24 hours ago
4f66376
dependabot/uv/libs/langchain_v1/pyasn1-0.6.5
CodSpeed Performance Gauge
0%
chore(deps): bump joserfc from 1.7.4 to 1.7.6 in /libs/langchain_v1#41587
1 day ago
e6ade30
dependabot/uv/libs/langchain_v1/joserfc-1.7.6
CodSpeed Performance Gauge
0%
1 day ago
c4cfd5c
langsmith-fleet/deps/security-locks-20261030
© 2026 CodSpeed Technology
Home Terms Privacy Docs