Skip to content

Bump langchain from 1.5.5 to 1.5.9 - #380

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/langchain-1.5.9
Open

Bump langchain from 1.5.5 to 1.5.9#380
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/langchain-1.5.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 18, 2026

Copy link
Copy Markdown
Contributor

Bumps langchain from 1.5.5 to 1.5.9.

Release notes

Sourced from langchain's releases.

langchain@1.5.9

Patch Changes

  • #11369 d6ad973 Thanks @​hntrl! - fix(langchain): use unified endpoint for gateway

  • #11342 3b0e4c4 Thanks @​thushanth-bengre-langchain! - feat(core): mark errors as retryable or not, and stop retrying the ones that aren't

    Retry middleware retried every failure up to maxRetries, including deterministic ones like a bad API key or an unknown model. Retries also nest, so a single such failure could cost dozens of API calls.

    @langchain/core/errors adds stampRetryable(error, retryable) and getRetryable(error). Marking an error leaves its class and shape untouched, so a provider SDK error can be classified without breaking instanceof. getRetryable returns undefined for errors nobody classified, and both are exported so tool authors can mark their own failures.

    modelRetryMiddleware and toolRetryMiddleware now respect the mark by default, and retries stop as soon as one is found rather than each layer spending its own budget. Aborted calls, context overflow, and oversized payloads are marked non-retryable out of the box. Models accept a per-call maxRetries so a surrounding retry loop can take over.

    Behavior change: errors marked non-retryable now fail on the first attempt. Unclassified errors — including any from third-party integrations or custom tools — retry exactly as before. Pass retryOn: () => true to restore the old default. A custom onFailedAttempt replaces the built-in handler and opts out of marking.

langchain@1.5.8

Patch Changes

langchain@1.5.7

Patch Changes

langchain@1.5.6

Patch Changes

  • #11331 18765b0 Thanks @​thushanth-bengre-langchain! - fix(langchain): exclude middleware-internal model calls from the message projection

    Bookkeeping model calls made by summarizationMiddleware and toolEmulatorMiddleware no longer appear in run.messages or stream({ streamMode: "messages" }), and the summary summarizationMiddleware writes back to state is no longer projected as a new message. These calls remain observable via streamEvents({ version: "v2" }), identified by lc_source.

  • #11344 f08e0c6 Thanks @​hntrl! - fix: apply [Symbol.hasInstance] method to all comparable properties using .isInstance()

    We have some internal schemas that rely on z.instanceof(). This uses a strict instanceof check which can conflict if there are multiple versions of core installed. This overrides the Symbol.hasInstance method to use the same logic as .isInstance() to compare objects at runtime.

Commits
  • d0c905d chore: version packages (#11370)
  • 8ba1fd9 fix(aws): classify Bedrock stream-idle timeouts, cover pre-response hang (#11...
  • 3b0e4c4 feat(core): mark errors as retryable or not, and stop retrying the ones that ...
  • d6ad973 fix(langchain): use unified endpoint for gateway (#11369)
  • 3fedf7f chore: version packages (#11367)
  • c068bbf fix(core,langchain): patch and release core, update peer dependencies (#11366)
  • 242b986 chore: version packages (#11361)
  • 2d1f744 chore(langchain): add missing changeset (#11363)
  • f401396 feat(langchain): add langsmith gateway to initChatModel (#11362)
  • d36ec6a fix(anthropic): preserve gateway cost on the native stream path (#11359)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [langchain](https://github.com/langchain-ai/langchainjs) from 1.5.5 to 1.5.9.
- [Release notes](https://github.com/langchain-ai/langchainjs/releases)
- [Commits](https://github.com/langchain-ai/langchainjs/compare/langchain@1.5.5...langchain@1.5.9)

---
updated-dependencies:
- dependency-name: langchain
  dependency-version: 1.5.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants