Skip to content

chore(deps): bump langchain from 1.5.3 to 1.5.9 - #1233

Merged
sliamh11 merged 2 commits into
mainfrom
dependabot/npm_and_yarn/langchain-1.5.9
Aug 20, 2026
Merged

chore(deps): bump langchain from 1.5.3 to 1.5.9#1233
sliamh11 merged 2 commits into
mainfrom
dependabot/npm_and_yarn/langchain-1.5.9

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps langchain from 1.5.3 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.

langchain@1.5.5

Patch Changes

langchain@1.5.4

Patch Changes

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 dependabot Bot added the dependencies Dependency updates label Aug 17, 2026
@dependabot
dependabot Bot requested a review from sliamh11 as a code owner August 17, 2026 19:17
@dependabot dependabot Bot added the dependencies Dependency updates label Aug 17, 2026
Bumps [langchain](https://github.com/langchain-ai/langchainjs) from 1.5.3 to 1.5.9.
- [Release notes](https://github.com/langchain-ai/langchainjs/releases)
- [Commits](https://github.com/langchain-ai/langchainjs/compare/langchain@1.5.3...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>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/langchain-1.5.9 branch from 3323e7b to c7507a2 Compare August 17, 2026 23:26

@sliamh11 sliamh11 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated dependency bump; all required checks verified green immediately before merge.

@sliamh11
sliamh11 merged commit bc05d53 into main Aug 20, 2026
14 of 15 checks passed
@sliamh11
sliamh11 deleted the dependabot/npm_and_yarn/langchain-1.5.9 branch August 20, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant