# @langchain/textsplitters

## 1.0.2

### Patch Changes

- [#11709](https://github.com/langchain-ai/langchainjs/pull/11709) [`0fcb98b`](https://github.com/langchain-ai/langchainjs/commit/0fcb98b4306a771c940e78d6881d0be9f88507c1) Thanks [@Pajimo](https://github.com/Pajimo)! - fix(textsplitters): use character length when computing `loc.lines` so a custom `lengthFunction` no longer shifts line numbers

## 1.0.1

### Patch Changes

- [#9416](https://github.com/langchain-ai/langchainjs/pull/9416) [`0fe9beb`](https://github.com/langchain-ai/langchainjs/commit/0fe9bebee6710f719e47f913eec1ec4f638e4de4) Thanks [@hntrl](https://github.com/hntrl)! - fix 'moduleResultion: "node"' compatibility

## 1.0.0

This release updates the package for compatibility with LangChain v1.0. See the v1.0 [release notes](https://docs.langchain.com/oss/javascript/releases/langchain-v1) for details on what's new.
