npm / @langchain/textsplitters
@langchain/textsplitters
What changed in @langchain/textsplitters 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-22.
2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@langchain/textsplitters 12 changes
Fixes and other changes 2
Line numbers are computed using character length, so a custom lengthFunction no longer shifts loc.lines.
Fixes compatibility with the node module resolution setting.