unstale

pypi / langchain-text-splitters

langchain-text-splitters

What changed in langchain-text-splitters 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.

1 breaking3 security1 new APIs and options7 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.4 on npm

langchain-text-splitters 112 changes

Breaking changes 1

  • Raises TypeError for non-dict input that cannot be converted, making invalid input fail with a consistent exception.

    1.1.3release notes

Security 3

New APIs and options 1

  • Adds model_kwargs to SentenceTransformersTokenTextSplitter.

    1.1.1release notes

Fixes and other changes 7

  • Removes incorrect separator keywords for C# and Elixir.

    1.1.3release notes

  • Removes invalid and duplicate separators for Kotlin, Rust, and Haskell.

    1.1.3release notes

  • Restores lazy imports for heavy optional dependencies, so importing the package does not eagerly load them.

    1.1.3release notes

  • Prevents silent data loss for empty dict values.

    1.1.2release notes

  • Reverses the preserved elements iterator.

    1.1.1release notes

  • Fixes nested preserved elements.

    1.1.1release notes

  • Prevents split_text() from mutating self._separators on each call.

    1.1.1release notes