# What changed in @langchain/textsplitters

> 2 changes in @langchain/textsplitters 1 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-22. HTML: https://unstale.sh/npm/@langchain/textsplitters/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @langchain/textsplitters 1

### Fixes and other changes

- Line numbers are computed using character length, so a custom lengthFunction no longer shifts loc.lines. (1.0.2) — [release notes](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/textsplitters%401.0.2)
- Fixes compatibility with the node module resolution setting. (1.0.1) — [release notes](https://github.com/langchain-ai/langchainjs/releases/tag/%40langchain/textsplitters%401.0.1)
