LangChain.js @langchain/typesafe@0.1.0
`TypeSafeClassifier` is now a decision model extending `BaseDecisionModel` from `@langchain/core/decisions`, with updated request and response types. This release also requires Zod 4.6.6 or newer to avoid versions affected by GHSA-mrhx-c7xc-m3w5, while retaining support for Zod v3 schemas through the bundled `zod/v3` entry point.
Users of `@langchain/typesafe`, especially those using `TypeSafeClassifier` or its experimental middleware, must adapt to breaking API changes and the Zod dependency requirement.
Update classifier calls and response handling, switch deprecated middleware imports to `langchain`, and ensure installed Zod is version 4.6.6 or newer.
# community_signal
How useful is this release to your stack?
Sign in with GitHub to cast your vote.
You’ll return to this release, then choose your vote.