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 initlangchain-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.
Security 3
LangChain Text Splitters: HTMLHeaderTextSplitter.split_text_from_url SSRF Redirect Bypass
split_text_from_url is deprecated.
Fixes a Server-Side Request Forgery (SSRF) issue in this method.
New APIs and options 1
Adds model_kwargs to SentenceTransformersTokenTextSplitter.
Fixes and other changes 7
Removes incorrect separator keywords for C# and Elixir.
Removes invalid and duplicate separators for Kotlin, Rust, and Haskell.
Restores lazy imports for heavy optional dependencies, so importing the package does not eagerly load them.
Prevents silent data loss for empty dict values.
Reverses the preserved elements iterator.
Fixes nested preserved elements.
Prevents split_text() from mutating self._separators on each call.